/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0d6efd; /* Bootstrap Blue */
    --primary-rgb: 13, 110, 253; /* For rgba */
    --secondary-color: #6c757d; /* Bootstrap Secondary Gray */
    --secondary-rgb: 108, 117, 125; /* For rgba */
    --accent-color: #352d6f;
    ; /* Bootstrap Warning Yellow */
    --accent-rgb: 255, 193, 7; /* For rgba */
    --dark-color: #212529; /* Bootstrap Dark (Now used for text/headings) */
    --light-color: #f8f9fa; /* Bootstrap Light (Now used for backgrounds) */
    --body-bg: #f8f9fa; /* Base Light BG */
    --body-color: #495057; /* Darker Gray Text */
    --heading-color: #212529; /* Dark headings */
    --card-bg: #ffffff; /* White for Cards/Sections */
    --header-footer-bg: #001f3f; /* Specific Navy for Header/Footer (KEEPING DARK) */
    --border-color: #dee2e6; /* Standard Bootstrap light border */
    --link-color: var(--primary-color);
    --link-hover-color: #0a58ca; /* Darker Blue for hover on light */
    --navbar-height: 70px; /* Approximate Navbar Height */
    /* Transitions & Shadows (Adjusted for light theme) */
    --transition-speed: 0.3s;
    --transition-timing: ease-in-out;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Standard light shadow */
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 1rem 2.5rem rgba(0, 0, 0, 0.125);
    --shadow-glow-primary: 0 0 15px rgba(var(--primary-rgb), 0.15); /* Reduced glow */
    --shadow-glow-accent: 0 0 15px rgba(var(--accent-rgb), 0.2); /* Reduced glow */
    /* Colors used in later merged sections (mostly kept, text colors adjusted) */
    --primary-navy: #001f3f; /* Navy Blue (Keep for specific elements) */
    --secondary-yellow: #fdbe33; /* Yellow */
    --accent-gold: #c4a747; /* Gold */
    --accent-light-gray: #f8f9fa; /* Bootstrap light gray (Same as --body-bg) */
    --accent-white: #ffffff; /* Same as --card-bg */
    --yellow-tint-light: rgba(255, 220, 0, 0.1); /* Lighter yellow tint */
    --text-on-dark: var(--accent-white); /* Text for Navy Header/Footer */
    --text-on-light: var(--dark-color); /* Text for Light Backgrounds */
    --text-on-yellow: #001f3f; /* Keep Navy text on Yellow */
    --footer-bg: var(--primary-navy); /* Keep Footer Navy */
    --placeholder-color: #6c757d; /* Standard Bootstrap placeholder gray */
    --secondary-blue: #005b9f; /* Added from about/membership */
    --medium-gray: #e9ecef; /* Added from about (Light gray variant) */
    --dark-gray: #495057; /* Added from about/membership (Same as --body-color) */
    --primary-navy-dark: #001a33; /* Darker navy for hover */
    --navy-tint-light: rgba(0, 31, 63, 0.1); /* Lighter tint for borders etc. */
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    color: var(--body-color);
    line-height: 1.7;
    font-size: 1rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
/*    color: var(--link-color);*/
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing);
}

    a:hover {
/*        color: var(--link-hover-color);*/
        text-decoration: underline; 
    }

img {
    max-width: 100%;
    height: auto;
}

/* Utility & Layout */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pt-6 {
    padding-top: 6rem;
}

.pb-6 {
    padding-bottom: 6rem;
}

@media (max-width: 991.98px) {
    .py-lg-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .pt-lg-6 {
        padding-top: 4rem;
    }

    .pb-lg-6 {
        padding-bottom: 4rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

.min-vh-100 {
    min-height: 100vh;
}

.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}


main.main-content-area {
    min-height: calc(100vh - 150px);
    padding-top: 55px;
}
/* Section Heading Styling */
.section-heading, .section-heading-alt {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem !important; 
    display: inline-block;
    color: var(--heading-color);
}

    .section-heading::after, .section-heading-alt::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        height: 4px;
        background-color: #352d6f;
        border-radius: 2px;
        transition: width var(--transition-speed) var(--transition-timing);
    }

section:hover .section-heading::after, section:hover .section-heading-alt::after {
    width: 110px; 
}

.text-lg-start .section-heading::after, .text-lg-start .section-heading-alt::after { 
    left: 0;
    transform: none;
}

.section-subheading {
    color: var(--secondary-color); 
    font-weight: 300;
}


/* Navbar (Keeping Dark Navy Background) */
.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); 
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    min-height: var(--navbar-height);
    transition: background-color var(--transition-speed) var(--transition-timing);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

    .navbar .containerfluid {
        padding: 0px 120px !important;
    }

.navbar-brand img.isoi-logo {
    max-height: 55px;
    color: white;
    width: auto;
    filter: none; 
    transition: transform var(--transition-speed) var(--transition-timing);
}

.navbar-brand:hover img.isoi-logo {
    transform: scale(1.05);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.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='rgb%2853, 46, 110%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-nav .nav-links {
    color: rgb(53 45 111);
    font-weight: 500;
    padding: 0.6rem 1rem;
    position: relative;
    border-radius: 4px;
    margin: 0 0.2rem;
    text-align: center;
    background-color: white;
    transition: all 0.3s ease-in;
    font-size: 17px;
}


    .navbar-dark .navbar-nav .nav-links:hover,
    .navbar-dark .navbar-nav .nav-links:focus {
        color: white;
        background-color: rgb(53,45,111);
        text-decoration: none;
    }

    .navbar-dark .navbar-nav .nav-links.active {
        color: var(--accent-white);
        background-color: var(--primary-color);
        font-weight: 600;
    }

/* Navbar Buttons (On Dark Navy Background - KEEP DARK THEME STYLES) */
.navbar .btn {
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 0.25rem;
    transition: all var(--transition-speed) var(--transition-timing);
    font-size: 0.9rem;
    text-decoration: none;
    color: rgb(53 45 111);
    border: 1px solid rgb(53 45 111) !important;
}

login-btn:hover i {
    transform: translateX(3px)
}

.navbar .btn-outline-primary.login-btn, .login-btn {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.85);
}

    .navbar .btn-outline-primary.login-btn:hover, .login-btn:hover {
        background-color: rgb(53 45 111);
        border-color: var(--accent-white);
        color: var(--accent-white);
        box-shadow: none;
    }

.navbar .btn-warning.register-btn, .register-btn {
   
    background-color: white;
    color: rgb(53 45 111);
    font-weight: 600;
  
}

    .navbar .btn-warning.register-btn:hover, .register-btn:hover {    
        background-color: rgb(53 45 111);
        color: white;
        border-color: rgb(53 45 111);
        box-shadow: none;
        transform: none;
        transition: all 0.3s ease-in;
    }

.navbar .notification-bell {
    font-size: 1.2rem;
}

   

/* Navbar Dropdown (On Dark Navy Background) */
.navbar .dropdown-menu {
    background-color: rgb(53 45 111); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md); 
    border-radius: 0.375rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.navbar .dropdown-item {
    color: rgba(255, 255, 255); 
    padding: 0.6rem 1.2rem;
    font-weight: 400;
    transition: background-color var(--transition-speed) var(--transition-timing), color var(--transition-speed) var(--transition-timing);
    font-size: 0.95rem;
}

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        background-color: #281e6c; /* Primary blue for hover */
        color: var(--accent-white);
        text-decoration: none;
    }

    .navbar .dropdown-item i {
        color: rgba(255, 255, 255); 
        margin-right: 0.75rem;
        width: 1.2em; /* Align icons */
        text-align: center;
        transition: color var(--transition-speed) var(--transition-timing);
    }

    .navbar .dropdown-item:hover i {
        color: var(--accent-white); /* Bright icon on hover */
    }
    .navbar .dropdown-item:focus i {
        color: var(--accent-white); /* Bright icon on hover */
    }

.navbar .dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Slightly more visible divider */
}

.navbar .user-menu-toggle i {
    color: var(--accent-color); /* Highlight user icon */
    font-size: 1.1em;
    vertical-align: middle;
    transition:all 0.3s ease-in;
}

.navbar .user-menu-toggle:hover i {
    color: white; /* Highlight user icon */
    
}
.navbar .user-menu-toggle:focus i {
    color: white; /* Highlight user icon */
}

/* Hero Section */
.hero-section {
    padding: 6rem 0px;
    position: relative;
    overflow: hidden;
    position: relative;
}

.herosectionOverlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; 
    width: 100%;
    height: 100%;
    background-image: url('../banner.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2; 
}

.herosectionOverlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgb(40 65 161 / 55%), rgb(51 39 151));
}


.hero-title {
    font-size: 60px;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f1f1f1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-section .btn {
    transition: all 0.3s ease-in-out;
}

.memberBtn {
    color: white;
    border: 1px solid #362f6f;
    background-color: #362f6f;
    padding: 10px 25px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin-bottom:10px;
}

    .memberBtn:hover {
        color: #362f6f;
        border: 1px solid #362f6f;
        background-color: white;
        text-decoration: none;
    }

.LearnBtn {
    color: white;
    border: 1px solid #362f6f;
    background-color: #362f6f;
    padding: 10px 25px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
}

.btn.LearnBtn:hover {
    color: #362f6f !important;
    border: 1px solid #352e6e !important;
/*    transition: all 0.15s ease-in;*/
    text-decoration: none !important;
    background-color: white;
}

    .btn.LearnBtn:hover i {
        transform: translateX(3px);
    }



.hero-btn-primary {
    background-color: #352d6f;
    color: #e4e4e5;
    border-color: #000000;
    font-weight: 600;
}

    .hero-btn-primary:hover {
        background-color: #4233b3;
        border-color: #000000;
        color: #fefeff;
        transform: translateY(-3px);
    }

.hero-btn-secondary {
    color: #352d6f;
    border-color: #352d6f;
    font-weight: 500;
}

    .hero-btn-secondary:hover {
        background-color: #352d6f;
        color: var(--accent-white);
        transform: translateY(-3px);
        box-shadow: var(--shadow-sm);
    }

.hero-image-wrapper {
    position: relative;
    border-radius: 0.5rem;
    padding: 8px;
    background-color: var(--card-bg); 
    border: 1px solid var(--border-color); 
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow var(--transition-speed) var(--transition-timing);
}

    .hero-image-wrapper:hover {
        transform: scale(1.04) rotate(1deg);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* Adjusted shadow on hover */
    }

    .hero-image-wrapper img {
        display: block;
        border-radius: 0.375rem;
    }

/* Feature Highlights Row (Below Hero) */
.feature-highlights-row {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    padding-bottom: 2rem;
}

.feature-box {
    background-color: var(--card-bg); /* White */
    padding: 2rem 0.8rem;
    border-radius: 0.5rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    border-top: 4px solid transparent;
    border-bottom: 4px solid #302293;
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing), border-color var(--transition-speed) var(--transition-timing), background-color var(--transition-speed);
}

.feature-card {
    width: 90%;
    padding: 20px 5px;
    transition: all 0.3s ease-in;
}

    .feature-card:hover {
        transform: translateY(-30px)
    }

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
    background-color: var(--accent-white); /* Stay white */
}

.feature-box .icon i {
    color: #352d6f;
    font-size: 2.5rem;
    transition: color var(--transition-speed) var(--transition-timing), transform var(--transition-speed) var(--transition-timing);
}

.feature-box:hover .icon i {
    color: var(--accent-color);
    transform: scale(1.1) rotate(-10deg);
}

.feature-box h5 {
    font-weight: 600;
    color: var(--heading-color); /* Dark heading */
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--body-color); /* Dark text */
    margin-bottom: 0;
}


.hero_overlayImage {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #e9e9ff;
    opacity: 0.1;
}





/* Why Join Section */
/* Why Join Section Styles */
.why-join-section {
    position: relative;
    background: linear-gradient(135deg, #f9f9ff, #ececf8);
    overflow: hidden;
    padding: 60px 0px;
    z-index: 1;
}

    /* Background Overlay */
    .why-join-section .background-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, #ffffff 0%, #ffffff 100%);
        /* opacity: 0.08; */
        z-index: 0;
    }



/* Headings */
.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #352d6f;
    z-index: 2;
    position: relative;
}

.section-subheading {
    max-width: 700px;
    font-size: 1.1rem;
    color: #352d6f;
    z-index: 2;
    position: relative;
}

/* Feature Card Styles */
.feature-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25), -1px -1px 1px rgba(0, 0, 0, 0.1);
    ;
    border: none;
    z-index: 2;
    position: relative;
}

    .feature-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 12px 30px rgba(53, 45, 111, 0.2);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background: #352d6f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
    box-shadow: 0 10px 20px rgba(53, 45, 111, 0.3);
}

.card-title {
    font-weight: 600;
    color: #352d6f;
    font-size: 1.25rem;
    text-align: center;
    margin-top: 10px;
}

.card-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    color: #383168;
}

/* Call to Action Button */
.join-btn {
    margin-top: 3rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    background-color: #352d6f;
    color: white;
    border: none;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
}

    .join-btn:hover {
        background-color: #241f54;
    }

/* Responsive Tweaks */
@media (max-width: 576px) {
    .section-heading {
        font-size: 2rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .section-subheading {
        font-size: 1rem;
    }
}

/* CTA / Membership Section */
/* Updated CTA / Membership Section with Theme Color #352d6f and Enhanced UI/UX */

.cta-membership-section {
    background-color: #f4f5fa;
    color: #1a1a1a;
    padding: 60px 0px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.4s ease;
}

    .cta-membership-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
        background-size: 12px 12px;
        opacity: 0.2;
    }

.section-heading-alt {
    color: #352d6f;
    font-size: 2.5rem;
    line-height: 1.3;
}

.section-subheading-alt {
    color: #5c5c7b;
    font-weight: 300;
    font-size: 1.25rem;
}

.benefits-list li {
    margin-bottom: 0.9rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: rgb(53 46 110);
    transition: transform 0.3s ease, color 0.3s ease;
}
   
       

.benefits-list i.fa-check {
    color: #352d6f;
    margin-right: 0.75rem;
    font-size: 1.2rem;
    min-width: 25px;
}

.membership-box {
    background-color: #ffffff;
    border: 1px solid #d6d6e0;
    color: #1a1a1a;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

    .membership-box:hover {
        box-shadow: 0 10px 25px rgba(53, 45, 111, 0.15);
        transform: translateY(-5px);
    }

.stats-row {
    border-bottom: 1px solid #e0e0e5;
    padding-bottom: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #352d6f;
    transition: color 0.3s ease;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.85;
    color: #342d6e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing .pricing-item {
    padding: 0.6rem 0;
    border-bottom: 1px dashed #dcdce5;
}

    .pricing .pricing-item:last-child {
        border-bottom: none;
    }

.pricing span {
    font-size: 1.05rem;
    color: #1a1a1a;
}

.pricing .price {
    color: #352d6f;
    font-weight: 700;
    font-size: 1.15rem;
}

.pricing .special-offer {
    background-color: #fef7e9;
    margin-left: -15px;
    margin-right: -15px;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

.cta-btn, .cta-btn-alt {
    padding: 0.85rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease, transform 0.2s ease-out;
}

    .cta-btn.btn-warning {
        background-color: #352d6f;
        color: #fff;
        border: none;
    }

        .cta-btn.btn-warning:hover {
            background-color: #3e3583;
            color: #fff;
            transform: translateY(-3px);
            text-decoration: none;
        }

    .cta-btn-alt.btn-primary {
        background-color: #352d6f;
        border-color: #352d6f;
        color: #fff;
        text-decoration: none;
    }

        .cta-btn-alt.btn-primary:hover {
            background-color: #2b267d;
            border-color: #2b267d;
            color: #fff;
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(53, 45, 111, 0.2);
        }

.membership-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background: url('../indexBottom.jpg') center/cover no-repeat;
    opacity: 0.20;
    pointer-events: none;
    mix-blend-mode: multiply;
    transition: opacity 0.5s ease-in-out;
}



[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: ease;
}

    [data-aos].aos-animate {
        opacity: 1;
        transform: none;
    }






/* Footer (Keeping Dark Navy Background) */
.footer-section {
    position: relative;
    background-color: #ffffff;
    color: #32383d;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden; /* ensures pseudo-elements don't spill */
}

/* Heading */
.footer-heading {
    color: #352d6f; /* Direct value instead of CSS variable */
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Footer Links */
.footer-links a {
    text-decoration: none;
    color: #34393e;
    display: block;
    padding: 4px 0px;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease-in-out;
    background-color: transparent;
}

    .footer-links a:hover {
        color: #352d6f;
        transform: translateY(-3px);
    }

.footer-links i {
    font-size: 1rem;
}

/* Branding text */
.text-brand {
    color: #352d6f;
}

/* Background Image Overlay using ::before */
.footer-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    opacity: 1; /* Keep full opacity */
    background: linear-gradient(rgb(195 195 229 / 60%), rgba(178, 178, 199, 0.6)), /* overlay color */ url(your-image.jpg); /* overlay color */
    url('your-image.jpg'); /* replace with your image path */
    background-size: cover;
    background-position: center;
}

/* Ensure content is above the background */
.footer-section > .container,
.footer-section > .text-center {
    position: relative;
    z-index: 1;
}

.footer-links a i {
    font-size: 1.25rem; /* Increase icon size */
    vertical-align: middle;
    transition: color 0.3s ease;
}

    /* Brand Colors for Icons */
    .footer-links a i.bi-instagram {
        color: #E1306C;
    }

    .footer-links a i.bi-twitter {
        color: #1DA1F2;
    }

    .footer-links a i.bi-facebook {
        color: #1877F2;
    }

    .footer-links a i.bi-youtube {
        color: #FF0000;
    }

/* Optional hover effect */
.footer-links a:hover i {
    transform: scale(1.2);
}







/* Angular Cloak */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

/* SweetAlert Light Theme */
.swal2-popup {
    background-color: var(--card-bg) !important; /* White */
    color: var(--body-color) !important; /* Dark text */
    border: 1px solid var(--border-color) !important; /* Light border */
    box-shadow: var(--shadow-lg) !important; /* Light theme shadow */
}

.swal2-title {
    color: var(--heading-color) !important; /* Dark heading */
}

.swal2-html-container {
    color: var(--body-color) !important; /* Dark text */
}

.swal2-confirm, .swal2-cancel, .swal2-deny {
    border-radius: 0.25rem !important;
    transition: all var(--transition-speed) var(--transition-timing) !important;
    box-shadow: none !important;
    border: none !important;
}

.swal2-confirm {
    background-color: var(--primary-color) !important; /* Blue */
    color: var(--accent-white) !important; /* White text */
}

    .swal2-confirm:hover {
        background-color: var(--link-hover-color) !important; /* Darker blue */
    }

.swal2-cancel {
    background-color: var(--secondary-color) !important; /* Gray */
    color: var(--accent-white) !important; /* White text */
}

    .swal2-cancel:hover {
        background-color: #5c636a !important; /* Darker gray */
    }

/* AOS Animation Defaults - Generally fine */


/* --- START OF MERGED CODE BLOCK 1: NEWS DETAIL --- */
/* These blocks generally use specific colors like navy/white/gray, which work well in a light theme */
.news-detail-page {
    padding-top: calc(var(--navbar-height) + 2rem); /* Adjust padding */
    padding-bottom: 4rem;
    background-color: var(--accent-white); /* Keep white background */
}

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.news-detail-meta {
    color: #6c757d; /* Gray - OK */
    margin-bottom: 1.5rem;
}

.news-detail-title {
    color: var(--primary-navy); /* Navy Heading - OK */
    margin-bottom: 1.5rem;
}

.news-detail-image {
    margin-bottom: 2rem;
    text-align: center;
}

    .news-detail-image img {
        max-width: 100%;
        max-height: 400px;
        border-radius: 0.375rem;
        box-shadow: var(--shadow-md);
    }

.news-detail-content {
    line-height: 1.6;
    color: var(--body-color); /* Use theme body color */
    padding: 15px 0;
}

    .news-detail-content p {
        color: var(--body-color);
    }

    .news-detail-content h1, .news-detail-content h2, .news-detail-content h3, .news-detail-content h4, .news-detail-content h5, .news-detail-content h6 {
        color: var(--heading-color);
    }

.back-button {
    margin-top: 20px;
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-navy); /* Navy BG - OK */
    color: white; /* White text - OK */
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin: 1rem 0;
}

.back-button:hover {
    background-color: var(--primary-navy-dark); /* Darker Navy hover - OK */
    text-decoration: none;
    color: white;
}
/* --- END OF MERGED CODE BLOCK 1 --- */


/* --- START OF MERGED CODE BLOCK 2: NEWS LIST --- */
.news-page-content {
    padding-top: calc(var(--navbar-height) + 2rem); /* Adjust padding */
    padding-bottom: 4rem;
    background-color: var(--accent-white); /* Keep white */
}

    .news-page-content h1 {
        color: var(--text-on-light); /* Dark heading - OK */
        margin-bottom: 2.5rem;
    }

.news-item {
    margin-bottom: 2.5rem; /* Space between items */
    padding-bottom: 2.5rem; /* Space before border */
    border-bottom: 1px solid var(--border-color); /* Use theme border */
}

    .news-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none; /* No border for the last item */
    }

.news-item-image img {
    border-radius: 0.375rem; /* Slight rounding */
    aspect-ratio: 16 / 10; /* Adjust ratio as needed */
    object-fit: cover;
    width: 100%; /* Let column control width */
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-speed) ease;
}

.news-item-image:hover img {
    box-shadow: var(--shadow-md);
}


@media (min-width: 768px) { /* Medium screens and up */
    .news-item-image {
        padding-right: 1rem; /* Space between image and text */
    }
}

.news-item-content {
    color: var(--body-color); /* Use theme body color */
}

.news-item-meta {
    font-size: 0.85rem;
    color: var(--secondary-color); /* Use theme secondary color */
    margin-bottom: 0.5rem;
    display: block; /* Ensure it takes its own line */
}

.news-item-title {
    color: var(--primary-navy); /* Navy - OK */
    font-weight: 600;
    font-size: 1.25rem; /* Slightly larger title */
    margin-bottom: 0.75rem;
    text-decoration: none; /* Remove underline from potential link wrapping */
}

    .news-item-title a {
        color: inherit; /* Inherit color from h5 */
        text-decoration: none;
    }

        .news-item-title a:hover {
            color: var(--link-hover-color); /* Use theme link hover */
            text-decoration: underline;
        }

.news-item-excerpt {
    color: var(--body-color); /* Use theme body color */
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.news-item-read-more {
    color: var(--primary-navy); /* Navy - OK */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .news-item-read-more:hover {
        color: var(--link-hover-color); /* Use theme link hover */
        text-decoration: underline;
    }

    .news-item-read-more i {
        font-size: 0.8em; /* Make arrow slightly smaller */
        margin-left: 0.25rem;
    }

.text-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* --- END OF MERGED CODE BLOCK 2 --- */


/* --- START OF MERGED CODE BLOCK 3: MEMBERSHIP PAGE --- */
/* Uses specific colors (Navy, Gold, White, Gray) suitable for light theme */
.membership-hero {
    /* Keep dark overlay for contrast */
    background: linear-gradient(135deg, rgba(0, 43, 92, 0.9) 0%, rgba(0, 91, 159, 0.9) 100%), url('assets/membership-hero-bg.jpg') center/cover no-repeat; /* Slightly less opaque */
    color: white; /* White text - OK */
    padding: 8rem 0 6rem;
    position: relative;
    text-align: center;
    margin-top: calc(var(--navbar-height) * -1); /* Pull up under fixed navbar */
    padding-top: calc(var(--navbar-height) + 6rem); /* Add navbar height to padding */
}

    .membership-hero h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .membership-hero .lead {
        font-size: 1.3rem;
        line-height: 1.6;
        max-width: 800px;
        margin: 0 auto 2.5rem;
        opacity: 0.9;
    }

.hero-cta { /* Gold Button */
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-navy); /* Navy text */
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* Adjust shadow */
    text-decoration: none;
}

    .hero-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.2); /* Adjust shadow */
        color: var(--primary-navy);
        text-decoration: none;
    }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--heading-color); /* Dark heading */
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

        .section-header h2:after {
            /*content: '';
            position: absolute;
            width: 90px;
            height: 3px;
            background: white;*/ /* Gold accent */
            /*bottom: -10px;
            left: 50%;
            transform: translateX(-50%);*/
        }

    .section-header .lead {
        font-size: 1.2rem;
        color: var(--body-color); /* Dark text */
        max-width: 700px;
        margin: 0 auto;
    }

.benefits-section {
    padding: 100px 0;
    background-color: var(--light-color); /* Light gray BG */
}

.benefit-card {
    background: white; /* White card */
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md); /* Light theme shadow */
    height: 100%;
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-gold); /* Gold accent */
    margin-bottom: 30px;
    text-align: center;
}

    .benefit-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg); /* Light theme shadow */
    }

.benefit-icon {
    font-size: 3rem;
    color: var(--accent-gold); /* Gold icon */
    margin-bottom: 25px;
}

.benefit-card h3 {
    color: var(--heading-color); /* Dark heading */
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.4rem;
}

.benefit-card p {
    color: var(--body-color); /* Dark text */
    line-height: 1.7;
}

.membership-types {
    padding: 100px 0;
    background-color: white; /* White section BG */
}

.membership-card {
    border: 1px solid var(--border-color); /* Add subtle border */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm); /* Light theme shadow */
    position: relative;
    z-index: 1;
    background-color: white; /* Ensure white bg */
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .membership-card .card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        padding: 0; /* Remove default padding */
    }

    .membership-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-md); /* Light theme shadow */
    }

    .membership-card.popular {
        border: 2px solid var(--accent-gold);
    }

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-gold); /* Gold badge */
    color: var(--primary-navy); /* Navy text */
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1); /* Shadow OK */
}

.membership-header {
    background-color: var(--primary-navy); /* Navy header */
    color: white; /* White text */
    padding: 25px;
    text-align: center;
}

.membership-header-blue {
    background-color: var(--secondary-blue); /* Keep blue variant */
}

.membership-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    color: white; /* Ensure white */
}

.membership-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold); /* Gold price */
    margin: 20px 0;
    text-align: center;
}

.price-period {
    font-size: 1rem;
    color: var(--secondary-color); /* Gray text */
    font-weight: 400;
}

.membership-features {
    padding: 30px;
    flex-grow: 1; /* Allows features list to grow */
}

    .membership-features ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .membership-features li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color); /* Light border */
        display: flex;
        align-items: center;
        color: var(--body-color); /* Dark text */
    }

        .membership-features li:last-child {
            border-bottom: none;
        }

    .membership-features i {
        color: var(--accent-gold); /* Gold icon */
        margin-right: 12px;
        font-size: 1.1rem;
        flex-shrink: 0; /* Prevent shrinking */
        width: 1.2em; /* Align icons */
    }

.membership-btn-wrapper {
    padding: 0 30px 30px 30px; /* Padding around button */
    margin-top: auto; /* Pushes button to bottom */
}

.membership-btn { /* Navy button */
    display: block;
    text-align: center;
    background: var(--primary-navy);
    color: white;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .membership-btn:hover {
        background: var(--secondary-blue); /* Lighter blue hover */
        color: white;
        text-decoration: none;
        transform: translateY(-2px);
    }

.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-color); /* Light gray BG */
}

.testimonial-card {
    background: white; /* White card */
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-md); /* Light theme shadow */
    margin-bottom: 30px;
    position: relative;
    height: 100%;
}

    .testimonial-card::before {
        content: '"';
        font-size: 6rem;
        color: rgba(0, 43, 92, 0.08); /* Subtle dark quote */
        position: absolute;
        top: 20px;
        left: 20px;
        line-height: 1;
        font-family: Georgia, serif;
        z-index: 0;
    }

.testimonial-content {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--body-color); /* Dark text */
}

.testimonial-author {
    display: flex;
    align-items: center;
}

    .testimonial-author img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 20px;
        border: 3px solid var(--accent-gold); /* Gold border */
    }

.author-info h5 {
    margin: 0;
    font-weight: 700;
    color: var(--heading-color); /* Dark heading */
    font-size: 1.1rem;
}

.author-info p {
    margin: 5px 0 0;
    color: var(--secondary-color); /* Gray text */
    font-size: 0.9rem;
}

.cta-section { /* Navy/Blue gradient CTA */
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    color: white; /* White text */
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 20px;
        color: white; /* Ensure white */
    }

    .cta-section p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 40px;
        opacity: 0.9;
        color: white; /* Ensure white */
    }

    .cta-section .cta-btn { /* White button on dark CTA */
        display: inline-block;
        background-color: white;
        color: var(--primary-navy); /* Navy text */
        padding: 15px 40px;
        border-radius: 30px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        text-decoration: none;
    }

        .cta-section .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
            color: var(--primary-navy);
            text-decoration: none;
        }

.faq-section {
    padding: 100px 0;
    /*background-color: white;*/ /* White BG */
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color); /* Light border */
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--light-color); /* Light gray question bg */
    font-weight: 600;
    color: var(--heading-color); /* Dark heading */
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

    .faq-question:hover {
        background: var(--medium-gray); /* Slightly darker gray hover */
    }

    .faq-question:after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: var(--accent-gold); /* Gold icon */
        transition: transform 0.3s ease;
    }

    .faq-question.active:after { /* Add class .active when open */
        transform: translateY(-50%) rotate(45deg);
    }


.faq-answer {
    padding: 20px;
    display: none; /* Should be handled by JS/framework */
    color: var(--body-color); /* Dark text */
    line-height: 1.7;
    background: white; /* Ensure white bg for answer */
    border-top: 1px solid var(--border-color); /* Separator */
}

/* Responsive Adjustments mostly padding/sizing, OK */
@media (max-width: 992px) {
    .membership-hero {
        padding-top: calc(var(--navbar-height) + 4rem);
        padding-bottom: 4rem;
    }

        .membership-hero h1 {
            font-size: 2.5rem;
        }

        .membership-hero .lead {
            font-size: 1.1rem;
        }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .membership-hero {
        padding-top: calc(var(--navbar-height) + 3rem);
        padding-bottom: 3rem;
    }

        .membership-hero h1 {
            font-size: 2rem;
        }

    .benefits-section, .membership-types, .testimonials-section, .cta-section, .faq-section {
        padding: 60px 0;
    }

    .membership-price {
        font-size: 2rem;
    }
}
/* --- END OF MERGED CODE BLOCK 3 --- */


/* --- START OF MERGED CODE BLOCK 4: STUDY CLUBS --- */
/* Uses light grays, white, navy, yellow - Generally OK */
.search-filter-section {
    /*background-color: var(--accent-light-gray);*/ /* Keep light gray */
    padding: 2rem 0 1rem 0;
    border-bottom: 1px solid var(--border-color); /* Use theme border */
    padding-top: calc(var(--navbar-height) + 1.5rem); /* Adjust padding */
}

    .search-filter-section label {
        font-weight: 500;
        color: var(--primary-navy); /* Navy label - OK */
    }

.study-clubs-section {
    padding: 3rem 0 4rem 0;
    /*background-color: var(--body-bg);*/ /* Ensure main light bg */
}

/* Style for the Club Cards */
.club-card {
    border: 1px solid var(--border-color); /* Use theme border */
    box-shadow: var(--shadow-sm); /* Light theme shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
    background-color: var(--accent-white); /* White card */
    margin-bottom: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .club-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .club-card .card-body {
        flex-grow: 1; /* Allow body to grow */
        display: flex;
        flex-direction: column;
        padding: 1.25rem; /* Standard padding */
    }

    .club-card .card-title {
        color: var(--primary-navy); /* Navy title - OK */
        font-weight: 600;
    }

    .club-card .card-subtitle {
        color: #6c757d; /* Bootstrap muted color - OK */
        font-size: 0.9rem;
    }

    .club-card .card-text {
        color: var(--body-color); /* Dark gray text */
        flex-grow: 1; /* Allow text to take available space */
        margin-bottom: 1rem;
    }

    .club-card .btn-outline-primary { /* Use outline navy */
        color: var(--primary-navy);
        border-color: var(--primary-navy);
        margin-top: auto; /* Push button to bottom */
        text-decoration: none;
    }

        .club-card .btn-outline-primary:hover {
            background-color: var(--primary-navy);
            color: var(--text-on-dark); /* White text */
            text-decoration: none;
        }
/* Classes to toggle visibility based on login */
.show-logged-in, .show-logged-out {
    display: none;
}

.btn-create-club { /* Yellow button */
    background-color: var(--secondary-yellow);
    color: var(--text-on-yellow); /* Navy text */
    border-color: var(--secondary-yellow);
    font-weight: 600;
    text-decoration: none;
}

    .btn-create-club:hover {
        background-color: #e6c600; /* Darker yellow */
        border-color: #e6c600;
        color: var(--text-on-yellow);
        text-decoration: none;
    }

/* Modal Styling */
.modal-header { /* Keep Navy Header */
    background-color: #342d6d;
    color: var(--text-on-dark); /* White text */
}
    /* Close button needs to be visible on Navy */
    .modal-header .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%); /* Make close button white */
    }

.modal-body {
    color: var(--body-color); /* Ensure dark text in modal body */
}

    .modal-body .form-label {
        color: var(--heading-color); /* Darker labels */
    }

.modal-footer {
    background-color: var(--light-color); /* Light footer */
    border-top: 1px solid var(--border-color);
}

    .modal-footer .btn-secondary { /* Standard Gray button */
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        color: white;
    }

        .modal-footer .btn-secondary:hover {
            background-color: #5c636a;
            border-color: #5c636a;
        }

    .modal-footer .btn-primary { /* Use Yellow for primary action */
        background-color: #342d6d;
        color: white; /* Navy text */
        border-color: #342d6d;
        font-weight: 600;
    }

        .modal-footer .btn-primary:hover {
            background-color: #342d6d;
            border-color: #342d6d;
            color: white;
            opacity:95%;
        }

        .modal-footer .btn-primary:disabled {
            background-color: #f0e68c; /* Lighter, muted yellow for disabled */
            border-color: #f0e68c;
            color: #a9a9a9; /* Muted text */
            cursor: not-allowed;
            opacity: 0.65;
        }

/* Style to hide filtered out cards */
.club-card-col.hidden {
    display: none;
}
/* --- END OF MERGED CODE BLOCK 4 --- */


/* --- START OF MERGED CODE BLOCK 5: LOGIN PAGE --- */
/* Uses Navy BG, White Box, Yellow accents - OK for contrast */
.login-page-body {
    background-color: var(--primary-navy); /* Navy background - KEEP */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.login-main {
    flex-grow: 1;
    display: flex;
    align-items: center; /* Center login box vertically */
    padding-top: calc(var(--navbar-height) + 2rem); /* Ensure space below nav */
    padding-bottom: 2rem;
}


/* Style the login box - White background */
.login-box {
    background-color: var(--accent-white); /* White box - KEEP */
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1); /* Softer shadow on navy */
}

    /* Style the login form */
    .login-box h2 {
        color: var(--primary-navy); /* Navy Heading */
        font-weight: 600; /* Ensure weight */
        margin-bottom: 1.5rem; /* Add space */
        text-align: center;
    }

    .login-box .form-label {
        font-weight: 500;
        color: var(--primary-navy); /* Navy Label */
    }

    .login-box .form-control {
        border-radius: 0.375rem;
        border: 1px solid #ced4da; /* Standard Bootstrap border */
    }

        .login-box .form-control::placeholder {
            color: var(--placeholder-color);
            font-size: 15px;
        }
        /* Focus style using Yellow */
        .login-box .form-control:focus {
            border-color: #49427c;
            box-shadow: 0 0 0 0.25rem rgb(243 242 253);
        }

/* Submit button - Yellow */
.login-submit-btn {
    background-color: #352e6e;
    border-color: #352e6e;
    color: white;
    font-weight: 600;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    width: 100%;
    transition:all 0.3s ease-in;
}

    .login-submit-btn:hover {
        background-color: #352e6e;
        border-color: #352e6e;
        color: white;
        opacity:95%;
    }

/* Links - Navy */
.forgot-password-link,
.register-link {
    color: var(--primary-navy);
    text-decoration: none; /* Remove default underline */
    font-size: 0.9rem;
}

    .forgot-password-link:hover,
    .register-link:hover {
        color: #003366; /* Slightly darker Navy hover */
        text-decoration: underline !important;
    }

/* Remember me checkbox */
.login-box .form-check-input {
    border-color: #adb5bd; /* Slightly darker border for visibility */
}

    .login-box .form-check-input:checked {
        background-color: var(--primary-navy);
        border-color: var(--primary-navy);
    }

.login-box .form-check-label {
    color: var(--body-color); /* Standard gray for less emphasis */
    font-size: 0.9rem;
}


/* Style the simplified header (if used) */
.login-nav {
    background-color: var(--primary-navy); /* Keep consistent with body/footer */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    /* Add other navbar styles if this is a full replacement */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

/* Ensure footer style matches main page (if used) */
.login-footer {
    background-color: var(--primary-navy);
    flex-shrink: 0;
    color: var(--text-on-dark); /* White text */
    padding: 1rem 0; /* Add some padding */
    text-align: center;
    font-size: 0.85rem;
}

/* Design Accent Link - Make it Yellow */
.design-accent-link {
    font-weight: 700; /* Keep bold */
    color: #352e6e !important; /* Yellow link */
    text-decoration: none;
}

    .design-accent-link:hover {
        color: #352e6e !important; /* Darker yellow hover */
        text-decoration: underline !important;
        opacity:95%;
    }
/* Text before the link */
.design-accent-text {
    font-size: 0.9em; /* Slightly smaller */
    font-weight: 400;
    color: #6c757d; /* Gray text */
    margin-top: 1.5rem; /* Add some space above */
    text-align: center; /* Center align */
}
/* --- END OF MERGED CODE BLOCK 5 --- */


/* --- START OF MERGED CODE BLOCK 6: MEMBER DIRECTORY --- */
/* Uses light gray, white, navy, yellow - Generally OK */
.directory-header {
    background-color: #cad8e5; /* Keep light gray */
    padding-top: calc(var(--navbar-height) + 2rem); /* Adjust padding */
    padding-bottom: 2rem;
    text-align: center;
}

    .directory-header h1 {
        color: #332c6d; /* Navy heading */
        font-weight: 700;
    }

    .directory-header p.lead {
        color: #332c6d; 
    }

/* New styles for filters */
.filter-section {
    background-color: #cad8e5; /* White background for filter area */
    padding: 1.5rem 0;
    /*    margin-bottom: 2rem;*/
    /* Use theme border */
}

    .filter-section .form-label {
        font-weight: 500;
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
        color: #352e6e; 
    }

    .filter-section .form-control,
    .filter-section .form-select {
        font-size: 1rem;
    }

.member-list-section {
    padding-bottom: 4rem;
    background-color: #cad8e5; /* Ensure main light bg */
    padding-top: 40px;
}

.member-card {
    position: relative;
    background-color: var(--accent-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    text-align: center;
    overflow: visible;
    position: relative;
}

    .member-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }



    .member-card .card-img-top {
        position: absolute;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin: -3.25rem auto 0;
        border: 2px solid #352d6f;
        background-color: #0070ff1c;
        transition: all 0.3s ease-in;
    }

    .member-card:hover .card-img-top {
        transform: scale(1.07);
        transition: all 0.3s ease-in;
    }



    .member-card .card-body {
        padding: 5rem 1rem 1rem 1rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        align-items: center;
        /* position: relative;*/
    }

    .member-card .card-title {
        color: var(--primary-navy); /* Navy title */
        color: #272069;
        font-weight: 600;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }



    .member-card .card-text {
        font-size: 0.85rem;
        color: #352e6e;
        margin-bottom: -0.25rem;
        line-height: 1.6;
        flex-grow: 1;
        margin-top: 3px;
    }


.btn-style {
    border: 1px solid #352d6f;
    background-color: #352d6f;
    color: white;
    border-radius: 2rem;
    transition: all 0.3s ease-in;
}

    .btn-style:hover {
        border: 1px solid #352d6f;
        background-color: white;
        color: #352d6f;
        border-radius: 2rem;
        transition: all 0.3s ease-in;
        text-decoration: none;
        transform: translateY(-3px);
        /* transition: all 0.3s ease-in; */
    }

.member-card .card-text i {
    width: 16px;
    text-align: center;
    margin-right: 4px;
    color: #382e70;
}



.member-card .btn-view-profile { /* Yellow button */
    background-color: #352e6e;
    color: white; /* Navy text */
    border: 1px solid #352e6e;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-top: auto; /* Pushes button to the bottom */
    text-decoration: none;
    border-radius: 1.1rem; /* Match other buttons */
}

    .member-card .btn-view-profile:hover {
        background-color: #352e6e; /* Darker yellow */
        border-color: #352e6e;
        color: white;
        text-decoration: none;
        transform: translateY(-4px);
    }

.no-results {
    text-align: center;
    color: var(--secondary-color); /* Gray */
    padding: 2rem;
    font-style: italic;
}
/* --- END OF MERGED CODE BLOCK 6 --- */


/* --- START OF MERGED CODE BLOCK 7: COMMITTEE & REGISTRATION FORM --- */
/* Uses white background, navy/yellow accents - Generally OK */
.registration-form {
/*    max-width: 900px;*/
    margin: calc(var(--navbar-height) + 0rem) auto 4rem; 
    padding: 30px;
    background-color: #fff; 
    border-radius: 8px;
    box-shadow: var(--shadow-md); 
    border: 1px solid var(--border-color);
}

.section-title {
    color: var(--primary-navy); /* Navy title */
/*    padding-bottom: 8px;*/
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    /* font-weight: 300;*/
    color: var(--heading-color); /* Dark label */
}

.required-field::after {
    content: " *";
    color: #dc3545; /* Red for required */
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping */
}

.radio-option {
    display: flex;
    align-items: center;
    color: var(--body-color); /* Ensure dark text */
}

    .radio-option input[type="radio"] {
        margin-right: 0.5rem;
    }

.btn-submit { /* Assuming this class is used for the form submit */
    background-color: #352e6e;

    color: white;
    padding: 10px 25px;
    font-weight: 500;
    border: none;
    transition: background-color 0.2s ease;
    border-radius: 0.25rem;
}

    .btn-submit:hover {
        background-color: #352e6e; /* Darker Navy */
        color: white;
    }

.file-upload {
    border: 1px dashed #342d6d; /* Lighter dashed border */
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    background-color: #f9f9f9; /* Very light gray */
    color: var(--secondary-color); /* Gray text */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .file-upload:hover {
        background-color: var(--medium-gray);
    }

.committee-container {
    max-width: 1360px;
    margin: calc(var(--navbar-height) + -2rem) auto 4rem; /* Adjust margin */
    padding: 30px 20px;
    /*background-color: var(--body-bg);*/ /* Set main bg */
}

    /* Avoid redefining page-header h1 if global styles suffice */
    .committee-container .page-header {
        text-align: center;
        margin-bottom: 40px;
        position: relative;
    }

        .committee-container .page-header h1 {
            font-size: 2.5rem;
            color: #28215e; /* Dark heading */
            margin-bottom: 15px;
            font-weight: 600;
            position: relative;
            display: inline-block;
        }

/*.committee-container .page-header h1:after {
                content: '';
                position: absolute;
                width: 60px;
                height: 3px;
                background: linear-gradient(90deg, var(--accent-gold), #f4d03f);*/ /* Gold gradient */
/*bottom: -10px;
                left: 50%;
                transform: translateX(-50%);
                border-radius: 3px;
            }*/



/* Section Title Bar (Navy BG) */
.section-title-bar {
    background: #352d6f;
    color: var(--text-on-dark); /* White text */
    padding: 15px 25px;
    margin: 0px 0 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

    .section-title-bar:before { /* Gold accent */
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        /*        background: linear-gradient(to bottom, var(--accent-gold), #f4d03f);*/
    }

    .section-title-bar h2 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        flex-wrap: wrap; /* Allow wrap */
        color: inherit; /* Inherit white */
    }

    .section-title-bar .year-highlight {
        font-size: 0.9rem;
        font-weight: normal;
        color: #ecf0f1; /* Light gray */
        margin-left: 15px;
        background: rgba(0,0,0,0.1);
        padding: 3px 10px;
        border-radius: 20px;
        display: inline-flex;
        align-items: center;
    }

        .section-title-bar .year-highlight:before {
            content: ' ';
            margin-right: 8px;
            color: var(--accent-gold); /* Gold dot */
        }

/* Member Grid Layout */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    padding: 10px 0;
}

/* Member Profile Box (White Card) */

.viewFullCommitte_Btn {
    background-color: rgb(53 46 110);
    color: #ffffff;
    border: 1px solid #352e6e;
}


    .viewFullCommitte_Btn:hover {
        background-color: rgb(53 46 110);
        color: #ffffff;
        border: 1px solid #352e6e;
        transform: translateY(-4px);
        text-decoration:none;
    }



/* Text-only Profile Styles */
.text-grid .member-profile {
    padding: 20px;
    /* display: flex; */ /* Already flex */
    /* flex-direction: column; */ /* Already flex */
    justify-content: center;
    min-height: 120px; /* Ensure minimum height */
    background: var(--light-color); /* Very light gray */
    border-left: 4px solid #383271; /* Gold accent */
    border: 1px solid #383271; /* Overwrite default border */
    border-left-width: 4px; /* Keep thick left border */
}

    .text-grid .member-profile:hover {
        background: #fff; /* White hover */
    }

.text-profile .member-name {
    font-size: 1rem;
    color: var(--heading-color); /* Dark name */
}

.text-profile .member-title.sub-title {
    font-size: 0.85rem;
    color: var(--secondary-color); /* Lighter gray */
    font-style: italic;
    margin-top: 5px;
}

/* Sub Committee Styles */
.sub-committee {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #352d6f;
    position: relative;
}

    .sub-committee:first-of-type {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }



/* Responsive Adjustments OK */
@media (max-width: 992px) {
    .member-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .committee-container .page-header h1 {
        font-size: 2rem;
    }

    .section-title-bar h2 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title-bar .year-highlight {
        margin-left: 0;
        margin-top: 8px;
        align-self: flex-start;
    }

    .member-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .member-grid {
        grid-template-columns: repeat(auto-fill, minmax(187px, 1fr));
        gap: 15px;
    }

    .member-info {
        padding: 15px 10px;
    }

    .member-name {
        font-size: 1rem;
    }

    .member-title {
        font-size: 0.8rem;
    }

    .text-grid .member-profile {
        padding: 15px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.committee-section {
    animation: fadeIn 0.6s ease-out forwards;
}

    .committee-section:nth-child(2) {
        animation-delay: 0.1s;
    }

    .committee-section:nth-child(3) {
        animation-delay: 0.2s;
    }

    .committee-section:nth-child(4) {
        animation-delay: 0.3s;
    }

    .committee-section:nth-child(5) {
        animation-delay: 0.4s;
    }
/* --- END OF MERGED CODE BLOCK 7 --- */


/* --- START OF MERGED CODE BLOCK 8: FORUM --- */
/* Uses navy, white, yellow - Generally OK */
.forum-page-container { /* Add a wrapper */
    padding-top: calc(var(--navbar-height) + 1rem); /* Adjust padding */
    background-color: var(--body-bg); /* Set main light bg */
    min-height: 100vh;
}

.forum-header { /* Keep Navy */
    background-image: url(../mission/gradient.jpg);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    /* Removed margin-top, handled by container */
}

    .forum-header h1 {
        color: white; /* Ensure white */
    }

.discussion-card {
    border-radius: 8px;
    box-shadow: var(--shadow-sm); /* Theme shadow */
    margin-bottom: 2rem;
    background-color: white; /* White card */
    border: 1px solid var(--border-color); /* Add border */
}

.discussion-header {
    border-bottom: 1px solid var(--border-color); /* Use theme border */
    padding: 1.5rem;
    background-color: #f9f9f9; /* Very light gray header */
    border-radius: 8px 8px 0 0;
    color: var(--heading-color); /* Darker text */
}

    .discussion-header h2, .discussion-header h3, .discussion-header h4 {
        color: var(--primary-navy); /* Navy heading */
    }


.discussion-body {
    padding: 1.5rem;
    color: var(--body-color); /* Dark text */
}

.discussion-footer {
    border-top: 1px solid var(--border-color); /* Use theme border */
    padding: 1rem 1.5rem;
    background-color: #f9f9f9; /* Very light gray footer */
    border-radius: 0 0 8px 8px;
    color: var(--secondary-color); /* Gray text */
    font-size: 0.9rem;
}

.reply-card {
    /* margin-left: 2rem; */
    margin-top: 1rem;
    border-left: 3px solid #352e6e;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 10px;
    color: #171818;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.02);
}

    .reply-card .discussion-footer {
        background-color: transparent; /* Make footer transparent */
        border-top: 1px solid #eee; /* Lighter border inside reply */
        padding: 0.75rem 0 0 0;
        margin-top: 0.75rem;
    }


.attachment-thumbnail {
    width: 80px; /* Smaller thumbs */
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color); /* Theme border */
}

.like-btn {
    color: #352e6e; /* Gray */
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
    vertical-align: middle;
}

    .like-btn:hover {
        color: var(--primary-navy); /* Navy hover */
    }

    .like-btn.liked {
        color: #dc3545; /* Red when liked */
    }

    .like-btn i {
        margin-right: 0.25rem;
    }

.comment-form {
    background-color: white; /* White form */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm); /* Theme shadow */
    margin-bottom: 2rem;
    border: 1px solid var(--border-color); /* Add border */
}

    .comment-form textarea {
        min-height: 100px;
    }

    .comment-form label {
        font-weight: 500;
        color: var(--heading-color);
    }

    .comment-form .btn-primary { /* Blue submit */
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

        .comment-form .btn-primary:hover {
            background-color: var(--link-hover-color);
            border-color: var(--link-hover-color);
        }


.tag { /* Yellow tag */
    display: inline-block;
    background-color: #352e6e;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 1px solid var(--border-color);
}

.timestamp {
    font-size: 0.8rem;
    color: var(--secondary-color); /* Gray */
}

.attachment-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}
/* --- END OF MERGED CODE BLOCK 8 --- */


/* --- START OF MERGED CODE BLOCK 9: ABOUT PAGE --- */
/* Uses dark hero, white/light gray sections, navy/gold accents - Generally OK */
.about-hero { /* Keep Dark Hero */
    background: linear-gradient(135deg, rgba(0, 43, 92, 0.9) 0%, rgba(0, 91, 159, 0.9) 100%), url('assets/about-hero-bg.jpg') center/cover no-repeat;
    color: white; /* White text */
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--navbar-height) * -1); /* Pull up under fixed navbar */
    padding-top: calc(var(--navbar-height) + 6rem); /* Add navbar height to padding */
}

    .about-hero h1 {
        font-size: 2.8rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        letter-spacing: 0.5px;
        animation: fadeInDown 1s ease;
        color: inherit;
    }

    .about-hero p.lead {
        font-size: 1.2rem;
        line-height: 1.6;
        max-width: 700px;
        margin: 0 auto 2rem;
        animation: fadeInUp 1s ease 0.3s forwards;
        opacity: 0;
        color: inherit;
    }

/* Timeline Section */
.timeline {
    position: relative;
    padding: 50px 0;
    background-color: var(--body-bg); /* Ensure light bg */
}


.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
/*    margin-bottom: 30px;*/
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

    .timeline-item.visible {
        opacity: 1;
        transform: translateY(0);
    }
    /* Assume handled by JS */
    .timeline-item:nth-child(odd) {
        left: 0;
        animation-delay: 0.3s;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        animation-delay: 0.6s;
    }

.timeline-content {
    padding: 25px;
    background: white;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border-left: 4px solid var(--accent-gold);
    border: 1px solid var(--border-color);
    border-left-width: 4px;
}

    .timeline-content h4 {
        color: var(--primary-navy);
        margin-bottom: 10px;
        font-weight: 600;
    }

    .timeline-content p {
        color: var(--body-color);
        line-height: 1.6;
        margin-bottom: 0;
    }

    .timeline-content::after {
        content: '';
        position: absolute;
        border-style: solid;
        width: 0;
        height: 0;
        top: 30px;
    }

.timeline-item:nth-child(odd) .timeline-content::after {
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
    right: -10px;
    filter: drop-shadow(1px 0px 1px rgba(0,0,0,0.05));
}

.timeline-item:nth-child(even) .timeline-content::after {
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    left: -10px;
    filter: drop-shadow(-1px 0px 1px rgba(0,0,0,0.05));
}

.timeline-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    border: 3px solid var(--light-color); /* Border matches BG */
    top: 30px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -9px;
}



/* Mission & Vision Section */
.mission-vision {
    background: linear-gradient(to bottom, #f9f9f9 0%, #fff 100%);
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 2.5rem;
    color: #352e6e;
    font-weight: 700;
}

.circle-box {
    border-radius: 50%;
    padding: 30px;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
    text-align: center;
    margin: 20px auto;
    width: 260px;
    height: 260px;
}

    .circle-box .icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

.circle-wrap {
    position: relative;
    display: inline-block;
}

    .circle-wrap::before {
        content: '';
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        top: -10px;
        left: -10px;
        z-index: -1;
        border: 10px solid;
    }

.mission::before {
    border-color: #f44336;
}

.vision::before {
    border-color: #00bcd4;
}

.values::before {
    border-color: #ff9800;
}

.title {
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.description {
    font-size: 14px;
    color: #555;
}


/* About Content Section */
.about-content {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    z-index: 1; 
}

@media (max-width: 1024px) {

    .about-content {
        position: relative;
        padding: 50px 0;
        overflow: hidden;
        z-index: 1;
    }

}



    .about-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../Dental.png'); /* Make sure this path is correct! */
        background-size: cover;
        background-position: center;
        opacity: 0.3;
        filter: blur(2px);
        z-index: 2;
    }

    .about-content::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0.85) 70%);
        z-index: 1;
    }

    .about-content .container {
        position: relative;
        z-index: 2;
    }

    .content-box h2 {
        color: #291f72;
        font-weight: 700;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
        font-size: 2.5rem;
    }

        .content-box h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background-color: #352d6f;
        }

    .content-box p {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 18px;
        color: #291f72;
    }

    .image-box {
        text-align: center;
    }

        .image-box img {
            max-width: 100%;
            border-radius: 12px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.5s ease-in;
        }

            .image-box img:hover {
                transform: scale(1.02);
            }

    .years-badge {
        position: absolute;
        bottom: 0px;
        left: 12px;
        background-color: var(--accent-gold);
        color: var(--primary-navy);
        padding: 15px 22px;
        font-weight: 700;
        font-size: 1rem;
        border-radius: 0px 8px 0px 0px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        opacity: 0.85;
        transition: all 0.5s ease-in;
    }

    .image-box img:hover .years-badge {
        transform: translateY(-10px)
    }

    .AboutLearnMore-btn {
        padding: 5px 10px;
        border: 2px solid #352e6e;
        width: 180px;
        text-align: center;
        color: white;
        background: #352e6e;
        border-radius: 5px;
        font-weight: 500;
        margin-top: 10px;
        transition: all 0.3s ease-in;
    }

        .AboutLearnMore-btn:hover {
            border: 2px solid #352e6e;
            color: white;
            background: #352e6e;
            text-decoration: none;
        }

            .AboutLearnMore-btn:hover i {
                transition: all 0.3s ease-in;
                transform: translateX(4px)
            }



    /* Responsive Adjustments for About page OK */
    @media (max-width: 768px) {
        .about-hero {
            padding-top: calc(var(--navbar-height) + 4rem);
            padding-bottom: 4rem;
            margin-top: 0;
        }

            .about-hero h1 {
                font-size: 2.2rem;
            }

            .about-hero p.lead {
                font-size: 1rem;
            }

        .timeline::before {
            left: 31px;
        }

        .timeline-item {
            width: 100%;
            padding-left: 70px;
            padding-right: 25px;
        }

            .timeline-item:nth-child(even) {
                left: 0;
            }

                .timeline-item:nth-child(odd) .timeline-dot,
                .timeline-item:nth-child(even) .timeline-dot {
                    left: 21px;
                }

                .timeline-item:nth-child(odd) .timeline-content::after,
                .timeline-item:nth-child(even) .timeline-content::after {
                    border-width: 10px 10px 10px 0;
                    border-color: transparent white transparent transparent;
                    left: -10px;
                    filter: drop-shadow(-1px 0px 1px rgba(0,0,0,0.05));
                }

        .mission-card, .vision-card {
            margin-bottom: 30px;
        }
    }

    /* Keyframe Animations OK */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fixed-social-icons {
        position: fixed;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

        .fixed-social-icons a {
            font-size: 1.4rem;
            text-align: center;
            width: 35px;
            height: 35px;
            line-height: 35px;
            display: block;
            border-radius: 50%;
            background-color: rgba(255, 255, 255);
            box-shadow: var(--shadow-sm);
        }

            .fixed-social-icons a:hover {
                transform: scale(1.15); /* Zoom effect */
                /* Colors are set below */
                background-color: rgba(255, 255, 255, 1);
                box-shadow: var(--shadow-md);
            }
            /* Specific Brand Colors */
            .fixed-social-icons a[aria-label="Facebook"] i {
                color: #1877F2;
            }

            .fixed-social-icons a[aria-label="Twitter"] i {
                color: #1DA1F2;
            }

            .fixed-social-icons a[aria-label="Instagram"] i {
                color: #E4405F;
            }

            .fixed-social-icons a[aria-label="LinkedIn"] i {
                color: #0A66C2;
            }

    /* Responsive adjustments for fixed icons */
    @media (max-width: 767.98px) {
        .fixed-social-icons {
            right: 10px;
            gap: 0.6rem;
        }

            .fixed-social-icons a {
                font-size: 1.2rem;
                width: 32px;
                height: 32px;
                line-height: 32px;
            }
    }

    @media (max-width: 575.98px) {
        /* Optional: hide them completely on extra small screens */
        .fixed-social-icons {
            display: none;
        }
    }

    .blog-card {
        background-color: var(--card-bg);
        border: 1px solid var(--border-color);
        transition: all var(--transition-speed) var(--transition-timing);
        border-radius: 0.5rem; /* Match other cards */
        overflow: hidden; /* Keep image rounded */
        display: flex;
        flex-direction: column;
    }

        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-color);
        }

    .blog-card-image {
        height: 200px; /* Adjust as needed */
        object-fit: cover;
        width: 100%;
    }

    .blog-card .card-body {
        padding: 1.5rem;
        flex-grow: 1; /* Ensure body takes remaining space */
        display: flex;
        flex-direction: column;
    }

    .blog-card-title {
        color: var(--heading-color);
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
    }

        .blog-card-title a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-speed);
        }

            .blog-card-title a:hover {
                color: var(--link-hover-color);
                text-decoration: underline;
            }

    .blog-card-meta {
        color: var(--secondary-color) /* Override default text-muted color */
        font-size: 0.85rem;
        opacity: 0.8;
        margin-bottom: 1rem;
    }

        .blog-card-meta i {
            margin-right: 0.3rem;
        }


    .blog-card-excerpt {
        color: var(--body-color);
        font-size: 0.9rem;
        line-height: 1.6;
        flex-grow: 1; /* Allows text to fill space before button */
        margin-bottom: 1.5rem;
    }

    .blog-read-more-btn {
        background-color: var(--primary-navy);
        border-color: var(--primary-navyss);
        color: var(--light-color);
        font-weight: 500;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin-top: auto; /* Push button to bottom */
        align-self: flex-start; /* Align button left */
        transition: background-color var(--transition-speed), border-color var(--transition-speed);
    }

        .blog-read-more-btn:hover {
            background-color: var(--link-hover-color);
            border-color: var(--link-hover-color);
            color: var(--light-color);
        }

        .blog-read-more-btn i {
            font-size: 0.8em;
            margin-left: 0.3rem;
            transition: transform 0.2s ease-in-out;
        }

        .blog-read-more-btn:hover i {
            transform: translateX(3px);
        }

    /* --- END OF MERGED CODE BLOCK 9 --- */



    /*   timeline section  */

    .committe-member-container {
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

        /* Overlay background image using ::before */
        .committe-member-container::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('assets/committee-background.jpg') no-repeat center center/cover; /* Replace with your actual image path */
            opacity: 0.3; /* Adjust for darkness/visibility */
            z-index: -1; /* Keep it behind content */
        }

        /* Make sure all text is readable */
        .committe-member-container .page-header,
        .committee-section {
            position: relative;
            z-index: 2;
        }



    .about-section2 {
        position: relative;
        padding: 70px 0;
        background-color: white;
        max-width: 100%;
        z-index: 1;
        overflow: hidden;
    }

        .about-section2::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgb(141 137 175 / 70%), rgb(193 190 211 / 70%)), url(../Dental.png);
            background-size: cover;
            background-position: center;
            opacity: 0.35;
            z-index: 0;
        }

        .about-section2 * {
            position: relative;
            z-index: 1;
            color: white; /* Optional: ensures text is visible against dark overlay */
        }


    /* --- END OF MERGED CODE BLOCK 9 --- */
    /**/
    .about-section21 {
        background-color: white;
        padding: 70px 0px;
        position: relative;
        max-width: 100%;
        overflow: hidden; /* Ensures ::before doesn’t spill out */
        z-index: 1;
        opacity: 1;
    }

        .about-section21::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../mission/gradient.jpg');
            background-size: cover;
            background-position: center;
            opacity: 0.95;
            z-index: -1; /* Sends the overlay behind the content */
        }

    .img-height-bannaer {
        height: 263px;
    }
