/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    overflow-x: hidden;
    background: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
}

.nav-logo i {
    color: #2563EB;
    font-size: 1.8rem;
}

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

.nav-menu a {
    color: #4B5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563EB;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #2563EB;
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1F2937;
    margin: 3px 0;
    transition: 0.3s;
}

/* Page Header */
.page-header {
    padding: 140px 20px 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    text-align: center;
    position: relative;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.header-content p {
    font-size: 1.25rem;
    color: #64748B;
    line-height: 1.7;
    font-weight: 400;
}

/* Projects Sections */
.projects-section {
    padding: 100px 20px;
    background: #ffffff;
}

.projects-section.alt-bg {
    background: #F8FAFC;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0F172A;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Overview */
.projects-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.project-category {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #1D4ED8, #3B82F6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #CBD5E1;
}

.project-category:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #EBF4FF 0%, #DBEAFE 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.project-category:hover .category-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.3);
}

.category-icon i {
    color: #2563EB;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.project-category:hover .category-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.project-category h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.project-category:hover h3 {
    color: #2563EB;
}

.project-category p {
    font-size: 1rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.stat {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563EB;
    border: 1px solid #E2E8F0;
}

/* Project Highlights */
.project-highlights {
    margin-top: 80px;
}

.project-highlights h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0F172A;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.project-highlights h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    border-radius: 2px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.highlight-item {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2563EB, transparent);
    transition: left 0.5s ease;
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #CBD5E1;
}

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

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.3);
}

.highlight-icon i {
    color: #ffffff;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-icon i {
    transform: scale(1.1);
}

.highlight-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.highlight-item:hover h4 {
    color: #2563EB;
}

.highlight-item p {
    font-size: 1rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-type {
    display: inline-block;
    background: linear-gradient(135deg, #EBF4FF 0%, #DBEAFE 100%);
    color: #2563EB;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #BFDBFE;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #ffffff;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ffffff;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Project Gallery */
.project-gallery {
    margin-top: 80px;
}

.project-gallery h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0F172A;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.project-gallery h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    border-radius: 2px;
}

.project-type {
    display: inline-block;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Call to Action */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #ffffff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 1.2rem;
    color: #CBD5E1;
    margin-bottom: 48px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #475569;
}

.btn-secondary:hover {
    background: #475569;
    border-color: #475569;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0F172A;
    color: #CBD5E1;
    padding: 40px 20px;
}

.footer-bottom {
    text-align: center;
    color: #94A3B8;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1F2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1F2937;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        gap: 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

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

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }
    
    .projects-overview {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .projects-section {
        padding: 60px 20px;
    }
    
    .project-category {
        padding: 32px 24px;
    }
    
    .highlight-item {
        padding: 28px 24px;
    }
    
    .project-highlights h3 {
        font-size: 1.6rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}


/*-----------------------------------*/
/* Video Banner Section       */
/*-----------------------------------*/

.video-banner-section {
    width: 100%;
    /* You can adjust the top margin to create space from the section above */
    margin-top: 80px; 
    height: 60vh; /* Sets the height to 60% of the viewport height. Adjust as needed. */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures no content spills out */
}

.video-banner-section .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-banner-section video {
    width: 100%;
    height: 100%;
    /* This property ensures the video covers the entire container without distortion */
    object-fit: cover; 
}

.video-banner-section .video-overlay-content {
    position: relative; /* Use relative to position it above the video */
    z-index: 2; /* Ensures the text is on top of the video */
    color: #fff;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay for readability */
    border-radius: 8px;
}

.video-overlay-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.video-overlay-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .video-overlay-content h2 {
        font-size: 1.8rem;
    }
    .video-overlay-content p {
        font-size: 1rem;
    }
    .video-banner-section {
        height: 50vh; /* Make it a bit shorter on mobile */
    }
}
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }