@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary: #002366;
    /* Deep Royal Blue */
    --primary-light: #2c59b3;
    --secondary: #ffffff;
    /* Clean White */
    --accent: #00ced1;
    /* Vibrant Turquoise */
    --accent-glow: rgba(0, 206, 209, 0.3);

    --bg-light: #f0f7ff;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    --text-dark: #1a1a2e;
    --text-muted: #5e6c84;

    --shadow-soft: 0 10px 40px rgba(0, 35, 102, 0.08);
    --shadow-hover: 0 20px 50px rgba(0, 206, 209, 0.2);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --wave-height: 120px;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-color: var(--bg-light);
    overflow-x: hidden;
    position: relative;
    padding-top: var(--nav-height);
    /* Prevent content hiding behind fixed nav */
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
.badge-premium {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
}

h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.divider {
    height: 6px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 1.5rem auto 0;
    border-radius: 20px;
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Background Bubbles Animation */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: floatUp 15s linear infinite;
    opacity: 0.6;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 80px;
    height: 80px;
    left: 20%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 60px;
    height: 60px;
    left: 50%;
    animation-duration: 15s;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    width: 90px;
    height: 90px;
    left: 65%;
    animation-duration: 14s;
    animation-delay: 3s;
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 80%;
    animation-duration: 11s;
    animation-delay: 5s;
}

.bubble:nth-child(7) {
    width: 70px;
    height: 70px;
    left: 90%;
    animation-duration: 13s;
    animation-delay: 2s;
}

.bubble:nth-child(8) {
    width: 30px;
    height: 30px;
    left: 25%;
    animation-duration: 9s;
    animation-delay: 6s;
}

/* Add more bubble styling as needed */

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-120vh);
        opacity: 0;
    }
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

/* Layout Utilities */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-relative {
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(0, 206, 209, 0.5);
    transform: translateY(-5px);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--accent);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    /* Adjust for spacing */
    padding-bottom: 150px;
    background: linear-gradient(135deg, rgba(0, 35, 102, 0.96), rgba(7, 72, 172, 0.92));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--nav-height));
    /* Pull header up */
    /* Pull header up */
    border-radius: 0 0 50px 50px;
    z-index: 1;
    /* Ensure video stays behind */
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 35, 102, 0.85), rgba(7, 72, 172, 0.8));
    /* Overlay for text readability */
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
    color: white;
}

.badge-premium {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero h1 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Hero Refinements */
.hero-content {
    max-width: 800px;
    /* Wider content */
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    color: white;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.text-highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 206, 209, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(0, 206, 209, 0.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.stat-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 300;
}

/* WAVES REMOVED - Using Border Radius */
.wave-bottom,
.wave-top-services,
.wave-top-footer {
    display: none;
}

/* Specific overrides for specific sections handled in HTML fill attribute or here */


/* Grid Layouts */
.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.align-center {
    align-items: center;
}

/* Cards (Base styles for text inside glass cards) */
.glass-card {
    padding: 3rem 2rem;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bg-light), white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.glass-card:hover .icon-box {
    background: var(--accent);
    color: white;
    transform: rotateY(180deg);
}

/* USP Section */
.usp-image-wrapper {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #e0f2ff;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: -1;
    animation: blobMorph 8s ease-in-out infinite alternate;
}

@keyframes blobMorph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.u-img {
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 35, 102, 0.2);
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.usp-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    transition: var(--transition);
}

.usp-item:hover {
    background: white;
    box-shadow: var(--shadow-soft);
    transform: translateX(10px);
}

.check-icon {
    min-width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Service Cards */
.service-card {
    padding: 0 !important;
    overflow: hidden;
}

.img-wrapper {
    height: 220px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 24px 24px 0 0;
    /* Reset global img border radius */
}

.service-card:hover .img-wrapper img {
    transform: scale(1.1);
}

.service-info {
    padding: 2rem;
    text-align: center;
}

.service-price {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 700;
    margin-top: 0.5rem;
}

.more-services {
    text-align: center;
    margin-top: 4rem;
    opacity: 0.8;
}

/* Gallery */
.gallery-grid {
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 102, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.overlay i {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover .overlay i {
    transform: scale(1);
}

/* Testimonials */
.quote-icon {
    font-size: 2rem;
    color: #dae1e7;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    z-index: 2;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: #f8fbff;
}

.faq-answer {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.8rem;
    max-height: 300px;
}

.faq-item.active .faq-question {
    color: var(--accent);
}

.faq-question i {
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--primary) 0%, #001233 100%);
    color: white;
    padding-top: 15rem;
    padding-bottom: 4rem;
    margin-top: -100px;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Subtle pattern overlay */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

footer h3 {
    color: var(--accent);
    margin-bottom: 1.8rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 350px;
}

.contact-list li {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: #ffffff;
    align-items: center;
}

.contact-list i {
    color: var(--accent);
    width: 20px;
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.5);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 206, 209, 0.3);
    border-color: var(--accent);
}

.map-frame {
    border-radius: 20px;
    overflow: hidden;
    height: 220px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 0;
        transition: height 0.4s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        height: 300px;
        padding: 2rem 0;
    }

    .nav-links a {
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    .navbar .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-stats {
        flex-direction: row;
        gap: 2rem;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .usp-list {
        order: -1;
    }
}

/* Sticky Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    padding: 6px;
    padding-right: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.wa-icon {
    width: 50px;
    height: 50px;
    background: white;
    color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* Animation Classes (triggered by JS) */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 150px 0 100px;
        text-align: center;
        display: block;
        height: auto;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blob-bg {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
        position: relative;
        margin-bottom: 2rem;
    }

    .usp-image-wrapper {
        margin-bottom: 3rem;
    }

    .bubbles {
        opacity: 0.5;
    }

    /* Reduce distraction on mobile */
}