/* ==========================================================================
   CSS Variables (Jain Aesthetics Palette)
   ========================================================================== */
:root {
    /* Colors */
    --clr-sand-light: #F9F6F0;
    --clr-sand-dark: #F3EFE6;
    --clr-gold-light: #D4AF37;
    --clr-gold-dark: #C5A059;
    --clr-maroon: #8B0000;
    --clr-charcoal: #1F1F1F;
    --clr-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transition */
    --transition-smooth: all 0.3s ease-in-out;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-sand-light);
    color: var(--clr-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-maroon);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--clr-gold-light);
    color: var(--clr-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--clr-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366; /* Standard WhatsApp Green */
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
}
.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    background-color: var(--clr-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--clr-gold-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.nav-logo img {
    height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--clr-charcoal);
}

.nav-links:hover {
    color: var(--clr-gold-dark);
}

.btn-register {
    background-color: var(--clr-gold-light);
    color: var(--clr-white);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-register:hover {
    background-color: var(--clr-gold-dark);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-maroon);
    cursor: pointer;
}

.nav-close-btn {
    display: none;
}

.nav-overlay {
    display: none;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 36, 36, 0.6); /* Maroon tint overlay */
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--clr-white);
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 3.2rem;
    color: var(--clr-white);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.slide-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--clr-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    transition: var(--transition-smooth);
}

.hero-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--clr-gold-light);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--clr-gold-light);
}

/* ==========================================================================
   Feature Sections (Event & About Layout)
   ========================================================================== */
.feature-section {
    padding: 80px 20px;
    background-color: var(--clr-white);
    width: 100%;
    overflow: hidden;
}

.feature-section.bg-sand {
    background-color: var(--clr-sand-light);
}

.feature-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    box-sizing: border-box;
}

.feature-left,
.feature-right {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

/* Left Column */
.feature-image {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
}

.feature-image a {
    display: block;
    width: 100%;
    max-width: 100%;
}

.feature-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 0;
    object-fit: cover;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: var(--clr-maroon);
    color: var(--clr-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.feature-list-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 10px 0;
    border-radius: 8px;
    transition: var(--transition-smooth);
    min-width: 0;
    width: 100%;
}

.feature-list-item:hover .feature-icon {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    background-color: var(--clr-gold-light);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.feature-text {
    min-width: 0;
    flex: 1;
    word-break: break-word;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.feature-text p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* Responsive Table */
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: #fff;
}

.table-responsive th,
.table-responsive td {
    padding: 12px 15px;
    text-align: left;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Right Column */
.feature-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-title .icon-title {
    font-size: 2rem;
    margin-top: 5px;
}

.feature-desc {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.f-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--clr-sand-light) 100%);
    padding: 30px 25px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-top: 5px solid var(--clr-gold-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.f-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #Fefcf5 100%);
}

.f-card h5 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--clr-maroon);
    letter-spacing: 0.5px;
}

.f-card p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.feature-quote {
    border-left: 4px solid var(--clr-gold-light);
    padding: 15px 20px;
    font-style: italic;
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #444;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--clr-maroon);
    color: var(--clr-sand-light);
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--clr-gold-light);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--clr-gold-light);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background-color: var(--clr-gold-light);
    color: var(--clr-white);
}

.footer-helpline {
    font-weight: 600;
}
.footer-helpline a {
    color: var(--clr-gold-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--clr-white);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    transform: translateY(-20px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-charcoal);
}

.modal-close:hover {
    color: var(--clr-maroon);
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 992px) {
    .feature-section {
        padding: 60px 20px;
    }
    .feature-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .feature-section {
        padding: 45px 15px;
    }
    .feature-container {
        gap: 30px;
    }
    .feature-image {
        margin-bottom: 20px;
    }
    .feature-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.2rem;
    }
    .nav-logo img {
        height: 58px;
    }
    .table-responsive th,
    .table-responsive td {
        padding: 10px 12px;
        font-size: 0.88rem;
    }
    .nav-toggle {
        display: block;
    }
    
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1500;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 260px;
        height: 100vh;
        background: var(--clr-white);
        flex-direction: column;
        padding: 80px 20px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1501;
        align-items: flex-start;
        clip-path: none;
    }
    
    .nav-menu.active {
        right: 0;
        clip-path: none;
    }
    
    .nav-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
        color: var(--clr-maroon);
        cursor: pointer;
        padding: 10px;
        z-index: 2000;
    }
    .slide-content h2 {
        font-size: 2.2rem;
    }
    .feature-title {
        font-size: 1.8rem;
    }
    .feature-title .icon-title {
        font-size: 1.5rem;
    }
    .feature-cards {
        grid-template-columns: 1fr;
    }
    .event-actions {
        flex-direction: column;
    }
    .event-actions a, .event-actions button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .feature-section {
        padding: 35px 12px;
    }
    .feature-container {
        gap: 25px;
    }
    .feature-title {
        font-size: 1.5rem !important;
    }
    .feature-list-item {
        gap: 12px;
    }
    .feature-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.1rem;
    }
    .table-responsive th,
    .table-responsive td {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    .table-responsive th {
        width: 38% !important;
    }
}

/* ==========================================================================
   New Hero Slider Layout Styles
   ========================================================================== */
.hero-slider .slide-content {
    align-items: flex-start;
    text-align: left;
    max-width: 1400px;
    width: 100%;
    padding: 0 6%;
}

.hero-badge {
    font-family: var(--font-body);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--clr-white);
}

.hero-slider .slide-content h2 {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--clr-white);
    letter-spacing: -0.5px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-slider .slide-content p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 750px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--clr-white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--clr-white);
    transform: translateY(-2px);
}

.btn-solid-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #8B0000; /* Dark Red / Maroon variant */
    color: var(--clr-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-solid-red:hover {
    background-color: #660000;
    transform: translateY(-2px);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--clr-maroon);
    color: var(--clr-maroon);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-dark:hover {
    background: var(--clr-maroon);
    color: var(--clr-white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-slider .slide-content {
        padding: 0 20px;
        align-items: center;
        text-align: center;
    }
    .hero-slider .slide-content h2 {
        font-size: 1.9rem;
        letter-spacing: 0;
    }
    .hero-cta-group {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    .hero-cta-group a, .hero-cta-group button {
        width: 100%;
        justify-content: center;
    }

    /* Responsive Inner Page Banners */
    section[style*="suhasthi-slider-banner-1.jpeg"] {
        padding: 40px 15px !important; /* Super compact vertical padding for mobile */
        background-attachment: scroll !important;
    }
    
    section[style*="suhasthi-slider-banner-1.jpeg"] h1 {
        font-size: 1.8rem !important; /* Much smaller header font size */
        margin-bottom: 5px !important;
    }
    
    section[style*="suhasthi-slider-banner-1.jpeg"] p {
        font-size: 0.9rem !important; /* Smaller subtitle */
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
}
