:root {
    --primary-color: #8B1E1E;
    --secondary-color: #D4AF37;
    --accent-color: #B8860B;
    --text-dark: #3A2A1E;
    --text-light: #6B5B4D;
    --bg-light: #F8F4EE;
    --bg-warm: #EFE6D8;
    --white: #FFFFFF;
    --icon-bg: #8B1E1E;
}

.testimonial-position{ color:#fff; }
h5{ color:#900808; }
.overlay-black-dark:after { background:none; }
.sub-title {
    font-family: var(--style-font);
    display: block;
    max-width: fit-content;
    font-weight: 500;
    color:red;
    margin-bottom:18px;
    margin-top: -0.03em;
    text-transform: capitalize;
    line-height: 24px;
    background-image: url("../images/title_shape.webp");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
    padding: 0 34px 4px 34px
}

/* ===== SCROLL REVEAL ANIMATION (One by One) ===== */
.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Slight stagger for consecutive paragraphs if needed */
.anjappar-description .reveal-text:nth-child(2) { transition-delay: 0.1s; }
.anjappar-description .reveal-text:nth-child(3) { transition-delay: 0.2s; }

/* ===== DECORATIVE CORNER ELEMENTS ===== */
.about-decorative-wrapper {
    position: relative;
    overflow: hidden;
}
.corner-decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
.corner-top-left {
    top: 60px; left: 60px;
    width: 140px; height: 140px;
    background-image: radial-gradient(var(--primary-color) 2.5px, transparent 2.5px);
    background-size: 18px 18px;
    opacity: 0.15;
    transform: rotate(-15deg);
    animation: floatDots 8s ease-in-out infinite;
}
.corner-bottom-right {
    bottom: 50px; right: 50px;
    width: 220px; height: 220px;
    border: 3px solid var(--secondary-color);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.12;
    animation: morphShape 10s ease-in-out infinite;
}
@keyframes floatDots {
    0%, 100% { transform: rotate(-15deg) translateY(0); }
    50% { transform: rotate(-10deg) translateY(-12px); }
}
@keyframes morphShape {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg); }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: rotate(180deg); }
}

/* ===== IMAGE SHOWCASE ANIMATIONS ===== */
.image-showcase-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.main-showcase-image {
    display: block;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s ease;
    filter: grayscale(20%) brightness(100%);
}
.image-showcase-wrapper:hover .main-showcase-image {
    filter: grayscale(0%) brightness(105%);
    animation: rotateAndSettle 1.5s ease-in-out forwards;
    transform: scale(1.05);
}
@keyframes rotateAndSettle {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
    100% { transform: scale(1.05) rotate(0deg); }
}
.image-showcase-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(139, 30, 30, 0.15);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 12px;
    z-index: 1;
}
.image-showcase-wrapper:hover::after { opacity: 1; }

/* ===== DESCRIPTION ===== */
.anjappar-description p {
    color: var(--text-light);
    line-height: 1.9;
    margin: 0 0 20px 0;
    font-size: 1rem;
    text-align: justify;
    font-family: 'Oxygen', sans-serif;
}

/* ===== VISION & MISSION SECTION ===== */
.anjappar-vm-section {
    background: var(--white);
    padding: 20px 0;
    overflow: hidden;
}
.anjappar-vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.anjappar-vm-card {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform-style: preserve-3d;
}
.anjappar-vm-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
    border-radius: 0 2px 2px 0;
}
.anjappar-vm-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(139, 30, 30, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    pointer-events: none;
}
.anjappar-vm-card .shine-effect {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    transition: left 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    pointer-events: none;
}

/* ===== HOVER EFFECTS ===== */
.anjappar-vm-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(139, 30, 30, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}
.anjappar-vm-card:hover::before { height: 100%; }
.anjappar-vm-card:hover::after { opacity: 1; }
.anjappar-vm-card:hover .shine-effect { left: 150%; }

.anjappar-vm-card .icon {
    width: 48px; height: 48px;
    background: var(--icon-bg);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.anjappar-vm-card:hover .icon {
    transform: scale(1.15) rotate(-10deg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 10px 25px rgba(139, 30, 30, 0.3);
}
.anjappar-vm-card h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin: 0 0 18px 0;
    font-weight: 700;
    display: flex; align-items: center; gap: 14px;
    font-family: 'Playfair Display', serif;
    transition: color 0.4s ease;
    position: relative; z-index: 2;
}
.anjappar-vm-card:hover h3 { color: var(--text-dark); }
.anjappar-vm-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
    font-family: 'Oxygen', sans-serif;
    transition: color 0.4s ease;
    position: relative; z-index: 2;
}
.anjappar-vm-card:hover p { color: var(--text-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .anjappar-vm-grid { grid-template-columns: 1fr; }
    .corner-top-left, .corner-bottom-right { display: none; }
}
@media (max-width: 600px) {
    .anjappar-vm-section { padding: 20px 0; }
    .anjappar-vm-card { padding: 30px 25px; }
    .anjappar-vm-card:hover { transform: translateY(-6px) scale(1.01); }
    .anjappar-vm-card:hover .icon { transform: scale(1.08) rotate(-5deg); }
}