:root {
    --primary-color: #ffffff;
    --secondary-color: #f9fafb;
    --accent-color: #d4af37;
    /* Gold/Saffron */
    --accent-hover: #b5952f;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --text-white: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--primary-color);
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.btn-secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.section-divider.left-align {
    margin: 0 0 30px 0;
}

.section-desc {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--accent-color);
    margin-right: 12px;
    border-radius: 50%;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 20px;
    background-color: #fff;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 35px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
}

/* Page Header (New) */
.page-header {
    background-color: var(--text-dark);
    color: #fff;
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 0;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(var(--bg-overlay), var(--bg-overlay)), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    /* Serene Mountain/Sky */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-white);
    margin-top: -80px;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.9;
}

.subtitle-translation {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.8;
}

/* About Section */
.about {
    background-color: var(--primary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.placeholder-image {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.portrait-placeholder {
    height: 500px;
}

.landscape-placeholder {
    height: 400px;
}

/* Teachings Section */
.teachings-section {
    background-color: var(--secondary-color);
}

.teachings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.teaching-card {
    background-color: var(--primary-color);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.teaching-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.15);
    /* Accent color transparent */
    position: absolute;
    top: 10px;
    right: 20px;
    font-weight: 700;
}

.teaching-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.teaching-card p {
    color: var(--text-light);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Services Section (New) */
.services-section {
    background-color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
}

/* Culture Section */
.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.culture-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.culture-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    height: 250px;
    background-color: #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Jaitkhamb Section */
.jaitkhamb-section {
    background-color: var(--primary-color);
    position: relative;
}

.jaitkhamb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.jaitkhamb-symbol {
    width: 250px;
    height: 400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.jaitkhamb-symbol .pole {
    width: 24px;
    height: 300px;
    background: linear-gradient(90deg, #f0f0f0, #ffffff, #e0e0e0);
    border: 1px solid #ddd;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.jaitkhamb-symbol .base {
    width: 100px;
    height: 50px;
    background: linear-gradient(90deg, #f0f0f0, #ffffff, #e0e0e0);
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.jaitkhamb-symbol .flag {
    width: 80px;
    height: 50px;
    background-color: #fff;
    border: 1px solid #eee;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(12px);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    animation: wave 3s ease-in-out infinite;
    transform-origin: left center;
}

@keyframes wave {

    0%,
    100% {
        transform: translateX(12px) rotate(0deg);
    }

    50% {
        transform: translateX(12px) rotate(5deg);
    }
}

.symbol-list {
    list-style: none;
    margin-top: 20px;
}

.symbol-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 3px solid var(--accent-color);
    color: var(--text-light);
}

.symbol-list strong {
    color: var(--text-dark);
}

/* Contact Section (New) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-tagline {
    font-style: italic;
    color: #888;
    margin-top: 10px;
}

.footer h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }

    .about-grid,
    .culture-grid,
    .jaitkhamb-grid,
    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-grid,
    .culture-grid,
    .jaitkhamb-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-list {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 60px 0;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    /* Mobile Menu Styles */
    .nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        margin: 0;
        padding: 15px 0;
        display: block;
    }
}

/* Parallax Hero */
.parallax-hero {
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Highlights Section (Cards) */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.highlight-card:hover .card-bg {
    transform: scale(1.1);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    width: 100%;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.card-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.card-link {
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    background-image: url('https://images.unsplash.com/photo-1532375810709-75b1da00537c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #fff;
    padding: 120px 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background-color: #fff;
    color: var(--text-dark);
}

/* Service Detail Page Styles */
.service-detail-header {
    background-color: var(--text-dark);
    color: #fff;
    padding: 150px 0 80px;
    text-align: center;
}

.service-detail-content {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.service-main-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #f0f0f0;
}

.service-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info-box {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 16px;
    position: sticky;
    top: 100px;
}

.service-info-box h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
}

.info-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.info-value {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Origins Section */
.origins-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.origins-content h2 {
    font-size: 2.5rem;
}

.btn-outline-dark {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: #fff;
}

.visual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.visual-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.visual-card:hover img {
    transform: scale(1.05);
}

.visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

/* Principles Section */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.principle-card {
    text-align: center;
    padding: 30px;
    border-radius: 16px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: #fff;
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.principle-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.event-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.event-date {
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    margin-right: 20px;
    min-width: 70px;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-details h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.event-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.event-location {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
}

@media (max-width: 768px) {
    .origins-grid {
        grid-template-columns: 1fr;
    }
}