:root {
    /* Colors */
    --primary: #003366;
    /* Deep Blue */
    --primary-light: #004d99;
    --secondary: #FF9933;
    /* Saffron */
    --accent: #FFD700;
    /* Gold */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #0a1128;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--white);
}

/* Buttons */
.btn-primary,
.btn-primary-lg,
.btn-primary-full {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary-full {
    width: 100%;
    text-align: center;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.btn-gold {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-gold:hover {
    background: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-small {
    padding: 0.5rem 1.2rem;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
}

/* Navbar */
#navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

#navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

#navbar.scrolled .nav-links a.btn-primary {
    color: var(--white);
}

.nav-links a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

#navbar.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Hero Image placeholder - User should replace this with a high-res image of Sant Namdev Ji */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1542332213-31f87348057f?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Glassmorphism Cards */
.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: var(--transition);
}

.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image .image-wrapper {
    padding: 1rem;
    border-radius: 20px;
    overflow: hidden;
}

.saint-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    transition: var(--transition);
}

.saint-img:hover {
    transform: scale(1.02);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Matrimony Section */
.matrimony-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.m-feature-card {
    padding: 3rem 2rem;
    text-align: center;
}

.m-feature-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.centered-btn {
    text-align: center;
}

/* Achievers Section */
.achievers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.achiever-card {
    border-radius: 20px;
}

.a-item-header {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 153, 51, 0.1);
    border-bottom: 1px solid rgba(255, 153, 51, 0.2);
}

.a-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.a-item-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.a-info {
    padding: 2rem;
}

.a-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    margin: 0.5rem 0 1rem;
}

/* Events Section */
.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 2rem;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.glass-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 15px;
}

.event-date {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-content {
    flex-grow: 1;
}

.event-content h3 {
    margin-bottom: 0.5rem;
}

.event-content p i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

/* Join/Contact Section */
.join-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4rem;
    gap: 4rem;
}

.join-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.join-benefits {
    list-style: none;
    margin-top: 2rem;
}

.join-benefits li {
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.join-benefits li i {
    color: var(--secondary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo .logo-text {
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-logo p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-grid,
    .matrimony-features,
    .achievers-grid,
    .join-container,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    /* Add JS menu later */
    .mobile-menu-btn {
        display: block;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image {
        width: 100%;
        max-width: 400px;
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .about-text {
        width: 100%;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}