/* =========================================================
   SHIVOHAM FOUNDATION
   CLEAN RESPONSIVE MASTER STYLESHEET
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
/* =========================================================
   01. DESIGN VARIABLES
========================================================= */
:root {
    --green-950: #061a16;
    --green-900: #0a2420;
    --green-800: #10342e;
    --green-700: #17443b;
    --gold-500: #b88b3d;
    --gold-400: #d1aa61;
    --gold-300: #e5ca8d;
    --maroon: #7b1e3a;
    --ivory: #fbf8f0;
    --cream: #f4efe4;
    --white: #ffffff;
    --ink: #17211e;
    --muted: #69736f;
    --line: rgba(23, 68, 59, 0.12);
    --shadow-soft: 0 12px 35px rgba(6, 26, 22, 0.08);
    --shadow-medium: 0 22px 60px rgba(6, 26, 22, 0.14);
    --shadow-heavy: 0 35px 100px rgba(6, 26, 22, 0.20);
    --ease: cubic-bezier(.22, .61, .36, 1);
}
/* =========================================================
   02. RESET
========================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    min-width: 320px;
    width: 100%;
    overflow-x: hidden;
    background: var(--ivory);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.menu-open {
    overflow: hidden;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea,
select {
    font: inherit;
}
button {
    border: 0;
}
ul,
ol {
    list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    line-height: 1.1;
}
/* =========================================================
   03. HERO SECTION
========================================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 520px;
    min-height: 520px;
    max-height: 520px;
    overflow: hidden;
    isolation: isolate;
    background: var(--green-950);
}
.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 1s var(--ease),
        visibility 1s var(--ease);
}
.hero-slide.active {
    z-index: 3;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
/* Hero background images */
.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.05);
    transition: transform 8s var(--ease);
}
.hero-slide[data-slide="1"] .hero-image {
    background-image: url("./img/pancha2.png");
}
.hero-slide[data-slide="2"] .hero-image {
    background-image: url("./img/Bootha.png");
}
.hero-slide[data-slide="3"] .hero-image {
    background-image: url("./img/pithru yagna.png");
}
.hero-slide[data-slide="4"] .hero-image {
    background-image: url("./img/deva.png");
}
.hero-slide[data-slide="5"] .hero-image {
    background-image: url("./img/manushaya.png");
}
.hero-slide[data-slide="6"] .hero-image {
    background-image: url("./img/brahma.png");
}
.hero-slide.active .hero-image {
    transform: scale(1);
}
/* Hero content container */
.hero-container {
    position: relative;
    z-index: 7;
    width: min(94%, 1500px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero-content,
.hero-content-first {
    width: 100%;
    max-width: 850px;
    margin-inline: auto;
    padding: 0;
    text-align: center;
    color: var(--green-800);
}
.hero-content h1 {
    max-width: 100%;
    color: var(--green-800);
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.hero-content h1 em {
    display: inline-block;
    color: var(--green-800);
    font-style: italic;
}
.hero-description {
    max-width: 650px;
    margin: 18px auto 0;
    color: var(--green-800);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}
.hero-subtitle {
    margin-top: 14px;
    color: var(--green-800);
    font-size: 17px;
    font-weight: 500;
    text-align: center;
}
/* Other slide buttons */
.hero-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 25px auto 0;
    padding: 13px 22px;
    border: 1px solid rgba(16, 52, 46, .45);
    border-radius: 50px;
    color: var(--green-800);
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: all .35s ease;
}
.hero-button i {
    font-size: 15px;
    font-style: normal;
    transition: transform .35s ease;
}
.hero-button:hover {
    color: #fff;
    background: var(--green-800);
    border-color: var(--green-800);
    transform: translateY(-3px);
}
.hero-button:hover i {
    transform: translate(4px, -3px);
}
/* =========================================================
   04. FIRST HERO SLIDE — PANCHA MAHA YAGNAS
========================================================= */
/* Main heading */
.hero-section .hero-slide[data-slide="1"] .hero-content-first h1 {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: var(--green-800);
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: .5px;
    white-space: nowrap;
}
.hero-section .hero-slide[data-slide="1"] .hero-content-first h1 em {
    display: inline;
    font-size: inherit;
}
/* Decorative divider */
.hero-yagna-ornament {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    margin: 26px auto 14px;
}
.hero-yagna-ornament .ornament-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-500),
        var(--gold-300)
    );
}
.hero-yagna-ornament .ornament-line:last-of-type {
    transform: rotate(180deg);
}
.hero-yagna-ornament .ornament-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 14px;
    color: var(--gold-500);
    font-size: 36px;
    animation: yagnaOrnamentGlow 3s ease-in-out infinite;
}
.hero-yagna-ornament .ornament-label {
    flex-basis: 100%;
    display: block;
    margin-top: 12px;
    color: var(--maroon);
    font-family: "DM Sans", sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 7px;
    line-height: 1.5;
    text-align: center;
}
@keyframes yagnaOrnamentGlow {
    0%, 100% {
        opacity: .65;
        transform: scale(.9) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.12) rotate(45deg);
    }
}
/* Five Yagna titles — vertical slider */
.hero-yagna-names {
    width: 100%;
    margin: 0 auto;
}
.hero-yagna-slider {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 115px;
    margin: 12px auto 0;
    overflow: hidden;
    text-align: center;
}
.hero-yagna-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 750ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
.hero-yagna-slide {
    display: flex;
    flex: 0 0 115px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    height: 115px;
    min-height: 115px;
    overflow: hidden;
    box-sizing: border-box;
}
.hero-yagna-slide .yagna-title {
    color: var(--green-800);
    font-family: "Playfair Display", serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .3px;
    white-space: nowrap;
}
.hero-yagna-slide .yagna-index {
    color: var(--gold-500);
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}
/* =========================================================
   05. HERO NAVIGATION
========================================================= */
.hero-navigation {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}
.hero-dot {
    position: relative;
    width: 28px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    overflow: hidden;
    transition:
        width .45s var(--ease),
        background .35s ease;
}
.hero-dot span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: var(--gold-500);
    transition: width .4s var(--ease);
}
.hero-dot.active {
    width: 58px;
    background: rgba(255,255,255,.5);
}
.hero-dot.active span {
    width: 100%;
}
/* Hero bottom shape */
.hero-bottom-shape {
    position: absolute;
    z-index: 15;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 32px;
    pointer-events: none;
}
.hero-bottom-shape svg {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-bottom-shape path {
    fill: var(--ivory);
}
/* Hero footer details */
.hero-bottom {
    position: absolute;
    z-index: 20;
    left: 4%;
    right: 4%;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.7);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hero-bottom-left,
.hero-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-bottom-left i {
    width: 7px;
    height: 7px;
    background: var(--gold-400);
    border-radius: 50%;
}
.scroll-arrow {
    color: var(--gold-400);
    font-size: 17px;
}
/* =========================================================
   06. ABOUT SECTION
========================================================= */
.about-section {
    position: relative;
    padding: 95px 0 90px;
    background: var(--ivory);
}
.about-container {
    width: min(92%, 1190px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: .95fr 1fr;
    align-items: center;
    gap: 70px;
}
/* About image slider */
.about-images {
    position: relative;
    width: 100%;
    height: 430px;
    min-height: 0;
    overflow: hidden;
    background: transparent;
}
.about-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.about-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .8s ease,
        visibility .8s ease;
}
.about-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.about-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
/* About content */
.about-content {
    max-width: 600px;
}
.section-small-title {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--gold-500);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.section-small-title::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold-400);
}
.about-content h2 {
    margin-top: 18px;
    color: var(--green-800);
    font-size: clamp(42px, 4.3vw, 62px);
    line-height: 1.04;
}
.about-content h2 span {
    display: block;
    color: var(--gold-500);
    font-style: italic;
}
.about-content > p {
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}
.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.about-columns h3 {
    color: var(--green-800);
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;
}
.about-columns p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}
.about-list {
    margin-top: 24px;
    padding-left: 20px;
    list-style: disc;
}
.about-list li {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}
.about-list li::marker {
    color: var(--gold-500);
}
.about-button {
    margin-top: 22px;
    padding: 12px 22px;
    border: 1px solid var(--green-800);
    border-radius: 50px;
    background: var(--green-800);
    color: var(--white);
    font-size: 11px;
    letter-spacing: .12em;
}
.about-button::before {
    display: none;
}
.about-button:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--green-950);
}
/* =========================================================
   07. VISION AND MISSION
========================================================= */
.vision-mission {
    width: min(92%, 1200px);
    margin: 0 auto 110px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.vision-card,
.mission-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--green-900);
}
.vision-card::before,
.mission-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 16px;
    border: 1px solid rgba(255,255,255,.2);
    pointer-events: none;
    transition: inset .6s var(--ease);
}
.vision-card:hover::before,
.mission-card:hover::before {
    inset: 24px;
    border-color: rgba(229,202,141,.6);
}
.vision-card img,
.mission-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.vision-card:hover img,
.mission-card:hover img {
    transform: scale(1.07);
}
.vision-overlay,
.mission-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(4,25,21,.95),
        rgba(4,25,21,.45) 48%,
        rgba(4,25,21,.04) 100%
    );
}
.vision-content,
.mission-content {
    position: absolute;
    z-index: 3;
    left: 42px;
    right: 42px;
    bottom: 40px;
    color: var(--white);
}
.vision-content span,
.mission-content span {
    color: var(--gold-300);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .25em;
}
.vision-content p,
.mission-content p {
    max-width: 510px;
    margin: 13px 0 18px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    line-height: 1.8;
}
.vision-content h2,
.mission-content h2 {
    color: var(--white);
    font-size: 48px;
}
/* =========================================================
   08. SERVICES SECTION
========================================================= */
.services-section {
    position: relative;
    padding: 88px 0 96px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #071d19 0%,
        #0b2923 55%,
        #102f28 100%
    );
}
.services-container {
    position: relative;
    z-index: 2;
    width: min(92%, 1220px);
    margin: 0 auto;
}
.services-heading {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}
.services-heading h2 {
    margin-top: 18px;
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -.035em;
}
.services-heading h2 em {
    color: var(--gold-400);
    font-style: italic;
}
/* Services grid */
.services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
/* Service cards */
.service-card {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    isolation: isolate;
    background: #102f28;
    border: 1px solid rgba(255,255,255,.12);
    transition:
        transform .5s var(--ease),
        box-shadow .5s var(--ease),
        border-color .4s ease;
}
.service-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform .9s var(--ease),
        filter .6s ease;
}
.services-grid .service-card:nth-child(2) .service-image img {
    object-position: center 78%;
}
.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(5,25,21,.08) 20%,
        rgba(5,25,21,.2) 45%,
        rgba(5,25,21,.94) 100%
    );
}
/* Card frame */
.service-card::before {
    content: "";
    position: absolute;
    z-index: 5;
    inset: 12px;
    border: 1px solid rgba(255,255,255,.2);
    pointer-events: none;
    transition:
        inset .5s ease,
        border-color .5s ease;
}
/* Service hover */
.service-card:hover {
    z-index: 10;
    transform: translateY(-8px);
    border-color: rgba(214,180,90,.55);
    box-shadow: 0 25px 60px rgba(0,0,0,.3);
}
.service-card:hover::before {
    inset: 17px;
    border-color: rgba(214,180,90,.65);
}
.service-card:hover .service-image img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.04);
}
/* Card number */
.service-number {
    position: absolute;
    z-index: 6;
    top: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.8);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
}
.service-number::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--gold-400);
    transition: width .4s ease;
}
.service-card:hover .service-number::before {
    width: 32px;
}
/* Card title and arrow */
.service-hover {
    position: absolute;
    z-index: 6;
    left: 25px;
    right: 25px;
    bottom: 25px;
    min-height: 52px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.service-hover span {
    display: flex;
    align-items: flex-end;
    width: calc(100% - 52px);
    min-height: 45px;
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: 19px;
    line-height: 1.12;
    transition: color .35s ease, transform .35s ease;
}
.service-card:hover .service-hover span {
    color: var(--gold-300);
    transform: translateY(-2px);
}
.service-hover i {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255,255,255,.04);
    font-size: 16px;
    font-style: normal;
    transition: all .4s ease;
}
.service-card:hover .service-hover i {
    background: var(--gold-400);
    border-color: var(--gold-400);
    color: var(--green-950);
    transform: rotate(45deg);
}
/* Shine effect */
.service-card .service-image::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    left: -130%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.15),
        transparent
    );
    transform: skewX(-18deg);
    transition: left .9s ease;
}
.service-card:hover .service-image::before {
    left: 140%;
}
.services-more {
    margin-top: 35px;
    text-align: center;
}
/* =========================================================
   09. ACTIVITIES SECTION
========================================================= */
.activities-section {
    position: relative;
    padding: 110px 0;
    background: var(--cream);
}
.activities-container {
    width: min(92%, 1200px);
    margin-inline: auto;
}
.activities-heading {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 55px;
    text-align: center;
}
.activities-heading > span {
    display: block;
    text-align: center;
}
.activities-heading h2 {
    margin-top: 17px;
    color: var(--green-800);
    font-size: clamp(43px, 5vw, 68px);
    line-height: 1.05;
    text-align: center;
}
.activities-heading h2 em {
    color: var(--gold-500);
}
.activities-heading p {
    max-width: 650px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}
/* Activity grid */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
/* Activity cards */
.activity-card {
    position: relative;
    min-width: 0;
    min-height: 250px;
    padding: 34px 30px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    transition:
        transform .45s var(--ease),
        box-shadow .45s var(--ease),
        border-color .45s var(--ease);
}
.activity-card::before {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(184,139,61,.15);
    border-radius: 50%;
    transition: transform .6s var(--ease);
}
.activity-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184,139,61,.35);
    box-shadow: var(--shadow-medium);
}
.activity-card:hover::before {
    transform: scale(1.45);
}
/* Activity icon */
.activity-icon {
    position: relative;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 23px;
    border: 1px solid rgba(184,139,61,.2);
    border-radius: 50%;
    background: var(--cream);
    font-size: 21px;
    color: var(--green-800);
    transition:
        background .35s var(--ease),
        transform .35s var(--ease);
}
.activity-card:hover .activity-icon {
    background: var(--gold-400);
    transform: rotate(-8deg) scale(1.06);
}
/* Activity heading */
.activity-card h3 {
    position: relative;
    color: var(--green-800);
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}
/* Activity copy */
.activity-card p {
    position: relative;
    margin-top: 9px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}
/* =========================================================
   10. HOME CTA SECTION
========================================================= */
.home-cta {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(180px, 240px);
    align-items: center;
    justify-items: stretch;
    column-gap: clamp(24px, 3vw, 48px);
    padding: 65px clamp(28px, 5vw, 72px);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(214,180,90,.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-800)
        );
}
/* Decorative circles */
.home-cta::before,
.home-cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(229,202,141,.15);
    border-radius: 50%;
    pointer-events: none;
}
.home-cta::before {
    width: 470px;
    height: 470px;
    top: -275px;
    left: -180px;
}
.home-cta::after {
    width: 570px;
    height: 570px;
    right: -300px;
    bottom: -390px;
}
/* CTA images */
.home-cta-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: transparent;
}
.left-image {
    grid-column: 1;
    width: 100%;
    justify-self: start;
}
.left-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    transition: transform .5s ease;
}
.left-image:hover img {
    transform: scale(1.04);
}
/* CTA center content */
.home-cta-inner {
    position: relative;
    z-index: 2;
    grid-column: 2;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.home-cta-inner > span {
    display: block;
    color: var(--gold-300);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.home-cta-inner h2 {
    margin: 19px 0 0;
    color: var(--white);
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1.02;
    text-align: center;
}
.home-cta-inner h2 em {
    display: block;
    color: var(--gold-400);
    font-style: italic;
}
.home-cta-inner p {
    max-width: 560px;
    margin: 23px auto 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}
/* CTA button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px auto 0;
    padding: 15px 25px;
    border: 1px solid var(--gold-400);
    border-radius: 50px;
    color: var(--green-950);
    background: var(--gold-400);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    transition: all .3s ease;
}
.cta-button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    font-style: normal;
    font-size: 16px;
    transition: transform .35s var(--ease);
}
.cta-button:hover {
    background: var(--gold-300);
    border-color: var(--gold-300);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}
.cta-button:hover i {
    transform: translate(4px, -3px);
}
/* Right image slider */
.right-slider {
    grid-column: 3;
    width: 100%;
    justify-self: end;
    overflow: hidden;
    border-radius: 18px;
    background: transparent;
}
.slider-track {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    transition: transform .7s ease-in-out;
    will-change: transform;
}
.slider-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.slider-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
}
/* =========================================================
   11. REVEAL ANIMATIONS
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}
.reveal.show {
    opacity: 1;
    transform: translateY(0);
}
.activity-card:nth-child(2) {
    transition-delay: .08s;
}
.activity-card:nth-child(3) {
    transition-delay: .16s;
}
.activity-card:nth-child(4) {
    transition-delay: .05s;
}
.activity-card:nth-child(5) {
    transition-delay: .12s;
}
.activity-card:nth-child(6) {
    transition-delay: .2s;
}
/* =========================================================
   12. GENERAL ANIMATIONS
========================================================= */
@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes heroEyebrow {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes heroDescription {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes eyebrowLine {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
@keyframes scrollArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(7px);
    }
}
/* =========================================================
   13. TABLET RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    .service-card {
        aspect-ratio: 1 / 1;
    }
    .home-cta {
        grid-template-columns: 190px minmax(0, 1fr) 190px;
        column-gap: 22px;
        padding-inline: 28px;
    }
    .service-hover span {
        font-size: 17px;
    }
    .about-container {
        gap: 40px;
    }
}
/* =========================================================
   14. SMALL TABLET
========================================================= */
@media (max-width: 850px) {
    .hero-section {
        height: 500px;
        min-height: 500px;
        max-height: 500px;
    }
    .hero-container {
        width: calc(100% - 40px);
        justify-content: center;
        align-items: center;
        padding: 55px 0 65px;
        text-align: center;
    }
    .hero-content,
    .hero-content-first {
        width: 100%;
        max-width: 620px;
        margin-inline: auto;
        padding: 0;
        text-align: center;
    }
    .hero-content h1 {
        max-width: 600px;
        margin-inline: auto;
        font-size: clamp(38px, 6vw, 54px);
        line-height: 1.08;
        text-align: center;
    }
    .hero-description {
        max-width: 500px;
        margin: 16px auto 0;
        font-size: 14px;
        text-align: center;
    }
    .hero-eyebrow,
    .hero-index {
        justify-content: center;
    }
    .hero-navigation {
        bottom: 32px;
    }
    .about-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px;
    }
    .about-images {
        height: 380px;
    }
    .about-main-image {
        height: 360px;
    }
    .vision-mission {
        gap: 16px;
    }
    .vision-card,
    .mission-card {
        height: 370px;
    }
    .vision-content,
    .mission-content {
        left: 25px;
        right: 25px;
        bottom: 28px;
    }
    .vision-content h2,
    .mission-content h2 {
        font-size: 38px;
    }
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-cta {
        display: flex;
        flex-direction: column;
        gap: 28px;
        padding: 55px 24px;
    }
    .home-cta-inner {
        order: 2;
        width: 100%;
        max-width: 620px;
    }
    .home-cta .left-image {
        order: 1;
        width: min(100%, 300px);
        margin-inline: auto;
    }
    .home-cta .right-slider {
        order: 3;
        width: min(100%, 300px);
        margin-inline: auto;
    }
    .home-cta .left-image img,
    .home-cta .right-slider img {
        width: 100%;
        height: auto;
    }
}
/* =========================================================
   15. MOBILE RESPONSIVE
========================================================= */
@media (max-width: 600px) {
    /* HERO */
    .hero-section {
        height: 470px;
        min-height: 470px;
        max-height: 470px;
    }
    .hero-image {
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
        transform: none;
    }
    .hero-container {
        width: calc(100% - 28px);
        padding: 40px 0 60px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .hero-content,
    .hero-content-first {
        width: 100%;
        max-width: 350px;
        margin-inline: auto;
        padding: 0;
        text-align: center;
    }
    .hero-content h1 {
        width: 100%;
        max-width: 340px;
        margin-inline: auto;
        font-size: clamp(29px, 8vw, 39px);
        line-height: 1.08;
        text-align: center;
    }
    .hero-description {
        max-width: 320px;
        margin: 15px auto 0;
        font-size: 12px;
        line-height: 1.6;
        text-align: center;
    }
    .hero-subtitle {
        font-size: 13px;
        margin-top: 10px;
    }
    .hero-button {
        margin: 17px auto 0;
        padding: 10px 15px;
        font-size: 8px;
    }
    /* FIRST SLIDE */
    .hero-section .hero-slide[data-slide="1"] .hero-content-first h1 {
        font-size: 16px;
        line-height: 1.3;
        white-space: normal;
    }
    .hero-yagna-ornament {
        max-width: 270px;
        margin: 16px auto 10px;
    }
    .hero-yagna-ornament .ornament-line {
        width: 42px;
        height: 1px;
    }
    .hero-yagna-ornament .ornament-symbol {
        width: 24px;
        height: 24px;
        margin: 0 8px;
        font-size: 20px;
    }
    .hero-yagna-ornament .ornament-label {
        margin-top: 7px;
        font-size: 12px;
        letter-spacing: 2.5px;
    }
    .hero-yagna-slider {
        height: 75px;
        margin-top: 18px;
    }
    .hero-yagna-slide {
        flex-basis: 75px;
        height: 75px;
        min-height: 75px;
        gap: 12px;
    }
    .hero-yagna-slide .yagna-title {
        font-size: 32px;
    }
    .hero-yagna-slide .yagna-index {
        font-size: 16px;
    }
    /* HERO NAVIGATION */
    .hero-navigation {
        left: 50%;
        bottom: 28px;
        gap: 5px;
        transform: translateX(-50%);
    }
    .hero-dot {
        width: 17px;
        height: 3px;
    }
    .hero-dot.active {
        width: 32px;
    }
    .hero-bottom {
        display: none;
    }
    .hero-bottom-shape {
        height: 30px;
    }
    /* ABOUT */
    .about-section {
        padding: 48px 0 52px;
    }
    .about-container {
        width: calc(100% - 32px);
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        text-align: center;
    }
    .about-images {
        width: 100%;
        max-width: 420px;
        height: 300px;
        margin-inline: auto;
    }
    .about-slide img {
        object-fit: contain;
    }
    .about-content {
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
        text-align: center;
    }
    .about-content h2 {
        font-size: clamp(30px, 8.5vw, 40px);
        line-height: 1.1;
    }
    .about-content > p {
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.7;
        text-align: left;
    }
    .about-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 24px;
        padding-top: 20px;
        text-align: left;
    }
    .about-columns h3 {
        font-size: 18px;
    }
    .about-columns p {
        font-size: 13px;
    }
    .about-list {
        text-align: left;
    }
    .about-list li {
        font-size: 13px;
        line-height: 1.7;
    }
    /* VISION / MISSION */
    .vision-mission {
        width: calc(100% - 32px);
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 64px;
    }
    .vision-card,
    .mission-card {
        height: clamp(280px, 82vw, 350px);
    }
    .vision-card::before,
    .mission-card::before {
        inset: 10px;
    }
    .vision-content,
    .mission-content {
        left: 24px;
        right: 24px;
        bottom: 26px;
    }
    .vision-content h2,
    .mission-content h2 {
        font-size: clamp(30px, 8vw, 38px);
    }
    .vision-content p,
    .mission-content p {
        font-size: 13px;
        line-height: 1.6;
    }
    /* SERVICES */
    .services-section {
        padding: 58px 0 64px;
    }
    .services-container,
    .activities-container {
        width: calc(100% - 32px);
    }
    .services-heading {
        margin-bottom: 28px;
    }
    .services-heading h2 {
        font-size: 37px;
    }
    .services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .service-card {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
    .service-hover {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }
    .service-hover span {
        font-size: 18px;
    }
    /* ACTIVITIES */
    .activities-section {
        padding: 58px 0 64px;
    }
    .activities-heading {
        margin-bottom: 28px;
    }
    .activities-heading h2 {
        font-size: clamp(32px, 8.5vw, 42px);
    }
    .activities-heading p {
        font-size: 13px;
    }
    .activity-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }
    .activity-card {
        min-height: 0;
        padding: 24px 20px;
    }
    .activity-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 18px;
        font-size: 18px;
    }
    .activity-card h3 {
        font-size: 18px;
    }
    .activity-card p {
        font-size: 13px;
        line-height: 1.65;
    }
    /* CTA */
    .home-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 22px;
        width: 100%;
        min-height: 0;
        padding: 58px 18px;
    }
    .home-cta-inner {
        order: 2;
        width: 100%;
        max-width: 560px;
        padding: 0;
    }
    .home-cta-inner h2 {
        font-size: clamp(30px, 8.5vw, 40px);
    }
    .home-cta-inner p {
        font-size: 13px;
        line-height: 1.65;
    }
    .home-cta .left-image,
    .home-cta .right-slider {
        position: relative;
        inset: auto;
        transform: none;
        width: min(100%, 300px);
        margin-inline: auto;
    }
    .home-cta .left-image {
        order: 1;
    }
    .home-cta .right-slider {
        order: 3;
    }
    .home-cta .left-image img,
    .home-cta .right-slider img {
        width: 100%;
        height: auto;
    }
}
/* =========================================================
   16. SMALL MOBILE
========================================================= */
@media (max-width: 380px) {
    .hero-section {
        height: 440px;
        min-height: 440px;
        max-height: 440px;
    }
    .hero-container {
        width: calc(100% - 22px);
    }
    .hero-content h1 {
        font-size: 31px;
    }
    .hero-description {
        max-width: 285px;
        font-size: 11px;
    }
    .hero-navigation {
        bottom: 25px;
    }
    .about-images {
        height: 270px;
    }
    .vision-card,
    .mission-card {
        height: 300px;
    }
    .services-heading h2,
    .activities-heading h2 {
        font-size: 33px;
    }
    .service-hover span {
        font-size: 16px;
    }
    .home-cta-inner h2 {
        font-size: 34px;
    }
}
/* =========================================================
   17. TABLET LANDSCAPE
========================================================= */
@media (min-width: 601px) and (max-width: 1100px) {
    .hero-section {
        height: 500px;
        min-height: 500px;
        max-height: 500px;
    }
    .hero-image {
        background-position: center center;
    }
    .hero-container {
        width: calc(100% - 48px);
        justify-content: center;
        align-items: center;
        padding: 0 20px 55px;
    }
    .hero-content,
    .hero-content-first {
        width: 100%;
        max-width: 680px;
        margin-inline: auto;
        text-align: center;
    }
    .hero-content h1 {
        font-size: clamp(44px, 5.5vw, 58px);
        line-height: 1.08;
        text-align: center;
    }
    .hero-description {
        max-width: 560px;
        margin: 16px auto 0;
        font-size: 14px;
    }
    .hero-navigation {
        bottom: 32px;
    }
    .about-container {
        gap: 35px;
    }
    .about-images {
        height: 380px;
    }
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* =========================================================
   18. ACCESSIBILITY
========================================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* =========================================================
   19. CONSOLIDATED HERO REFINEMENTS
   ========================================================= */
/* Keep the hero copy vertically aligned without competing offsets. */
.hero-section .hero-slide .hero-content,
.hero-section .hero-slide .hero-content-first {
    position: relative;
    top: 0;
    transform: none;
}
.hero-section .hero-slide[data-slide="1"] .hero-content-first {
    top: -7px;
    padding-bottom: 0;
    margin-bottom: 0;
}
.hero-section .hero-slide[data-slide="1"] .hero-yagna-slider {
    margin-bottom: 0;
    padding-bottom: 0;
}
/* Premium typography for the five individual Yagna banners. */
.hero-section .hero-slide:not([data-slide="1"]) .hero-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}
.hero-section .hero-slide:not([data-slide="1"]) .hero-content h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(76px, 6.5vw, 100px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: #10342e;
    margin-bottom: 15px;
}
.hero-section .hero-slide:not([data-slide="1"]) .hero-subtitle {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #10342e;
    margin-top: 8px;
}
.hero-section .hero-slide:not([data-slide="1"]) .hero-description {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    margin: 18px auto 0;
    color: #17443b;
    text-align: center;
}
.hero-section .hero-slide:not([data-slide="1"]) .hero-button {
    margin: 22px auto 0;
    font-family: "Manrope", sans-serif;
}
.hero-section .hero-slide:not([data-slide="1"]) .hero-content::after {
    content: "✥   NATURE  •  HUMANITY  •  SELFLESS SERVICE   ✥";
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 30px auto 0;
    padding: 13px 26px;
    border-top: 1px solid rgba(184, 139, 61, .65);
    border-bottom: 1px solid rgba(184, 139, 61, .65);
    color: #986b29;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.7;
    text-align: center;
}
@media (min-width: 601px) and (max-width: 1100px) {
    .hero-section .hero-slide:not([data-slide="1"]) .hero-content h1 {
        font-size: 64px;
    }
    .hero-section .hero-slide:not([data-slide="1"]) .hero-content::after {
        margin-top: 24px;
        font-size: 10px;
    }
}
@media (min-width: 601px) and (max-width: 850px) {
    .hero-section .hero-slide[data-slide="1"] .hero-content-first {
        top: -5px;
    }
    .hero-section .hero-slide[data-slide="1"] .hero-content-first h1 {
        font-size: 23px;
    }
}
@media (max-width: 600px) {
    .hero-section .hero-slide[data-slide="1"] .hero-content-first {
        top: -3px;
    }
    .hero-section .hero-slide:not([data-slide="1"]) .hero-content h1 {
        font-size: 43px;
        line-height: 1.1;
    }
    .hero-section .hero-slide:not([data-slide="1"]) .hero-subtitle {
        font-size: 14px;
    }
    .hero-section .hero-slide:not([data-slide="1"]) .hero-description {
        font-size: 12px;
    }
    .hero-section .hero-slide:not([data-slide="1"]) .hero-content::after {
        width: 95%;
        margin-top: 20px;
        padding: 10px 8px;
        font-size: 8px;
        letter-spacing: 1px;
    }
}
@media (max-width: 380px) {
    .hero-section .hero-slide:not([data-slide="1"]) .hero-content h1 {
        font-size: 33px;
    }
    .hero-section .hero-slide:not([data-slide="1"]) .hero-content::after {
        font-size: 7px;
        letter-spacing: .7px;
    }
}
/* Increase First Hero Slide Heading */
.hero-section .hero-slide[data-slide="1"] .hero-content-first h1 {
    font-size: clamp(22px, 1.8vw, 28px) !important;
    line-height: 1.4 !important;
    letter-spacing: 0.5px;
}

/* Keep Yagna emphasis consistent */
.hero-section .hero-slide[data-slide="1"] .hero-content-first h1 em {
    font-size: inherit !important;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .hero-section .hero-slide[data-slide="1"] .hero-content-first h1 {
        font-size: 17px !important;
        white-space: normal !important;
    }
}
/* Reduce PANCHA MAHA YAGNAS Letter Spacing */
.hero-yagna-ornament .ornament-label {
    letter-spacing: 2px !important;
    font-size: 40px;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 600px) {
    .hero-yagna-ornament .ornament-label {
        letter-spacing: 1px !important;
        font-size: 13px;
    }
}
/* Explore Services Button – Improved Visibility */
.services-more .hero-button {
    background: #e5ca8d !important;
    color: #10342e !important;
    border: 1px solid #e5ca8d !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;

    padding: 17px 30px !important;
    min-height: 54px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    opacity: 1 !important;
}

.services-more .hero-button i {
    color: #10342e !important;
}

.services-more .hero-button:hover {
    background: #ffffff !important;
    color: #10342e !important;
    border-color: #ffffff !important;
    transform: translateY(-4px);
}