/* --- Design Tokens (from Tailwind Reference) --- */
:root {
    --primary: #11a4d4;
    --primary-hover: #0e8caf;
    --bg-light: #f6f8f8;
    --bg-dark: #101d22;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* --- Global Styles --- */
body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, .display-5 {
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* --- Navigation --- */
.navbar {
    background-color: rgba(246, 248, 248, 0.8);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* --- Hero Section --- */
/* Matches the linear gradient and overlay from your tailwind file */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary);
    border: none;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- Cards & Components --- */
.card {
    border: none;
    border-radius: 0.75rem;
    transition: var(--transition);
    background: white;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Profile image wrappers for About page */
.team-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    border-radius: 50%;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-img-wrapper:hover img {
    scale: 1.1;
}

/* --- Utility Conversions --- */
.text-primary {
    color: var(--primary) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.section-adaptive {
    padding: 5rem 0;
}

/* News Badges */
.badge.bg-primary {
    background-color: rgba(17, 164, 212, 0.1) !important;
    color: var(--primary) !important;
    font-weight: 600;
}

/* --- Social Icons --- */
.social-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
    color: var(--text-muted);
}

.social-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* --- Material Icons Adjustment --- */
.material-symbols-outlined {
    vertical-align: middle;
    font-size: 1.25rem;
}
.hero-section {
    /* Ensures the section is tall enough to show the background */
    min-height: 85vh; 
    
    /* Background settings */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* Flexbox to center the text content vertically */
    display: flex;
    align-items: center; 
    justify-content: center;
    
    /* Extra padding for mobile responsiveness */
    padding: 100px 0;
}

/* Optional: Make the text even more readable */
.hero-section h1 {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 400;
}
/* --- Hero Image Fixes --- */
.hero-section {
    min-height: 85vh; /* Makes the image large and impactful */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -1px; /* Removes tiny gaps with the navbar */
}

/* --- Team Image Fixes (About Page) --- */
.team-img-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 50%; /* Ensures perfect circles */
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents stretching of faces */
    transition: transform 0.3s ease;
}

.team-img-wrapper:hover img {
    transform: scale(1.1); /* Subtle zoom effect */
}

/* --- Card Image Fixes (News & Initiatives) --- */
.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures landscape/portrait images fit the card */
}

.hover-shadow:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}
/* Customizing the Impact Numbers */
.display-3.text-primary {
    /* Using your brand blue with 90% translucency */
    color: rgba(17, 164, 212, 0.9) !important;
    
    /* Clean look: remove any potential browser outlines or text shadows */
    outline: none;
    border: none;
    text-shadow: none;
    
    /* Slight letter-spacing makes large numbers look more elegant */
    letter-spacing: -2px; 
}
/* Styling the flex-wrap buttons */
.btn-primary {
    background-color: #11a4d4 !important; /* Your solid brand blue */
    border: none !important;              /* Removes the default outline/border */
    outline: none !important;             /* Removes click-rings */
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    /* Creates a translucent effect on hover */
    background-color: rgba(17, 164, 212, 0.8) !important; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 164, 212, 0.3) !important;
}

/* Fix for the flex container to ensure no ghost outlines */
.d-flex.gap-3 {
    outline: none !important;
    border: none !important;
}
/* Styling for Value Icons */
.value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important; /* Forces a perfect circle */
    
    /* Translucent brand blue background */
    background-color: rgba(17, 164, 212, 0.1) !important; 
    
    /* Solid brand blue for the icon itself */
    color: #11a4d4 !important;
    
    /* Clean look: remove all borders and outlines */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    
    transition: all 0.3s ease;
}

.value-icon:hover {
    /* Slight shift and deeper translucency on hover */
    background-color: rgba(17, 164, 212, 0.2) !important;
    transform: scale(1.05);
}
/* Styling for Small Brand Labels */
.text-primary.small {
    /* Exact brand blue with 80% translucency */
    color: rgba(17, 164, 212, 0.8) !important;
    
    /* Modern design touch: slightly smaller and more spaced out */
    font-size: 0.75rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    
    /* Clean look */
    outline: none !important;
    border: none !important;
}
/* Styling for Link-style Buttons */
.btn-link.text-primary {
    color: #11a4d4 !important;
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
}

/* Custom Translucent Hover State */
.hover-primary:hover {
    /* Changes to 70% translucency on hover */
    color: rgba(17, 164, 212, 0.7) !important;
    transform: translateX(3px); /* Subtle nudge to the right */
}

/* Remove the blue focus box Bootstrap adds to links */
.btn-link:focus, .btn-link:active {
    box-shadow: none !important;
    outline: none !important;
}
/* Custom Extra Bold Utility */
.fw-extrabold {
    font-weight: 800 !important; /* Manrope ExtraBold */
}

/* Specific styling for display-4 with your blue */
.display-4.text-primary {
    color: rgba(17, 164, 212, 0.9) !important; /* Translucent Blue */
    letter-spacing: -0.02em; /* Tighter tracking for bold headings */
    line-height: 1.1;
    outline: none;
    border: none;
}
/* Custom Muted Text with a Blue Tint */
.text-muted.mx-auto {
    /* Instead of pure gray, we use a blue-gray for better harmony */
    color: #64748b !important; 
    
    font-size: 1.1rem;
    display: block; /* Ensures mx-auto works correctly */
    
    /* Clean look */
    outline: none !important;
    border: none !important;
}

/* Ensuring the centering works on all screens */
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Styling for primary bold subheadings */
.fw-bold.text-primary {
    color: #11a4d4 !important;
    
    /* Clean look: remove potential text-shadows from parent sections */
    text-shadow: none !important;
    outline: none !important;
    border: none !important;
    
    /* Slight adjustment for bold text legibility */
    line-height: 1.2;
}

/* Optional: Make it slightly translucent if it's a secondary label */
.text-primary-translucent {
    color: rgba(17, 164, 212, 0.85) !important;
}
/* Custom Light Brand Box */
.bg-light.text-primary {
    /* Tint the background slightly blue instead of standard gray */
    background-color: #f0f9ff !important; 
    
    /* Ensure the text is your specific blue */
    color: #11a4d4 !important;
    
    /* Clean look: no outlines */
    outline: none !important;
    border: none;
    
    /* Modern shadow */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.rounded-3 {
    border-radius: 0.5rem !important; /* 8px - modern standard */
}
/* Custom Muted Footer/Caption Style */
.text-muted.small.text-center {
    color: #64748b !important; /* A slate gray that works well with #11a4d4 blue */
    font-size: 0.825rem !important;
    line-height: 1.5;
    
    /* Clean look */
    outline: none !important;
    border: none !important;
    
    /* Ensure no margin-bottom interferes with footer alignment */
    margin-bottom: 0 !important;
}
/* Force Manrope on everything */
html, body, button, input, select, textarea, .navbar, .display-1, .display-2, .display-3, .display-4 {
    font-family: 'Manrope', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure headings inherit the correct weight */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700; /* Standardizes all headings to bold by default */
}
/* --- Mobile Centering for About Page --- */
@media (max-width: 991.98px) {
    /* Target the main content areas */
    .about-section, 
    section, 
    .container {
        text-align: center !important;
    }

    /* Force headings to center (sometimes display flex overrides text-align) */
    h1, h2, h3, h4, .display-4 {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    /* Ensure paragraphs don't stretch too wide and stay centered */
    p {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    /* If you have images or icons, center them too */
    .value-icon, img {
        margin: 0 auto 1.5rem auto !important;
        display: block;
    }
}
@media (max-width: 991.98px) {
    /* Center the Icon Circle itself */
    .value-icon {
        margin: 0 auto 1.5rem auto !important;
        display: flex !important; /* Keeps the internal icon centered */
    }

    /* Center the text and content inside the Value Cards */
    .card-body {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center; /* This forces the children (icon/text) to center */
    }

    /* Ensure the column wrapping the card is centered */
    .about-page .row {
        justify-content: center !important;
    }
}