:root {
    --primary-deep: #003399;
    --primary-main: #0066FF;
    --primary-light: #4DA6FF;
    --primary-pale: #EBF5FF;
    --navy-dark: #0B192C;
    --navy-mid: #1E3E62;
    --navy-light: #508C9B;
    --navy-pale: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.50);
    --shadow-glass: 0 8px 32px rgba(0, 102, 255, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL RESETS & ANTI-OVERFLOW ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: var(--navy-dark);
}

img, iframe, video, canvas, table, select, input {
    max-width: 100%;
    height: auto;
}

/* ===== GLASSMORPHISM UTILITY ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

/* ===== NAVBAR (Transparent, appears on scroll) ===== */
.navbar {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
    width: 100%;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(10, 26, 43, 0.85) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff !important;
    letter-spacing: -0.5px;
    transition: color var(--transition);
}
.navbar-brand i {
    color: var(--primary-main);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: all var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-main);
    transition: all var(--transition);
    transform: translateX(-50%);
}
.navbar-nav .nav-link:hover {
    color: #fff !important;
}
.navbar-nav .nav-link:hover::after {
    width: 60%;
}

/* Dropdown toggle arrow */
.navbar-nav .dropdown-toggle::after {
    margin-left: 0.4rem;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    transition: transform var(--transition);
}
.navbar-nav .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown menu - desktop style */
.dropdown-menu {
    background: rgba(10, 26, 43, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem;
    min-width: 200px;
}
.dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    transition: all var(--transition);
    font-size: 0.9rem;
}
.dropdown-menu .dropdown-item:hover {
    background: rgba(0, 102, 255, 0.15);
    color: #fff;
}
.dropdown-menu .dropdown-item:active {
    background: var(--primary-main);
    color: #fff;
}

/* CTA Button in nav */
.btn-nav-cta {
    background: var(--primary-main) !important;
    color: #fff !important;
    padding: 0.5rem 1.8rem !important;
    border-radius: 40px !important;
    font-weight: 700 !important;
    transition: all var(--transition) !important;
}
.btn-nav-cta::after {
    display: none !important;
}
.btn-nav-cta:hover {
    background: var(--primary-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

/* Navbar toggler (hamburger) - white */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.6rem;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.3);
}

/* ===== RESPONSIVE: Mobile nav & Dope Dropdown ===== */
@media (max-width: 992px) {
    .navbar {
        padding: 0.8rem 0;
    }
    .navbar.scrolled {
        padding: 0.4rem 0;
    }
    .navbar-collapse {
        background: rgba(10, 26, 43, 0.98) !important;
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border-radius: 24px;
        padding: 1.5rem;
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        max-height: 80vh;
        overflow-y: auto;
    }
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1rem;
    }
    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .dropdown-menu {
        background: rgba(255, 255, 255, 0.06) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        padding: 0.5rem !important;
        margin: 0.5rem 0 0.5rem 0.5rem !important;
        box-shadow: inset 0 1px 2px rgba(255,255,255,0.1), 0 10px 30px rgba(0,0,0,0.2) !important;
        display: none;
    }
    .navbar-nav .dropdown.show .dropdown-menu {
        display: block;
        animation: mobileDropdownFade 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    .navbar-nav .dropdown-menu .dropdown-item {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.95rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        border-radius: 12px !important;
        transition: all 0.25s ease !important;
    }
    .navbar-nav .dropdown-menu .dropdown-item:hover {
        background: linear-gradient(135deg, rgba(0, 102, 255, 0.3), rgba(0, 102, 255, 0.05)) !important;
        color: #fff !important;
        transform: translateX(6px);
    }
    .btn-nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 0.8rem;
        padding: 0.75rem 0 !important;
    }
}

@keyframes mobileDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== INNER HERO ===== */
.inner-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-dark);
}
.inner-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}
.inner-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 102, 255, 0.2), rgba(10, 26, 43, 0.85) 70%);
}
.inner-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    width: 100%;
}
.inner-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.02em;
}
.inner-hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.inner-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 1rem auto 0;
    font-weight: 300;
}
.breadcrumb-custom {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.3rem 1.6rem;
    border-radius: 40px;
    color: var(--primary-light);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    margin-bottom: 1.2rem;
}
.breadcrumb-custom span {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .inner-hero {
        min-height: 320px;
        height: auto;
        padding: 6rem 0 3rem;
    }
    .inner-hero h1 {
        font-size: 2.8rem;
    }
    .inner-hero p {
        font-size: 1rem;
    }
}
@media (max-width: 576px) {
    .inner-hero h1 {
        font-size: 2.2rem;
    }
}

/* ===== SECTION HEADERS ===== */
.section-badge {
    display: inline-block;
    background: var(--primary-main);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.section-title .highlight {
    color: var(--primary-main) !important;
}
.section-sub {
    font-size: 1.15rem;
    color: var(--navy-light);
    max-width: 640px;
    margin-top: 0.8rem;
}

/* ===== STORY SECTION ===== */
#story {
    padding: 5rem 0;
    background: #fff;
    width: 100%;
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.story-tile-primary {
    background: var(--primary-main);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
}
.story-tile-primary .tile-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}
.story-tile-primary h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.story-tile-primary h2 .highlight {
    color: var(--primary-light);
}
.story-tile-primary p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 500px;
}
.story-tile-primary .story-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}
.story-tile-primary .story-stats .stat-item {
    text-align: left;
}
.story-tile-primary .story-stats .stat-item .number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.1;
}
.story-tile-primary .story-stats .stat-item .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-tile-white {
    background: #fff;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
}
.story-tile-white h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}
.story-tile-white h3 i {
    color: var(--primary-main);
    margin-right: 0.5rem;
}
.story-tile-white p {
    color: var(--navy-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}
.story-tile-white .milestone-list {
    list-style: none;
    padding: 0;
}
.story-tile-white .milestone-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.story-tile-white .milestone-list li:last-child {
    border-bottom: none;
}
.story-tile-white .milestone-list li .icon {
    color: var(--primary-main);
    font-size: 1.2rem;
    margin-top: 0.1rem;
    width: 1.5rem;
    flex-shrink: 0;
}
.story-tile-white .milestone-list li .content {
    font-weight: 500;
    color: var(--navy-dark);
}
.story-tile-white .milestone-list li .content small {
    display: block;
    font-weight: 400;
    color: var(--navy-light);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }
    .story-tile-primary,
    .story-tile-white {
        min-height: auto;
        padding: 3rem 2rem;
    }
    .story-tile-primary h2 {
        font-size: 2.2rem;
    }
    .story-tile-primary .story-stats {
        gap: 1.5rem;
    }
    .story-tile-primary .story-stats .stat-item .number {
        font-size: 1.6rem;
    }
}
@media (max-width: 576px) {
    .story-tile-primary,
    .story-tile-white {
        padding: 2rem 1.5rem;
    }
    .story-tile-primary h2 {
        font-size: 1.8rem;
    }
    .story-tile-primary .story-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* ===== WHY CHOOSE US SECTION ===== */
#why-choose {
    padding: 5rem 0;
    background: var(--primary-pale);
    width: 100%;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.why-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all var(--transition);
    border-bottom: 4px solid var(--primary-main);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.why-card .icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--primary-pale), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-main);
    transition: all var(--transition);
}
.why-card:hover .icon-wrap {
    background: var(--primary-main);
    color: #fff;
    transform: scale(1.05);
}
.why-card h4 {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy-dark);
    margin-bottom: 0.6rem;
}
.why-card p {
    color: var(--navy-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== CONTACT SECTION ===== */
#contact-section {
    padding: 5rem 0;
    background: #fff;
    width: 100%;
}

/* Force override any orange/warning color on headers, highlights, and asterisks inside contact section */
#contact-section h2 span,
#contact-section h3 span,
#contact-section .highlight,
#contact-section .form-label,
#contact-section .form-label span,
#contact-section label,
#contact-section label span,
#contact-section .text-danger,
#contact-section .text-warning,
.contact-form-wrapper span {
    color: var(--primary-main) !important;
}

.contact-info-card {
    background: var(--primary-pale);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    height: 100%;
    transition: all var(--transition);
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.contact-info-card .info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1.2rem;
}
.contact-info-card h4 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy-dark);
    margin-bottom: 0.3rem;
}
.contact-info-card p {
    color: var(--navy-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}
.contact-info-card a {
    color: var(--navy-light);
    text-decoration: none;
    transition: color var(--transition);
}
.contact-info-card a:hover {
    color: var(--primary-main);
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 102, 255, 0.06);
}
.contact-form-wrapper .form-control {
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    transition: all var(--transition);
    background: #fafafa;
}
.contact-form-wrapper .form-control:focus {
    border-color: var(--primary-main);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
    background: #fff;
}
.contact-form-wrapper .form-control::placeholder {
    color: #b0b8c4;
}
.contact-form-wrapper textarea.form-control {
    min-height: 140px;
    resize: vertical;
}
.contact-form-wrapper .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy-dark);
}
.contact-form-wrapper .btn-submit {
    background: var(--primary-main);
    color: #fff;
    border: none;
    padding: 0.9rem 3rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    width: 100%;
}
.contact-form-wrapper .btn-submit:hover {
    background: var(--primary-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

/* ===== MAP SECTION ===== */
#map-section {
    width: 100%;
    height: 450px;
    background: var(--navy-pale);
    overflow: hidden;
}
#map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: grayscale(0.1) contrast(1.05);
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all var(--transition);
    animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    color: #fff;
}
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-main) !important;
    color: #fff;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}
footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition);
}
footer a:hover {
    color: #fff !important;
    text-decoration: underline;
}
.footer-brand h3 {
    color: #fff;
    font-weight: 800;
}
.footer-brand h3 i {
    color: #fff;
}
footer .footer-brand img {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    .contact-info-card {
        padding: 1.8rem 1.5rem;
    }
    #map-section {
        height: 300px;
    }
}
@media (max-width: 576px) {
    .contact-form-wrapper .btn-submit {
        padding: 0.8rem 2rem;
    }
}