/* Reset and Base Styles */
/* Kundali Section Specific Styles */
.kundali-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.kundali-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.kundali-section .decorative-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    z-index: -1;
}

.kundali-section .circle-1 {
    top: -50px;
    left: -50px;
}

.kundali-section .circle-2 {
    bottom: -50px;
    right: -50px;
}

.kundali-section .om-symbol {
    position: absolute;
    font-size: 24px;
    color: #FF6B35;
    opacity: 0.3;
    animation: floatOm 15s linear infinite;
}

@keyframes floatOm {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -30px) rotate(90deg); }
    50% { transform: translate(0, -60px) rotate(180deg); }
    75% { transform: translate(-50px, -30px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.kundali-section .section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.kundali-section .section-title h2 {
    font-size: 2rem;
    color: #FF6B35;
    display: inline-block;
    padding-bottom: 10px;
}

.kundali-section .section-title h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: #FF6B35;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.kundali-section .kundali-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.kundali-section .kundali-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    background: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(0px); }
    100% { transform: translateY(0px); }
}

.kundali-section .kundali-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    perspective: 1000px; /* Adds depth for 3D effect */
}

.kundali-section .kundali-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: rotateKundali 20s linear infinite;
    transform-style: preserve-3d; /* Enables 3D transformations */
}

@keyframes rotateKundali {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}


.kundali-section .form-group {
    margin-bottom: 20px;
}

.kundali-section .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #FF6B35;
}

.kundali-section .form-group input,
.kundali-section .form-group select,
.kundali-section .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.kundali-section .form-group input:focus,
.kundali-section .form-group select:focus,
.kundali-section .form-group textarea:focus {
    border-color: #FF6B35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.kundali-section .submit-btn {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.kundali-section .submit-btn:hover {
    background: #e05a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.kundali-section .pandit-info {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    animation: fadeIn 1s ease-in;
}

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

.kundali-section .pandit-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF6B35;
}

.kundali-section .pandit-details h3 {
    color: #FF6B35;
    margin-bottom: 5px;
}

.kundali-section .pandit-details p {
    color: #4A90E2;
    margin-bottom: 10px;
    font-size: 14px;
}

.kundali-section .pandit-contact {
    display: flex;
    gap: 15px;
}

.kundali-section .pandit-contact a {
    color: #FF6B35;
    font-size: 20px;
    transition: all 0.3s;
}

.kundali-section .pandit-contact a:hover {
    color: #e05a2b;
    transform: scale(1.1);
}

/* Responsive Styles for Kundali Section Only */
@media (max-width: 768px) {
    .kundali-section .kundali-container {
        flex-direction: column;
    }
    
    .kundali-section .kundali-image, 
    .kundali-section .kundali-form {
        width: 100%;
    }
    
    .kundali-section .section-title h2 {
        font-size: 1.8rem;
    }
    
    .kundali-section .pandit-info {
        flex-direction: column;
        text-align: center;
    }
    
    .kundali-section .pandit-contact {
        justify-content: center;
    }
}

    /* Stories Section Styles */
    .story-viewer {
    z-index: 9999 !important;
    position: fixed !important;
}
    .stories-section {
        padding: 2rem 0;
       
        text-align: center;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .section-title {
        font-size: 2rem;
        color: #333;
        margin-bottom: 0.5rem;
        font-family: 'Arial', sans-serif;
    }
    
    .section-subtitle {
        color: #666;
        margin-bottom: 2rem;
        font-size: 1rem;
    }
    
    .stories-scroll-container {
        overflow-x: auto;
        padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .stories-container {
        display: flex;
        justify-content: flex-start;
        gap: 1.5rem;
        padding: 0 1rem;
        width: max-content;
        margin: 0 auto;
    }
    
    .story-circle {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        width: 80px;
        flex-shrink: 0;
    }
    
    .story-border {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        padding: 3px;
        background: linear-gradient(135deg, #FF6B35 0%, #4A90E2 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0.5rem;
    }
    
    .story-border img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid white;
    }
    
    .story-circle p {
        font-size: 0.8rem;
        color: #333;
        margin: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    /* Story Viewer Styles */
    .story-viewer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1000;
        display: none;
        flex-direction: column;
    }
    
    .story-header {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    .progress-bars {
        display: flex;
        gap: 5px;
        margin-bottom: 1rem;
    }
    
    .progress-bar {
        height: 3px;
        background-color: rgba(255, 255, 255, 0.4);
        flex-grow: 1;
        border-radius: 3px;
        overflow: hidden;
    }
    
    .progress-fill {
        height: 100%;
        width: 0%;
        background-color: white;
    }
    
    .story-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1001;
    }
    
    .story-content {
        flex-grow: 1;
        display: flex;
        position: relative;
    }
    
    .story-media-container {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .story-media-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    .story-text {
        position: absolute;
        bottom: 2rem;
        left: 0;
        right: 0;
        color: white;
        padding: 1rem;
        text-align: center;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
    }
    
    .story-text h3 {
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
    }
    
    .nav-button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 2rem;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .prev-button {
        left: 1rem;
    }
    
    .next-button {
        right: 1rem;
    }
    
    @media (max-width: 768px) {
        .stories-container {
            gap: 1rem;
            padding: 0 0.5rem;
            justify-content: flex-start;
        }
        
        .story-circle {
            width: 70px;
        }
        
        .story-border {
            width: 60px;
            height: 60px;
        }
        
        .nav-button {
            width: 40px;
            height: 40px;
            font-size: 1.5rem;
        }
    }

    .stories-scroll-container {
    overflow-x: auto;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
    
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Chrome, Safari and Edge */
.stories-scroll-container::-webkit-scrollbar {
    display: none;
}
.kundali-section .kundali-image:hover img {
    animation-play-state: paused;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #4A90E2;
    --accent-color: #FFD700;
    --dark-color: #2C1810;
    --light-color: #FFF8E1;
    --gradient-bg: linear-gradient(135deg, #FF6B35 0%, #4A90E2 100%);
    --text-dark: #333;
    --text-light: #666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-color);
    overflow-x: hidden;
}

/* Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2C1810 0%, #4A90E2 50%, #FF6B35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.damru-loader {
    text-align: center;
    animation: floatUp 2s ease-in-out infinite;
}

.damru {
    position: relative;
    width: 80px;
    height: 120px;
    margin: 0 auto 30px;
    animation: shake 1s ease-in-out infinite;
}

.damru-top, .damru-bottom {
    width: 80px;
    height: 40px;
    background: linear-gradient(45deg, #FFD700, #FF6B35);
    border-radius: 50px 50px 20px 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.damru-bottom {
    border-radius: 20px 20px 50px 50px;
    margin-top: 40px;
}

.damru-middle {
    width: 30px;
    height: 40px;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    margin: 0 auto;
    border-radius: 10px;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.damru-strings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.string {
    position: absolute;
    width: 3px;
    height: 30px;
    background: #8B4513;
    border-radius: 2px;
}

.string.left {
    left: -25px;
    transform: rotate(-20deg);
    animation: stringMove 0.5s ease-in-out infinite;
}

.string.right {
    right: -25px;
    transform: rotate(20deg);
    animation: stringMove 0.5s ease-in-out infinite reverse;
}

.loader-text {
    color: white;
    font-family: 'Cinzel', serif;
}

.om-symbol {
    font-size: 4rem;
    animation: glow 2s ease-in-out infinite alternate;
    margin-bottom: 20px;
}

.loader-text p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo .om-symbol {
    font-size: 2rem;
    color: var(--primary-color);
}

.nav-logo h2 {
    font-family: 'Cinzel', serif;
    color: var(--dark-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px; /* Adjust based on your navbar height */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #FF6B35 0%, #4A90E2 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}



.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-title .sanskrit {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out;
}

.hero-title .english {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 2rem 0;
    opacity: 0.8;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: slideInUp 1s ease-out 0.9s both;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.cta-button.primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out 0.5s both;
}

.shiva-statue {
    position: relative;
    text-align: center;
}

.main-statue {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    animation: levitate 3s ease-in-out infinite;
}

.divine-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: aura 4s ease-in-out infinite;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

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

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

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

/* Services Section */
/* Services Section with Gradient Theme */
.services {
    padding: 6rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color:  var(--dark-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B35 0%, #4A90E2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(71, 132, 226, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #2C1810;
    margin-bottom: 1rem;
    position: relative;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.service-btn {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #FF6B35 0%, #4A90E2 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.service-btn:hover::before {
    left: 100%;
}

.service-btn:hover {
    box-shadow: 0 5px 15px rgba(71, 132, 226, 0.4);
}

.service-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,53,0.05) 0%, rgba(74,144,226,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-glow {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services::before {
        height: 200px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes shake {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes stringMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
    100% { text-shadow: 0 0 30px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.8); }
}

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes slideInLeft {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes levitate {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes aura {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title .sanskrit {
        font-size: 2rem;
    }

    .hero-title .english {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Utility Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-gradient {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}