/* ============================================================
   BATCH 1: Color System + Backgrounds + Spacing + Noise
   ============================================================ */

/* --- Global Noise Texture Overlay --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.09;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 150px 150px;
}

/* --- Unified Light Section Background ---
   About Us + What We Do + Our Approach = ONE connected area
   Coming Soon + Our Partners = ONE connected area
   Simple pearly teal tints, no animations */
#About-us,
#What-We-Do,
#Our-Approach-container {
    background: radial-gradient(ellipse at 20% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 75% 60%, rgba(165, 210, 228, 0.10) 0%, transparent 45%),
                radial-gradient(ellipse at 50% 90%, rgba(224, 231, 255, 0.08) 0%, transparent 50%),
                #f8fafc !important;
    position: relative;
}

/* Coming Soon + Partners area */
.container-fluid.bg-light,
#Our-Partners {
    background: radial-gradient(ellipse at 30% 30%, rgba(6, 182, 212, 0.07) 0%, transparent 45%),
                radial-gradient(ellipse at 70% 70%, rgba(165, 210, 228, 0.09) 0%, transparent 40%),
                #f8fafc !important;
    position: relative;
}

/* ============================================================
   SECTION LAYOUT: Full viewport height, content vertically centered
   
   Strategy: 
   - Outer section (container-fluid): min-height only, NO display:flex
     (display:flex on container-fluid breaks Bootstrap's grid system)
   - Inner .container: gets display:flex to vertically center the .row
     (safe because .container → .row is already a flex relationship in Bootstrap)
   ============================================================ */

/* --- Outer sections: just set height + remove Bootstrap py-5 padding --- */
#About-us,
#What-We-Do,
#Our-Approach-container,
#Our-Partners,
.container-fluid.bg-light.py-5:not(#What-We-Do),
.container-fluid.bg-primary.feature {
    min-height: calc(100vh - 86px) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* --- Inner .container: flex centering + inherit min-height --- */
#About-us > .container,
#What-We-Do > .container,
#Our-Approach-container > .container,
#Our-Partners > .container,
.container-fluid.bg-light.py-5:not(#What-We-Do) > .container,
.container-fluid.bg-primary.feature > .container {
    min-height: calc(100vh - 86px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* --- Zero out inline padding on .row elements --- */
#About-us .row[style],
#Our-Approach-container .row[style] {
    padding: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* --- Hero: Keep original background image --- */
.hero-header {
    position: relative;
    overflow: hidden;
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

/* --- Partner Logos: Remove white card backgrounds --- */
#Our-Partners .team-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#Our-Partners .team-item img {
    filter: grayscale(0.2) contrast(1.1);
    transition: filter 0.3s ease;
}

#Our-Partners .team-item img:hover {
    filter: grayscale(0) contrast(1);
}

/* --- Global Morphing Blobs Container --- */
.global-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.global-blobs .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    will-change: transform;
}

.global-blobs .blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.38) 0%, transparent 70%);
    top: -10%;
    left: -5%;
}

.global-blobs .blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(224, 231, 255, 0.42) 0%, transparent 70%);
    top: 40%;
    right: -8%;
}

.global-blobs .blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.30) 0%, transparent 70%);
    bottom: -5%;
    left: 30%;
}

/* --- Feature/Track Record section gradient override --- */
.container-fluid.bg-primary.feature {
    background: linear-gradient(135deg, #0e7490 0%, #065f73 40%, #14183E 100%) !important;
}

/* --- Contact section gradient override --- */
.container-fluid.bg-primary.newsletter {
    background: linear-gradient(135deg, #0e7490 0%, #0c6478 50%, #14183E 100%) !important;
}

/* --- Bootstrap bg-primary override for teal --- */
.bg-primary {
    background-color: #0e7490 !important;
}

/* --- text-primary override --- */
.text-primary {
    color: #0e7490 !important;
}

/* --- btn-primary override --- */
.btn-primary {
    background-color: #0e7490 !important;
    border-color: #0e7490 !important;
}

.btn-primary:hover {
    background-color: #06b6d4 !important;
    border-color: #06b6d4 !important;
}

.btn-outline-primary {
    color: #0e7490 !important;
    border-color: #0e7490 !important;
}

.btn-outline-primary:hover {
    background-color: #0e7490 !important;
    border-color: #0e7490 !important;
    color: #fff !important;
}

/* --- Border-primary override --- */
.border-primary {
    border-color: #0e7490 !important;
}