/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a4d8c;
    --primary-dark: #0f3460;
    --primary-light: #2d6fb8;
    --accent: #ff6b35;
    --accent-light: #ff8c61;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --gray: #666666;
    --gray-light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.loader-logo {
    height: 80px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .loader-logo {
        height: 60px;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .loader-logo {
        height: 50px;
        max-width: 180px;
        margin-bottom: 1.5rem;
    }
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    height: 100%;
    padding: 0.25rem 0;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link:hover .logo-img {
    filter: drop-shadow(0 2px 8px rgba(26, 77, 140, 0.2));
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    max-width: 220px;
    transition: all 0.3s ease;
}

/* Logo responsive sizing */
@media (max-width: 1200px) {
    .logo-img {
        height: 50px;
        max-width: 200px;
    }
}

@media (max-width: 968px) {
    .logo-img {
        height: 45px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
        max-width: 140px;
    }
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding-top: 80px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        min-height: 90dvh;
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
        min-height: 85dvh;
        padding-top: 60px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    width: 100%;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-accent {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.title-main {
    display: block;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px) scale(1.05);
}

.btn-outline:active {
    transform: translateY(-1px) scale(1.02);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-down:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .scroll-down {
        bottom: 20px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .scroll-down {
        display: none;
    }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--white);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: translateX(-50%) rotate(45deg);
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

@media (max-width: 1200px) {
    section {
        padding: 90px 0;
    }
}

@media (max-width: 968px) {
    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
}

.section-intro {
    text-align: center;
    margin-bottom: 4.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .section-intro {
        margin-bottom: 3rem;
    }
}

.section-intro.animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .section-intro {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .section-intro {
        margin-bottom: 2rem;
    }
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(26, 77, 140, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    transition: transform 0.6s ease;
}

.section-title {
    margin-bottom: 2rem;
}

.section-intro.animate .section-title::after {
    transform: translateX(-50%) scaleX(1);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 400;
    margin-top: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: start;
}

@media (max-width: 1200px) {
    .about-content {
        gap: 4rem;
    }
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        gap: 2.5rem;
    }
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: sticky;
    top: 100px;
}

@media (max-width: 1200px) {
    .about-stats {
        position: static;
    }
}

@media (max-width: 968px) {
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .about-stats {
        flex-direction: column;
    }
}

.stat-item {
    text-align: center;
    padding: 2.25rem 2rem;
    background: var(--gray-light);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .stat-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stat-item {
        padding: 1.25rem;
        border-radius: 12px;
    }
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-choose-us {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--gray-light);
}

.why-choose-us h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .why-choose-us {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .why-choose-us h3 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .features-list li {
        font-size: 1rem;
        padding-left: 1.75rem;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--gray-light);
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, box-shadow;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(20, 61, 89, 0.1) 0%, rgba(20, 61, 89, 0.05) 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(20, 61, 89, 0.2);
}

.service-icon svg {
    width: 48px;
    height: 48px;
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
}

.service-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-light);
}

.service-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-details ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray);
}

.service-details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
}

/* ============================================
   SERVICE AREA SECTION
   ============================================ */
.service-area {
    background: var(--white);
    padding: 6rem 0;
}

.service-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .service-area-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .service-area-grid {
        grid-template-columns: 1fr;
    }
}

.area-item {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(20px);
}

.area-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.area-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.area-item-special {
    background: linear-gradient(135deg, rgba(20, 61, 89, 0.05) 0%, rgba(20, 61, 89, 0.1) 100%);
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    padding: 1.25rem;
    border: 2px solid var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.area-item-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.area-item-special:hover::before {
    left: 100%;
}

.area-item-special:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 61, 89, 0.3);
    border-color: var(--primary-light);
}

@media (max-width: 768px) {
    .area-item {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .area-item-special {
        padding: 1.15rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.project-section {
    background: var(--gray-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (min-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .project-card-featured {
        grid-column: 1 / -1;
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.project-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    will-change: transform, box-shadow;
}

/* Featured Project Styling */
.project-card-featured {
    position: relative;
    border: 2px solid var(--accent);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.2), var(--shadow);
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.project-card-featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent), var(--primary), var(--accent));
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: featuredGlow 3s ease-in-out infinite;
}

@keyframes featuredGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.project-card-featured:hover::before {
    opacity: 0.8;
}

.project-card-featured:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 25px 70px rgba(255, 107, 53, 0.3), var(--shadow-lg);
    border-color: var(--accent);
}

.project-card-featured .project-image-wrapper {
    height: 360px;
}

.project-card-featured .project-title {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-badge {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    animation: pulseBadge 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    }
}

@media (min-width: 1400px) {
    .project-card-featured {
        grid-column: 1 / -1;
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .project-card-featured .project-image-wrapper {
        height: 340px;
    }
    
    .project-card-featured .project-title {
        font-size: 1.85rem;
    }
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 77, 140, 0.1);
}

.project-card:active {
    transform: translateY(-8px) scale(1.005);
}

.project-card::after {
    content: 'View Details';
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    z-index: 15;
}

.project-image-wrapper::after {
    content: 'View Details';
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    z-index: 15;
}

.project-card:hover .project-image-wrapper::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.project-card::after {
    display: none;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--gray-light);
}

.project-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-image-wrapper::before {
    opacity: 1;
}

@media (max-width: 1200px) {
    .project-image-wrapper {
        height: 280px;
    }
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.75rem;
    opacity: 1;
    transition: all 0.4s ease;
    z-index: 5;
}

.project-badge {
    position: relative;
    z-index: 10;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.project-badge {
    background: var(--accent);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover .project-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0;
    position: relative;
}

@media (max-width: 768px) {
    .project-info {
        padding: 1.75rem;
    }
}

.project-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-light);
}

.project-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.project-location::before {
    content: '📍';
    font-size: 0.9rem;
}

.project-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.5;
}

.project-description {
    color: var(--gray);
    line-height: 1.85;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    min-height: 80px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    background: var(--gray-light);
    color: var(--primary);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
}

.feature-badge::before {
    content: '✓';
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.project-card:hover .feature-badge {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(26, 77, 140, 0.2);
}

.project-card:hover .feature-badge::before {
    opacity: 1;
    color: var(--white);
}

@media (max-width: 768px) {
    .project-image-wrapper {
        height: 250px;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .project-image-wrapper {
        height: 220px;
    }
    
    .project-info {
        padding: 1.25rem;
    }
    
    .project-title {
        font-size: 1.35rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    .project-image-wrapper::after {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
        bottom: 1.5rem;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--white);
}

.contact-tagline {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray);
    text-align: center;
}

.contact-tagline strong {
    color: var(--primary);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .contact-tagline {
        font-size: 1.1rem;
        margin-top: 1.25rem;
    }
    
    .contact-tagline strong {
        font-size: 1.2rem;
    }
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: start;
}

.contact-info {
    max-width: 600px;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--gray-light);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    align-items: center;
}

.info-item-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--gray-light);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    align-items: center;
}

.info-item-link:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .info-item,
    .info-item-link {
        padding: 1.5rem;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .info-item,
    .info-item-link {
        padding: 1.25rem;
        border-radius: 14px;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .info-icon {
        margin: 0 auto;
    }
}

.info-item:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: var(--shadow);
    background: var(--white);
}

.info-item:hover .info-details h3 {
    color: var(--primary);
}

.info-icon {
    transition: transform 0.4s ease, background 0.4s ease;
}

.info-item:hover .info-icon,
.info-item-link:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(20, 61, 89, 0.25);
    transition: all 0.3s ease;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .info-icon {
        width: 56px;
        height: 56px;
    }
    
    .info-icon svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .info-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }
    
    .info-icon svg {
        width: 24px;
        height: 24px;
    }
}

.info-details h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-details p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    word-break: break-word;
}

@media (max-width: 768px) {
    .info-details h3 {
        font-size: 1.15rem;
    }
    
    .info-details p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .info-details h3 {
        font-size: 1.1rem;
    }
    
    .info-details p {
        font-size: 0.9rem;
    }
}

.info-details a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1.7;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-weight: 500;
}

.info-details a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.info-details a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.info-details a:hover::after {
    width: 100%;
}


/* ============================================
   PROJECT MODALS
   ============================================ */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    z-index: 2001;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--gray-light);
}

.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2002;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: var(--gray-light);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modal-image:hover img {
    transform: scale(1.05);
}

.modal-body {
    padding: 2.5rem;
}

.modal-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.5rem;
}

.modal-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.modal-description {
    margin-bottom: 2rem;
}

.modal-description p {
    color: var(--gray);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-light);
}

.modal-feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-feature-item strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.modal-feature-item span {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .project-modal {
        padding: 1rem;
    }
    
    .modal-container {
        max-height: 95vh;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h2 {
        font-size: 2rem;
    }
    
    .modal-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 1.25rem;
    }
    
    .modal-body h2 {
        font-size: 1.75rem;
    }
    
    .modal-image {
        height: 200px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 55px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

@media (max-width: 968px) {
    .footer-logo {
        height: 50px;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .footer-logo {
        height: 45px;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        height: 40px;
        max-width: 160px;
        margin-bottom: 0.75rem;
    }
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent);
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    position: relative;
}

.footer-contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-contact a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent);
}

.footer-contact a:hover::after {
    width: 100%;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-title .title-accent {
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title .title-main {
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.8s both;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-item {
        flex: 1;
        min-width: 150px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .project-specs {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        min-height: 85vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 2rem;
        font-size: 0.85rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .project-description h3 {
        font-size: 1.25rem;
    }
    
    .spec-content h4 {
        font-size: 1.1rem;
    }
    
    .info-details h3 {
        font-size: 1.1rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-logo {
        height: 40px;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.875rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .project-title {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .modal-body h2 {
        font-size: 1.5rem;
    }
    
    .project-features {
        gap: 0.5rem;
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.875rem;
    }
}
