/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Minimalist dark gray and white theme */
    --dark-gray: #2C2C2C;
    --medium-gray: #4A4A4A;
    --light-gray: #E5E5E5;
    --white: #ffffff;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
    --border-light: rgba(0, 0, 0, 0.1);
    
    /* Colorful theme for registration section only */
    --primary-red: #8B0000;
    --primary-orange: #CC5500;
    --dark-red-bg: #4A1F1F;
    --festive-bg: #3D1F1F;
    --accent-yellow: #FFD700;
    --accent-red: #DC143C;
}

body {
    font-family: 'Anek Malayalam', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Navigation */
.navbar {
    background: var(--dark-gray);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: auto;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: 'Anek Malayalam', sans-serif;
    display: block;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Banner Section with Auto Slider */
.banner-section {
    margin-top: 70px;
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    animation: fadeIn 1s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s ease-out;
    font-family: 'Anek Malayalam', sans-serif;
}

.slide-content p {
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    animation: slideUp 1.2s ease-out;
    font-family: 'Anek Malayalam', sans-serif;
}

.slider-nav {
    display: none;
}

.slider-dots {
    display: none;
}

/* Register Section */
.register-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, 
        rgba(75, 0, 130, 0.95) 0%, 
        rgba(255, 140, 0, 0.9) 20%,
        rgba(255, 20, 147, 0.95) 40%,
        rgba(0, 191, 255, 0.9) 60%,
        rgba(255, 215, 0, 0.95) 80%,
        rgba(75, 0, 130, 0.95) 100%);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Sparkling lights background effect */
.register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 90% 50%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 33% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 15% 80%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 40% 20%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 85% 90%, rgba(255, 255, 255, 0.7), transparent);
    background-size: 200% 200%, 150% 150%, 180% 180%, 160% 160%, 170% 170%, 190% 190%, 200% 200%, 140% 140%, 165% 165%, 155% 155%;
    background-position: 0% 0%, 20% 20%, 40% 40%, 60% 60%, 80% 80%, 10% 10%, 30% 30%, 50% 50%, 70% 70%, 90% 90%;
    animation: sparkle 8s ease-in-out infinite;
    opacity: 0.8;
    pointer-events: none;
}

/* Silhouette effect for dancers */
.register-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: 
        radial-gradient(ellipse 200px 300px at 30% 80%, rgba(0, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 180px 280px at 70% 75%, rgba(0, 0, 0, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 150px 250px at 50% 85%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.register-banner {
    background: transparent;
    padding: 2rem 4rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.register-banner-image {
    width: 100%;
    position: relative;
    z-index: 2;
}

.registration-banner-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    display: block;
}


@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}


.register-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.register-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 
        3px 3px 0px var(--accent-red),
        0 0 20px rgba(220, 20, 60, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3);
    position: relative;
    display: block;
    letter-spacing: 1px;
    line-height: 1.3;
}

.register-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.register-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--primary-orange) 100%);
    color: var(--white);
    padding: 1.2rem 4rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    min-height: 60px;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    animation: buttonPulse 3s ease-in-out infinite;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:hover {
    background: linear-gradient(135deg, #B22222 0%, #FF4500 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.6), 0 0 30px rgba(255, 215, 0, 0.5);
    border-color: var(--white);
    animation: none;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(220, 20, 60, 0.7), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--dark-gray);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(169, 223, 191, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(174, 214, 241, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    max-width: 100%;
    width: 100%;
}

.about-text {
    width: 100%;
    max-width: 100%;
}

.about-text {
    position: relative;
    z-index: 1;
}

.about-text h3 {
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 700;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.temple-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px var(--shadow);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Events Section */
.events-section {
    padding: 5rem 0;
    background: var(--white);
    overflow: hidden;
}

.events-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.events-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.events-slider {
    display: flex;
    gap: 2rem;
    animation: slideRight 30s linear infinite;
    width: max-content;
    will-change: transform;
}

.events-slider:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .events-slider {
        animation: none;
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.event-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
    min-width: 400px;
    flex-shrink: 0;
    touch-action: pan-y;
    border: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.event-card:hover {
    border-color: var(--medium-gray);
    box-shadow: 0 4px 15px var(--shadow);
    transform: translateY(-2px);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.event-date {
    background: var(--dark-gray);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px var(--shadow);
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.date-year {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    opacity: 0.9;
}

.event-content h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.event-time {
    color: var(--medium-gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Ulsavam Section */
.ulsavam-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.ulsavam-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.ulsavam-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow);
    border: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ulsavam-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.ulsavam-card h3 {
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.ulsavam-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    flex-grow: 1;
}

.download-btn {
    display: inline-block;
    background: var(--dark-gray);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
    min-height: 50px;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--dark-gray);
}

.download-btn:hover {
    background: var(--medium-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}

.ulsavam-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    border: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ulsavam-info h4 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.ulsavam-info ul {
    list-style: none;
}

.ulsavam-info li {
    padding: 0.3rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--light-bg);
}

.ulsavam-info li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.map-container-full {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-light);
}

.embed-map-responsive {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%;
}

.embed-map-container {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
}

.embed-map-frame {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px var(--shadow);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px var(--shadow);
    border-color: var(--medium-gray);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0.3rem 0;
}


/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2rem 0;
    position: relative;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.footer-content p:first-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .about-content,
    .ulsavam-content,
    .contact-content {
        gap: 2rem;
    }
}

/* Prevent horizontal scroll on mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .logo-img {
        height: 40px;
        max-width: 150px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark-gray);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px var(--shadow);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .banner-section {
        margin-top: 60px;
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .slide-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .slider-nav {
        padding: 0 1rem;
    }

    .slider-nav button {
        font-size: 1.5rem;
        padding: 0.8rem 1.2rem;
        min-width: 45px;
        min-height: 45px;
    }

    .slider-dots {
        bottom: 1rem;
    }

    .register-section {
        padding: 3rem 0;
    }

    .register-banner {
        padding: 2rem 1.5rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .register-banner-image {
        order: 1;
    }

    .register-content {
        order: 2;
    }

    .registration-banner-img {
        border-radius: 8px;
    }

    .register-content h2 {
        font-size: 1.8rem;
    }

    .register-content p {
        font-size: 1rem;
    }

    .register-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .about-section,
    .events-section,
    .ulsavam-section,
    .contact-section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .ulsavam-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .temple-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .events-slider-container {
        margin: 0 -15px;
        padding: 0 15px;
    }

    .event-card {
        min-width: 280px;
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .event-date {
        min-width: auto;
        width: 100%;
        max-width: 120px;
        margin: 0 auto;
    }

    .ulsavam-card {
        padding: 2rem 1.5rem;
    }

    .ulsavam-card h3 {
        font-size: 1.5rem;
    }

    .ulsavam-info {
        padding: 2rem 1.5rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .embed-map-responsive {
        padding-bottom: 60%;
    }

    .footer {
        padding: 2rem 0;
    }

    .footer-content p {
        font-size: 0.9rem;
    }

    .footer-content p:first-child {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 35px;
        max-width: 120px;
    }

    .banner-section {
        height: 50vh;
        min-height: 350px;
        max-height: 450px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .slider-nav button {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
        min-width: 40px;
        min-height: 40px;
    }

    .register-banner {
        padding: 1.5rem 1rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .register-banner-image {
        order: 1;
    }

    .register-content {
        order: 2;
    }

    .registration-banner-img {
        border-radius: 6px;
    }

    .register-content h2 {
        font-size: 1.5rem;
    }

    .register-content p {
        font-size: 0.95rem;
    }

    .register-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .event-card {
        min-width: 250px;
        padding: 1.2rem;
    }

    .event-content h3 {
        font-size: 1.1rem;
    }

    .event-content p {
        font-size: 0.9rem;
    }

    .ulsavam-card {
        padding: 1.5rem 1rem;
    }

    .ulsavam-card h3 {
        font-size: 1.3rem;
    }

    .ulsavam-card p {
        font-size: 0.95rem;
    }

    .download-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .ulsavam-info h4 {
        font-size: 1.2rem;
    }

    .ulsavam-info li {
        font-size: 1rem;
        padding: 0.6rem 0;
    }

    .contact-card h3 {
        font-size: 1.1rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    .embed-map-responsive {
        padding-bottom: 70%;
    }

    .footer-content p:first-child {
        font-size: 1rem;
    }

    .footer-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .logo-img {
        height: 30px;
        max-width: 100px;
    }

    .banner-section {
        height: 45vh;
        min-height: 300px;
    }

    .slide-content h2 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .event-card {
        min-width: 220px;
    }

    .register-content h2 {
        font-size: 1.3rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-menu a,
    .register-btn,
    .download-btn,
    .slider-nav button {
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    }

    .event-card:hover {
        transform: none;
    }

    .feature:hover,
    .contact-card:hover {
        transform: none;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .banner-section {
        height: 100vh;
        min-height: 500px;
    }

    .nav-menu {
        height: calc(100vh - 60px);
        top: 60px;
    }
}

