/* --- Root Variables: Your Brand Colors --- */
/* Define your primary and accent colors for easy reuse and consistency. */
:root {
    --primary-blue: #1891c8; /* Your vibrant blue logo color */
    --accent-red: #ff3131;    /* Your accent red logo color */
    --text-dark: #333;        /* Standard dark text color */
    --background-light: #f9f9f9; /* Light background for the overall page */
    --background-white: #ffffff; /* White background for content sections/cards */
    --shadow-light: rgba(0, 0, 0, 0.08); /* Subtle shadow for elements */
    --shadow-hover: rgba(0, 0, 0, 0.15); /* Slightly stronger shadow on hover */
    --gray-border: #e0e0e0; /* Light gray for borders/dividers */
}

/* --- Base Body & Global Utilities --- */
/* Ensures consistent font, line height, colors, and prevents horizontal scrolling. */
body {
    font-family: 'Poppins', sans-serif; /* Poppins must be enqueued via functions.php */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Ensures consistent box-sizing within custom page wrappers. */
.about-page-wrapper *,
.site-header *,
.site-footer * { /* Also include general header/footer elements */
    box-sizing: border-box;
}

/* --- Global Layout Containers --- */
/* This container defines the maximum width for your main content on larger screens. */
.custom-page-container {
    max-width: 1320px; /* Adjust as needed for your site's main content width */
    margin: 0 auto; /* Centers the container on the page */
    padding: 20px; /* Adds padding inside the container */
    box-sizing: border-box;
}

/* --- Global Section Styling --- */
/* Styling for generic content sections, used multiple times on the About Us page. */
.custom-section {
    background-color: var(--background-white);
    margin: 30px 0; /* Vertical spacing between sections */
    padding: 40px; /* Internal padding for content */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 5px 20px var(--shadow-light); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

.custom-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

/* Headings within custom sections (e.g., "What We Offer"). */
.custom-section h2 {
    color: var(--primary-blue);
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

/* Accent underline effect for custom section headings. */
.custom-section h2::after {
    content: '';
    position: absolute;
    left: 50%; /* Center the underline */
    bottom: 0;
    transform: translateX(-50%); /* Adjust for horizontal centering */
    width: 100px;
    height: 5px;
    background-color: var(--accent-red); /* Uses your accent red color */
    border-radius: 2px;
}

/* Styling for introductory text paragraphs. */
.intro-text {
    text-align: center;
    font-size: 1.15em;
    margin-bottom: 40px;
    color: var(--text-dark);
    max-width: 850px; /* Limits width for readability */
    margin-left: auto; /* Centers the text block */
    margin-right: auto; /* Centers the text block */
}

/* CSS Grid layout for feature and NIOS items. */
.custom-grid {
    display: grid;
    /* Responsive grid columns: at least 280px wide, as many as fit per row. */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; /* Spacing between grid items */
    margin-top: 30px;
}

/* Styling for individual items within the custom grid (e.g., "Practical Education Tips"). */
.grid-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 5px solid var(--primary-blue); /* Top border using primary blue */
}

.grid-item:hover {
    transform: translateY(-7px); /* More pronounced lift effect on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); /* Stronger shadow on hover */
}

.grid-item h3 {
    color: var(--primary-blue);
    font-size: 1.6em;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.grid-item p {
    color: var(--text-dark);
    font-size: 1em;
    flex-grow: 1; /* Allows paragraphs to take available space */
}

/* --- About Us Page Specific Styles --- */
/* Overall wrapper for the About Us page content. */
.about-page-wrapper {
    padding-top: 0; /* Remove top padding as header has its own */
    padding-bottom: 40px;
}

/* Header section of the About Us page, distinct from the global site header. */
.about-header {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 50px 0 20px; /* Reduced bottom padding to align with YouTube stats section */
    text-align: center;
    border-bottom: 8px solid var(--accent-red); /* Bold border using accent red */
    position: relative;
    overflow: hidden;
}

/* Decorative skewed element in the header background. */
.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white overlay */
    transform: skewX(-20deg); /* Skewed effect */
    z-index: 0;
}

/* Main heading for the About Us page header. */
.about-header h1 {
    margin: 0;
    font-size: 3.5em;
    letter-spacing: 1.5px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Helpline number displayed prominently in the header. */
.hero-helpline {
    margin-top: 20px;
    font-size: 1.3em;
    font-weight: 600;
    z-index: 1;
    position: relative;
}

.hero-helpline .fas {
    margin-right: 10px;
    color: var(--accent-red); /* Icon color matches accent */
}

.hero-helpline a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.hero-helpline a:hover {
    color: var(--accent-red);
}

/* Section for displaying static YouTube statistics. */
.youtube-stats-section {
    display: flex;
    justify-content: center;
    gap: 30px; /* Spacing between stat items */
    background-color: var(--background-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-top: -50px; /* Overlaps with the header for a visually integrated look */
    position: relative;
    z-index: 2; /* Ensures it's above other elements */
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1 1 150px; /* Flex basis for responsiveness, ensuring minimum width */
    min-width: 120px;
}

.stat-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-blue); /* Stat number color */
    display: block;
    line-height: 1.2; /* Adjust line-height for better appearance */
}

.stat-label {
    font-size: 0.9em;
    color: var(--text-dark);
    display: block;
    margin-top: 5px;
}

/* Introductory section just below the hero header and overlapping stats. */
.hero-intro-section {
    margin-top: 0; /* Removes default top margin for alignment with YouTube stats */
    padding-top: 80px; /* Adds padding to compensate for the overlap from the stats section */
}
.hero-intro-section .intro-text {
    margin-bottom: 0;
}

/* Styling for specific NIOS student information items. */
.nios-info-grid .nios-item {
    background-color: var(--background-white);
    padding: 25px;
    border-radius: 8px;
    border-left: 6px solid var(--accent-red); /* Distinct left border for NIOS items */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-direction: column; /* Ensures vertical layout of content within the item */
    justify-content: flex-start;
}

.nios-info-grid .nios-item:hover {
    background-color: #f7fbfd; /* Lighter background on hover */
    transform: translateX(5px); /* Slight horizontal shift on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nios-info-grid .nios-item h4 {
    color: var(--primary-blue);
    margin-top: 0;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}
.nios-info-grid .nios-item p {
    font-size: 0.95em;
    color: var(--text-dark);
}

/* Container for special NIOS service sections (e.g., "Solution For 8th, 9th, and 11th Fail Students"). */
.nios-special-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.special-section-item {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--primary-blue); /* Bottom border for distinction */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-section-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.special-section-item h3 {
    color: var(--primary-blue);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.special-section-item p {
    font-size: 0.95em;
    color: var(--text-dark);
}

/* Call to Action Card for Admissions. */
.call-to-action-card {
    background-color: var(--accent-red); /* Strong background with accent red */
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.call-to-action-card .card-content h3 {
    color: #fff;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.call-to-action-card .tagline {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 5px;
}

.call-to-action-card .card-button .btn {
    background-color: var(--primary-blue); /* Button uses primary blue */
    border-color: var(--primary-blue);
    color: #fff;
    font-size: 1.5em;
    padding: 15px 30px;
    border-radius: 50px; /* Pill shape for the button */
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.call-to-action-card .card-button .btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
    border-color: #0056b3;
    transform: translateY(-3px);
}

/* Highlight section for NIOS Coaching in Lucknow. */
.nios-coaching-highlight h2 {
    color: var(--primary-blue);
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
}

.coaching-card {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    border-bottom: 5px solid var(--accent-red); /* Bottom border with accent red */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coaching-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.coaching-card h3 {
    color: var(--primary-blue);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.coaching-card .badge {
    font-size: 0.85em;
    padding: 5px 10px;
    margin-right: 5px;
    border-radius: 3px;
}

.coaching-card p {
    font-size: 0.95em;
    color: var(--text-dark);
}

.coaching-card .read-more-link {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

.coaching-card .read-more-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Mission Section with a distinct background. */
.mission-section {
    text-align: center;
    background-color: var(--primary-blue);
    color: #fff;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '💡';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5em;
    opacity: 0.1;
    z-index: 0;
}

.mission-section h2 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mission-section h2::after {
    background-color: var(--accent-red);
}

.mission-section p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 20px auto 0;
    position: relative;
    z-index: 1;
}

.mission-section .mission-tagline {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

/* Connect Section for contact details. */
.connect-section .intro-text {
    margin-bottom: 30px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    border-bottom: 5px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.contact-item .fas,
.contact-item .fab {
    font-size: 2.5em;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.contact-item h4 {
    color: var(--primary-blue);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 0.95em;
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Social Media Section. */
.social-media h3 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-size: 2em;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    width: 55px;
    height: 55px;
    background-color: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.social-icon:hover {
    background-color: var(--accent-red);
    transform: translateY(-7px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.final-tagline {
    font-size: 1.5em;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
    margin-top: 50px;
}

/* --- Global Site Footer --- */
/* This styling applies to the footer across your site, pulled from footer.php. */
/* Using the standard Underscores/WordPress classes */
.site-footer {
    background-color: var(--text-dark);
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 8px solid var(--accent-red);
    font-size: 0.9em;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}


/* --- Responsive Adjustments --- */
/* These media queries fine-tune the custom elements for various screen sizes.
   Bootstrap's grid system (e.g., `row`, `col-md-6`) handles much of the layout responsiveness automatically. */

/* Large devices (desktops, 992px and up) - Specific tweaks */
@media (min-width: 992px) {
    /* Adjustments for larger screens if needed */
}

/* Medium devices (tablets, small laptops, up to 991.98px) */
@media (max-width: 991.98px) {
    .about-header h1 { font-size: 3em; }
    .hero-helpline { font-size: 1.1em; }
    .youtube-stats-section {
        gap: 20px;
        padding: 20px;
        margin-top: -40px;
    }
    .stat-value { font-size: 2em; }

    .custom-section { padding: 30px; margin: 25px 0; }
    .custom-section h2 { font-size: 2em; }
    .intro-text { font-size: 1.05em; }
    .custom-grid { gap: 20px; }
    .grid-item { padding: 25px; }
    .grid-item h3 { font-size: 1.4em; }

    .nios-info-grid .nios-item { padding: 20px; }
    .nios-info-grid .nios-item h4 { font-size: 1.2em; }

    .nios-special-sections { gap: 20px; }
    .special-section-item { padding: 20px; }
    .special-section-item h3 { font-size: 1.2em; }

    .call-to-action-card { padding: 30px; }
    .call-to-action-card .card-content h3 { font-size: 1.8em; }
    .call-to-action-card .tagline { font-size: 1em; }
    .call-to-action-card .card-button .btn { font-size: 1.2em; padding: 12px 25px; }

    .nios-coaching-highlight h2 { font-size: 2em; }
    .coaching-card { padding: 25px; }
    .coaching-card h3 { font-size: 1.4em; }

    .mission-section { padding: 40px; }
    .mission-section p { font-size: 1.15em; }
    .mission-section .mission-tagline { font-size: 1.3em; }

    .contact-details-grid { gap: 20px; }
    .contact-item { padding: 25px; }
    .contact-item .fas, .contact-item .fab { font-size: 2em; }
    .contact-item h4 { font-size: 1.2em; }

    .social-media h3 { font-size: 1.8em; }
    .social-icon { width: 48px; height: 48px; font-size: 1.7em; }
    .final-tagline { font-size: 1.2em; }
}

/* Small devices (portrait tablets, large phones, up to 767.98px) */
@media (max-width: 767.98px) {
    .about-header h1 { font-size: 2.5em; }
    .hero-helpline { font-size: 1em; }
    .youtube-stats-section {
        flex-direction: column;
        gap: 15px;
        margin-left: 15px;
        margin-right: 15px;
    }
    .stat-value { font-size: 2em; }
    .stat-item { flex: 1 1 auto; }

    .custom-section { padding: 25px; margin: 20px 0; }
    .custom-section h2 { font-size: 1.8em; }
    .intro-text { font-size: 1em; margin-bottom: 30px; }
    .custom-grid { grid-template-columns: 1fr; gap: 20px; }
    .grid-item,
    .nios-item,
    .special-section-item,
    .coaching-card,
    .contact-item {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .nios-special-sections { grid-template-columns: 1fr; }

    .call-to-action-card { padding: 25px; }
    .call-to-action-card .card-content h3 { font-size: 1.6em; }
    .call-to-action-card .tagline { font-size: 0.9em; }
    .call-to-action-card .card-button .btn { font-size: 1em; padding: 10px 20px; }

    .nios-coaching-highlight h2 { font-size: 1.8em; }
    .mission-section { padding: 30px; }
    .mission-section p { font-size: 1.1em; }
    .mission-section .mission-tagline { font-size: 1.1em; }

    .contact-details-grid { grid-template-columns: 1fr; }
    .contact-item .fas, .contact-item .fab { font-size: 2em; }

    .social-media h3 { font-size: 1.8em; }
    .social-icon { width: 48px; height: 48px; font-size: 1.7em; }
    .final-tagline { font-size: 1em; }
}

/* Extra small devices (phones, up to 575.98px) */
@media (max-width: 575.98px) {
    .about-header h1 { font-size: 2em; padding: 0 10px; }
    .hero-helpline { font-size: 0.9em; }
    .youtube-stats-section { margin-top: -30px; }
    .stat-value { font-size: 1.8em; }
    .stat-label { font-size: 0.8em; }

    .custom-section { padding: 20px; margin: 15px 0; }
    .custom-section h2 { font-size: 1.5em; }
    .intro-text { font-size: 0.95em; margin-bottom: 25px; }
    .grid-item h3 { font-size: 1.2em; }

    .special-section-item h3 { font-size: 1em; }

    .call-to-action-card .card-content h3 { font-size: 1.4em; }
    .call-to-action-card .tagline { font-size: 0.85em; }
    .call-to-action-card .card-button .btn { font-size: 0.9em; padding: 8px 15px; }

    .nios-coaching-highlight h2 { font-size: 1.5em; }
    .coaching-card h3 { font-size: 1.2em; }
    .mission-section { padding: 30px; }
    .mission-section p { font-size: 1em; }
    .mission-section .mission-tagline { font-size: 1em; }

    .contact-item { padding: 20px; }
    .contact-item h4 { font-size: 1.1em; }

    .social-icons { gap: 15px; }
    .social-icon { width: 45px; height: 45px; font-size: 1.5em; }
    .final-tagline { font-size: 0.9em; }

    footer { padding: 20px 0; }
}
/* --- Root Variables: Your Brand Colors --- */
/* Define your primary and accent colors for easy reuse and consistency. */
:root {
    --primary-blue: #1891c8; /* Your vibrant blue logo color */
    --accent-red: #ff3131;    /* Your accent red logo color */
    --text-dark: #333;        /* Standard dark text color */
    --background-light: #f9f9f9; /* Light background for the overall page */
    --background-white: #ffffff; /* White background for content sections/cards */
    --shadow-light: rgba(0, 0, 0, 0.08); /* Subtle shadow for elements */
    --shadow-hover: rgba(0, 0, 0, 0.15); /* Slightly stronger shadow on hover */
    --gray-border: #e0e0e0; /* Light gray for borders/dividers */
}

/* --- Base Body & Global Utilities --- */
.custom-section:hover {
    transform: translateY(-3px); /* Slight lift effect on hover */
    box-shadow: 0 8px 25px var(--shadow-hover); /* Enhanced shadow on hover */
}
/* Headings within custom sections (e.g., "What We Offer", "Find Us on the Map"). */
.custom-section h2 {
    color: var(--primary-blue);
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

/* Accent underline effect for custom section headings. */
.custom-section h2::after {
    content: '';
    position: absolute;
    left: 50%; /* Center the underline */
    bottom: 0;
    transform: translateX(-50%); /* Adjust for horizontal centering */
    width: 100px;
    height: 5px;
    background-color: var(--accent-red); /* Uses your accent red color */
    border-radius: 2px;
}

/* Styling for introductory text paragraphs. */
.intro-text {
    text-align: center;
    font-size: 1.15em;
    margin-bottom: 40px;
    color: var(--text-dark);
    max-width: 850px; /* Limits width for readability */
    margin-left: auto; /* Centers the text block */
    margin-right: auto; /* Centers the text block */
}

/* CSS Grid layout for feature items and NIOS items (used on About Us page). */
.custom-grid {
    display: grid;
    /* Responsive grid columns: at least 280px wide, as many as fit per row. */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; /* Spacing between grid items */
    margin-top: 30px;
}

/* Styling for individual items within the custom grid. */
.grid-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 5px solid var(--primary-blue); /* Top border using primary blue */
}

.grid-item:hover {
    transform: translateY(-7px); /* More pronounced lift effect on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); /* Stronger shadow on hover */
}

.grid-item h3 {
    color: var(--primary-blue);
    font-size: 1.6em;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.grid-item p {
    color: var(--text-dark);
    font-size: 1em;
    flex-grow: 1; /* Allows paragraphs to take available space */
}

/* --- SITE HEADER STYLES (Applies globally across your site) --- */
.site-header {
    background-color: var(--primary-blue);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows branding and nav to wrap on smaller screens */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--accent-red); /* Accent line below header */
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevents logo from shrinking too much */
}

.site-branding .custom-logo-link {
    display: block;
    line-height: 0; /* Remove extra space below image */
}

.site-branding .custom-logo {
    max-height: 60px; /* Adjust logo size */
    width: auto;
    transition: transform 0.3s ease;
}

.site-branding .custom-logo:hover {
    transform: scale(1.05); /* Slight scale on hover */
}

.site-branding .site-title,
.site-branding .site-description {
    margin: 0;
    margin-left: 15px;
    color: #fff;
    font-weight: 700;
}

.site-branding .site-title a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8em; /* Adjust site title font size */
    line-height: 1.2;
}

.site-branding .site-title a:hover {
    color: var(--accent-red); /* Hover color for site title */
}

.site-branding .site-description {
    font-size: 0.8em;
    opacity: 0.8;
}

/* Main Navigation */
.main-navigation {
    flex-grow: 1; /* Allows navigation to take available space */
    text-align: right; /* Align menu to the right */
    position: relative;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Horizontal menu on desktop */
    justify-content: flex-end; /* Align items to the right */
    align-items: center;
    flex-wrap: wrap; /* Allow menu items to wrap if needed */
}

.main-navigation ul li {
    position: relative; /* For dropdowns */
    margin-left: 15px; /* Spacing between menu items */
}

.main-navigation ul li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px; /* Subtle rounded corners for menu items */
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
    background-color: var(--accent-red); /* Accent red on hover/active */
    color: #fff;
}

/* Dropdowns (if your theme supports them and you add them via Appearance > Menus) */
.main-navigation ul ul {
    display: none;
    position: absolute;
    background-color: var(--primary-blue); /* Dropdown background */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    min-width: 200px;
    z-index: 9999;
    text-align: left;
    border-radius: 5px;
    top: 100%; /* Position below parent */
    left: 0;
}

.main-navigation ul li:hover > ul {
    display: block; /* Show dropdown on hover */
}

.main-navigation ul ul li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Separator for dropdown items */
}
.main-navigation ul ul li:last-child {
    border-bottom: none;
}

.main-navigation ul ul li a {
    padding: 10px 20px;
    font-size: 0.95em;
    white-space: nowrap; /* Prevent wrapping */
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none; /* Hidden on desktop */
    background-color: var(--accent-red);
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: #cc2a2a; /* Darker red on hover */
}

/* --- About Us Page Specific Styles --- */
.about-page-wrapper {
    padding-top: 0;
    padding-bottom: 40px;
}

.about-header {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 50px 0 20px;
    text-align: center;
    border-bottom: 8px solid var(--accent-red);
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-20deg);
    z-index: 0;
}

.about-header h1 {
    margin: 0;
    font-size: 3.5em;
    letter-spacing: 1.5px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-helpline {
    margin-top: 20px;
    font-size: 1.3em;
    font-weight: 600;
    z-index: 1;
    position: relative;
}

.hero-helpline .fas {
    margin-right: 10px;
    color: var(--accent-red);
}

.hero-helpline a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.hero-helpline a:hover {
    color: var(--accent-red);
}

.youtube-stats-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    background-color: var(--background-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-top: -50px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1 1 150px;
    min-width: 120px;
}

.stat-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9em;
    color: var(--text-dark);
    display: block;
    margin-top: 5px;
}

.hero-intro-section {
    margin-top: 0;
    padding-top: 80px;
}
.hero-intro-section .intro-text {
    margin-bottom: 0;
}

.nios-info-grid .nios-item {
    background-color: var(--background-white);
    padding: 25px;
    border-radius: 8px;
    border-left: 6px solid var(--accent-red);
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    justify-content: flex-start;
}

.nios-info-grid .nios-item:hover {
    background-color: #f7fbfd;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nios-info-grid .nios-item h4 {
    color: var(--primary-blue);
    margin-top: 0;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}
.nios-info-grid .nios-item p {
    font-size: 0.95em;
    color: var(--text-dark);
}

.nios-special-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.special-section-item {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-section-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.special-section-item h3 {
    color: var(--primary-blue);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.special-section-item p {
    font-size: 0.95em;
    color: var(--text-dark);
}

.call-to-action-card {
    background-color: var(--accent-red);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.call-to-action-card .card-content h3 {
    color: #fff;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.call-to-action-card .tagline {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 5px;
}

.call-to-action-card .card-button .btn {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    font-size: 1.5em;
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.call-to-action-card .card-button .btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
}

.nios-coaching-highlight h2 {
    color: var(--primary-blue);
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
}

.coaching-card {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    border-bottom: 5px solid var(--accent-red);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coaching-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.coaching-card h3 {
    color: var(--primary-blue);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.coaching-card .badge {
    font-size: 0.85em;
    padding: 5px 10px;
    margin-right: 5px;
    border-radius: 3px;
}

.coaching-card p {
    font-size: 0.95em;
    color: var(--text-dark);
}

.coaching-card .read-more-link {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

.coaching-card .read-more-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.mission-section {
    text-align: center;
    background-color: var(--primary-blue);
    color: #fff;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '💡';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5em;
    opacity: 0.1;
    z-index: 0;
}

.mission-section h2 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mission-section h2::after {
    background-color: var(--accent-red);
}

.mission-section p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 20px auto 0;
    position: relative;
    z-index: 1;
}

.mission-section .mission-tagline {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.connect-section .intro-text {
    margin-bottom: 30px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    border-bottom: 5px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.contact-item .fas,
.contact-item .fab {
    font-size: 2.5em;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.contact-item h4 {
    color: var(--primary-blue);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 0.95em;
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.social-media h3 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-size: 2em;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    width: 55px;
    height: 55px;
    background-color: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.social-icon:hover {
    background-color: var(--accent-red);
    transform: translateY(-7px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.final-tagline {
    font-size: 1.5em;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
    margin-top: 50px;
}

/* --- Global Site Footer --- */
.site-footer {
    background-color: var(--text-dark);
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 8px solid var(--accent-red);
    font-size: 0.9em;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}


/* --- Responsive Adjustments (Includes site-wide elements and page-specific tweaks) --- */

/* Medium devices (tablets, small laptops, up to 991.98px) */
@media (max-width: 991.98px) {
    /* Header (site-header) adjustments for smaller screens */
    .site-header {
        flex-direction: column; /* Stack logo and nav vertically */
        align-items: flex-start; /* Align elements to the left */
        padding: 15px;
    }
    .site-branding {
        margin-bottom: 15px; /* Space between logo and nav */
        width: 100%; /* Take full width */
        justify-content: center; /* Center logo/title on mobile */
    }
    .site-branding .site-title a {
        font-size: 1.6em; /* Adjust font size for smaller screens */
    }
    .main-navigation {
        width: 100%; /* Take full width */
        text-align: left; /* Align menu items left */
    }
    .main-navigation ul {
        flex-direction: column; /* Stack menu items vertically */
        align-items: flex-start; /* Align items to the left */
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .main-navigation ul li {
        margin: 0;
        width: 100%; /* Make menu items full width */
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Separator for stacked items */
    }
    .main-navigation ul li:last-child {
        border-bottom: none;
    }
    .main-navigation ul li a {
        padding: 12px 15px; /* Adjust padding for stacked items */
    }
    .main-navigation ul ul { /* Dropdowns for mobile menu */
        position: static; /* Remove absolute positioning */
        background-color: rgba(0,0,0,0.1); /* Slightly darker background for sub-items */
        width: 100%;
        padding-left: 20px; /* Indent sub-items */
        box-shadow: none;
    }
    .main-navigation ul ul li a {
        padding: 8px 15px;
    }
    .menu-toggle {
        display: block; /* Show menu toggle on mobile */
        position: absolute; /* Position relative to header */
        right: 15px;
        top: 15px;
        z-index: 10; /* Ensure it's above other elements */
    }
    .main-navigation.toggled ul { /* Styles for showing the menu when toggled */
        display: flex; /* Ensure menu is visible when toggle is active */
    }
    .main-navigation:not(.toggled) ul {
        display: none; /* Hide menu by default on mobile if not toggled */
    }

    /* About Us Page Sections */
    .about-header h1 { font-size: 3em; }
    .hero-helpline { font-size: 1.1em; }
    .youtube-stats-section {
        gap: 20px;
        padding: 20px;
        margin-top: -40px;
    }
    .stat-value { font-size: 2em; }

    .custom-section { padding: 30px; margin: 25px 0; }
    .custom-section h2 { font-size: 2em; }
    .intro-text { font-size: 1.05em; }
    .custom-grid { gap: 20px; }
    .grid-item { padding: 25px; }
    .grid-item h3 { font-size: 1.4em; }

    .nios-info-grid .nios-item { padding: 20px; }
    .nios-info-grid .nios-item h4 { font-size: 1.2em; }

    .nios-special-sections { gap: 20px; }
    .special-section-item { padding: 20px; }
    .special-section-item h3 { font-size: 1.2em; }

    .call-to-action-card { padding: 30px; }
    .call-to-action-card .card-content h3 { font-size: 1.8em; }
    .call-to-action-card .tagline { font-size: 1em; }
    .call-to-action-card .card-button .btn { font-size: 1.2em; padding: 12px 25px; }

    .nios-coaching-highlight h2 { font-size: 2em; }
    .coaching-card { padding: 25px; }
    .coaching-card h3 { font-size: 1.4em; }

    .mission-section { padding: 40px; }
    .mission-section p { font-size: 1.15em; }
    .mission-section .mission-tagline { font-size: 1.3em; }

    .contact-details-grid { gap: 20px; }
    .contact-item { padding: 25px; }
    .contact-item .fas, .contact-item .fab { font-size: 2em; }
    .contact-item h4 { font-size: 1.2em; }

    .social-media h3 { font-size: 1.8em; }
    .social-icon { width: 48px; height: 48px; font-size: 1.7em; }
    .final-tagline { font-size: 1.2em; }


    /* Contact Us Page Specific Adjustments */
    .contact-header h1 { font-size: 3em; }
    .contact-header .header-intro-text { font-size: 1.1em; }
    .contact-header .header-helpline { font-size: 1.1em; gap: 15px; }

    .contact-info-form-section { padding-top: 30px; padding-bottom: 30px; }
    .contact-info-block, .contact-form-block { padding: 30px; }
    .contact-info-block h2, .contact-form-block h2 { font-size: 1.8em; }
    .contact-info-block .contact-list li { font-size: 1em; }

    .map-section { padding-top: 30px; padding-bottom: 30px; }
    .image-highlight-section { padding-top: 30px; padding-bottom: 30px; } /* Responsive padding */
    .social-connect-section { padding-top: 30px; padding-bottom: 30px; }
    .social-icons-large { gap: 20px; }
    .social-icon-lg { padding: 12px 25px; font-size: 1em; }
    .social-icon-lg .fab, .social-icon-lg .fas { font-size: 1.2em; }
}

/* Small devices (portrait tablets, large phones, up to 767.98px) */
@media (max-width: 767.98px) {
    /* Header (site-header) - Mobile specific styles */
    .site-header {
        padding: 10px 15px;
    }
    .site-branding .custom-logo {
        max-height: 50px; /* Smaller logo on mobile */
    }
    .site-branding .site-title a {
        font-size: 1.4em;
    }
    .menu-toggle {
        top: 10px;
        right: 10px;
    }
    /* Hide desktop menu by default */
    .main-navigation ul {
        display: none;
    }
    .main-navigation.toggled ul {
        display: flex; /* Show only when toggled */
    }

    /* About Us Page Sections */
    .about-header h1 { font-size: 2.5em; }
    .hero-helpline { font-size: 1em; }
    .youtube-stats-section {
        flex-direction: column; /* Stack stats vertically */
        gap: 15px;
        margin-left: 15px; /* Add side margins for better spacing on smaller screens */
        margin-right: 15px;
    }
    .stat-value { font-size: 2em; }
    .stat-item { flex: 1 1 auto; }

    .custom-section { padding: 25px; margin: 20px 0; }
    .custom-section h2 { font-size: 1.8em; }
    .intro-text { font-size: 1em; margin-bottom: 30px; }
    .custom-grid { grid-template-columns: 1fr; gap: 20px; }
    .grid-item,
    .nios-item,
    .special-section-item,
    .coaching-card,
    .contact-item {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .nios-special-sections { grid-template-columns: 1fr; }

    .call-to-action-card { padding: 25px; }
    .call-to-action-card .card-content h3 { font-size: 1.6em; }
    .call-to-action-card .tagline { font-size: 0.9em; }
    .call-to-action-card .card-button .btn { font-size: 1em; padding: 10px 20px; }

    .nios-coaching-highlight h2 { font-size: 1.8em; }
    .mission-section { padding: 30px; }
    .mission-section p { font-size: 1.1em; }
    .mission-section .mission-tagline { font-size: 1.1em; }

    .contact-details-grid { grid-template-columns: 1fr; }
    .contact-item .fas, .contact-item .fab { font-size: 2em; }

    .social-media h3 { font-size: 1.8em; }
    .social-icon { width: 48px; height: 48px; font-size: 1.7em; }
    .final-tagline { font-size: 1em; }

    /* Contact Us Page Specific Adjustments */
    .contact-header h1 { font-size: 2.5em; }
    .contact-header .header-intro-text { font-size: 1em; }
    .contact-header .header-helpline { font-size: 0.95em; flex-direction: column; gap: 10px; }

    .contact-info-block, .contact-form-block {
        padding: 25px;
        max-width: 95%;
        margin: 0 auto 30px;
    }
    .contact-info-block h2, .contact-form-block h2 { font-size: 1.6em; text-align: center; }

    .map-section .intro-text { font-size: 0.95em; }
    .map-container { padding-bottom: 75%; }

    .image-highlight-section .intro-text { font-size: 0.95em; } /* Responsive font size */

    .social-icons-large { flex-direction: column; gap: 15px; }
    .social-icon-lg {
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
        padding: 10px 20px;
        font-size: 0.95em;
    }
    .social-icon-lg .fab, .social-icon-lg .fas { font-size: 1.3em; }
}

/* Extra small devices (phones, up to 575.98px) */
@media (max-width: 575.98px) {
    /* Header (site-header) */
    .site-branding .custom-logo {
        max-height: 45px;
    }
    .site-branding .site-title a {
        font-size: 1.2em;
    }
    .menu-toggle {
        padding: 8px 12px;
        font-size: 1em;
    }

    /* About Us Page Sections */
    .about-header h1 { font-size: 2em; padding: 0 10px; }
    .hero-helpline { font-size: 0.9em; }
    .youtube-stats-section { margin-top: -30px; }
    .stat-value { font-size: 1.8em; }
    .stat-label { font-size: 0.8em; }

    .custom-section { padding: 20px; margin: 15px 0; }
    .custom-section h2 { font-size: 1.5em; }
    .intro-text { font-size: 0.95em; margin-bottom: 25px; }
    .grid-item h3 { font-size: 1.2em; }

    .special-section-item h3 { font-size: 1em; }

    .call-to-action-card .card-content h3 { font-size: 1.4em; }
    .call-to-action-card .tagline { font-size: 0.85em; }
    .call-to-action-card .card-button .btn { font-size: 0.9em; padding: 8px 15px; }

    .nios-coaching-highlight h2 { font-size: 1.5em; }
    .coaching-card h3 { font-size: 1.2em; }
    .mission-section { padding: 30px; }
    .mission-section p { font-size: 1em; }
    .mission-section .mission-tagline { font-size: 1em; }

    .contact-item { padding: 20px; }
    .contact-item h4 { font-size: 1.1em; }

    .social-icons { gap: 15px; }
    .social-icon { width: 45px; height: 45px; font-size: 1.5em; }
    .final-tagline { font-size: 0.9em; }

/* --- Animation & Enhanced Shadow Effects (Appended to custom.css) --- */

/* Enhance custom sections for a more dynamic shadow and subtle scale */
.custom-section {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* Slightly stronger initial shadow */
}

.custom-section:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

/* Specific enhancements for contact blocks */
.contact-info-block,
.contact-form-block {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08); /* Initial shadow for blocks */
}

.contact-info-block:hover,
.contact-form-block:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Enhanced shadow on hover */
}

/* Enhanced Map and Image Shadows */
.map-container,
.image-highlight-section .image-wrapper {
    transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* More prominent shadow */
}

.map-container:hover,
.image-highlight-section .image-wrapper:hover {
    transform: translateY(-5px); /* Lift map/image on hover */
    box-shadow: 0 18px 50px rgba(0,0,0,0.25); /* Deeper shadow on hover */
}

/* Subtle animation for the image itself on hover */
.contact-page-image { /* Class added to the img tag in page-contact-us.php */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth animation for image */
}

.image-highlight-section .image-wrapper:hover .contact-page-image {
    transform: scale(1.02); /* Slightly zoom in the image on hover */
}

/* Enhanced Social Buttons */
.social-icon-lg {
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* More pronounced initial shadow */
}

.social-icon-lg:hover {
    transform: translateY(-7px) scale(1.05); /* More lift and scale */
    box-shadow: 0 12px 30px rgba(0,0,0,0.25); /* Deeper shadow on hover */
}

/* Animation for Coaching Cards (copied from About Us, but ensure it's effective) */
.coaching-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 5px 20px rgba(0,0,0,0.07); /* Slightly stronger initial shadow */
}

.coaching-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* --- Responsive adjustments for new effects --- */
/* Ensure animations are not too aggressive on mobile, or scale correctly */
@media (max-width: 767.98px) {
    .custom-section:hover,
    .contact-info-block:hover,
    .contact-form-block:hover,
    .map-container:hover,
    .image-highlight-section .image-wrapper:hover,
    .coaching-card:hover,
    .social-icon-lg:hover {
        /* Reduce animation intensity or remove some transforms on smaller screens if they feel jarring */
        transform: translateY(-3px); /* Less pronounced lift */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Milder shadow */
    }
    .image-highlight-section .image-wrapper:hover .contact-page-image {
        transform: scale(1.01); /* Less zoom on mobile */
    }
}

@media (max-width: 575.98px) {
    /* Even less animation or simpler transitions for very small screens if needed */
    .custom-section:hover,
    .contact-info-block:hover,
    .contact-form-block:hover,
    .map-container:hover,
    .image-highlight-section .image-wrapper:hover,
    .coaching-card:hover,
    .social-icon-lg:hover {
        transform: none; /* No vertical lift */
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* Basic shadow */
    }
    .image-highlight-section .image-wrapper:hover .contact-page-image {
        transform: none; /* No zoom on smallest screens */
    }
}
/* Full Width Banner Section */
.full-width-banner-section {
    position: relative;
    width: 100%;
    height: 350px; /* Adjust height as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px; /* Space below the banner */
}

.full-width-banner-section .full-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without distortion */
    display: block;
}

.full-width-banner-section .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px;
}

.full-width-banner-section .banner-overlay h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #fff; /* Ensure text is white */
}

.full-width-banner-section .banner-overlay p {
    font-size: 1.2em;
    max-width: 700px;
    color: #fff; /* Ensure text is white */
}

/* Responsive adjustments for the banner */
@media (max-width: 768px) {
    .full-width-banner-section {
        height: 250px;
    }
    .full-width-banner-section .banner-overlay h2 {
        font-size: 1.8em;
    }
    .full-width-banner-section .banner-overlay p {
        font-size: 1em;
    }
}
/* Responsive Video Container */
.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width = 9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 20px; /* Space below the video */
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}