@font-face {
    font-family: 'SF Pro Display';
    src: url('./font/SF-Pro-Display-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'SF Pro Display';
    src: url('./font/SF-Pro-Display-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'SF Pro Display';
    src: url('./font/SF-Pro-Display-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'SF Pro Text';
    src: url('./font/SF-Pro-Text-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'SF Pro Text';
    src: url('./font/SF-Pro-Text-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'SF Pro Text';
    src: url('./font/SF-Pro-Text-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

/* Base Resets & Global Variables */
:root {
    --navbar-pill-bg: rgba(255, 255, 255, 0.08);
    --navbar-pill-border: rgba(255, 255, 255, 0.12);
    --top-bar-bg: #000029;
    --bs-body-font-family: 'SF Pro Text', 'SF Pro Display', sans-serif;
    --bs-font-sans-serif: 'SF Pro Text', 'SF Pro Display', sans-serif;
}

html, body {
    font-family: 'SF Pro Text', 'SF Pro Display', sans-serif !important;
    background-color: #000029;
    overflow-x: clip;
    width: 100%;
}
.object-right {
    object-position: right center;
}
/* Bootstrap Primary Overrides (Palatinate Blue) */
.text-primary { color: #173DED !important; }
.bg-primary { background-color: #173DED !important; }

/* Replace White Backgrounds with Grey Placidity */
.bg-white { background-color: #DCDEE2 !important; }

/* Global Button Styles (Palatinate Blue) */
.btn-primary, .btn-dark, .btn-black, .btn-society, .btn-mission, .btn-contact, .btn-see-all, .btn-cta { 
    background-color: #173DED !important; 
    border-color: #173DED !important; 
    color: #ffffff !important;
}
.btn-primary:hover, .btn-dark:hover, .btn-black:hover, .btn-society:hover, .btn-mission:hover, .btn-contact:hover, .btn-see-all:hover, .btn-cta:hover { 
    background-color: #000029 !important; 
    border-color: #000029 !important; 
    color: #ffffff !important;
}

/* Announcement Top Bar */
.top-announcement {
    background-color: var(--top-bar-bg);
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-announcement .badge {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Hero Container Background & Overlay Setup */
.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 43px); /* Dynamic adjustment for announcement bar height */
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.7) 100%),
        url('./images/hero-banner.png') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* Brand Identity Branding Styling */
.brand-text {
    font-size: 0.9rem;          /* Slightly larger for single-line JDMEHF */
    font-weight: 800;          /* Ultra-bold modern look */
    letter-spacing: 2px;       /* Elegant wider letter-spacing */
    line-height: 1;
    color: #fff;
    text-transform: uppercase; /* Ensures it stays in caps */
}
/* Brand Identity Branding Styling */
.brand-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.2;
    color: #fff;
}

/* Premium Minimalist Pill Navbar Navigation */
.pill-nav {
    background-color: var(--navbar-pill-bg);
    border: 1px solid var(--navbar-pill-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pill-nav .nav-link {
    font-weight: 400;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.pill-nav .nav-link:hover {
    opacity: 0.8;
}

/* Actions Menu & Buttons */
.link-hover-effect {
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}
.link-hover-effect:hover {
    opacity: 0.8;
}

.scroll-top-btn .arrow-up {
    color: #ffffff !important;
    font-size: 1.5rem;
    font-weight: 800;
    position: absolute;
    transition: transform 0.3s ease;
    z-index: 10;
    line-height: 1;
}

/* ========================================
   Global Navy Blue Overrides
   ======================================== */
.text-black, .text-dark, .hover-black:hover {
    color: #000029 !important;
}

.bg-black, .bg-dark {
    background-color: #000029 !important;
}

.btn-dark, .btn-black, .btn-society {
    /* Styles moved to global button rules at top */
}

.btn-dark:hover, .btn-black:hover, .btn-society:hover {
    /* Styles moved to global button rules at top */
}

/* ========================================
   Mobile Responsiveness (Max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    /* Text Logo */
    .logo-text {
        font-size: 1.5rem;
    }
    
    /* Marquee Styling */
    .marquee-text {
        font-size: 1.5rem !important;
        padding: 0 0.5rem;
    }
    .marquee-separator {
        font-size: 1.2rem;
    }
    
    /* Scroll-to-Top Button */
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px; /* Note: currently at right: 30px globally */
    }
    .scroll-top-btn .arrow-up {
        font-size: 1.2rem;
    }
    
    /* Major Headings */
    .display-1 {
        font-size: 2.25rem !important;
    }
    .display-2 {
        font-size: 2rem !important;
    }
    .display-3 {
        font-size: 1.75rem !important;
    }
    .display-4 {
        font-size: 1.5rem !important;
    }
    
    /* Preloader Text */
    .preloader-logo-text {
        font-size: 2.5rem !important;
    }
    
    .counter-floating-box {
        font-size: 0.75rem;
        top: -25px;
        letter-spacing: 1px;
    }
    
    /* Disable old Sticky class Positioning on Mobile */
    .sticky-column {
        position: static !important;
    }
    
    /* Spacing Adjustments */
    .px-md-5 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* ========================================
       Uniform Mobile Section Spacings
       ======================================== */
    section:not(.stack-slide):not(.hero-section):not(.scroll-video-section),
    .about-section,
    .story-section,
    .leadership-editorial-blend,
    .stats-map-section,
    .initiatives-section,
    .stories-carousel-section,
    .news-section,
    .faq-section,
    .cta-banner-section {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }

    /* Preserve stack-slide sticky behavior on mobile */
    .stack-slide {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Prevent nested container double-padding on mobile */
    section:not(.stack-slide) > .container.py-5,
    section:not(.stack-slide) > .container.py-4,
    section:not(.stack-slide) > .container.pb-5,
    section:not(.stack-slide) > .container.pt-5,
    section:not(.stack-slide) > .container-fluid.py-5,
    section:not(.stack-slide) > .container-fluid.py-4 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Uniform compact margins for inner rows and headings on mobile */
    .heading-statement {
        margin-bottom: 1.5rem !important;
    }
    .row.mb-5,
    .leadership-editorial-blend .row.mb-5,
    .faq-section .row.mb-5 {
        margin-bottom: 1.5rem !important;
        padding-bottom: 0 !important;
    }
    .leadership-editorial-blend .col-12.mb-5.pb-5 {
        margin-bottom: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .stats-map-section {
        min-height: auto !important;
    }
    .stats-map-section .positional-wrapper,
    .stats-map-section .min-vh-50 {
        min-height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .stats-map-section .container.py-5 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* ========================================
   Legacy Section Background
   ======================================== */
.bg-legacy {
    background-image: url('./images/legacy.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-attachment: fixed; /* Premium parallax scroll effect */
}

/* Semi-transparent white overlay to ensure dark text remains highly legible */
.bg-legacy::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* 85% opacity bright frost */
    z-index: 0;
}

.bg-legacy > .container {
    position: relative;
    z-index: 1; /* Elevate text above the overlay */
}

/* ========================================
   Preloader Enhancements (Zoom & Font)
   ======================================== */
.preloader-logo-text {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    letter-spacing: -2px;
}

.preloader-zoom-effect {
    animation: slow-zoom-in 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slow-zoom-in {
    0% { transform: scale(0.95); }
    100% { transform: scale(1.05); }
}

/* ========================================
   Our Story Responsive Sticky Column
   ======================================== */
.our-story-sticky {
    position: sticky;
    top: 120px;
    z-index: 10;
}

@media (max-width: 991px) {
    .our-story-sticky {
        position: relative !important;
        top: auto !important;
    }
}

/* ========================================
   Marquee Scrolling Text
   ======================================== */
.marquee-section {
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-container {
    width: 100%;
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-text {
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    padding: 0 1rem;
    letter-spacing: 1px;
}

.marquee-separator {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
    align-self: center;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Editorial Leadership Section
   ======================================== */
.font-montserrat {
    font-family: 'Montserrat', sans-serif !important;
}

.frosted-quote-box {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.frosted-quote-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 2rem 4rem rgba(0,0,0,0.5) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

@media (max-width: 768px) {
    .frosted-quote-box .display-6 {
        font-size: 1.75rem !important;
    }
}

/* ========================================
   Text Logo Styling
   ======================================== */
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -2px;
}

.btn-contact {
    font-size: 0.95rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-contact:hover {
    transform: translateY(-1px);
}

/* Typography Enhancements */
.hero-content h1 {
    line-height: 1.1;
    letter-spacing: -4px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 41, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        border-radius: 16px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 1050;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .pill-nav {
        background-color: transparent;
        border: none;
        border-radius: 0;
        padding: 0 !important;
        backdrop-filter: none;
        text-align: left !important;
        align-items: flex-start !important;
        width: 100%;
    }
    
    .pill-nav .nav-item {
        width: 100%;
        text-align: left !important;
    }

    .pill-nav .nav-link {
        padding: 10px 0 !important;
        font-size: 1.05rem;
        text-align: left !important;
        display: block;
    }

    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 10px;
        text-align: left !important;
        margin-top: 6px;
        margin-bottom: 8px;
        padding: 6px 0;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 8px 16px;
        text-align: left !important;
    }

    .dropdown-item:hover {
        background-color: rgba(23, 61, 237, 0.3) !important;
        color: #fff !important;
    }

    .navbar-collapse .d-flex {
        align-items: flex-start !important;
        width: 100%;
    }

    .navbar-collapse .link-hover-effect {
        padding-left: 0 !important;
    }

    .navbar-collapse .btn-contact {
        align-self: flex-start;
        margin-top: 6px;
    }

    .hero-content {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem !important;
        letter-spacing: -2px;
    }
}

@media (min-width: 992px) {
    .hero-content {
        flex-grow: 1;
    }
}
/* About / Mission Section Styling */
.about-section {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
}

.heading-statement {
    line-height: 1.25;
    letter-spacing: -1.5px;
    font-size: calc(1.8rem + 1.8vw); /* Fluid responsive typography */
}

.mission-pill-tag {
    background-color: #173DED;
    color: #ffffff;
    font-size: 0.95rem;
    cursor: default;
    user-select: none;
    pointer-events: none;
    padding:8px
}

.btn-mission {
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-mission:hover {
    transform: translateY(-1px);
}

@keyframes ripple-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.pulse-btn {
    position: relative;
    background-color: #ffffff !important;
    color: #173DED !important;
    border: none !important;
    z-index: 1;
}

.pulse-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 3px solid rgba(23, 61, 237, 0.7);
    background-color: transparent;
    z-index: -1;
    animation: ripple-animation 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Extra Responsive Adjustments for Mobile screens */
@media (max-width: 576px) {
    .heading-statement {
        letter-spacing: -0.8px;
        line-height: 1.3;
    }
}
/* Story Section Styling */
.story-section {
    padding-top: 2rem;
}

.story-label {
    font-size: 1.1rem;
    letter-spacing: -0.3px;
}

/* Emphasized top paragraph */
.story-lead {
    font-size: calc(1.6rem + 1.2vw); /* Fluid typography */
    font-weight: 400;
    line-height: 1.2;
    color: #000029;
    letter-spacing: -1px;
}

/* Lower narrative paragraph */
.story-body {
    font-size: calc(1.4rem + 0.8vw); /* Slightly smaller but still bold and prominent */
    font-weight: 400;
    line-height: 1.25;
    color: #000029;
    letter-spacing: -0.8px;
    margin-top: 2.5rem;
}

/* Responsive adjustments for mobile viewports */
@media (max-width: 991.98px) {
    .story-label {
        display: inline-block;
        border-bottom: 2px solid #000029;
        padding-bottom: 4px;
        margin-bottom: 1.5rem;
    }
    
    .story-lead {
        font-size: 1.35rem !important;
        letter-spacing: -0.5px;
    }
    
    .story-body {
        font-size: 1.15rem !important;
        letter-spacing: -0.5px;
        margin-top: 1.5rem;
    }
}
/* Stats & Map Section Styling */
.stats-map-section {
    position: relative;
    /* Dotted world map layer configured as a background graphic */
    background: url('./images/legacy.png') center center / cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.positional-wrapper {
    position: relative;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}

/* Headings & Typography closely matching graphic source specs */
.main-stat-heading {
    font-size: calc(2.5rem + 2.5vw); /* Fluid large scaling */
    letter-spacing: -2px;
    line-height: 1.1;
}

.subtext-paragraph {
    letter-spacing: -0.3px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem !important;
}

/* Rounded Dark Pill Buttons */
.btn-society {
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-society:hover {
    transform: translateY(-1px);
}

/* Responsive UI scaling adjustments for viewport constraints */
@media (max-width: 767.98px) {
    .stats-map-section {
        background-size: cover; /* Ensures the dots look structural even when screen sizes squeeze down */
        min-height: auto !important;
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }
    
    .main-stat-heading {
        font-size: 2rem !important;
        letter-spacing: -1px;
    }

    .subtext-paragraph {
        font-size: 1rem !important;
        padding-left: 10px;
        padding-right: 10px;
    }
}
/* Full Width Scroll-Effect Video Section Styling */
.scroll-video-section {
    background-color: #000029;
    width: 100%;
    /* height:100vh; */
}

/* The initial hidden/slanted starting position of the video container */
.reveal-video-wrapper {
    position: relative;
    width: 100%;
    height: 80vh; /* Scaled viewport relative height */
    opacity: 0;
    transform: translateY(120px) scale(0.85) perspective(1000px) rotateX(8deg);
    transform-origin: bottom center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 1s ease-out;
    border-radius: 24px; /* Curved edge state that expands out nicely */
    overflow: hidden;
}

/* The cinematic active class triggered dynamically via scroll behavior tracking */
.reveal-video-wrapper.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1) perspective(1000px) rotateX(0deg);
    border-radius: 0px; /* Seamless full layout snap upon entering standard focal space */
}

/* Smooth textual layer configuration */
.video-text-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0));
    z-index: 2;
}

.text-shadow {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Mobile responsive constraints adjustments */
@media (max-width: 767.98px) {
    .reveal-video-wrapper {
        height: 50vh; /* Slightly standard compact layout scale constraints for shorter displays */
        transform: translateY(60px) scale(0.9) perspective(1000px) rotateX(4deg);
    }
    .video-text-overlay h2 {
        font-size: 2rem !important;
    }
}
/* Initiatives Section Styling */
.initiatives-section {
    background-color: #fff;
}

.section-main-title {
    font-size: calc(2rem + 2vw); /* Modern fluid text layout scale */
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.body-paragraph-top {
    font-size: 1.15rem !important;
    line-height: 1.45;
    letter-spacing: -0.2px;
    color: #2b2b2b !important;
}

/* Initiative Grid Cards Configurations */
.initiative-card {
    height: 250px; /* Perfectly proportioned display viewport constraints (horizontal rectangle) */
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.card-bg-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.9;
}

/* High-contrast smooth linear top shadow gradient so titles pop crisp and clear */
.card-content-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 35%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.card-title-text {
    letter-spacing: -0.5px;
    font-size: 1.35rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Modern clean interaction micro-animations */
.card-link-wrapper:hover .card-bg-img {
    transform: scale(1.04);
}

.card-link-wrapper:hover .initiative-card {
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

/* Breakpoint tweaks optimizing presentation viewports on smaller tablets and mobile layout targets */
@media (max-width: 991.98px) {
    .section-main-title {
        font-size: 1.75rem !important;
        letter-spacing: -0.8px;
    }
    .body-paragraph-top {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 767.98px) {
    .initiative-card {
        height: 180px; /* Responsive height normalization targeting narrow mobile interfaces */
    }
}
/* Carousel Section Styling */
.stories-carousel-section {
    overflow: hidden;
}

/* See All Button Minimal Styling */
.btn-see-all {
    font-size: 0.85rem;
}

/* Round Arrow Navigation Icons */
.btn-arrow {
    width: 40px;
    height: 40px;
    border-color: #DCDEE2;
    color: #000029;
    transition: all 0.2s ease;
}

.btn-arrow:hover {
    background-color: transparent;
    border-color: #000029;
    color: #000029;
}

/* Track container managing card configurations */
.stories-scroll-track {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide structural scrollbars seamlessly */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Story Card Size Definitions matching Image Dimensions */
.story-carousel-card {
    width: 320px;
    height: 440px;
    background-color: #173DED;
    cursor: pointer;
}

.story-card-img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.story-carousel-card:hover .story-card-img {
    transform: scale(1.03);
}

/* Linear Top and Bottom Dark Gradient for clean readable typography layers */
.story-card-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgb(0 0 0 / 57%) 40%, rgb(0 0 0) 100%);

}

.story-card-title {
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.story-date {
    font-size: 0.8rem;
}

/* Small Action Bottom Play Buttons */
.btn-play-sm {
    width: 36px;
    height: 36px;
    background-color: #fff;
    color: #000029;
    border: none;
    transition: transform 0.2s ease;
}

.story-carousel-card:hover .btn-play-sm {
    transform: scale(1.1);
    background-color: #fff;
    color: #000029;
}

/* Responsive adjustment scaling rules */
@media (max-width: 767.98px) {
    .story-carousel-card {
        width: 280px;
        height: 380px;
    }
    .custom-carousel-controls {
        gap: 1px;
    }
    .btn-arrow {
        width: 34px;
        height: 34px;
    }
}

/* Premium Stack & Zoom Scroll Container Setup */
.scroll-stack-container {
    background-color: #000029;
    width: 100%;
}

/* Individual Slides Configured as Sticky Viewport Stacks */
.stack-slide {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #000029;
}

/* The Background Image Component that performs the Zoom-Out Entrance */
.slide-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: 1;
    
    /* Modern Scroll-Driven Animation hooks */
    animation: zoomOutReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
}

/* 4 Individual Slide Image Mappings (Swap Unsplash URLs out for local assets seamlessly) */
.img-slide-1 {
    background-image: url('./images/healthcare.jpeg');
}

.img-slide-2 {
    background-image: url('./images/education.jpeg');
}

.img-slide-3 {
    background-image: url('./images/research.png');
}

.img-slide-4 {
    background-image: url('./images/housing.jpg');
}

/* Dynamic Gradient Overlays tailored to make elements pop cleanly per slide concept */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgb(0 0 0 / 46%) 50%, rgb(0 0 0) 100%);
}

.overlay-dark-blue {
    background: linear-gradient(180deg, rgba(8, 20, 32, 0.4) 0%, rgba(5, 10, 18, 0.6) 60%, rgba(0, 0, 0, 0.9) 100__);
}

.overlay-gold {
    background: linear-gradient(180deg, rgba(90, 70, 20, 0.4) 0%, rgba(20, 15, 5, 0.6) 60%, rgba(0, 0, 0, 0.9) 100%);
}

.overlay-teal {
    background: linear-gradient(180deg, rgba(12, 60, 68, 0.45) 0%, rgba(4, 18, 22, 0.6) 60%, rgba(0, 0, 0, 0.95) 100%);
}

.overlay-indigo {
    background: linear-gradient(180deg, rgba(28, 20, 60, 0.4) 0%, rgba(10, 5, 24, 0.65) 60%, rgba(0, 0, 0, 0.9) 100%);
}

/* Typography Container Frame Layers */
.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    pointer-events: none;
}

.slide-content a, .slide-content button {
    pointer-events: auto; /* Restores interactive operations strictly to buttons */
}

.slide-content h2 {
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.max-w-lg {
    max-width: 620px;
}

/* Core Scroll-Animation: Slides start highly magnified (zoomed in) and scale out cleanly into focal ranges */
@keyframes zoomOutReveal {
    from {
        transform: scale(1.3) translateY(60px);
        opacity: 0.6;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Responsive Overrides targeting mobile screen footprints */
@media (max-width: 767.98px) {
    .slide-content h2 {
        font-size: 2.25rem !important;
        letter-spacing: -0.5px;
    }
    
    @keyframes zoomOutReveal {
        from {
            transform: scale(1.15) translateY(30px);
            opacity: 0.8;
        }
        to {
            transform: scale(1) translateY(0);
            opacity: 1;
        }
    }
}
/* News Section Layout Configurations */
.section-news-title {
    font-size: calc(2rem + 1.8vw);
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.news-header-subtext {
    font-size: 1.15rem !important;
    line-height: 1.4;
    letter-spacing: -0.2px;
    color: #111 !important;
}

/* Square Card Layout Settings */
.news-image-wrapper {
    width: 100%;
    /* Creates a perfectly balanced square container aspect ratio */
    aspect-ratio: 1 / 1; 
    background-color: #f5f5f5;
}

.news-img {
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Minimalist Interactions */
.news-card-link:hover .news-img {
    transform: scale(1.03);
}

.news-card-title {
    font-size: 0.98rem;
    line-height: 1.35;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Truncates long text neatly onto exactly 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.news-card-link:hover .news-card-title {
    color: #555;
}

.news-card-date {
    font-size: 0.82rem;
    letter-spacing: 0px;
}

/* Media Query breakpoints targeting tablet viewports */
@media (max-width: 991.98px) {
    .section-news-title {
        font-size: 2.5rem !important;
        letter-spacing: -0.8px;
    }
    .news-header-subtext {
        font-size: 1.05rem !important;
    }
}
/* CTA Banner Container Setup */
.cta-card {
    min-height: 280px; /* Perfectly balances width vs height proportions across viewports */
    border: none;
    background-color: #333;
}

/* Background Image Layer */
.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/longterm.png');
    background-size: cover;
    background-position: center 35%;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle image zoom interaction effect */
.cta-card:hover .cta-bg-image {
    transform: scale(1.02);
}

/* Linear Contrast Overlay Mask matching image source specifications */
.cta-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* Structural Layout Layers */
.z-index-2 {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: calc(1.6rem + 1vw);
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Clean White Pill Button Spec overrides */
.btn-cta {
    font-size: 0.95rem;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cta:hover {
    background-color: #000029 !important;
    transform: translateY(-1px);
}

/* Mobile responsive optimization configurations */
@media (max-width: 767.98px) {
    .cta-card {
        min-height: 220px;
        padding: 2.5rem 1.5rem !important;
    }
    
    .cta-dark-overlay {
        background: rgba(0, 0, 0, 0.55); /* Re-balances tint layer uniform over stacked vertical elements */
    }
    
    .cta-title {
        font-size: 1.65rem !important;
        letter-spacing: -0.5px;
    }
}
/* Footer Structural Base Reset */
.site-footer {
    border-color: #eaeaea !important;
    font-size: 0.95rem;
}

/* Headings Layer */
.footer-heading {
    font-weight: 500 !important;
    letter-spacing: -0.3px;
    margin-bottom: 1.25rem !important;
}

/* Links Spacing and Font Styling */
.footer-links-list li {
    margin-bottom: 0.65rem;
}

.footer-links-list a {
    color: #111;
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 400;
}

.footer-links-list a:hover {
    color: #666;
}

/* Custom Light Background Button for Nonprofit Status */
.btn-nonprofit {
    background-color: #f1f3f9;
    font-size: 0.9rem;
    border: none;
    letter-spacing: -0.1px;
    transition: background-color 0.2s ease;
}

.btn-nonprofit:hover {
    background-color: #e4e8f3;
}

/* Horizontal Utility Strips Components */
.utility-nav-row {
    border-color: #eaeaea !important;
}

.footer-utility-link {
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

.footer-utility-link:hover {
    color: #666 !important;
}

/* Bottom Copy Blocks */
.footer-bottom-text {
    font-size: 0.88rem;
    letter-spacing: -0.1px;
}

.max-w-xl {
    max-width: 650px;
}

.hover-black:hover {
    color: #000029 !important;
    text-decoration: underline !important;
}

/* Adjustments for seamless presentation on phone viewports */
@media (max-width: 767.98px) {
    .utility-nav-row {
        width: 100%;
    }
    .w-100-mobile {
        width: 100%;
        text-align: left !important;
        margin-top: 0.5rem;
    }
}
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #000029; /* Matches preloader dark navy */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px) scale(0.9); /* Fade in from bottom */
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.scroll-top-btn.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.05); /* Hover slightly up */
    box-shadow: 0 15px 25px rgba(0,0,0,0.5);
    background-color: #173DED;
}
/* Premium Minimalist Preloader Overlay */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000029; /* High-end Deep Dark Navy Blue Frame */
    z-index: 99999; /* Forces layer above absolute header structures */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Smooth cubic transition mapping for the final page layout slide up */
    transition: transform 1.1s cubic-bezier(0.85, 0, 0.15, 1);
}

/* Slide-Up Transition Trigger State */
.preloader-overlay.slide-up-exit {
    transform: translateY(-100vh);
}

/* Master Layout Frame */
.preloader-content-wrapper {
    position: relative;
    width: 85%;
    max-width: 1200px;
}

/* Baseline Progress Track Line */
.progress-track-container {
    position: relative;
    width: 100%;
    height: 2px; /* Ultra-thin sleek line execution */
    background-color: rgba(255, 255, 255, 0.12); /* Subtle track footprint */
    border-radius: 2px;
    transition: opacity 0.4s ease;
}

/* Moving Active Fill Component */
.progress-fill-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #ffffff; /* Stark dynamic white tracker line */
    border-radius: 2px;
    transition: width 0.05s linear;
}

/* Percentage Indicator dynamically floating along the moving axis */
.counter-floating-box {
    position: absolute;
    top: -32px; /* Positions numerical counts perfectly above focal line markers */
    left: 0%;
    transform: translateX(-50%); /* Keeps single/double digits perfectly centered over the line edge */
    color: #ffffff;
    font-family: 'SF Pro Text', 'SF Pro Display', sans-serif;
    font-size: 4.65rem;
    font-weight: 400;
    letter-spacing: -0.2px;
    opacity: 0.85;
    white-space: nowrap;
    transition: left 0.05s linear;
    pointer-events: none;
    margin-top: 3rem;
}

/* Fallback handling framework avoiding locked states if assets are heavily delayed */
body.preloader-active {
    overflow: hidden !important;
}

/* ========================================
   Global Skeleton Reveal Animation
   ======================================== */
.global-strap-element {
    position: relative;
}

/* Override Bootstrap text colors initially */
.global-strap-element.hide-text {
    color: transparent !important;
}

.global-strap-element::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: 2;
}

/* Default light strap (white) */
.global-strap-element.strap-light::after {
    background-color: #ffffff;
}

/* Dark strap (navy dark blue) for white backgrounds */
.global-strap-element.strap-dark::after {
    background-color: #000029;
}

/* Triggered State */
.global-strap-element.is-text-revealed::after {
    animation: global-strap-slide-anim 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes global-strap-slide-anim {
    0% { left: 0; width: 0%; }
    50% { left: 0; width: 100%; }
    100% { left: 100%; width: 0%; }
}

/* ========================================
   Preloader Intro Text Zoom
   ======================================== */
.intro-text-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2px;
    pointer-events: none;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s ease;
}

.intro-text-zoom.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ========================================
   Hero Skeleton Strap Reveal Animation
   ======================================== */
.hero-strap-container {
    overflow: hidden; /* Prevent strap from breaking out if needed */
}

.hero-strap-line {
    position: relative;
    display: inline-block;
    color: transparent;
}

.hero-strap-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #ffffff;
}

/* Triggered State */
.trigger-strap .hero-strap-line {
    animation: strap-text-reveal 0.1s forwards;
}

.trigger-strap .hero-strap-line::after {
    animation: strap-slide-anim 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Stagger the animations per line for a cascading effect */
.trigger-strap .hero-strap-line:nth-child(1) { animation-delay: 0.6s; }
.trigger-strap .hero-strap-line:nth-child(1)::after { animation-delay: 0s; }

.trigger-strap .hero-strap-line:nth-child(3) { animation-delay: 0.8s; } /* +0.2 */
.trigger-strap .hero-strap-line:nth-child(3)::after { animation-delay: 0.2s; }

.trigger-strap .hero-strap-line:nth-child(5) { animation-delay: 1.0s; } /* +0.4 */
.trigger-strap .hero-strap-line:nth-child(5)::after { animation-delay: 0.4s; }

@keyframes strap-slide-anim {
    0% { left: 0; width: 0%; }
    50% { left: 0; width: 100%; }
    100% { left: 100%; width: 0%; }
}

@keyframes strap-text-reveal {
    to { color: #ffffff; }
}

/* Perfectly center the navbar links on desktop */
@media (min-width: 992px) {
    .navbar-nav.pill-nav {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Editorial Newspaper Grid Layout */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.editorial-heading-serif {
    color: #000;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.editorial-heading-serif.large {
    font-size: 24px;
}

.editorial-divider {
    border-top: 1px solid var(--secondary-color);
    opacity: 0.3;
    margin: 1.5rem 0;
}

.editorial-highlight-box {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem;
}

.editorial-text {
    font-size: 1.15rem; /* Match fs-5 closely */
    line-height: 1.8;
    color: var(--bs-secondary, #6c757d);
}

/* Span utility for bottom heading */
.grid-col-span-2 {
    grid-column: span 2;
}

/* Responsive behavior */
@media (max-width: 991.98px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-col-span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    .grid-col-span-2 {
        grid-column: span 1;
    }
}


body.preloader-active {
    overflow: hidden !important;
}

/* ========================================
   Global Skeleton Reveal Animation
   ======================================== */
.global-strap-element {
    position: relative;
}

/* Override Bootstrap text colors initially */
.global-strap-element.hide-text {
    color: transparent !important;
}

.global-strap-element::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: 2;
}

/* Default light strap (white) */
.global-strap-element.strap-light::after {
    background-color: #ffffff;
}

/* Dark strap (navy dark blue) for white backgrounds */
.global-strap-element.strap-dark::after {
    background-color: #000029;
}

/* Triggered State */
.global-strap-element.is-text-revealed::after {
    animation: global-strap-slide-anim 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes global-strap-slide-anim {
    0% { left: 0; width: 0%; }
    50% { left: 0; width: 100%; }
    100% { left: 100%; width: 0%; }
}

/* ========================================
   Preloader Intro Text Zoom
   ======================================== */
.intro-text-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2px;
    pointer-events: none;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s ease;
}

.intro-text-zoom.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ========================================
   Hero Skeleton Strap Reveal Animation
   ======================================== */
.hero-strap-container {
    overflow: hidden; /* Prevent strap from breaking out if needed */
}

.hero-strap-line {
    position: relative;
    display: inline-block;
    color: transparent;
}

.hero-strap-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #ffffff;
}

/* Triggered State */
.trigger-strap .hero-strap-line {
    animation: strap-text-reveal 0.1s forwards;
}

.trigger-strap .hero-strap-line::after {
    animation: strap-slide-anim 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Stagger the animations per line for a cascading effect */
.trigger-strap .hero-strap-line:nth-child(1) { animation-delay: 0.6s; }
.trigger-strap .hero-strap-line:nth-child(1)::after { animation-delay: 0s; }

.trigger-strap .hero-strap-line:nth-child(3) { animation-delay: 0.8s; } /* +0.2 */
.trigger-strap .hero-strap-line:nth-child(3)::after { animation-delay: 0.2s; }

.trigger-strap .hero-strap-line:nth-child(5) { animation-delay: 1.0s; } /* +0.4 */
.trigger-strap .hero-strap-line:nth-child(5)::after { animation-delay: 0.4s; }

@keyframes strap-slide-anim {
    0% { left: 0; width: 0%; }
    50% { left: 0; width: 100%; }
    100% { left: 100%; width: 0%; }
}

@keyframes strap-text-reveal {
    to { color: #ffffff; }
}

/* Perfectly center the navbar links on desktop */
@media (min-width: 992px) {
    .navbar-nav.pill-nav {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Editorial Newspaper Grid Layout */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.editorial-heading-serif {
    color: #000;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.editorial-heading-serif.large {
    font-size: 24px;
}

.editorial-divider {
    border-top: 1px solid var(--secondary-color);
    opacity: 0.3;
    margin: 1.5rem 0;
}

.editorial-highlight-box {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem;
}

.editorial-text {
    font-size: 1.15rem; /* Match fs-5 closely */
    line-height: 1.8;
    color: var(--bs-secondary, #6c757d);
}

/* Span utility for bottom heading */
.grid-col-span-2 {
    grid-column: span 2;
}

/* Responsive behavior */
@media (max-width: 991.98px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-col-span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    .grid-col-span-2 {
        grid-column: span 1;
    }
}


.founder-hero {
    background: 
       linear-gradient(180deg, rgb(0 0 0 / 55%) 0%, rgb(0 0 0 / 50%) 50%, rgb(0 0 0 / 83%) 100%), url(./images/medicitylook.png) center center / cover no-repeat !important;
}

.custom-body-text {
    font-family: 'SF Pro Text', 'SF Pro Display', sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 32px !important;
}

/* ========================================
   Modern Architectural Contact Form Styles
   ======================================== */
.contact-section-wrapper {
    background-color: #fcfcfd;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 41, 0.08);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 45px rgba(0, 0, 41, 0.04);
}

.contact-input-field {
    background-color: #f8f9fc !important;
    border: 1.5px solid #e5e8f0 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    font-size: 0.98rem !important;
    color: #000029 !important;
    transition: all 0.25s ease !important;
}

.contact-input-field:focus {
    background-color: #ffffff !important;
    border-color: #173DED !important;
    box-shadow: 0 0 0 4px rgba(23, 61, 237, 0.12) !important;
    outline: none !important;
}

.contact-input-field::placeholder {
    color: #9aa2b4;
    font-weight: 400;
}

.contact-form-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #4a5568;
    margin-bottom: 6px;
}

.contact-info-card {
    background-color: #000029;
    border-radius: 24px;
    padding: 3.5rem 3rem;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 41, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(23, 61, 237, 0.25) 0%, rgba(23, 61, 237, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-icon-bubble {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon-bubble {
    background-color: #173DED;
    border-color: #173DED;
    transform: translateY(-2px);
}

.btn-contact-submit {
    background-color: #173DED !important;
    border: none !important;
    color: #ffffff !important;
    padding: 14px 36px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: 50px !important;
    transition: all 0.25s ease !important;
}

.btn-contact-submit:hover {
    background-color: #000029 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(23, 61, 237, 0.3);
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }
    
    .contact-info-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }

    .contact-form-card .section-main-title {
        font-size: 1.65rem !important;
        letter-spacing: -0.6px;
    }

    .contact-form-label {
        font-size: 0.78rem;
        margin-bottom: 4px;
    }

    .contact-input-field {
        padding: 11px 14px !important;
        font-size: 0.92rem !important;
        border-radius: 10px !important;
    }

    .btn-contact-submit {
        width: 100%;
        justify-content: center;
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }

    .contact-info-card .h2 {
        font-size: 1.45rem !important;
        letter-spacing: -0.5px;
    }

    .contact-icon-bubble {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .contact-info-item .h5 {
        font-size: 1.05rem !important;
    }

    .contact-map-wrapper {
        height: 320px !important;
    }
}
