/* --- GLOBAL RESET & FONTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Helper class to keep content centered with max-width */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- PART 1: TOP BAR STYLES --- */
.top-bar {
    background-color: #003366; /* Dark Blue */
    color: #fff;
    font-size: 13px;
    padding: 10px 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller desktops */
}

.contact-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info span, 
.contact-info a,
.top-links span {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Special styling for the new links */
.top-special-link {
    font-weight: 600;
    transition: color 0.3s;
}

.top-special-link:hover {
    color: #cbdcf0; /* Lighter blue on hover */
}

.divider {
    opacity: 0.4;
}

/* --- PART 2: MAIN NAV STYLES --- */
.main-nav {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
    position: sticky; /* Sticky positioning */
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Sticky State (Added via JS) */
.main-nav.sticky {
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================
   LOGO (LEGIBLE & RESPONSIVE)
========================= */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 85px;              /* 🔥 MAIN SIZE CONTROL */
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: height 0.3s ease;
}

/* Sticky state – slightly smaller but still readable */
.main-nav.sticky .logo img {
    height: 70px;
}

/* Mobile logo size */
@media (max-width: 768px) {
    .logo img {
        height: 60px;
        max-width: 200px;
    }

    .main-nav.sticky .logo img {
        height: 55px;
    }
}


/* Menu Wrapper (Links + Button) */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    position: relative; /* For the underline animation */
    transition: color 0.3s;
}

/* Cool Underline Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #003366;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #003366;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Enquire Button */
.btn-enquire {
    background-color: #003366;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.2s, background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-enquire:hover {
    background-color: #002244;
    transform: translateY(-2px); /* Slight lift effect */
}

/* --- PART 3: MOBILE RESPONSIVENESS --- */
.mobile-toggle {
    display: none; /* Hidden on desktop */
    font-size: 24px;
    background: none;
    border: none;
    color: #003366;
    cursor: pointer;
    position: relative;
    z-index: 2000;
}

@media (max-width: 992px) {
    /* Top Bar: Hide extra details on small screens to save space */
    .top-bar {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    /* Mobile Menu Drawer */
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 80%; /* Takes up 80% of width */
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 20px;
        z-index: 1500;
    }

    .nav-menu-wrapper.active {
        right: 0; /* Slide in */
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 30px;
    }

    /* Optional: Overlay background when menu is open */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }
    .overlay.active {
        display: block;
    }
}

/* --- HERO SLIDER SECTION --- */
.hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    
    /* --- MISTY CLOUD BACKGROUND --- */
    background-color: #ffffff; /* Fallback white */
    
    background-image: 
        /* Layer 1: White "Mist" overlay on the right side */
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%),
        
        /* Layer 2: A "Cloud Puff" in the center to break the straight line */
        radial-gradient(ellipse at 50% 50%, rgba(230, 242, 255, 1) 0%, rgba(230, 242, 255, 0) 70%),
        
        /* Layer 3: The Main Soft Blue from Left to Right */
        linear-gradient(to right, #e6f2ff 0%, #e6f2ff 35%, #ffffff 100%);
        
    background-size: cover;
    background-repeat: no-repeat;
}

/* Slide Container */
.slider-container {
    width: 100%;
    position: relative;
    z-index: 2; /* Ensures content sits above the background */
}

/* --- Slide Animation (Horizontal Slide) --- */
.hero-slide {
    display: none;
    width: 100%;
    /* Slides in from the right */
    animation: slideInRight 1s ease-in-out forwards;
}

.hero-slide.active {
    display: block;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px); /* Start slightly to the right */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 60px 0;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    color: #003366;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Image Styling */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    /* Organic Blob Shape */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; 
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
}

/* --- Slider Dots (Navigation) --- */
.slider-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: #003366; /* Active dot is Dark Blue */
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-wrapper {
        margin-top: 40px;
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
    }
}
/* --- SERVICES SECTION --- */
.services-section {
    padding: 80px 0;
    /* Soft light blue background to mimic the "wave" vibe */
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    /* IF you have a real wave image, uncomment the next line: */
    /* background-image: url('wave-bg.png'); background-size: cover; background-position: bottom; */
    text-align: center;
}

.section-header h2 {
    color: #003366;
    font-size: 32px;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    margin-bottom: 50px;
}

/* --- THE GRID LAYOUT --- */
.services-grid {
    display: grid;
    /* 4 Columns: 3 equal ones for small cards, 1 slightly wider for the tall card */
    grid-template-columns: repeat(3, 1fr) 1.2fr;
    gap: 20px;
    text-align: center;
}

/* Standard Service Card Styling */
.service-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Soft drop shadow */
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px); /* Moves up slightly on hover */
}

/* Icon Circles (Gold) */
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #fff8e1; /* Very light gold bg */
    color: #C5A059; /* Gold icon color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 24px;
}

.service-card h3 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 18px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-card a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* --- FEATURED CARD (The Tall One) --- */
.featured-card {
    /* Magic Grid Rule: Make this card span 2 rows vertically */
    grid-row: span 2;
    /* Force it to be in the 4th column */
    grid-column: 4;
    
    background: #fff;
    border-top: 5px solid #89CFF0; /* Light blue accent bar on top */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left; /* Align text to left for this one */
}

.featured-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
}

/* Adds a small gold dot before list items */
.feature-list li::before {
    content: "•";
    color: #C5A059;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
}

.btn-gold {
    background-color: #C5A059;
    color: #fff !important; /* Force white text */
    padding: 12px 25px;
    border-radius: 50px;
    text-align: center;
    display: inline-block;
}

.btn-gold:hover {
    background-color: #b08d45;
}

/* --- RESPONSIVE (Mobile) --- */
@media (max-width: 1024px) {
    .services-grid {
        /* On tablets/phones, switch to 1 column or 2 columns */
        grid-template-columns: 1fr 1fr; 
    }
    
    .featured-card {
        grid-column: span 2; /* Make it take full width */
        grid-row: auto; /* Stop spanning rows */
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .featured-card {
        grid-column: span 1;
    }
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-us-section {
    position: relative;
    padding: 60px 0 100px 0;
    background-color: #fff;
    text-align: center;
    /* Removed overflow hidden so we can control wave better if needed, 
       but keeping it usually prevents horizontal scroll issues */
    overflow: hidden; 
}

/* The Blue Wave Background */
.wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0; /* Behind the content */
}

.wave-bg svg {
    display: block;
    width: 100%;
    height: 450px; /* Made taller so it rises behind the cards */
}

/* Content wrapper */
.relative-content {
    position: relative;
    z-index: 2; /* Sits ON TOP of the wave */
}

.fancy-subhead {
    color: #C5A059;
    font-family: "Georgia", serif;
    font-style: italic;
    font-size: 28px;
    margin-bottom: 10px;
}

/* --- MAIN LAYOUT (Flexbox) --- */
.choose-us-layout {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* CRITICAL: Makes both sides equal height */
    gap: 30px;
    margin-top: 40px;
}

/* --- LEFT: The 4 Benefits Group --- */
.benefits-group {
    flex: 2; 
    display: flex;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.benefit-item {
    flex: 1;
    padding: 30px 15px;
    border-right: 1px solid #eee;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Spreads content evenly */
}

.benefit-item:last-child {
    border-right: none;
}

.benefit-item h3 {
    font-size: 15px;
    color: #003366;
    margin: 15px 0;
    line-height: 1.4;
}

.benefit-item p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.benefit-item a {
    font-size: 12px;
    font-weight: bold;
    color: #003366;
    text-decoration: none;
    margin-top: auto; /* Pushes link to bottom */
}

/* --- RIGHT: The ICAN Card --- */
/* --- NEW IMAGE WRAPPER STYLES --- */
.choose-us-image-wrapper {
    flex: 1;
    display: flex;
    height: auto; 
}

.choose-us-image-wrapper img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    border-radius: 15px; 
}
/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .choose-us-layout {
        flex-direction: column;
    }
    
    .benefits-group {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .benefit-item {
        flex: 1 1 45%; 
        border-bottom: 1px solid #eee;
    }
    
    .benefit-item:nth-child(2) { border-right: none; }
    .benefit-item:nth-child(4) { border-right: none; border-bottom: none; }

    .ican-wide {
        width: 100%;
        padding: 40px 30px; 
    }

     .choose-us-image-wrapper {
        width: 100%;
        height: 300px; 
        margin-top: 30px;
    }
}

/* --- FOOTER SECTION --- */
.site-footer {
    background-color: #003366; /* Deep Blue to match Top Bar */
    color: #fff;
    padding-top: 70px;
    font-size: 14px;
}

.footer-content {
    display: grid;
    /* 4 Columns: First one is slightly wider (1.5fr), others are equal (1fr) */
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Thin divider line */
}

/* Footer Headings */
.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #fff;
}

/* --- Column 1: About & Logo --- */
.footer-logo {
 /* max-width: 150px;-->
    margin-bottom: 20px;
    /* In case you don't have a white logo, this filter makes a black logo white */
    /* filter: brightness(0) invert(1); */ 
     max-width: 200px;     /* 🔥 increase size for readability */
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    object-fit: contain;
}

.about-col p {
    color: #dbeaff; /* Very light blueish-white */
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 250px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    background-color: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icons a:hover {
    background-color: #C5A059; /* Gold hover */
}

/* --- Links Styling (Middle Columns) --- */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #dbeaff;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

/* Hover Effect: Link turns Gold and moves right slightly */
.footer-col ul li a:hover {
    color: #C5A059;
    padding-left: 5px; 
}

/* --- Contact Column --- */
.contact-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #dbeaff;
    margin-bottom: 15px;
}

.contact-col i {
    color: #C5A059; /* Gold Icons */
    margin-top: 4px;
}

/* --- FOOTER BOTTOM BAR --- */
.footer-bottom {
    padding: 20px 0;
    background-color: #002855; /* Slightly darker shade for contrast */
    font-size: 13px;
    color: #aaa;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.bottom-links a:hover {
    color: #fff;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr; /* 1 column on mobile */
        text-align: center;
    }

    .about-col p {
        margin: 0 auto 20px auto; 
    }

    .social-icons {
        justify-content: center; /* Center icons on mobile */
    }

    .contact-col ul li {
        justify-content: center;
    }
    
    .bottom-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .bottom-links a {
        margin: 0 10px;
    }
}
/* HERO WITH IMAGE */
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* Mobile */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        text-align: center;
    }
}
/* Dropdown container */
.nav-links li {
    position: relative;
}

/* Submenu hidden by default */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 1000;
}

/* Submenu items */
.submenu li {
    padding: 8px 20px;
}

.submenu li a {
    color: #333;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

/* Hover effect */
.submenu li a:hover {
    background: #f5f5f5;
    color: #0b5ed7; /* adjust to your brand blue */
}

/* Show dropdown on hover */
.dropdown:hover .submenu {
    display: block;
}
/* Dropdown container */
.nav-links li {
    position: relative;
}

/* Submenu hidden by default */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 6px;
    z-index: 1000;
}

/* Submenu items */
.submenu li {
    padding: 8px 20px;
}

.submenu li a {
    color: #333;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

/* Hover effect */
.submenu li a:hover {
    background: #f5f5f5;
    color: #0b5ed7; /* adjust to your brand blue */
}

/* Show dropdown on hover */
.dropdown:hover .submenu {
    display: block;
}

