/* style.css */
:root {
    --primary-color: #003366; /* Deep Blue */
    --secondary-color: #ff9900; /* Orange Accent */
    --text-color: #333;
    --light-bg: #f4f4f4;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* --- FIXED HEADER STYLES --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.95); /* Slight transparency */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Optional: Add this class via JS if you want it transparent at the top and solid on scroll */
header.scrolled {
    background: #ffffff;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    text-align: center;
    font-size: 0.85rem;
    /* Hide top bar on scroll if desired, or keep it */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    transition: padding 0.3s;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

/* Link underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- ADVANCED SLIDER ANIMATIONS --- */
.hero-slider {
    position: relative;
    height: 100vh; /* Full screen height */
    overflow: hidden;
    margin-top: 0; 
    /* We add padding to body or first slide content so header doesn't cover it
       Since header is fixed/transparent, we let the image go behind it. */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay so text pops */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    animation: zoomEffect 6s linear forwards; /* Ken Burns Zoom Effect */
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); } /* Subtle zoom */
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

/* Text Element Animations */
.slide h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s ease;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.3s; /* 0.3s delay */
}

.slide .btn {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease 0.6s; /* 0.6s delay */
}

/* When slide is active, trigger text animations */
.slide.active h1 {
    opacity: 1;
    transform: translateY(0);
}

.slide.active p {
    opacity: 1;
    transform: translateY(0);
}

.slide.active .btn {
    opacity: 1;
    transform: scale(1);
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #e68a00;
    transform: translateY(-3px);
}

/* --- SECTIONS & GENERAL --- */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 4rem 5%;
    text-align: center;
}

/* Animations on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- NEW ABOUT SECTION LAYOUT & ANIMATION --- */

/* Layout: Flex container for side-by-side image and text */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem; /* Spacing between image and text */
    margin-top: 2rem;
}

.about-image-col {
    flex: 1; /* Takes up 50% space */
}

.about-image-col img {
    width: 100%;
    height: auto;
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); /* Nice shadow depth */
}

.content-wrapper {
    flex: 1; /* Takes up remaining 50% space */
}

/* Responsive Layout: Stack them on smaller screens */
@media (max-width: 968px) {
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }
    /* Change order so image is on top on mobile if desired */
    .about-image-col { order: -1; }
}


/* --- THE DROP-IN ANIMATION --- */

/* Initial State (Hidden above) */
.drop-in-image {
    opacity: 0;
    /* Start 200px higher than its final position */
    transform: translateY(-200px);
    /* We use a cubic-bezier timing function here.
       The values (0.68, -0.55, 0.27, 1.55) create a "pull back" 
       at the start and a bouncy "overshoot" at the end.
    */
    transition: all 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Final State (Triggered by JS adding the .visible class) */
.drop-in-image.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- TESTIMONIAL SLIDER STYLES --- */

.testimonial-section {
    background: var(--light-bg);
    text-align: center;
    position: relative;
    padding-bottom: 4rem;
}

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 400px; /* Fixed height to prevent jumping content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden; /* Hides it from screen readers when inactive */
    transition: opacity 0.8s ease-in-out, transform 0.8s ease;
    transform: translateX(50px); /* Start slightly to the right */
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Slide into place */
    position: relative; /* Relative allows it to take up space */
}

.testimonial-box {
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-style: italic;
}

.testimonial-box h4 {
    color: var(--primary-color);
    margin-top: 15px;
    font-style: normal;
}

.testimonial-box small {
    color: var(--secondary-color);
    font-weight: bold;
    font-style: normal;
}

/* Dots Navigation */
.dots-container {
    margin-top: 20px;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover {
    background-color: var(--secondary-color);
}
/* --- UPDATED TESTIMONIAL STYLES WITH IMAGES --- */

/* Wrapper for Image + Name info */
.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

/* The Circular Profile Image */
.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Makes it a perfect circle */
    object-fit: cover;  /* Ensures image isn't stretched */
    border: 3px solid var(--secondary-color); /* Orange border ring */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

.client-details h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.client-details small {
    display: block;
    margin-top: 5px;
    color: #666;
}

/* Adjust the box padding slightly */
.testimonial-box {
    padding: 2.5rem;
    /* ... existing styles ... */
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Section animation */
#stats-section {
    background: #f8f9fa;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease;
}

#stats-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stat card */
.stat-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

/* Hover glow */
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(13,110,253,0.25);
}

/* Icon container */
.icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(13,110,253,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite;
}

/* Icon */
.icon i {
    font-size: 30px;
    color: #0d6efd;
    transition: transform 0.3s ease;
}

/* Icon hover animation */
.stat-card:hover .icon i {
    transform: scale(1.2) rotate(5deg);
}

/* Counter text */
.stat-card h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0d6efd;
}

.plus {
    font-size: 0.9em;
}

.stat-card p {
    color: #6c757d;
    font-weight: 600;
}

/* Icon pulse animation */
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(13,110,253,0.4); }
    70%  { box-shadow: 0 0 0 15px rgba(13,110,253,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}

/* Floating dots */
.dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(13,110,253,0.2);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.dot-1 { top: 20%; left: 10%; }
.dot-2 { top: 60%; left: 85%; animation-duration: 10s; }
.dot-3 { top: 40%; left: 50%; animation-duration: 12s; }

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
    100% { transform: translateY(0); }
}

/* Mobile tuning */
@media (max-width: 768px) {
    .stat-card h2 {
        font-size: 28px;
    }
}
.testimonial-form-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.testimonial-slider-container {
    flex: 1;
}

.apply-form-container {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.apply-form-container h3 {
    margin-bottom: 5px;
}

.form-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.apply-form .form-group {
    margin-bottom: 15px;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: #0f2b5c;
}

.btn-submit {
    width: 100%;
    background: #0f2b5c;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-submit:hover {
    background: #09204a;
}

/* Responsive */
@media (max-width: 900px) {
    .testimonial-form-wrapper {
        flex-direction: column;
    }
}
.ssection-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0f2b5c;
    position: relative;
}
.ssection-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #e63946;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}
/* --- COVERAGE SECTION STYLES --- */

/* 1. The Grid Layout */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 2. The Card Container */
.continent-card {
    position: relative;
    height: 400px; /* Fixed height for uniformity */
    border-radius: 15px;
    overflow: hidden; /* Keeps the zooming image inside the box */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* 3. The Image Animation (Zoom Effect) */
.continent-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.continent-card:hover img {
    transform: scale(1.15); /* Zooms in on hover */
}

/* 4. The Dark Gradient Overlay */
.continent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: Transparent at top, dark at bottom */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 90%);
    z-index: 1;
    transition: background 0.3s;
}

.continent-card:hover::before {
    /* Make it slightly darker on hover for better text readability */
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.95) 100%);
}

/* 5. The Content (Text & Button) Animation */
.continent-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: #fff;
    transform: translateY(20px); /* Start slightly pushed down */
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* On hover, move content up */
.continent-card:hover .continent-content {
    transform: translateY(0);
}

.continent-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff; /* Ensure white text */
}

.continent-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ddd; /* Light gray for description */
    opacity: 0.9;
}

/* 6. The "Apply Here" Button */
.continent-content a {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color); /* Uses your orange accent */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0; /* Hidden by default */
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s; /* 0.1s delay */
}

.continent-content a:hover {
    background: #fff;
    color: var(--secondary-color);
}

/* Reveal button on hover */
.continent-card:hover .continent-content a {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .continent-card {
        height: 300px;
    }
    /* On mobile, always show the button so they know they can click */
    .continent-content a {
        opacity: 1;
        transform: translateY(0);
    }
    .continent-content {
        transform: translateY(0);
    }
}

/* --- MULTI-DIRECTIONAL ANIMATIONS --- */

/* 1. Base Class for all animated cards */
.animate-card {
    opacity: 0; /* Hidden initially */
    transition: all 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth "ease-out" */
    will-change: transform, opacity; /* Performance optimization */
}

/* 2. Direction: Come from Left */
.from-left {
    transform: translateX(-150px);
}

/* 3. Direction: Come from Right */
.from-right {
    transform: translateX(150px);
}

/* 4. Direction: Come from Bottom (Slide Up) */
.from-bottom {
    transform: translateY(150px);
}

/* 5. Direction: Drop from Top */
.from-top {
    transform: translateY(-150px);
}

/* 6. The Final State (Triggered by JS) */
.animate-card.visible {
    opacity: 1;
    transform: translate(0, 0) !important; /* Reset to original position*/
}
.awards-section {
    padding: 80px 0;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.awards-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
}

.awards-image-column, .awards-content-column {
    flex: 1;
    min-width: 320px;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #004aad; /* Use Skytop's blue color */
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

.exp-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
}

.sub-title {
    color: #ff5e14; /* Accent color */
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
}

.main-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.icon-box i {
    color: #004aad;
    font-size: 20px;
}

.feature-text h4 {
    margin: 0;
    font-size: 18px;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #004aad;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.read-more-btn:hover {
    background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .awards-container {
        padding: 0 20px;
        flex-direction: column;
    }
    .experience-badge {
        right: 10px;
    }
}
/* VIDEO CTA SECTION */
.video-cta {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* VIDEO */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* CONTENT */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 20px;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* TEXT FADE */
.text-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.text-animate.delay {
    animation-delay: 0.3s;
}

/* GREEN FLY-IN BUTTON */
.cta-btn-fly {
    display: inline-block;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #1db954, #28d768);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(40, 215, 104, 0.6);

    opacity: 0; /* start hidden */
    transform: translateX(-220px);

    animation: flyBounceGreen 1.6s ease-out forwards;
    animation-delay: 0.8s;
}


/* Visible & interactive after animation */
.cta-btn-fly:hover {
    transform: scale(1.08);
}

/* FLOATING CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-cta a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.floating-cta a:hover {
    transform: scale(1.15);
}

.whatsapp {
    background: #25D366;
}

.phone {
    background: #0f2b5c;
}

/* ANIMATIONS */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flyBounceGreen {
    0% {
        opacity: 1;
        transform: translateX(-220px);
    }
    60% {
        opacity: 1;
        transform: translateX(30px);
    }
    80% {
        transform: translateX(-12px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* Reduce video load perception */
    .bg-video {
        filter: brightness(0.8);
    }
}
