/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #f9fafb;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

a:hover {
    color: var(--secondary-color);
}

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

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.section-padding {
    padding: 6rem 0;
}

/* Card Styles */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card-text {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

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

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(60, 80, 95, 0.1);
    border-bottom: 1px solid rgba(60, 80, 95, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(60, 80, 95, 0.1));
    mix-blend-mode: multiply;
    opacity: 0.9;
    object-fit: contain;
}

.logo-image:hover {
    transform: scale(1.05);
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #3c5060;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #1a2a35;
}

/* Hamburger base styles */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background: #000000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animate into X when active */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

/* Base (hidden) state */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(60, 80, 95, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(60, 80, 95, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1000;
    margin-top: 0.5rem;
}

/* Show when active (toggle via JS) */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Show when hovered (desktop only) */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 0.65rem 1.5rem;
    color: #3c5060;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #1a2a35;
    padding-left: 1.75rem;
}

.dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ✅ Mobile overrides — dropdown expands inline, no scroll */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 80%;
        max-width: 300px;
        text-align: left;
        transition: 0.3s;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 1rem;
        overflow: visible;   /* ✅ no scroll */
        height: auto;        /* ✅ natural height */
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 1rem;
        font-size: 1.05rem;
        border-radius: 4px;
        transition: background-color 0.2s;
    }

    .nav-link:hover {
        background-color: #f5f5f5;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        display: none;   /* hidden until toggle */
        margin-top: 0;
        margin-left: 1rem;
        border-left: 2px solid #eee;
        max-height: none;   /* ✅ expand fully */
        overflow: visible;  /* ✅ no scroll restriction */
        padding: 0;
        transition: none;   /* instant expand */
    }

    .dropdown-menu.show {
        display: block;
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .dropdown-menu li {
        margin: 0.25rem 0;
    }

    .dropdown-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
        color: #666;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

    .dropdown-menu a:hover {
        background-color: #f0f0f0;
        padding-left: 1.25rem;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dropdown-toggle::after {
        margin-left: auto;
        padding-left: 1rem;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
}

/* ===== Continue with Hero, Sections, Guidelines, Registration, Contact, Gallery, FAQ, Footer ===== */
/* (unchanged code continues below...) */

/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
padding-top: 70px;
background: linear-gradient(135deg, #f0f5f8 0%, #dce6eb 50%, #c8d8e0 100%);
position: relative;
overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 70px;
    background: linear-gradient(135deg, #f0f5f8 0%, #dce6eb 50%, #c8d8e0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-logo-image {
    height: 160px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(60, 80, 95, 0.15));
    mix-blend-mode: multiply;
    opacity: 0.9;
    object-fit: contain;
}

.hero-logo-image:hover {
    transform: scale(1.02);
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3c5060;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.hero-date {
    font-size: 1.1rem;
    color: #3c5060;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-location {
    font-size: 1rem;
    color: #3c5060;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3c5060 0%, #1a2a35 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(60, 80, 95, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(60, 80, 95, 0.4);
}

/* Symmetry Art */
.symmetry-art {
    display: flex;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(60, 80, 95, 0.2);
    position: relative;
    align-items: center;
    justify-content: center;
}

.symmetry-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.symmetry-logo-image:hover {
    transform: scale(1.02);
}

/* Section Styles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3c5060;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #3c5060 0%, #1a2a35 100%);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.5);
}

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

.about-text p {
    font-size: 1.1rem;
    color: #3c5060;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(60, 80, 95, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: #3c5060;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    color: #3c5060;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature p {
    color: #3c5060;
    line-height: 1.6;
}

/* Guidelines for Registration Section */
.registration-guidelines {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.8);
}

.guidelines-content {
    max-width: 1000px;
    margin: 0 auto;
}

.guideline-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(60, 80, 95, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(60, 80, 95, 0.05);
}

.guideline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(60, 80, 95, 0.15);
}

.guideline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3c5060 0%, #1a2a35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(60, 80, 95, 0.2);
}

.guideline-text h3 {
    color: #3c5060;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.guideline-text p {
    color: #3c5060;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.guideline-text ul,
.guidelines-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.15rem;
    color: #3c5060;
    line-height: 1.9;
    padding: 0 1.5rem;
}

.guideline-text li {
    margin-bottom: 0.5rem;
    color: #3c5060;
    line-height: 1.6;
}

guideline-text em {
    font-style: italic;
    color: #3c5060;
    opacity: 0.9;
}

/* ===== Responsive Design ===== */
/* Tablets and below */
@media (max-width: 992px) {
    .guidelines {
        padding: 5rem 0;
    }
    
    .guidelines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .guideline-card {
        padding: 2.5rem 2rem;
    }
    
    .guideline-card h3 {
        font-size: 1.4rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .guidelines {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .section-title::after {
        height: 3px;
        bottom: -8px;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .guideline-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .guideline-card h3 {
        font-size: 1.3rem;
        margin: 1rem 0;
    }
    
    .guideline-card p,
    .guideline-card ul li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .guideline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .download-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .guidelines {
        padding: 3.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .guideline-card {
        padding: 1.8rem 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .guideline-card h3 {
        font-size: 1.25rem;
    }
    
    .guideline-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .nav-container {
        padding: 0 20px;
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        bottom: 0;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 80%;
        max-width: 300px;
        text-align: left;
        transition: 0.3s;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 1rem;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 1rem;
        font-size: 1.05rem;
        border-radius: 4px;
        transition: background-color 0.2s;
    }

    .nav-link:hover {
        background-color: #f5f5f5;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
        border: none;
        display: none;
        margin-top: 0;
        margin-left: 1rem;
        border-left: 2px solid #eee;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .dropdown-menu.show {
        display: block;
        max-height: 1000px;
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .dropdown-menu li {
        margin: 0.25rem 0;
    }

    .dropdown-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
        color: #666;
        border-radius: 4px;
        transition: all 0.2s ease;
    }
    
    .dropdown-menu a:hover {
        background-color: #f5f5f5;
        padding-left: 1.25rem;
    }
    
    /* Adjust dropdown toggle for mobile */
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .dropdown-toggle::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
        margin-left: auto;
        padding-left: 1rem;
    }
    
    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    .dropdown-menu a:hover {
        background-color: #f0f0f0;
    }

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

    .hero-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-logo-image {
        height: 120px;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .symmetry-art {
        height: 300px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .section-title {
        font-size: 2rem;
    }
    

}

@media (max-width: 480px) {
    .hero-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-logo-image {
        height: 80px;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .symmetry-art {
        height: 200px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .event-card {
        padding: 2rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .guideline-card {
        padding: 2rem;
    }

    .guidelines-intro {
        margin-bottom: 3rem;
    }
    

}

/* ===== Enhanced Event Guidelines Section ===== */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem; /* Increased gap between cards */
    margin-top: 2rem; /* Added top margin */
}

.guideline-card {
    background: #fff;
    padding: 3rem 2.8rem;   /* more padding for breathing space */
    border-radius: 18px;
    border: 2px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: border-box;
    background-image: linear-gradient(#fff, #fff),
                      linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    margin-bottom: 2.5rem; /* Added margin bottom for spacing */
}

.guideline-card p,
.guideline-card ul li {
    color: #374151;
    line-height: 1.8;   /* slightly looser line height */
    font-size: 1rem;
    margin-bottom: 0.8rem; /* add space between lines and items */
}


.guideline-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.25);
}

.guideline-card .guideline-icon {
    font-size: 2.2rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.25);
}

.guideline-card h3 {
    font-size: 1.6rem; /* Slightly larger heading */
    margin: 1.5rem 0; /* Increased vertical margin */
    color: #1e3a8a;
    font-weight: 700;
    line-height: 1.4;
}

.guideline-card p,
.guideline-card ul li {
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
}

.download-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.download-btn:hover {
    background: linear-gradient(135deg, #1e40af, #0f1d4a);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.3);
}

/* ===== Registration Section (3 Columns, Prominent) ===== */
.registration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0 1.5rem;
}

.event-card {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem 1.5rem;
    border: 2px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: border-box;
    background-image: linear-gradient(#fff, #fff),
                      linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.25);
}

.event-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.event-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.8rem;
}

.register-btn,
.guidelines-btn {
    padding: 0.8rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 200px;
    text-align: center;
}

.register-btn {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
}

.register-btn:hover {
    background: linear-gradient(135deg, #1e40af, #0f1d4a);
    transform: translateY(-2px);
}

.guidelines-btn {
    background: #f1f5f9;
    color: #374151;
    border: 1px solid #d1d5db;
}

.guidelines-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .registration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .registration-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 1.25rem;
    }
    
    .event-card {
        padding: 2rem 1.25rem;
    }
    
    .event-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .register-btn,
    .guidelines-btn {
        width: auto;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Mobile optimizations: Registration and Contact */
@media (max-width: 768px) {
    .event-card {
        padding: 2rem 1.5rem;
    }
    .event-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .register-btn,
    .guidelines-btn {
        width: 100%;
    }

    .contact-item {
        padding: 1.25rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .contact-form input,
    .contact-form textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
}

/* ===== Section Layout Improvements ===== */
section {
    padding: 6rem 0;
}

.about {
    background: #f9fafb;
}

.registration-guidelines {
    background: #ffffff;
}

.guidelines {
    background: #f1f5f9;
    padding: 7rem 0; /* Increased padding top and bottom */
}

.registration {
    background: #ffffff;
}

.contact {
    background: #f9fafb;
}

.gallery {
    background: #ffffff;
}

.faq {
    background: #f1f5f9;
}

.footer {
    background: #1a2a35;
    color: #fff;
}

section:not(.footer)::before {
    content: "";
    display: block;
    height: 1px;
    max-width: 1200px;
    margin: 0 auto 4rem;
    background: rgba(60, 80, 95, 0.1);
}

/* ===== Speakers Section ===== */
.speakers {
    background: #ffffff;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.speaker-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    border: 2px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: border-box;
    background-image: linear-gradient(#fff, #fff),
                      linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.speaker-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.25);
}

.speaker-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.speaker-avatar {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.30);
    flex-shrink: 0;
    padding: 4px; /* creates a subtle ring */
}

.speaker-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    border: 3px solid #ffffff;
}

/* Make speakers section responsive and images prominent on phones */
@media (max-width: 992px) {
    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .speaker-header {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .speaker-avatar {
        width: 96px;
        height: 96px;
        border-radius: 10px;
        box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    }

    .speaker-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .speaker-header {
        align-items: center;
        gap: 1rem;
    }

    .speaker-avatar {
        width: 88px;
        height: 88px;
        border-radius: 8px;
    }
}

.speaker-name {
    font-size: 1.25rem;
    color: #1e3a8a;
}

.speaker-role {
    color: #3c5060;
    font-weight: 500;
}

.speaker-body {
    margin-top: 0.5rem;
}

.talk-title {
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.talk-abstract {
    color: #374151;
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.contact-info {
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.75rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: #3b82f6;
    transform: scale(1.1);
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
}

.contact-item p {
    color: #e2e8f0;
    line-height: 1.7;
    margin: 0.25rem 0;
}

/* Specific style for email address */
.contact-item p:has(a[href^="mailto:"]) {
    font-size: 0.85rem;
}

.contact-item a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-form {
    padding: 3.5rem 3rem;
    background: #fff;
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 1.1rem 2.5rem;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.submit-btn:hover::before {
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

.form-message {
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    display: none;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
    display: block;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 800px;
        margin: 3rem auto 0;
    }
    
    .contact-info {
        border-radius: 16px 16px 0 0;
        padding: 2.5rem 2rem;
    }
    
    .contact-form {
        border-radius: 0 0 16px 16px;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-content {
        margin-top: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .contact-item i {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-item i {
        margin-bottom: 0.75rem;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 5rem 0;
    background: #fff;
}

.slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(60, 80, 95, 0.2);
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.prev-btn,
.next-btn {
    background: #3c5060;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
    background: #1a2a35;
}

.dots-container {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #3c5060;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 5rem 0;
    background: #f9fafb;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(60, 80, 95, 0.1);
    cursor: pointer;
    transition: 0.3s;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    margin-top: 1rem;
    color: #3c5060;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== Footer ===== */
.footer {
    background: #1a2a35;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #fff;
}

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

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

.footer-section ul li a {
    color: #cbd5e1;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links a {
    font-size: 1.4rem;
    margin-right: 1rem;
    color: #cbd5e1;
    transition: 0.3s;
}

.social-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #cbd5e1;
}
