/* =========================================
   COMMON STYLES - ARP INFRA PROJECTS LLP
   Color Scheme: #003366 (Navy Blue) | #FF6600 (Orange)
   INCLUDES MOBILE NAVIGATION FIXES FOR INDEX PAGE
========================================= */
:root {
    --primary-blue: #003366;
    --secondary-orange: #FF6600;
    --accent-orange: #FF8533;
    --dark-blue: #002244;
    --light-blue: #0066CC;
    --dark-gray: #1A1A2E;
    --medium-gray: #5D6D7E;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 10px rgba(0, 51, 102, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 51, 102, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 51, 102, 0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-orange);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 30px auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    gap: 10px;
    text-decoration: none;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--secondary-orange);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 51, 102, 0.1);
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background: var(--primary-blue);
    padding: 12px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.top-left, .top-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-left span, .top-right span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-left i, .top-right i {
    color: var(--secondary-orange);
    font-size: 0.9rem;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--secondary-orange);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu li a {
    padding: 12px 20px;
    font-weight: 600;
    color: var(--dark-gray);
    border-radius: var(--radius);
    position: relative;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.nav-menu li a:hover {
    color: var(--secondary-orange);
    background: rgba(255, 102, 0, 0.05);
}

.nav-menu li a.active {
    color: var(--secondary-orange);
    background: rgba(255, 102, 0, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col h4 {
    color: var(--secondary-orange);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--secondary-orange);
    transform: translateX(5px);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--secondary-orange);
    margin-top: 3px;
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 5px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-left, .top-right {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* MOBILE MENU FIX - Slides in from LEFT (completely on screen) */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;  /* Start completely off-screen to the left */
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 25px 30px;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        justify-content: flex-start;
        gap: 15px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;  /* Slide in to visible area */
    }
    
    /* Dark overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Menu items styling for mobile */
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
        text-align: left;
        border-radius: var(--radius);
    }
    
    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: rgba(255, 102, 0, 0.1);
        color: var(--secondary-orange);
    }
    
    /* Hamburger icon - stays on right side */
    .nav-toggle {
        display: flex;
        position: fixed;
        z-index: 1001;
		margin-left: 90%;
    }
    
    /* Animation for hamburger to X */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    /* Slightly smaller menu on very small screens */
    .nav-menu {
        width: 260px;
        left: -260px;
        padding: 90px 20px 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li a {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
}

.hero-slider,
.about-hero,
.philosophy-hero,
.projects-hero,
.page-header {
    margin-top: 0 !important;
}