/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
    /* Primary Palette */
    --color-navy: #0A1628;
    --color-steel: #1C2E4A;
    --color-midnight: #0D1F35;
    
    /* Accent Palette */
    --color-amber: #F4A020;
    --color-amber-dark: #C97D0F;
    --color-sky: #2E9CCA;
    --color-sky-dark: #1A7EA8;
    
    /* Neutral / Text Palette */
    --color-white: #FFFFFF;
    --color-off-white: #EDF1F5;
    --color-muted: #8FA3BC;
    --color-divider: #1E3052;
    
    /* Surface Palette */
    --color-light-bg: #F4F7FB;
    --color-light-card: #FFFFFF;
    --color-border: #DDE5EF;

    /* Typo Scale */
    --text-hero: clamp(48px, 6vw, 80px);
    --text-h1: clamp(36px, 4.5vw, 56px);
    --text-h2: clamp(28px, 3.5vw, 42px);
    --text-h3: clamp(20px, 2.5vw, 28px);
    --text-lead: 18px;
    --text-body: 16px;
    --text-small: 14px;
    --text-label: 12px;

    /* Spacing */
    --space-80: clamp(64px, 8vw, 120px);
    --container-max: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: var(--color-navy);
    color: var(--color-off-white);
    line-height: 1.75;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding-top: var(--space-80);
    padding-bottom: var(--space-80);
}

.btn {
        border-radius: 30px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border: none;
}

.btn-primary {
    background-color: var(--color-amber);
    color: var(--color-navy);
}

.btn-primary:hover {
    background-color: var(--color-amber-dark);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-2px);
}

.label-amber {
    color: var(--color-amber);
    font-size: var(--text-label);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

/* Navbar */
nav {
    height: 120px;
    background-color: rgba(10, 22, 40, 0.82);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-divider);
    transition: 0.3s ease;
}

nav.scrolled {
    height: 90px;
    background-color: rgba(10, 22, 40, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

nav.scrolled .logo-text {
    font-size: 24px;
}

.logo img {
    height: 90px;
    transition: 0.3s ease;
}

nav.scrolled .logo img {
    height: 70px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--color-white);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--color-amber);
}

.nav-links a.active {
    color: var(--color-amber);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 32px;
    cursor: pointer;
    z-index: 1100;
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-midnight);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1050;
        padding: 40px;
    }

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

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-links a {
        font-size: 24px;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--color-divider);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .btn.nav-cta {
        width: 100%;
        margin-top: 20px;
    }
}

/* Carousel */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content h1 {
    font-size: var(--text-hero);
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 20px;
    color: var(--color-off-white);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: var(--color-amber);
    width: 32px;
    border-radius: 6px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 20;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Subpage Header */
.sub-header {
    height: 350px;
    background-color: var(--color-navy);
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    position: relative;
}

.sub-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 22, 40, 1) 0%, rgba(10, 22, 40, 0.4) 100%);
    z-index: 1;
}

.sub-header-content {
    position: relative;
    z-index: 10;
}

.sub-header h1 {
    font-size: var(--text-h1);
    color: var(--color-white);
    margin: 0;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--color-amber);
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--color-muted);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
}

.detail-content h2 {
    margin-bottom: 24px;
}

.detail-content h3 {
    margin: 40px 0 20px;
    color: var(--color-amber);
}

.detail-content ul {
    margin-bottom: 24px;
}

.detail-content li {
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
}

.detail-content li i {
    color: var(--color-amber);
    margin-top: 5px;
}

.sidebar-card {
    background-color: var(--color-midnight);
    padding: 32px;
    border-radius: 4px;
    margin-bottom: 32px;
    border: 1px solid var(--color-divider);
}

.sidebar-card h4 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-amber);
    padding-bottom: 10px;
    display: inline-block;
}

.service-links li {
    margin-bottom: 16px;
}

.service-links a {
    color: var(--color-muted);
    font-weight: 600;
}

.service-links a:hover, .service-links a.active {
    color: var(--color-amber);
}

/* Stats */
.stats-bar {
    background-color: var(--color-midnight);
    padding: 48px 0;
    border-bottom: 1px solid var(--color-divider);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 24px;
}

.stat-item h3 {
    font-size: var(--text-h1);
    color: var(--color-amber);
}

.stat-item p {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: var(--text-label);
    letter-spacing: 0.15em;
    color: var(--color-muted);
}

/* About */
.about {
    background-color: var(--color-light-bg);
    color: var(--color-navy);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-grid h2 {
    margin-bottom: 24px;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: var(--text-h2);
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 24px;
    color: #4A5568;
}

.about-list {
    margin-bottom: 40px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
}

.about-list i {
    color: var(--color-amber);
}

/* Services */
.services {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: var(--text-h2);
    margin-bottom: 16px;
}

/* Services Carousel */
.services-carousel-container {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
}

.services-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(33.333% - 16px);
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0 40px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scroll-snap-type: x mandatory;
}

.services-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.services-carousel .service-card {
    scroll-snap-align: start;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    height: 100%; /* Stretch to grid cell height */
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-navy);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-nav:hover {
    background-color: var(--color-amber);
    color: var(--color-white);
    border-color: var(--color-amber);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background-color: var(--color-amber);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .services-carousel {
        grid-auto-columns: calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .services-carousel {
        grid-auto-columns: 100%;
    }
    .carousel-nav {
        display: none;
    }
}

/* Service Card Styles */
.service-card {
    background-color: var(--color-midnight);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--color-amber);
}

.service-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-amber);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--color-navy);
}

.service-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-body h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

.service-body p {
    font-size: var(--text-small);
    color: var(--color-muted);
    margin-bottom: 24px;
    height: auto;
    flex-grow: 1;
}

.view-details {
    color: var(--color-amber);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.view-details:hover {
    gap: 12px;
}

/* Why Us */
.why-us {
    background-color: var(--color-light-bg);
    color: var(--color-navy);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 48px 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    font-size: 40px;
    color: var(--color-amber);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 14px;
    color: #4A5568;
}

/* CTA Band */
.cta-band {
    padding: 100px 0;
    position: relative;
    background: url('assets/images/hero.png') center/cover no-repeat fixed;
    text-align: center;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.85);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: var(--text-h2);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: var(--text-lead);
    margin-bottom: 40px;
    opacity: 0.8;
}

/* Contact Form */
.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-card {
    background-color: var(--color-midnight);
    padding: 48px;
    border-radius: 4px;
    border: 1px solid var(--color-divider);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-off-white);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-divider);
    border-radius: 4px;
    color: var(--color-white);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    transition: 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-amber);
    background-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 32px 24px;
    }
}

/* Footer */
footer {
    background-color: #060E1A;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h5 {
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--color-white);
    font-size: 18px;
    margin-bottom: 32px;
    letter-spacing: 0.1em;
}

.footer-col p {
    font-size: 14px;
    color: var(--color-muted);
}

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

.footer-links a {
    color: var(--color-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--color-amber);
}

.footer-col div a:hover {
    color: var(--color-amber) !important;
}


.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--color-muted);
}

.contact-info i {
    color: var(--color-amber);
    margin-top: 4px;
}

.bottom-bar {
    border-top: 1px solid var(--color-divider);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-muted);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .services-grid, .features-grid, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-grid, .stats-grid, .services-grid, .features-grid, .footer-grid, .service-detail-grid {
        grid-template-columns: 1fr !important;
    }
    .about-grid { gap: 40px; }
    .hero-content h1 { font-size: 32px; margin-bottom: 16px; }
    .hero-content p { font-size: 16px; margin-bottom: 32px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; }
    .section-padding { padding: 40px 0; }
    
    .sub-header { height: 250px; padding-bottom: 30px; }
    .sub-header h1 { font-size: 28px; }
    
    nav { height: 80px; }
    nav.scrolled { height: 70px; }
    .logo img { height: 60px; }
    nav.scrolled .logo img { height: 50px; }
    .logo-text { font-size: 18px; }
    nav.scrolled .logo-text { font-size: 16px; }
    
    .stats-bar { padding: 32px 0; }
    .stat-item { padding: 20px 0; border-bottom: 1px solid var(--color-divider); }
    .stat-item:last-child { border-bottom: none; }
    
    .service-detail-grid { gap: 40px; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
