@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap');

/* ==========================================================
   STANDARDIZED GLOBAL FOOTER STYLES
   Used across all pages for pixel-perfect consistency
   ========================================================== */

.footer {
    width: 100%;
    margin-top: 0;
    background: #061b36;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.footer * {
    box-sizing: border-box;
}

.footer-container {
    width: 98%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 42px 0 24px 0;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1.4fr;
    gap: 35px;
    align-items: start;
}

.footer-col {
    position: relative;
}

.footer-col.foundation {
    margin-left: 0;
}

.footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -17px;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-box img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 4px 0;
}

.footer-logo-content h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #d9d9d9;
    text-transform: uppercase;
    line-height: 1.6;
    margin: 0;
}

.foundation-text {
    color: #d8d8d8;
    font-size: 15px;
    line-height: 1.8;
    max-width: 320px;
    margin-bottom: 22px;
}

.footer-col h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 24px 0;
    color: #ffffff;
    line-height: 1.3;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: #e7e7e7;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f57c00;
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.social-icons a {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 4px;
    background: #453722;
    border-radius: 50%;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #fe8307;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.social-icons a:hover {
    background: #f57c00;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.4);
}

.contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px !important;
    line-height: 1.5;
    color: #e7e7e7;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact p:last-child {
    margin-bottom: 0 !important;
}

.contact p:hover {
    color: #f57c00;
}

.contact p a {
    color: inherit;
    text-decoration: none;
    line-height: 1.4;
    padding: 2px 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    box-sizing: border-box;
}

.contact p a:hover {
    color: #F8941D;
}

.footer-col.contact p a[href*="anishjadhavmemorialfoundation.org"] {
    transition: color 0.3s ease !important;
}

.footer-col.contact p a[href*="anishjadhavmemorialfoundation.org"]:hover {
    color: #F8941D !important;
}

.contact i {
    color: #f57c00;
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
}

.newsletter p {
    color: #dcdcdc;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.newsletter form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.newsletter input {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    outline: none;
    padding: 0 18px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    border-radius: 6px;
    margin-bottom: 14px;
    color: #333333;
    box-sizing: border-box;
}

.newsletter input::placeholder {
    font-size: 15px;
    color: #777777;
}

.newsletter button {
    width: 100%;
    height: 52px;
    border: none;
    cursor: pointer;
    background: #f57c00;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.newsletter button:hover {
    background: #e56f00;
    transform: translateY(-2px);
}

.newsletter-message {
    margin-top: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
    transition: all 0.3s ease;
    min-height: 20px;
}

.newsletter-message.success {
    color: #4caf50;
    font-weight: 500;
}

.newsletter-message.error {
    color: #ff5252;
    font-weight: 500;
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d8d8d8;
    font-size: 15px;
    width: 98%;
    max-width: 1700px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
}

/* ================= RESPONSIVE FOOTER MEDIA QUERIES ================= */

@media screen and (max-width: 1100px) {
    .footer-container {
        padding: 50px 24px 30px;
    }

    .footer-bottom {
        padding: 22px 24px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        padding: 45px 24px 25px;
    }

    .footer-col:not(:last-child)::after {
        display: none;
    }

    .footer-col.foundation {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .footer-container {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding: 35px 16px 20px !important;
    }

    .footer-col {
        width: 100% !important;
    }

    .footer-col.foundation {
        margin-left: 0 !important;
    }

    .footer-col:not(:last-child)::after {
        display: none !important;
    }

    .foundation-text {
        max-width: 100% !important;
        margin-bottom: 16px !important;
    }

    .contact p {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .footer-col ul li a {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 4px 0 !important;
    }

    .newsletter input,
    .newsletter button {
        width: 100% !important;
    }

    .footer-bottom {
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
        padding: 16px !important;
    }
}

/* ==========================================================
   SHARED OUR PARTNER SECTION STYLES
   ========================================================== */

/* ==========================================================
   SHARED OUR PARTNER SECTION STYLES (OVERLAPPING DESIGN)
   ========================================================== */

/* ==========================================================
   SHARED OUR PARTNER SECTION STYLES
   ========================================================== */

/* ==========================================================
   REBUILT & CLEAN OUR PARTNERSHIP SECTION STYLES
   Clean, standard section matching the site's design system
   ========================================================== */

.partner-impact-wrapper,
section.ajmf-values-outer-wrapper[id="partner"],
section.our-partner-section[id="partner"] {
    position: relative;
    width: 100%;
    padding: 60px 0 !important;
    margin: 0 !important;
    background: #f8fafc !important;
    overflow: hidden;
}

.partner-impact-wrapper::before,
section.ajmf-values-outer-wrapper[id="partner"]::before,
section.our-partner-section[id="partner"]::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url('watercolor_frame_bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.22 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.impact-section,
.programs-impact-section,
.campusled-impact-stats,
section.stats,
.ready-section,
.student-led-campus-page .ready-section {
    position: relative !important;
    overflow: hidden !important;
}

.impact-section::before,
.programs-impact-section::before,
.campusled-impact-stats::before,
section.stats::before,
.ready-section::before,
.student-led-campus-page .ready-section::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url('watercolor_frame_bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0.22 !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.partner-impact-wrapper > *,
section.ajmf-values-outer-wrapper[id="partner"] > *,
section.our-partner-section[id="partner"] > *,
.impact-section > *,
.programs-impact-section > *,
.campusled-impact-stats > *,
section.stats > *,
.ready-section > *,
.student-led-campus-page .ready-section > * {
    position: relative !important;
    z-index: 1 !important;
}

.partner-impact-wrapper::after,
section.ajmf-values-outer-wrapper[id="partner"]::after,
section.our-partner-section[id="partner"]::after {
    display: none !important;
    content: none !important;
}

.our-partner-wrapper {
    max-width: 1200px !important;
    width: 90% !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 2;
}

.partner-row-container {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
}

/* LEFT DARK NAVY PANEL */
.partner-left-panel {
    flex: 0 0 42%;
    max-width: 42%;
    background-color: #061325 !important;
    background-image: linear-gradient(90deg, rgba(6, 19, 37, 0.92) 0%, rgba(6, 19, 37, 0.65) 50%, rgba(11, 31, 59, 0.35) 100%),
        url('images-photo/partnership_bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 1px solid #1e293b;
    border-radius: 16px !important;
    padding: 36px 32px !important;
    box-shadow: 0 4px 20px rgba(11, 26, 48, 0.12) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.partner-left-panel::before,
.partner-left-panel::after {
    display: none !important;
    content: none !important;
}

.partner-left-panel>* {
    position: relative;
    z-index: 2;
}

.partner-left-panel .partner-tag {
    font-family: 'Poppins', sans-serif !important;
    color: #f97316 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    display: block !important;
}

.partner-left-panel .partner-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1.25 !important;
    margin: 0 0 16px 0 !important;
    font-weight: 700 !important;
}

.partner-left-panel .partner-title .highlight-orange {
    color: #f97316 !important;
}

.partner-left-panel .partner-desc {
    font-family: 'Poppins', sans-serif !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
    max-width: 100% !important;
}

.partner-left-panel .gurukul-text,
.partner-left-panel .navgurukul-name .gurukul-text,
.partner-desc .gurukul-text {
    color: #ffffff !important;
    font-weight: 600;
}

.partner-left-panel .btn-partner-learn {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f97316 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3) !important;
    transition: all 0.3s ease !important;
}

.partner-left-panel .btn-partner-learn:hover {
    background: #ea580c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4) !important;
}

/* HIDE DECORATIVE SCRIPT OVERLAYS */
.partner-script-accent,
.values-script-right {
    display: none !important;
}

/* RIGHT WHITE PANEL */
.partner-right-panel {
    flex: 1;
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 28px 20px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative !important;
    overflow: hidden !important;
}

.partner-right-panel::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 130px;
    height: 130px;
    max-width: 28%;
    max-height: 55%;
    background-image: url('images-photo/12_left_botanical_decor.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    opacity: 0.14;
    pointer-events: none;
    z-index: 1;
    filter: brightness(0.95) contrast(0.9);
}

.partner-right-panel::after {
    content: "";
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 130px;
    height: 130px;
    max-width: 28%;
    max-height: 55%;
    background-image: url('images-photo/13_right_botanical_decor.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.14;
    pointer-events: none;
    z-index: 1;
    filter: brightness(0.95) contrast(0.9);
}

.partner-right-panel>* {
    position: relative;
    z-index: 2;
}

.partner-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
    position: relative !important;
    overflow: hidden !important;
}

.partner-logos-block {
    justify-content: center;
}

.partner-logos-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.partner-logo-img {
    height: 44px;
    max-height: 44px;
    width: auto;
    max-width: 100%;
    object-fit: contain !important;
    display: block;
}

.partner-logo-img.navgurukul-img {
    height: 38px;
    max-height: 38px;
}

.partner-times {
    color: #94a3b8 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.partner-divider {
    width: 1px;
    height: 100px;
    background: #e2e8f0 !important;
    flex-shrink: 0;
}

.partner-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    background: #ffedd5 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.partner-icon-circle i {
    font-size: 18px !important;
    color: #ea580c !important;
}

.partner-block-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
}

.partner-block-desc {
    font-family: 'Poppins', sans-serif !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

/* RESPONSIVE LAYOUT */
@media screen and (max-width: 991px) {

    .partner-impact-wrapper,
    section.ajmf-values-outer-wrapper[id="partner"],
    section.our-partner-section[id="partner"] {
        padding: 40px 0 !important;
    }

    .partner-row-container {
        flex-direction: column;
        gap: 20px;
    }

    .partner-left-panel {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 28px 24px !important;
    }

    .partner-right-panel {
        flex-direction: column !important;
        gap: 24px !important;
        padding: 28px 20px !important;
    }

    .partner-block {
        width: 100%;
        padding: 6px 0;
    }

    .partner-divider {
        width: 100% !important;
        height: 1px !important;
        margin: 4px 0 !important;
    }
}

/* ==========================================================
   GLOBAL RESPONSIVE OVERFLOW & MEDIA SAFETY SHIELD
   Standardizes viewport safety across all 16 site pages
   ========================================================== */
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

@media screen and (max-width: 480px) {

    .container,
    .wrapper,
    section,
    header,
    footer {
        box-sizing: border-box;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
        box-sizing: border-box;
    }
}