/*
Theme Name: Astra Child
Theme URI: https://vithu.itaskedlabs.com/
Description: Astra child theme for Vithu Trust Fund with project custom post type support
Author: Vithu Trust Fund
Author URI: https://vithu.org/
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* Remove top padding/margin from content area */
.content-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Project Hero Banner Styles */
.page-title-area {
    height: 450px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Background image for project pages */
.project-hero-banner {
    background-image: url('images/project-banner-bg.jpg');
}

/* Background image for journey page */
.journey-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

/* Background image for logo page */
.logo-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

/* Background image for about us page */
.about-us-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

/* Dark overlay */
.page-title-area:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #275b8f;
    opacity: 0.75;
}

/* d-table for vertical centering */
.d-table {
    width: 100%;
    height: 100%;
    display: table;
}

.d-table-cell {
    display: table-cell;
    vertical-align: middle;
}

/* Title content */
.page-title-area .title-item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title-area .title-item h2 {
    font-size: 65px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Breadcrumbs */
.page-title-area .title-item ul.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-title-area .title-item ul.breadcrumbs li {
    display: inline-block;
    position: relative;
    padding: 0 15px;
    font-size: 18px;
}

.page-title-area .title-item ul.breadcrumbs li:before {
    content: "/";
    position: absolute;
    left: 0;
    color: #fff;
}

.page-title-area .title-item ul.breadcrumbs li:first-child:before {
    display: none;
}

.page-title-area .title-item ul.breadcrumbs li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-title-area .title-item ul.breadcrumbs li a:hover {
    color: #ff6b35;
}

.page-title-area .title-item ul.breadcrumbs li span {
    color: #fff;
}

.page-title-area .title-item ul.breadcrumbs li:last-child {
    font-weight: 700;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title-area {
        height: 300px;
    }

    .page-title-area .title-item h2 {
        font-size: 36px;
    }

    .page-title-area .title-item ul.breadcrumbs li {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* Fix hero banner layout - force vertical stacking with flexbox */
body.single-project .site-content,
body.single-event .site-content,
body.single-post .site-content {
    display: flex !important;
    flex-direction: column !important;
}

body.single-project .site-content > .ast-container,
body.single-event .site-content > .ast-container,
body.single-post .site-content > .ast-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

body.single-project .page-title-area,
body.single-event .page-title-area,
body.single-post .page-title-area {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    order: -1; /* Ensures hero banner appears first */
}

body.single-project .ast-container,
body.single-event .ast-container,
body.single-post .ast-container {
    width: 100%;
}

/* Utility Classes (Bootstrap-style) */
.pt-100 {
    padding-top: 100px;
}

.pb-70 {
    padding-bottom: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Project Details Area - Full Width Section */
.project-details-area {
    background-color: #fff;
    padding-top: 0;
    padding-bottom: 0;
}

/* White content box */
.project-details-area .project-single {
    background-color: #fff;
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    margin: 0;
}

/* Project meta box styling inside details area */
.project-details-area .project-meta {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 0;
    border-left: 4px solid #275b8f;
    margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pt-100 {
        padding-top: 0;
    }

    .pb-70 {
        padding-bottom: 0;
    }

    .project-details-area .project-single {
        padding: 15px;
    }
}

/* Project Single Page Styles */
.project-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* Padding handled by .project-details-area .project-single */
}

.project-featured-image {
    margin-bottom: 30px;
}

.project-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-content {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
}

/* Project Metadata Styles */
.project-meta {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #007cba;
}

.project-meta p {
    margin: 10px 0;
    font-size: 15px;
}

.project-meta strong {
    color: #333;
    font-weight: 600;
    min-width: 120px;
    display: inline-block;
}

/* Project Gallery Styles */
.project-gallery {
    margin-top: 40px;
}

/* Gallery Section Title */
.project-gallery .section-title {
    text-align: center;
    margin-bottom: 40px;
    margin-top: -5px;
    position: relative;
    z-index: 1;
}

.project-gallery .section-title h2 {
    font-size: 35px;
    margin-bottom: 10px;
    color: #275b8f;
    font-weight: 700;
}

/* Gallery subtitle - match h2 color and make bold */
.project-gallery .section-title .sub-title {
    color: #275b8f;
    font-weight: 700;
}

.project-gallery .section-title p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .gallery-item img {
        height: 180px;
    }

    .project-meta strong {
        display: block;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* Two-Column Layout Wrapper */
.project-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px; /* Main content + 380px sidebar */
    gap: 40px;
    margin-bottom: 60px;
}

.project-main-content {
    min-width: 0; /* Prevent grid blowout */
}

.project-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* Responsive: Stack on mobile */
@media screen and (max-width: 992px) {
    .project-main-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-sidebar {
        position: static;
    }
}

/* Recent Projects Section - SIDEBAR VERSION */
.recent-projects-section {
    background: #fff;
    padding: 25px;
    border-radius: 0;
}

.recent-projects-section .section-title {
    text-align: left; /* Left-aligned for sidebar */
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #275b8f;
}

.recent-projects-section .section-title h2 {
    font-size: 24px;
    color: #275b8f;
    margin-bottom: 5px;
    font-weight: 700;
}

.recent-projects-section .section-title p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Recent Projects List - SINGLE COLUMN (YouTube-style) */
.recent-projects-grid {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Vertical spacing between cards */
}

/* Horizontal Card - Smaller for sidebar */
.recent-project-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 10px;
    gap: 12px;
}

.recent-project-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Smaller thumbnail for sidebar */
.recent-project-item .project-thumbnail {
    flex-shrink: 0;
    width: 100px; /* Smaller than main layout */
    height: 75px;
    overflow: hidden;
    border-radius: 4px;
}

.recent-project-item .project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.recent-project-item:hover .project-thumbnail img {
    transform: scale(1.05);
}

/* Content area */
.recent-project-item .project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Allow text truncation */
}

.recent-project-item .project-title {
    margin: 0 0 5px 0;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.recent-project-item .project-title a {
    color: #1d2327;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-project-item .project-title a:hover {
    color: #0e75c0;
}

.recent-project-item .project-author {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.recent-project-item .project-author a {
    color: #275b8f;
    text-decoration: none;
    font-weight: 500;
}

.recent-project-item .project-author a:hover {
    color: #0e75c0;
    text-decoration: underline;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    /* On mobile, Recent Projects appear below main content */
    .recent-projects-section {
        padding: 20px;
    }

    .recent-projects-section .section-title {
        text-align: center;
    }

    .recent-project-item .project-thumbnail {
        width: 120px;
        height: 90px;
    }
}

/* ========================================
   Fix Blog Post Container Width
   Override Astra's narrow container for posts
   ======================================== */

/* Force blog posts to use full container width (1200px) instead of narrow (750px) */
body.single-post.ast-narrow-container .site-content > .ast-container {
    max-width: 1200px !important;
}

/* Alternative: Override the CSS variable */
body.single-post.ast-narrow-container {
    --ast-narrow-container-width: 1200px;
}

/* ========================================
   Additional Grid Columns for About Page
   ======================================== */

.col-lg-2 {
    flex: 0 0 20%;
    max-width: 20%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 991px) {
    .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .col-sm-6, .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ========================================
   About Us Page - Complete Redesign
   ======================================== */

/* Blue Hero Banner */
.about-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 0 0 60px 0;
    text-align: center;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
}

.about-hero-banner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #275b8f;
    opacity: 0.75;
}

.about-hero-banner .container {
    position: relative;
    z-index: 1;
}

.about-hero-banner h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}

/* Two-Column Intro Section */
.about-intro-section {
    background: #fff;
}

.about-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-intro-content h2 {
    font-size: 32px;
    color: #275b8f;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-intro-content p:last-child {
    margin-bottom: 0;
}

/* Quote Section */
.about-quote-section {
    background: #f9f9f9;
    padding: 80px 0;
}

.about-quote-section blockquote {
    font-size: 18px;
    font-weight: 600;
    color: #302c51;
    text-align: center;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-quote-section cite {
    display: block;
    margin-top: 20px;
    font-size: 16px;
    color: #666;
    font-style: normal;
}

/* Raj-Vithuran Biography Section */
.about-biography-section {
    background: #fff;
}

.about-biography-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

/* Dream Area Section - Let's make a change */
.about-section {
    background: #fff;
}

.dream-area {
    background-color: #f4f8f7;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.dream-area .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.dream-item {
    margin-bottom: 30px;
    box-shadow: 0px 0px 20px 0px rgba(221, 221, 221, 0.55);
    border-radius: 30px 30px 0 30px;
    padding: 30px 25px 40px;
    position: relative;
    transition: 0.5s all ease;
    background-color: #fff;
}

.dream-item:hover {
    transform: translate(0, -10px);
    border-radius: 0;
}

.dream-item h3 {
    font-size: 18px;
    line-height: 1.4;
    color: #275b8f;
    margin-bottom: 15px;
}

.dream-item h3 a {
    color: #275b8f;
    text-decoration: none !important;
}

.dream-item h3 a:hover {
    color: #0e75c0;
    text-decoration: none !important;
}

.dream-item h3 a:focus,
.dream-item h3 a:active,
.dream-item h3 a:visited {
    text-decoration: none !important;
}

.dream-item p {
    color: #757575;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.dream-item h4 {
    font-size: 15px;
    font-weight: 500;
    color: #666;
    margin-bottom: 0;
}

.dream-item .sub-span {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    color: #275b8f;
    background-color: #e5e6ff;
    border-radius: 50%;
    position: absolute;
    bottom: 35px;
    right: 25px;
    font-weight: 600;
    font-size: 14px;
}

/* Mission Section */
.mission-section {
    background: #fff;
}

.mission-image .circular-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mission-badge {
    text-align: center;
    padding: 20px;
}

.mission-badge .badge-icon {
    width: 80px;
    height: 80px;
    background: #0e75c0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission-badge .badge-icon i {
    font-size: 40px;
    color: #fff;
}

.mission-badge h4 {
    font-size: 20px;
    color: #275b8f;
    font-weight: 600;
    margin-bottom: 10px;
}

.mission-badge p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Volunteer Profiles */
/* Team Area - Volunteers Section */
.team-area {
    background: #f9f9f9;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.team-area .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.team-item {
    text-align: center;
    margin-bottom: 30px;
    border-radius: 30px 30px 0 30px;
    box-shadow: 0px 0px 20px 0px rgba(221, 221, 221, 0.55);
    transition: 0.5s all ease;
    background: #fff;
}

.team-item:hover {
    transform: translate(0, -10px);
    border-radius: 0;
}

.team-item .top {
    position: relative;
}

.team-item .top img {
    width: 100%;
    border-radius: 30px 30px 0 30px;
    transition: 0.5s all ease;
}

.team-item:hover .top img {
    border-radius: 0;
}

.team-item .bottom {
    padding: 28px 25px 30px;
}

.team-item .bottom h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.team-item .bottom span {
    font-size: 14px;
    color: #0e75c0;
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.team-item .bottom p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CSS Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-intro-section,
.about-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.align-items-center {
    align-items: center;
}

/* Responsive */
@media (max-width: 991px) {
    .about-intro-image {
        margin-bottom: 30px;
    }

    .mission-image {
        margin-bottom: 40px;
    }

    .team-item .bottom h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .team-item {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .about-hero-banner h1 {
        font-size: 36px;
    }

    .about-intro-content h2 {
        font-size: 26px;
    }

    .about-quote-section {
        padding: 60px 0;
    }

    .about-quote-section blockquote {
        font-size: 16px;
    }
}

/* ========================================
   Donate Page Styles
   ======================================== */

/* Blue Hero Banner for Donate Page */
.donate-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 0;
    text-align: center;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.donate-hero-banner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #275b8f;
    opacity: 0.75;
}

.donate-hero-banner .container {
    position: relative;
    z-index: 1;
}

.donate-hero-banner h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}

/* Donation Section */
.donation-section {
    background: #fff;
}

.donation-section .section-title .sub-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.donation-section .section-title h2 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 0;
}

/* PayPal Donation Card */
.donation-card {
    background: #fff;
    border-radius: 30px 30px 0 30px;
    box-shadow: 0px 0px 20px 0px rgba(221, 221, 221, 0.55);
    padding: 40px;
    transition: 0.5s all ease;
}

.donation-card:hover {
    transform: translate(0, -5px);
    box-shadow: 0px 5px 30px 0px rgba(39, 91, 143, 0.2);
}

.donation-card-image {
    text-align: center;
}

.donation-card-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.donation-card-content {
    padding: 20px 0;
}

.donation-card-content h3 {
    font-size: 28px;
    color: #275b8f;
    font-weight: 700;
    margin-bottom: 15px;
}

.donation-card-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.donate-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #0e75c0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s all ease;
}

.donate-btn:hover {
    background-color: #275b8f;
    color: #fff;
    text-decoration: none;
}

/* Horizontal Divider */
.donation-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 40px 0;
}

/* Country Flags Section */
.donation-flags {
    padding-top: 30px;
}

.flag-item {
    background: #fff;
    border-radius: 30px 30px 0 30px;
    box-shadow: 0px 0px 20px 0px rgba(221, 221, 221, 0.55);
    padding: 30px 20px;
    text-align: center;
    transition: 0.5s all ease;
    cursor: pointer;
    display: block;
}

.flag-item:hover {
    transform: translate(0, -10px);
    border-radius: 0;
    box-shadow: 0px 5px 30px 0px rgba(39, 91, 143, 0.2);
}

.flag-link {
    text-decoration: none;
}

.flag-link:hover {
    text-decoration: none;
}

.flag-image {
    margin-bottom: 15px;
}

.flag-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flag-item h4 {
    font-size: 18px;
    color: #275b8f;
    font-weight: 600;
    margin: 0;
}

/* Force donation flags to stay in one row on tablets */
.donation-flags .row {
    flex-wrap: nowrap;
}

.donation-flags .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

@media (max-width: 767px) {
    .donation-flags .row {
        flex-wrap: wrap;
    }
    .donation-flags .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Red Donate Button for Country Tiles */
.donate-btn-red {
    display: inline-block;
    padding: 10px 25px;
    background-color: #dc3545;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    margin-top: 15px;
    transition: 0.3s all ease;
}

.donate-btn-red:hover {
    background-color: #c82333;
    color: #fff;
}

.flag-item .donate-btn-red {
    display: block;
    margin: 15px auto 0;
    width: fit-content;
}

/* Bootstrap Modal Overrides for Donation Page */
.donation-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.donation-modal .modal-header {
    background: #275b8f;
    color: #fff;
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
    border-bottom: none;
}

.donation-modal .modal-title {
    font-weight: 700;
    font-size: 20px;
}

.donation-modal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.donation-modal .modal-header .btn-close:hover {
    opacity: 1;
}

.donation-modal .modal-body {
    padding: 30px 25px;
}

.donation-modal .modal-footer {
    padding: 15px 25px 20px;
    border-top: 1px solid #eee;
}

.donation-modal .modal-footer .btn-secondary {
    background-color: #0e75c0;
    border-color: #0e75c0;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
}

.donation-modal .modal-footer .btn-secondary:hover {
    background-color: #275b8f;
    border-color: #275b8f;
}

/* Bank Details Table */
.bank-details-table {
    width: 100%;
    border-collapse: collapse;
}

.bank-details-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.bank-details-table tr:last-child {
    border-bottom: none;
}

.bank-details-table td {
    padding: 12px 5px;
    font-size: 15px;
    vertical-align: top;
}

.bank-details-table td:first-child {
    width: 40%;
    color: #333;
}

.bank-details-table td:last-child {
    color: #275b8f;
    font-weight: 500;
}

/* Responsive Donate Page */
@media (max-width: 991px) {
    .donation-card {
        padding: 30px;
    }

    .donation-card-image {
        margin-bottom: 30px;
    }

    .donation-card-content {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .donate-hero-banner h1 {
        font-size: 36px;
    }

    .donation-section .section-title h2 {
        font-size: 24px;
    }

    .donation-card {
        padding: 25px;
    }

    .donation-card-content h3 {
        font-size: 22px;
    }

    .flag-item {
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575px) {
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* col-md-6 for medium screens */
@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* pt-50 utility class */
.pt-50 {
    padding-top: 50px;
}

/* ========================================
   About Our Logo Page Styles
   ======================================== */

.logo-page-section {
    background: #fff;
    padding: 60px 0;
}

.logo-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.logo-display {
    text-align: center;
    margin-bottom: 0;
    position: sticky;
    top: 20px;
}

.logo-display img {
    max-width: 100%;
    height: auto;
}

/* Mobile: Stack logo above accordion */
@media (max-width: 991px) {
    .logo-page-section .logo-display {
        margin-bottom: 30px;
        position: static;
    }
}

/* Bootstrap Accordion Overrides for Logo Page */
.logo-accordion .accordion-header button {
    font-weight: 600;
    color: #275b8f;
}

.logo-accordion .accordion-body img {
    max-width: 140px;
    padding-bottom: 5px;
    flex-shrink: 0;
}

.logo-accordion .accordion-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.logo-accordion .accordion-button {
    font-size: 18px;
}

.logo-accordion .accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #275b8f;
    box-shadow: none;
}

.logo-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: #275b8f;
}

.logo-accordion .accordion-body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.logo-accordion .accordion-body p {
    margin: 0;
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

/* Mobile: Stack image above text */
@media (max-width: 576px) {
    .logo-display img {
        max-width: 200px;
    }

    .logo-accordion .accordion-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-accordion .accordion-body img {
        margin-bottom: 15px;
    }
}

/* ========================================
   Our Journey Page Styles
   ======================================== */

.journey-section {
    background: #fff;
    padding: 60px 0;
}

.journey-map {
    margin-bottom: 0;
    position: sticky;
    top: 20px;
}

.journey-map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.journey-map .map-caption {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #275b8f;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.journey-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

.journey-content p:last-child {
    margin-bottom: 0;
}

/* Mobile: Stack map above content */
@media (max-width: 991px) {
    .journey-map {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .journey-section {
        padding: 40px 0;
    }

    .journey-content p {
        font-size: 15px;
        text-align: left;
    }
}

/* ========================================
   Awards Page Styles
   ======================================== */

/* Background image for awards page */
.awards-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

.awards-section {
    background: #fff;
    padding: 80px 0;
}

.award-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.award-image {
    text-align: center;
    padding: 20px;
    margin-bottom: 15px;
}

.award-image img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}

.award-content {
    padding: 0 10px;
}

.award-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #275b8f;
    margin-bottom: 10px;
}

.award-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 15px;
}

.award-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

/* Mobile: Stack image above content */
@media (max-width: 991px) {
    .award-item {
        padding: 30px;
    }

    .award-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .awards-section {
        padding: 50px 0;
    }

    .award-item {
        padding: 25px;
        margin-bottom: 30px;
    }

    .award-content h3 {
        font-size: 24px;
    }

    .award-content h4 {
        font-size: 16px;
    }

    .award-content p {
        font-size: 15px;
    }
}

/* Fix: Ensure col-lg-4 overrides col-sm-6 on large screens for 3-column layout */
@media (min-width: 992px) {
    .col-sm-6.col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* ========================================
   Volunteer Page Styles
   ======================================== */

/* Volunteer Page Hero Banner */
.volunteer-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

/* About Area - Volunteering Intro */
.about-area {
    background: #fff;
}

.about-area p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.about-area p b {
    color: #275b8f;
}

.about-area p a {
    color: #0e75c0;
    text-decoration: none;
}

.about-area p a:hover {
    text-decoration: underline;
}

.about-area h3 {
    font-size: 24px;
    font-weight: 700;
    color: #275b8f;
    margin-bottom: 15px;
}

.about-area .img-thumbnail {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
}

/* Common Button Style */
.common-btn {
    display: inline-block;
    background: #0e75c0;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.common-btn:hover {
    background: #275b8f;
    color: #fff;
    text-decoration: none;
}

/* Section Title Styles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .sub-title {
    display: block;
    font-size: 14px;
    color: #0e75c0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 35px;
    color: #275b8f;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Padding utilities */
.pt-3 {
    padding-top: 1rem;
}

.pt-5 {
    padding-top: 3rem;
}

/* Responsive for About Area */
@media (max-width: 991px) {
    .about-area .col-lg-4 {
        margin-top: 30px;
    }

    .about-area .col-lg-8 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 28px;
    }

    .about-area h3 {
        font-size: 20px;
    }
}

/* ========================================
   Sponsorship Page Styles
   ======================================== */

/* Sponsorship Page Hero Banner */
.sponsorship-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

/* Sponsorship List Styling */
.sponsorship-list {
    list-style: disc;
    padding-left: 40px;
    margin-top: 10px;
}

.sponsorship-list li {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #666;
}

.sponsorship-list li b {
    color: #275b8f;
}

/* Sponsorship Images */
.sponsorship-images img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.sponsorship-images img.pt-4 {
    margin-top: 1.5rem;
}

/* Sponsorship Note */
.sponsorship-note {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0e75c0;
}

.sponsorship-note a {
    color: #0e75c0;
    text-decoration: none;
}

.sponsorship-note a:hover {
    text-decoration: underline;
}

/* Responsive for Sponsorship Page */
@media (max-width: 991px) {
    .sponsorship-images {
        margin-top: 30px;
    }
}

/* ========================================
   Our Pledge Page Styles
   ======================================== */

/* Our Pledge Page Hero Banner */
.pledge-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

/* Pledge Content Styling */
.pledge-content {
    max-width: 900px;
}

.pledge-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.pledge-content p b {
    color: #275b8f;
    font-size: 18px;
}

.pledge-intro {
    font-size: 20px !important;
    font-weight: 600;
    color: #275b8f !important;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0e75c0;
    margin-bottom: 30px !important;
}

/* Responsive for Pledge Page */
@media (max-width: 768px) {
    .pledge-content p b {
        font-size: 16px;
    }

    .pledge-intro {
        font-size: 18px !important;
        padding: 15px;
    }
}

/* ========================================
   AmazonSmile Page Styles
   ======================================== */

/* AmazonSmile Page Hero Banner */
.amazonsmile-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

/* AmazonSmile Logo */
.amazonsmile-logo {
    max-width: 300px;
    margin-bottom: 30px;
    border-radius: 8px;
}

/* AmazonSmile Banner */
.amazonsmile-banner {
    max-width: 100%;
    margin: 20px 0;
}

/* AmazonSmile Content */
.amazonsmile-content {
    max-width: 900px;
}

.amazonsmile-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.amazonsmile-content p b {
    color: #275b8f;
    font-size: 18px;
}

.amazonsmile-content a {
    color: #0e75c0;
    text-decoration: none;
}

.amazonsmile-content a:hover {
    text-decoration: underline;
}

/* AmazonSmile Steps List */
.amazonsmile-steps {
    padding-left: 40px;
    margin-bottom: 25px;
}

.amazonsmile-steps li {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* Thank You Message */
.amazonsmile-thankyou {
    font-style: italic;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0e75c0;
}

/* Responsive for AmazonSmile Page */
@media (max-width: 768px) {
    .amazonsmile-logo {
        max-width: 200px;
    }

    .amazonsmile-steps {
        padding-left: 25px;
    }
}

/* ========================================
   Accounts Page Styles
   ======================================== */

/* Accounts Page Hero Banner */
.accounts-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

/* Accounts Content Container */
.accounts-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Accounts Card Styling */
.accounts-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.accounts-card h3 {
    font-size: 22px;
    color: #275b8f;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid #0e75c0;
    padding-bottom: 10px;
}

.accounts-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

/* Stat Cards (Financial Summary) - Glassmorphism Style */
.accounts-stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    color: #275b8f;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.accounts-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.25);
}

.accounts-stat-card .stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.accounts-stat-card h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #666;
}

.accounts-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    display: block;
    color: #0e75c0;
}

/* Accounts Note */
.accounts-note {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
}

.accounts-note p {
    margin: 0;
    font-size: 15px;
    color: #666;
    font-style: italic;
}

/* Accounts Highlight Box */
.accounts-highlight {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #0e75c0;
    text-align: center;
}

.accounts-highlight p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #275b8f;
}

/* Accounts Table */
.accounts-table-wrapper {
    overflow-x: auto;
}

.accounts-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.accounts-table thead {
    background: #275b8f;
    color: #fff;
}

.accounts-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accounts-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #666;
}

.accounts-table tbody tr:last-child td {
    border-bottom: none;
}

.accounts-table tbody tr:hover {
    background: #f9f9f9;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.on-time {
    background: #d4edda;
    color: #155724;
}

/* Chart Wrapper */
.accounts-chart-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}

/* Registration Cards */
.registration-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.registration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.registration-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.registration-card h4 {
    font-size: 18px;
    color: #275b8f;
    font-weight: 700;
    margin-bottom: 10px;
}

.registration-card .reg-number {
    font-size: 20px;
    color: #0e75c0;
    font-weight: 600;
}

/* Responsive for Accounts Page */
@media (max-width: 768px) {
    .accounts-stat-card {
        padding: 20px 15px;
    }

    .accounts-stat-card .stat-value {
        font-size: 24px;
    }

    .accounts-table th,
    .accounts-table td {
        padding: 12px 15px;
        font-size: 13px;
    }

    .accounts-chart-wrapper {
        padding: 20px 15px;
    }

    .registration-card img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .accounts-card {
        padding: 20px;
    }

    .accounts-card h3 {
        font-size: 18px;
    }

    .accounts-highlight p {
        font-size: 16px;
    }
}

/* ========================================
   Our Partners Page Styles
   ======================================== */

/* Partners Page Hero Banner */
.partners-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/about-hero-bg.jpg');
}

/* Partners Grid */
.partners-grid {
    max-width: 1000px;
    margin: 0 auto;
}

/* Partner Card */
.partner-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(39, 91, 143, 0.2);
    text-decoration: none;
}

/* Partner Logo Container */
.partner-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo img {
    transform: scale(1.05);
}

/* Partner Name */
.partner-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #275b8f;
    margin-top: 10px;
}

.partner-card:hover .partner-name {
    color: #0e75c0;
}

/* Partners Thank You Message */
.partners-thankyou {
    max-width: 700px;
    margin: 50px auto 0;
}

.partners-thankyou p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #0e75c0;
}

/* Responsive for Partners Page */
@media (max-width: 768px) {
    .partner-logo {
        height: 100px;
    }

    .partner-card {
        padding: 20px 15px;
    }

    .partner-name {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .partner-logo {
        height: 80px;
    }
}

/* =========================================
   Social Icon Links - Remove Underline
   ========================================= */
a [class*="icofont-"],
a[class*="icofont-"] {
    text-decoration: none !important;
}

a:hover [class*="icofont-"],
a:hover[class*="icofont-"] {
    text-decoration: none !important;
}

/* =========================================
   Show Dropdown Arrow for Menu Items
   ========================================= */
/* Force show the dropdown toggle on desktop */
.ast-desktop .menu-item-has-children > .menu-link > .dropdown-menu-toggle,
.ast-desktop .menu-item.menu-item-has-children > a.menu-link > span.dropdown-menu-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin-left: 5px !important;
    vertical-align: middle !important;
}

/* Style the icon container */
.ast-desktop .dropdown-menu-toggle .ast-icon.icon-arrow {
    display: inline-flex !important;
    visibility: visible !important;
}

/* Style the SVG arrow */
.ast-desktop .dropdown-menu-toggle .ast-arrow-svg {
    width: 10px !important;
    height: 10px !important;
    fill: currentColor !important;
    display: inline-block !important;
    visibility: visible !important;
}

/* SVG path fill */
.ast-desktop .dropdown-menu-toggle .ast-arrow-svg path {
    fill: currentColor !important;
}

/* Hide toggle button on desktop only - keep it visible on mobile for tree navigation */
.ast-desktop .ast-menu-toggle {
    display: none !important;
}

/* Prevent menu from wrapping to multiple lines */
.ast-desktop .main-header-menu {
    flex-wrap: nowrap !important;
}

/* Menu link styling - prevent wrapping and reduce padding */
.ast-desktop .main-header-menu > .menu-item > .menu-link {
    white-space: nowrap !important;
    padding: 0 0.6em !important;
}

/* Keep normal padding for dropdown submenu items */
.ast-desktop .main-header-menu .sub-menu .menu-link {
    padding: 0.9em 1em !important;
}

/* Dropdown submenu hover - white background with blue text */
.ast-desktop .main-header-menu .sub-menu .menu-item:hover > .menu-link,
.ast-desktop .main-header-menu .sub-menu .menu-item.focus > .menu-link {
    background-color: #fff !important;
    color: #275b8f !important;
}

/* ========================================
   Mobile Menu Submenu Fix
   ======================================== */

/* Ensure toggle buttons are visible and clickable on mobile */
.ast-header-break-point .menu-item-has-children > .ast-menu-toggle,
.ast-mobile-popup-drawer .menu-item-has-children > .ast-menu-toggle,
.ast-mobile-header-content .menu-item-has-children > .ast-menu-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    /* Make toggle button visible with color */
    color: #275b8f !important;
    background-color: rgba(39, 91, 143, 0.1);
    border-radius: 4px;
}

/* SVG icon fill color - ensure arrow is visible */
.ast-mobile-popup-drawer .ast-menu-toggle .ast-icon,
.ast-mobile-popup-drawer .ast-menu-toggle svg,
.ast-mobile-header-content .ast-menu-toggle .ast-icon,
.ast-mobile-header-content .ast-menu-toggle svg,
.ast-header-break-point .ast-menu-toggle .ast-icon,
.ast-header-break-point .ast-menu-toggle svg {
    fill: #275b8f !important;
    color: #275b8f !important;
}

/* Ensure proper overflow for submenus */
.ast-header-break-point .menu-item-has-children,
.ast-mobile-popup-drawer .menu-item-has-children {
    overflow: visible;
    position: relative;
}

/* Submenu base styles - hidden by default */
.ast-mobile-popup-drawer .menu-item-has-children > .sub-menu {
    display: none;
    z-index: 999;
    position: relative;
    width: 100%;
    padding-left: 15px;
    background: transparent;
}

/* Show submenu when expanded */
.ast-mobile-popup-drawer .menu-item-has-children.ast-submenu-expanded > .sub-menu {
    display: block !important;
}

/* Menu link styling to accommodate toggle button */
.ast-mobile-popup-drawer .menu-item-has-children > .menu-link {
    padding-right: 50px !important;
}

/* Submenu items styling */
.ast-mobile-popup-drawer .sub-menu .menu-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ast-mobile-popup-drawer .sub-menu .menu-link {
    padding: 10px 15px;
    font-size: 14px;
}

/* Toggle button arrow rotation */
.ast-mobile-popup-drawer .menu-item-has-children > .ast-menu-toggle .ast-icon {
    transition: transform 0.3s ease;
}

.ast-mobile-popup-drawer .menu-item-has-children.ast-submenu-expanded > .ast-menu-toggle .ast-icon {
    transform: rotate(180deg);
}

/* Ensure nested submenus work */
.ast-mobile-popup-drawer .sub-menu .menu-item-has-children > .sub-menu {
    padding-left: 15px;
}

/* Additional mobile menu fixes for Off-Canvas/Popup Drawer */
.ast-mobile-popup-drawer .ast-builder-menu-mobile .main-header-menu .menu-item-has-children.ast-submenu-expanded > .sub-menu,
.ast-mobile-popup-drawer .main-header-menu .menu-item-has-children.ast-submenu-expanded > .sub-menu,
.ast-mobile-header-content .main-header-menu .menu-item-has-children.ast-submenu-expanded > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

/* Ensure menu toggle buttons are always clickable */
.ast-mobile-popup-drawer .ast-menu-toggle,
.ast-mobile-header-content .ast-menu-toggle {
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Fix for popup drawer menu overflow */
.ast-mobile-popup-drawer .ast-builder-menu-mobile,
.ast-mobile-popup-drawer .main-navigation,
.ast-mobile-popup-drawer .main-header-menu {
    overflow: visible !important;
}

/* Ensure submenu visibility when parent is expanded */
.menu-item-has-children.ast-submenu-expanded > ul.sub-menu {
    display: block !important;
}

/* ========================================
   Mobile Menu Toggle Button Styling
   (Solid blue button with > arrow icon)
   ======================================== */
.ast-header-break-point.elementor-page .ast-menu-toggle,
.elementor-page .ast-mobile-popup-drawer .ast-menu-toggle,
.elementor-page .ast-mobile-header-content .ast-menu-toggle,
.ast-header-break-point.elementor-page .menu-item-has-children > .ast-menu-toggle,
.ast-mobile-popup-drawer .ast-menu-toggle,
.ast-mobile-header-content .ast-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #275b8f !important;
    border-radius: 4px;
    visibility: visible !important;
    opacity: 1 !important;
    vertical-align: middle;
    margin-left: 8px;
    margin-top: 20px;
    flex-shrink: 0;
}

/* Hide default SVG icon */
.ast-header-break-point.elementor-page .ast-menu-toggle svg,
.ast-header-break-point.elementor-page .ast-menu-toggle .ast-icon,
.ast-mobile-popup-drawer .ast-menu-toggle svg,
.ast-mobile-popup-drawer .ast-menu-toggle .ast-icon,
.ast-mobile-header-content .ast-menu-toggle svg,
.ast-mobile-header-content .ast-menu-toggle .ast-icon {
    display: none !important;
}

/* Add chevron arrow using CSS ::after */
.ast-header-break-point.elementor-page .ast-menu-toggle::after,
.ast-mobile-popup-drawer .ast-menu-toggle::after,
.ast-mobile-header-content .ast-menu-toggle::after {
    content: "›";
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* Rotate arrow when expanded (points down) */
.ast-submenu-expanded > .ast-menu-toggle::after,
.menu-item-has-children.ast-submenu-expanded > .ast-menu-toggle::after {
    transform: rotate(90deg);
}

/* Hover state */
.elementor-page .ast-menu-toggle:hover,
.ast-mobile-popup-drawer .ast-menu-toggle:hover,
.ast-mobile-header-content .ast-menu-toggle:hover {
    background-color: #1a3d5c !important;
}

/* ========================================
   Fix Mobile Submenu Text Color
   (White text on white background issue)
   ======================================== */
.ast-mobile-popup-drawer .sub-menu .menu-link,
.ast-mobile-header-content .sub-menu .menu-link,
.elementor-page .ast-mobile-popup-drawer .sub-menu .menu-link,
.elementor-page .ast-mobile-header-content .sub-menu .menu-link {
    color: #275b8f !important;
}

/* Hover state for submenu links */
.ast-mobile-popup-drawer .sub-menu .menu-link:hover,
.ast-mobile-header-content .sub-menu .menu-link:hover {
    color: #1a3d5c !important;
    background-color: rgba(39, 91, 143, 0.1) !important;
}

/* ========================================
   Remove Underline from Social Media Icons
   ======================================== */
/* Target parent <a> links that contain icofont icons using :has() */
a:has(.icofont-facebook),
a:has(.icofont-twitter),
a:has(.icofont-instagram),
a:has(.icofont-youtube-play),
a:has(.icofont-linkedin),
a:has([class*="icofont-"]) {
    text-decoration: none !important;
}

a:has([class*="icofont-"]):hover {
    text-decoration: none !important;
}

/* Fallback for browsers without :has() support */
.footer-social-inline a,
.site-header li a:has(i),
header li a {
    text-decoration: none !important;
}

/* ========================================
   Contact Page Styles (Replicated from vithu.org)
   ======================================== */

/* Hero Banner for Contact Page */
.contact-hero-banner {
    background-image: url('/wp-content/uploads/vithu-assets/images/contact-hero-bg.jpg');
}

/* Contact Form Area */
.contact-area {
    padding-top: 100px;
    padding-bottom: 70px;
    background-color: #fff;
}

.contact-area .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-area .wpcf7 {
    max-width: 800px;
    margin: 0 auto;
}

.contact-area .contact-form-wrapper h2 {
    font-size: 25px;
    margin-bottom: 5px;
    margin-top: -5px;
    color: #333;
    font-weight: 700;
}

.contact-area .contact-form-wrapper > p {
    margin-bottom: 30px;
    color: #666;
}

.contact-area .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.contact-area .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

.contact-area .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.contact-area .form-group {
    margin-bottom: 15px;
    position: relative;
}

.contact-area .form-group label {
    margin-bottom: 0;
}

.contact-area .form-group label i {
    position: absolute;
    top: 16px;
    left: 27px;
    margin-top: 25px;
    margin-left: -10px;
    font-size: 17px;
    color: #275b8f;
    z-index: 1;
}

.contact-area .form-group .wpcf7-form-control-wrap {
    display: block;
}

.contact-area .form-group .form-control,
.contact-area .form-group input[type="text"],
.contact-area .form-group input[type="email"],
.contact-area .form-group input[type="tel"],
.contact-area .form-group textarea {
    height: 50px;
    border-radius: 5px;
    background-color: #f9f9f9;
    padding-left: 40px;
    padding-right: 15px;
    font-size: 15px;
    border: none;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

.contact-area .form-group textarea {
    height: auto !important;
    padding-top: 13px;
    min-height: 180px;
    resize: vertical;
}

.contact-area .form-group .form-control:focus,
.contact-area .form-group input:focus,
.contact-area .form-group textarea:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid #275b8f;
    background-color: #fff;
}

/* Submit Button */
.contact-area .btn.common-btn,
.contact-area .wpcf7-submit,
.contact-area input[type="submit"] {
    color: #fff !important;
    background-color: #275b8f !important;
    display: block;
    width: 100%;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-area .btn.common-btn:hover,
.contact-area .wpcf7-submit:hover,
.contact-area input[type="submit"]:hover {
    background-color: #0e75c0 !important;
    transform: translateY(-5px);
}

/* Success/Error Messages */
.contact-area .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px !important;
    border-radius: 5px;
    text-align: center;
}

.contact-area .wpcf7 form.sent .wpcf7-response-output {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb !important;
}

.contact-area .wpcf7 form.invalid .wpcf7-response-output,
.contact-area .wpcf7 form.failed .wpcf7-response-output {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb !important;
}

/* Validation error on individual fields */
.contact-area .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* Spinner while submitting */
.contact-area .wpcf7-spinner {
    margin: 10px auto;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .contact-area .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .contact-area {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .contact-area .contact-form-wrapper {
        text-align: center;
    }

    .contact-area .contact-form-wrapper h2 {
        font-size: 22px;
    }

    .contact-area .form-group label i {
        left: 27px;
    }
}
