/* ============================================
   ABOUT ME PAGE - GAURAPRIYA
   Simply Wonderful - Luxurious Dark Theme
   ============================================ */

/* CSS Variables */
:root {
    --about-cream: #FDF8F5;
    --about-pink-light: #FFF5F5;
    --about-peach: #F5EDE8;
    --about-gold: #D4A84B;
    --about-gold-light: #E4C994;
    --about-gold-bright: #FFD700;
    --about-rose: #8B5A5A;
    --about-lavender: #C8A9D8;
    --about-mint: #7BCCC4;
    --about-coral: #F4A992;
    --about-text: #4A3A3A;
    --about-text-light: #6B5A5A;
    
    /* Dark Theme Variables */
    --dark-bg: #1a1512;
    --dark-bg-deep: #0f0c0a;
    --dark-gold: #D4A84B;
    --dark-gold-light: #E4C994;
    --dark-text: #F5EDE8;
    --dark-text-muted: #A09080;
}

/* ============================================
   HERO SECTION - Dark Luxurious Theme
   ============================================ */
.about-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg-deep) 0%, var(--dark-bg) 50%, #1e1814 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

/* Changing Background Images */
.about-hero__bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    filter: brightness(0.3) saturate(0.85);
}

.about-hero__bg.active {
    opacity: 1;
}

.about-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(212, 168, 75, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 169, 216, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, rgba(26, 21, 18, 0.9) 0%, rgba(15, 12, 10, 0.95) 100%);
    pointer-events: none;
}

/* Golden Sparkles & Decorations */
.about-hero__decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Large Golden Sparkles */
.golden-sparkle {
    position: absolute;
    font-size: 1.5rem;
    color: var(--dark-gold);
    text-shadow: 
        0 0 10px rgba(212, 168, 75, 0.8),
        0 0 20px rgba(212, 168, 75, 0.5),
        0 0 30px rgba(212, 168, 75, 0.3);
    animation: goldenSparkle 3s ease-in-out infinite;
}

.sparkle-1 { top: 10%; left: 8%; animation-delay: 0s; }
.sparkle-2 { top: 20%; right: 12%; animation-delay: 0.6s; }
.sparkle-3 { top: 60%; left: 5%; animation-delay: 1.2s; }
.sparkle-4 { bottom: 25%; right: 8%; animation-delay: 1.8s; }
.sparkle-5 { top: 40%; left: 15%; animation-delay: 2.4s; }
.sparkle-6 { bottom: 35%; right: 20%; animation-delay: 3s; }

@keyframes goldenSparkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(0.8) rotate(0deg); 
        filter: drop-shadow(0 0 5px rgba(212, 168, 75, 0.5));
    }
    50% { 
        opacity: 1; 
        transform: scale(1.3) rotate(180deg); 
        filter: drop-shadow(0 0 20px rgba(212, 168, 75, 0.9));
    }
}

/* Golden Particles (Orbs) */
.golden-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--dark-gold-light) 0%, var(--dark-gold) 100%);
    box-shadow: 
        0 0 10px var(--dark-gold),
        0 0 20px rgba(212, 168, 75, 0.5),
        0 0 30px rgba(212, 168, 75, 0.3);
    animation: particleFloat 6s ease-in-out infinite;
}

.particle-1 { top: 15%; left: 25%; animation-delay: 0s; }
.particle-2 { top: 70%; right: 15%; animation-delay: 1s; }
.particle-3 { top: 35%; right: 25%; animation-delay: 2s; }
.particle-4 { bottom: 20%; left: 20%; animation-delay: 3s; }
.particle-5 { top: 50%; left: 8%; animation-delay: 4s; }
.particle-6 { top: 25%; right: 35%; animation-delay: 5s; }
.particle-7 { bottom: 40%; right: 10%; animation-delay: 2.5s; }
.particle-8 { top: 80%; left: 40%; animation-delay: 1.5s; }

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.4; 
    }
    25% { 
        transform: translateY(-30px) scale(1.2); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-15px) scale(0.9); 
        opacity: 0.6; 
    }
    75% { 
        transform: translateY(-40px) scale(1.1); 
        opacity: 0.9; 
    }
}

/* Small Golden Dots */
.golden-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dark-gold);
    box-shadow: 0 0 8px var(--dark-gold);
    animation: dotPulse 4s ease-in-out infinite;
}

.dot-1 { top: 30%; left: 10%; animation-delay: 0.3s; }
.dot-2 { top: 45%; right: 5%; animation-delay: 0.8s; }
.dot-3 { bottom: 30%; left: 30%; animation-delay: 1.5s; }
.dot-4 { top: 75%; right: 30%; animation-delay: 2.2s; }
.dot-5 { top: 10%; left: 50%; animation-delay: 2.8s; }

@keyframes dotPulse {
    0%, 100% { 
        opacity: 0.2; 
        transform: scale(0.8); 
        box-shadow: 0 0 5px var(--dark-gold);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.5); 
        box-shadow: 0 0 15px var(--dark-gold), 0 0 25px rgba(212, 168, 75, 0.5);
    }
}

/* Hero Content */
.about-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

/* Profile Image Container - Luxurious Gold Rings */
.profile-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 3rem;
}

/* Outer Ring - Continuous Slow Rotation */
.profile-ring--outer {
    position: absolute;
    inset: -15px;
    animation: ringRotateSlow 25s linear infinite;
}

.profile-ring__circle--gold {
    position: absolute;
    inset: 0;
    border: 3px solid var(--dark-gold);
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 
        0 0 20px rgba(212, 168, 75, 0.4),
        0 0 40px rgba(212, 168, 75, 0.2),
        inset 0 0 20px rgba(212, 168, 75, 0.1);
}

/* Middle Ring - Dashed, Faster Counter-Rotation */
.profile-ring--middle {
    position: absolute;
    inset: -25px;
    animation: ringRotateFast 15s linear infinite reverse;
}

.profile-ring__dashed--spin {
    position: absolute;
    inset: 0;
    border: 2px dashed var(--dark-gold-light);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 15px rgba(228, 201, 148, 0.3);
}

/* Inner Ring - Dotted, Medium Speed */
.profile-ring--inner {
    position: absolute;
    inset: -35px;
    animation: ringRotateMedium 20s linear infinite;
}

.profile-ring__dots--pulse {
    position: absolute;
    inset: 0;
    border: 3px dotted var(--dark-gold);
    border-radius: 50%;
    opacity: 0.5;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringRotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ringRotateMedium {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ringRotateFast {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes ringPulse {
    0%, 100% { 
        opacity: 0.4; 
        border-width: 3px;
    }
    50% { 
        opacity: 0.8; 
        border-width: 5px;
        box-shadow: 0 0 20px rgba(212, 168, 75, 0.4);
    }
}

.profile-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 0 0 4px rgba(212, 168, 75, 0.3),
        0 0 0 8px rgba(212, 168, 75, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.profile-container:hover .profile-image-wrapper {
    box-shadow: 
        0 0 0 4px rgba(212, 168, 75, 0.5),
        0 0 0 8px rgba(212, 168, 75, 0.2),
        0 0 0 12px rgba(212, 168, 75, 0.1),
        0 30px 80px rgba(0, 0, 0, 0.6);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-container:hover .profile-image {
    transform: scale(1.05);
}

/* Welcome Text - Dark Theme */
.welcome-text {
    animation: fadeInUp 1s ease-out forwards;
    position: relative;
    z-index: 2;
}

.welcome-title {
    margin-bottom: 1.5rem;
}

.title-small {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--dark-text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.title-main {
    display: block;
    font-family: 'Sacramento', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--dark-gold);
    line-height: 1.2;
    text-shadow: 
        0 0 20px rgba(212, 168, 75, 0.3),
        0 0 40px rgba(212, 168, 75, 0.1);
}

.welcome-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--dark-text);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.welcome-subtitle .highlight {
    color: var(--dark-gold);
    font-weight: 500;
    text-shadow: 0 0 10px rgba(212, 168, 75, 0.3);
}

.welcome-tagline {
    font-family: 'Sacramento', cursive;
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--dark-gold-light);
    opacity: 0.95;
    font-style: italic;
}

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

/* Scroll Indicator - Dark Theme */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
    width: 100%;
    text-align: center;
}

.scroll-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dark-gold);
    text-shadow: 0 0 10px rgba(212, 168, 75, 0.5);
    text-align: center;
}

.scroll-arrow {
    width: 28px;
    height: 28px;
    color: var(--dark-gold);
    animation: scrollBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(212, 168, 75, 0.5));
    margin: 0 auto;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* ============================================
   PILLARS SECTION - Four Offerings
   ============================================ */
.pillars-section {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--about-pink-light) 0%, #FFFFFF 100%);
}

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

.section-title {
    font-family: 'Sacramento', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--about-rose);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--about-text-light);
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 1px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.pillar-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(40px);
}

.pillar-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pillar-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.icon-emoji {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    line-height: 80px;
}

.icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--about-gold-light), var(--about-gold));
    opacity: 0.2;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.pillar-card:hover .icon-bg {
    transform: scale(1);
}

.pillar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--about-rose);
    margin-bottom: 1rem;
}

.pillar-desc {
    font-family: 'Schoolbell', cursive !important;
    font-size: 1.15rem !important; /* Scaled up for handwritten cursive clarity */
    color: var(--about-text-light);
    line-height: 1.8 !important;
}

.pillar-desc .highlight {
    color: var(--about-gold);
    font-weight: 500;
}

.pillar-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.pillar-card:hover .pillar-accent {
    width: 100px;
}

.accent-education { background: linear-gradient(90deg, var(--about-mint), var(--about-lavender)); }
.accent-art { background: linear-gradient(90deg, var(--about-coral), var(--about-gold)); }
.accent-mindset { background: linear-gradient(90deg, var(--about-lavender), var(--about-mint)); }
.accent-living { background: linear-gradient(90deg, var(--about-gold), var(--about-coral)); }

/* ============================================
   PHILOSOPHY SECTION - Gallery Wall Style
   ============================================ */
.philosophy-section {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #FAF7F5 0%, #F5EDE8 100%);
    overflow: hidden;
    min-height: 100vh;
}

/* Floating Artwork Frames - Wall Pinned Style */
.philosophy-artworks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.artwork-frame {
    position: absolute;
    background: white;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.08);
    transform-origin: center top;
    animation: frameFloat 8s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.artwork-frame:hover {
    transform: scale(1.08) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.artwork-frame--1 {
    top: 8%;
    left: 5%;
    width: 140px;
    transform: rotate(-5deg);
    --rotation: -5deg;
    animation-delay: 0s;
}

.artwork-frame--2 {
    top: 15%;
    right: 8%;
    width: 120px;
    transform: rotate(4deg);
    --rotation: 4deg;
    animation-delay: 2s;
}

.artwork-frame--3 {
    bottom: 20%;
    left: 3%;
    width: 100px;
    transform: rotate(6deg);
    --rotation: 6deg;
    animation-delay: 4s;
}

.artwork-frame--4 {
    bottom: 15%;
    right: 5%;
    width: 130px;
    transform: rotate(-3deg);
    --rotation: -3deg;
    animation-delay: 6s;
}

/* Additional Frames 5-9 */
.artwork-frame--5 {
    top: 35%;
    left: 2%;
    width: 110px;
    transform: rotate(-7deg);
    --rotation: -7deg;
    animation-delay: 1.5s;
}

.artwork-frame--6 {
    top: 45%;
    right: 3%;
    width: 100px;
    transform: rotate(5deg);
    --rotation: 5deg;
    animation-delay: 3.5s;
}

.artwork-frame--7 {
    top: 5%;
    left: 40%;
    width: 90px;
    transform: rotate(3deg);
    --rotation: 3deg;
    animation-delay: 5s;
}

.artwork-frame--8 {
    bottom: 35%;
    left: 6%;
    width: 115px;
    transform: rotate(-4deg);
    --rotation: -4deg;
    animation-delay: 2.8s;
}

.artwork-frame--9 {
    bottom: 8%;
    right: 25%;
    width: 95px;
    transform: rotate(6deg);
    --rotation: 6deg;
    animation-delay: 4.2s;
}

.artwork-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    filter: sepia(10%) saturate(90%);
    transition: filter 0.4s ease;
}

.artwork-frame:hover .artwork-img {
    filter: sepia(0%) saturate(100%);
}

/* Pin decoration */
.artwork-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 30% 30%, #D4A84B, #B8941F);
    border-radius: 50%;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.artwork-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

@keyframes frameFloat {
    0%, 100% { 
        transform: rotate(var(--rotation, 0deg)) translateY(0);
    }
    50% { 
        transform: rotate(var(--rotation, 0deg)) translateY(-8px);
    }
}

.philosophy-bg {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

.philosophy-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A84B' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.philosophy-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 4rem;
}

.philosophy-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.philosophy-title {
    font-family: 'Sacramento', cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--about-rose);
    text-shadow: 0 2px 10px rgba(139, 90, 90, 0.1);
}

.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.philosophy-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 168, 75, 0.1);
    cursor: pointer;
}

.philosophy-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Luxurious Hover Effect */
.philosophy-item:hover {
    transform: translateX(20px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(212, 168, 75, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 168, 75, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.98) 100%);
}

.philosophy-arrow {
    font-size: 1.5rem;
    color: var(--about-gold);
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 75, 0.1);
    border-radius: 50%;
}

.philosophy-item:hover .philosophy-arrow {
    transform: translateX(8px) scale(1.2);
    background: rgba(212, 168, 75, 0.2);
    box-shadow: 0 0 15px rgba(212, 168, 75, 0.3);
}

.philosophy-text {
    font-family: 'Schoolbell', cursive !important;
    font-size: 1.35rem !important; /* Scaled up for handwritten cursive clarity */
    color: var(--about-text);
    transition: all 0.4s ease;
}

.philosophy-item:hover .philosophy-text {
    color: var(--about-rose);
    transform: translateX(5px);
}

.philosophy-item--highlight {
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.08), rgba(200, 169, 216, 0.08));
    border: 2px solid var(--about-gold);
    box-shadow: 
        0 4px 20px rgba(212, 168, 75, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

.philosophy-item--highlight .philosophy-text {
    font-weight: 600;
    color: var(--about-rose);
}

.philosophy-item--highlight:hover {
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.12), rgba(200, 169, 216, 0.12));
    box-shadow: 
        0 25px 50px rgba(212, 168, 75, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--about-gold);
}

/* ============================================
   CLOSING SECTION - Ken Burns Background
   ============================================ */
.closing-section {
    position: relative;
    padding: 8rem 2rem;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ken Burns Background Container */
.closing-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.closing-bg {
    position: absolute;
    inset: -10%;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.closing-bg.active {
    opacity: 1;
}

.kenburns-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    animation: kenburnsPan 20s ease-in-out infinite alternate;
}

/* Different Ken Burns animations for variety */
.closing-bg--1 .kenburns-img {
    animation-name: kenburnsPan1;
}

.closing-bg--2 .kenburns-img {
    animation-name: kenburnsPan2;
}

.closing-bg--3 .kenburns-img {
    animation-name: kenburnsPan3;
}

.closing-bg--4 .kenburns-img {
    animation-name: kenburnsPan4;
}

.closing-bg--5 .kenburns-img {
    animation-name: kenburnsPan5;
}

/* Ken Burns Pan Animations - Slow, elegant movements */
@keyframes kenburnsPan1 {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    100% {
        transform: scale(1.25) translate(-3%, 2%);
    }
}

@keyframes kenburnsPan2 {
    0% {
        transform: scale(1.15) translate(0, 0);
    }
    100% {
        transform: scale(1.3) translate(2%, -3%);
    }
}

@keyframes kenburnsPan3 {
    0% {
        transform: scale(1.2) translate(0, 0);
    }
    100% {
        transform: scale(1.35) translate(-2%, -2%);
    }
}

@keyframes kenburnsPan4 {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    100% {
        transform: scale(1.28) translate(3%, 1%);
    }
}

@keyframes kenburnsPan5 {
    0% {
        transform: scale(1.18) translate(0, 0);
    }
    100% {
        transform: scale(1.32) translate(-1%, 3%);
    }
}

/* Soft overlay for readability */
.closing-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(253, 248, 245, 0.88) 30%,
        rgba(245, 237, 232, 0.85) 70%,
        rgba(250, 247, 245, 0.92) 100%
    );
    pointer-events: none;
}

.closing-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 
        0 20px 60px rgba(139, 90, 90, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
}

.closing-quote {
    margin-bottom: 3rem;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--about-gold);
    opacity: 0.3;
    line-height: 0.5;
    display: block;
    margin-bottom: -1rem;
}

.quote-text {
    font-family: 'Sacramento', cursive;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--about-rose);
    font-style: italic;
}

.closing-pillars {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.closing-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
}

.closing-pillar.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.closing-icon {
    font-size: 2rem;
    filter: grayscale(0.2);
}

.closing-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--about-text);
}

.closing-welcome {
    margin-bottom: 2.5rem;
}

.closing-main {
    font-family: 'Sacramento', cursive;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--about-rose);
    margin-bottom: 0.5rem;
}

.closing-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--about-text-light);
    letter-spacing: 1px;
}

/* CTA Button */
.closing-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--about-gold), var(--about-coral));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(212, 168, 75, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 168, 75, 0.4);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: scale(1.2);
}

/* Closing Decorations */
.closing-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.closing-flower {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: flowerFloat 6s ease-in-out infinite;
}

.flower-1 { bottom: 15%; left: 10%; animation-delay: 0s; }
.flower-2 { top: 20%; right: 15%; animation-delay: 2s; }
.flower-3 { bottom: 25%; right: 10%; animation-delay: 4s; }

@keyframes flowerFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reduce artwork sizes on tablet */
    .artwork-frame--1 { width: 110px; }
    .artwork-frame--2 { width: 95px; }
    .artwork-frame--3 { width: 80px; }
    .artwork-frame--4 { width: 100px; }
    .artwork-frame--5 { width: 85px; }
    .artwork-frame--6 { width: 80px; }
    .artwork-frame--7 { width: 75px; }
    .artwork-frame--8 { width: 90px; }
    .artwork-frame--9 { width: 80px; }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 3rem 1.5rem;
        min-height: auto;
        padding-bottom: 6rem;
    }

    .profile-container {
        width: 240px;
        height: 240px;
    }

    /* Reduce ring sizes on mobile */
    .profile-ring--outer {
        inset: -10px;
    }

    .profile-ring--middle {
        inset: -18px;
    }

    .profile-ring--inner {
        inset: -26px;
    }

    /* Reduce sparkle count on mobile */
    .golden-sparkle:nth-child(n+5) {
        display: none;
    }

    .golden-particle:nth-child(n+5) {
        display: none;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pillar-card {
        padding: 2rem 1.25rem;
    }

    .closing-pillars {
        flex-direction: column;
        gap: 1.5rem;
    }

    .philosophy-section {
        padding: 5rem 1.5rem;
    }

    /* Hide artwork frames on mobile */
    .philosophy-artworks {
        display: none;
    }

    .philosophy-header {
        margin-bottom: 2.5rem;
    }

    .philosophy-item {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .philosophy-arrow {
        font-size: 1.25rem;
        width: 32px;
        height: 32px;
    }

    .philosophy-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .profile-container {
        width: 200px;
        height: 200px;
    }

    /* Further reduce rings on small screens */
    .profile-ring--middle {
        display: none;
    }

    .profile-ring--inner {
        inset: -15px;
    }

    .golden-sparkle,
    .golden-particle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    /* Scroll indicator mobile centering */
    .scroll-indicator {
        bottom: 30px;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
    }

    .scroll-text {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .scroll-arrow {
        width: 24px;
        height: 24px;
    }

    /* Philosophy section mobile adjustments */
    .philosophy-item {
        padding: 1rem;
        border-radius: 12px;
    }

    .philosophy-item:hover {
        transform: translateX(10px) scale(1.01);
    }

    .philosophy-title {
        font-size: 2rem;
    }

    .philosophy-arrow {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    /* Closing section mobile */
    .closing-section {
        padding: 4rem 1.5rem;
        min-height: auto;
    }

    .closing-content {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .closing-bg {
        inset: -5%;
    }

    .kenburns-img {
        animation-duration: 15s;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .floating-star,
    .floating-sparkle,
    .profile-ring__circle,
    .profile-ring__dashed,
    .profile-ring__dots,
    .closing-flower {
        animation: none;
    }

    .pillar-card,
    .philosophy-item,
    .closing-pillar {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
