/* Modern Futuristic Conference Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    /* Dark mode colors (default) */
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --accent-color: #8b5cf6;
    --gradient-start: #6366f1;
    --gradient-end: #4f46e5;
    --text-color: #f8f9fa;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --background-color: #0f172a;
    --background-secondary: #1e293b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --success: #10b981;
    --header-overlay: rgba(15, 23, 42, 0.6);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --form-bg: rgba(99, 102, 241, 0.1);
    --form-input-bg: rgba(255, 255, 255, 0.05);
    --form-input-focus-bg: rgba(255, 255, 255, 0.1);
}

/* Light mode colors */
@media (prefers-color-scheme: light) {
    :root {
        --primary-color: #4f46e5;
        --secondary-color: #6366f1;
        --accent-color: #8b5cf6;
        --gradient-start: #4f46e5;
        --gradient-end: #6366f1;
        --text-color: #0f172a;
        --text-secondary: rgba(15, 23, 42, 0.7);
        --background-color: #f8fafc;
        --background-secondary: #ffffff;
        --card-bg: rgba(255, 255, 255, 0.9);
        --card-border: rgba(15, 23, 42, 0.1);
        --success: #10b981;
        --header-overlay: rgba(255, 255, 255, 0.2);
        --shadow-color: rgba(15, 23, 42, 0.1);
        --form-bg: rgba(79, 70, 229, 0.05);
        --form-input-bg: rgba(15, 23, 42, 0.05);
        --form-input-focus-bg: rgba(15, 23, 42, 0.08);
    }
}

/* Manual theme class overrides for JavaScript theme switching */
body.light-mode {
    --primary-color: #4f46e5;
    --secondary-color: #6366f1;
    --accent-color: #8b5cf6;
    --gradient-start: #4f46e5;
    --gradient-end: #6366f1;
    --text-color: #0f172a;
    --text-secondary: rgba(15, 23, 42, 0.7);
    --background-color: #f8fafc;
    --background-secondary: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(15, 23, 42, 0.1);
    --success: #10b981;
    --header-overlay: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(15, 23, 42, 0.1);
    --form-bg: rgba(79, 70, 229, 0.05);
    --form-input-bg: rgba(15, 23, 42, 0.05);
    --form-input-focus-bg: rgba(15, 23, 42, 0.08);
}

body.dark-mode {
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --accent-color: #8b5cf6;
    --gradient-start: #6366f1;
    --gradient-end: #4f46e5;
    --text-color: #f8f9fa;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --background-color: #0f172a;
    --background-secondary: #1e293b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --success: #10b981;
    --header-overlay: rgba(15, 23, 42, 0.6);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --form-bg: rgba(99, 102, 241, 0.1);
    --form-input-bg: rgba(255, 255, 255, 0.05);
    --form-input-focus-bg: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.light-mode {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 20%);
    background-attachment: fixed;
}

.dark-mode {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 20%);
    background-attachment: fixed;
}

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

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px var(--shadow-color);
}

.theme-toggle i {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: transform 0.5s ease;
}

.theme-toggle:hover i {
    transform: rotate(30deg);
}

/* Header Styles */
header {
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 0 0 60px 60px;
    box-shadow: 0 20px 40px var(--shadow-color);
    margin-bottom: 60px;
    transition: all 0.3s ease;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1505373877841-8d25f7d46678?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.3s ease;
    animation: zoomBackground 20s infinite alternate ease-in-out;
}

@keyframes zoomBackground {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.light-mode header::before {
    opacity: 0.2;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.4rem;
    margin-top: 20px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

/* Modern Header Styles */
.modern-header {
    height: 100vh;
    min-height: 700px;
    max-height: 1080px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-bottom: 80px;
    border-radius: 0 0 60px 60px;
    box-shadow: 0 20px 40px var(--shadow-color);
}

/* Add these new styles for the banner images */
.header-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: bannerFade 15s infinite;
}

.header-banner:nth-child(1) {
    background-image: url('banner1.webp');
    animation-delay: 0s;
}

.header-banner:nth-child(2) {
    background-image: url('banner2.webp');
    animation-delay: 5s;
}

.header-banner:nth-child(3) {
    background-image: url('banner3.webp');
    animation-delay: 10s;
}

@keyframes bannerFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.7), rgba(79, 70, 229, 0.7));
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

.header-titles {
    margin-bottom: 30px;
}

.tamil-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.english-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.header-date {
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.header-cta {
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: #ffffff;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cta-button:hover::before {
    opacity: 1;
}

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

/* Responsive Header */
@media (max-width: 992px) {
    .modern-header {
        min-height: 600px;
    }
    
    .tamil-title {
        font-size: 3.5rem;
    }
    
    .english-title {
        font-size: 2.8rem;
    }
    
    .header-date {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .modern-header {
        min-height: 500px;
    }
    
    .tamil-title {
        font-size: 2.8rem;
    }
    
    .english-title {
        font-size: 2.2rem;
    }
    
    .header-date {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .modern-header {
        min-height: 450px;
    }
    
    .tamil-title {
        font-size: 2.2rem;
    }
    
    .english-title {
        font-size: 1.8rem;
    }
    
    .header-date {
        font-size: 1rem;
    }
}

/* Event Info Section */
.event-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 3rem 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.event-info .event-card {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 25px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.event-info .event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    z-index: 2;
}

.event-info .event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start) 0%, transparent 150%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.event-info .event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.event-info .event-card:hover::after {
    opacity: 0.05;
}

.event-info i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
    transition: all 0.4s ease;
    position: relative;
}

.event-info i::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient-start);
    opacity: 0.1;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.4s ease;
}

.event-info .event-card:hover i {
    transform: scale(1.1) rotate(10deg);
}

.event-info .event-card:hover i::after {
    width: 60px;
    height: 60px;
    opacity: 0.2;
}

.event-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.event-info p {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-secondary);
    margin: 0;
    transition: color 0.3s ease;
}

/* Light mode specific styles */
body:not(.dark-mode) .event-info .event-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

body:not(.dark-mode) .event-info h3 {
    color: var(--primary-color);
}

body:not(.dark-mode) .event-info p {
    color: var(--text-color);
}

body:not(.dark-mode) .event-info .event-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-color);
}

/* Dark mode specific styles */
.dark-mode .event-info .event-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .event-info h3 {
    color: var(--accent-color);
}

.dark-mode .event-info p {
    color: rgba(255, 255, 255, 0.9);
}

.dark-mode .event-info .event-card:hover {
    background: #1a2234;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
    .event-info {
        padding: 0 20px;
    }
    
    .event-info .event-card {
        min-width: 200px;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .event-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .event-info .event-card {
        width: 100%;
    }
}

/* Section Styles */
section {
    margin-bottom: 60px;
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow-color);
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem; /* Reduced font size */
    margin-bottom: 20px; /* Reduced margin */
    color: var(--text-color);
    position: relative;
    padding-bottom: 12px; /* Reduced padding */
    transition: color 0.3s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px; /* Reduced width */
    height: 3px; /* Reduced height */
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
    transition: background 0.3s ease;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.section-content p {
    margin-bottom: 20px;
}

/* Tagline Section */
.tagline-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    margin: 40px 0;
    transition: background 0.3s ease;
}

.tagline-section p {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: #ffffff;
}

/* Enhanced Why Attend Section */
.why-attend-section {
    padding: 80px 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.why-attend-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: 0;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-header-bilingual {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title-tamil {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-color);
    text-shadow: 0 2px 10px var(--shadow-color);
    animation: fadeInDown 1s ease;
}

.section-title-english {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease;
}

@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);
    }
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    flex-grow: 1;
    max-width: 200px;
}

.divider-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    margin: 0 20px;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px var(--shadow-color);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px var(--shadow-color);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px var(--shadow-color);
    }
}

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

.why-attend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.why-attend-card {
    height: 320px;
    perspective: 1000px;
    position: relative;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
}

.card-front {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transform: rotateY(0deg);
    z-index: 2;
}

.card-back {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    transform: rotateY(180deg);
    z-index: 1;
}

.why-attend-card:hover .card-front {
    transform: rotateY(-180deg);
}

.why-attend-card:hover .card-back {
    transform: rotateY(0deg);
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.card-front .card-icon {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-color);
}

.card-back .card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.why-attend-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.card-front .card-title {
    color: var(--text-color);
}

.card-back .card-title {
    color: white;
}

.card-text {
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.card-front .card-text {
    color: var(--text-color);
}

.card-back .card-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Card animations */
.why-attend-card:nth-child(1) {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.why-attend-card:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.why-attend-card:nth-child(3) {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.why-attend-card:nth-child(4) {
    animation: fadeInUp 0.6s ease 0.4s both;
}

/* Responsive styles */
@media (max-width: 992px) {
    .section-title-tamil {
        font-size: 2.5rem;
    }
    
    .section-title-english {
        font-size: 1.8rem;
    }
    
    .why-attend-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .why-attend-section {
        padding: 60px 30px;
    }
    
    .section-title-tamil {
        font-size: 2rem;
    }
    
    .section-title-english {
        font-size: 1.5rem;
    }
    
    .why-attend-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .why-attend-card {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .why-attend-section {
        padding: 40px 20px;
    }
    
    .section-title-tamil {
        font-size: 1.8rem;
    }
    
    .section-title-english {
        font-size: 1.3rem;
    }
    
    .card-front,
    .card-back {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

/* Registration Section */
.registration-section {
    background: var(--background-secondary);
    padding: 80px 0;
    border-radius: 30px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.1;
    z-index: 0;
}

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

.registration-header {
    text-align: center;
    margin-bottom: 60px;
}

.registration-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.registration-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

.registration-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.registration-benefit {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.registration-benefit i {
    font-size: 1.8rem;
    margin-right: 20px;
    color: var(--accent-color);
}

.registration-benefit p {
    font-size: 1rem;
    color: var(--text-color);
}

.registration-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 25px;
}

.form-row label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.form-row input,
.form-row select {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: var(--form-input-bg);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    background: var(--form-input-focus-bg);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.radio-group input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.submit-button i {
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .registration-header h2 {
        font-size: 2.2rem;
    }
    
    .registration-form {
        padding: 20px;
    }
}

/* Lists */
.objectives-list,
.benefits-list {
    list-style: none;
    padding-left: 20px;
}

.objectives-list li,
.benefits-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.objectives-list li:before,
.benefits-list li:before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

/* Footer */
.modern-footer {
    background: linear-gradient(to right, var(--background-color), var(--background-secondary));
    border-top: 1px solid var(--card-border);
    margin-top: 80px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1), transparent 60%);
    z-index: 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px 40px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 10px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-info p, 
.footer-credits p {
    color: var(--text-secondary);
    margin: 5px 0;
    font-size: 0.9rem;
}

.developer-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 5px;
}

.developer-link i {
    font-size: 0.8rem;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

.developer-link:hover {
    color: var(--text-color);
}

.developer-link:hover i {
    transform: translateX(3px) translateY(-3px);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .footer-info {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 30px 20px 15px;
    }
    
    .footer-bottom {
        padding: 15px;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
}

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

section {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    header h1 {
        font-size: 3rem;
    }
    
    .event-info {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .theme-toggle {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 60px 20px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem; /* Reduced font size */
        margin-bottom: 15px; /* Reduced margin */
        padding-bottom: 10px; /* Reduced padding */
    }
    
    .event-info div {
        width: 100%;
        max-width: 300px;
    }
    
    .registration-form {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem; /* Reduced font size */
        margin-bottom: 12px; /* Reduced margin */
        padding-bottom: 8px; /* Reduced padding */
    }
    
    .why-attend-grid {
        grid-template-columns: 1fr;
    }
}

/* Updated Unified Highlights Section */
.unified-highlights {
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--background-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlights-tabs {
    display: flex;
    border-bottom: 1px solid var(--card-border);
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10; /* Ensure tabs are clickable */
}

.highlight-tab {
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    flex: 1;
    text-align: center;
    font-size: 0.9rem; /* Smaller font */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10; /* Ensure tabs are clickable */
}

.highlight-tab.active {
    color: var(--text-color);
}

.highlight-tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 9; /* Below the tabs but visible */
}

.highlight-tab .tab-icon {
    font-size: 1rem; /* Smaller icon */
    transition: transform 0.3s ease;
}

.highlight-tab:hover .tab-icon,
.highlight-tab.active .tab-icon {
    transform: scale(1.2);
    color: var(--accent-color);
}

.highlight-panels {
    position: relative;
    overflow: hidden;
}

.highlight-panel {
    padding: 25px; /* Reduced padding */
    display: none;
    animation: fadeIn 0.5s ease forwards;
    background: var(--background-secondary);
}

.highlight-panel.active {
    display: block;
}

.highlight-panel-header {
    margin-bottom: 15px; /* Reduced margin */
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlight-panel-header .panel-icon {
    font-size: 1.5rem; /* Smaller icon */
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    width: 50px; /* Smaller icon container */
    height: 50px; /* Smaller icon container */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.highlight-panel-header h2 {
    font-size: 1.5rem; /* Smaller heading */
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-panel-content {
    display: flex;
    gap: 25px; /* Reduced gap */
}

.highlight-panel-text {
    flex: 1;
}

.highlight-panel-text p {
    color: var(--text-color);
    line-height: 1.5; /* Reduced line height */
    margin-bottom: 12px; /* Reduced margin */
    font-size: 0.9rem; /* Smaller text */
}

.highlight-panel-list {
    flex: 1;
}

.highlight-panel-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-panel-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
}

.highlight-panel-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.highlight-panel-list li:hover::before {
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .highlight-panel-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .highlight-tab {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .highlights-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .highlight-tab {
        border-bottom: 1px solid var(--card-border);
    }
    
    .highlight-tab-indicator {
        display: none;
    }
    
    .highlight-panel {
        padding: 20px;
    }
    
    .highlight-panel-header {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-panel-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .highlight-panel-header .panel-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .highlight-panel-list li {
        font-size: 0.9rem;
    }
}

/* Remove old styles */
.highlights-section,
.objectives-section,
.benefits-section {
    /* These sections will be replaced by the unified design */
    display: none;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.contact-info strong {
    color: var(--primary-color);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        height: 300px;
    }
}

/* Add these styles after the existing ones */

.free-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.free-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.free-badge {
    display: inline-block;
    background: white;
    color: var(--gradient-start);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.free-message {
    color: white;
    font-size: 1.4rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.free-message strong {
    font-weight: 600;
    text-decoration: underline;
}

.free-section .tamil-message {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.free-section .english-message {
    font-size: 1.2rem;
    opacity: 0.9;
}

.free-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.free-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Add this style for the TYL Code field transition */
#tyl-code {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tyl-code-hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.tyl-code-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Schedule Section */
.schedule-section {
    padding: 80px 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.schedule-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: 0;
    animation: rotate 60s linear infinite;
}

.schedule-tagline {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--gradient-start), 
        var(--gradient-end), 
        var(--accent-color));
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 70px;
    position: relative;
    z-index: 2;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-image-container {
    position: relative;
    min-width: 120px;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.timeline-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.timeline-item:hover .timeline-image {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
}

.timeline-connector {
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 4px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.timeline-content {
    background: var(--background-secondary);
    border-radius: 20px;
    padding: 30px;
    margin-left: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    flex: 1;
    border: 1px solid var(--card-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), transparent);
    z-index: 0;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.timeline-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.timeline-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.timeline-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-header h3 {
    color: var(--accent-color);
}

.timeline-body {
    position: relative;
    z-index: 1;
}

.timeline-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
}

.timeline-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-highlights li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.timeline-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translateY(-50%);
    transition: background 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-highlights li {
    color: var(--text-color);
    transform: translateX(5px);
}

.timeline-item:hover .timeline-highlights li::before {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.2);
}

/* Special styling for past, present, future items */
.timeline-item.past .timeline-image {
    border-color: #6366f1;
}

.timeline-item.present .timeline-image {
    border-color: #8b5cf6;
}

.timeline-item.future .timeline-image {
    border-color: #ec4899;
}

.timeline-item.past .timeline-connector {
    background: #6366f1;
}

.timeline-item.present .timeline-connector {
    background: #8b5cf6;
}

.timeline-item.future .timeline-connector {
    background: #ec4899;
}

.timeline-item.past .timeline-header h3 {
    color: #6366f1;
}

.timeline-item.present .timeline-header h3 {
    color: #8b5cf6;
}

.timeline-item.future .timeline-header h3 {
    color: #ec4899;
}

.timeline-item.past:hover .timeline-header h3 {
    color: #818cf8;
}

.timeline-item.present:hover .timeline-header h3 {
    color: #a78bfa;
}

.timeline-item.future:hover .timeline-header h3 {
    color: #f472b6;
}

.timeline-item.past .timeline-highlights li::before {
    background: #6366f1;
}

.timeline-item.present .timeline-highlights li::before {
    background: #8b5cf6;
}

.timeline-item.future .timeline-highlights li::before {
    background: #ec4899;
}

/* Responsive styles for timeline */
@media (max-width: 992px) {
    .timeline-container::before {
        left: 60px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .timeline-image-container {
        position: absolute;
        left: 10px;
        top: 0;
    }
    
    .timeline-image {
        width: 80px;
        height: 80px;
    }
    
    .timeline-connector {
        width: 30px;
        top: 40px;
        left: 60px;
        right: auto;
    }
    
    .timeline-content {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .schedule-section {
        padding: 60px 30px;
    }
    
    .timeline-container::before {
        left: 40px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-image-container {
        left: 0;
    }
    
    .timeline-image {
        width: 60px;
        height: 60px;
    }
    
    .timeline-connector {
        width: 20px;
        top: 30px;
        left: 40px;
    }
    
    .timeline-header h3 {
        font-size: 1.3rem;
    }
    
    .timeline-header h4 {
        font-size: 1.1rem;
    }
    
    .timeline-body p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .schedule-section {
        padding: 40px 20px;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-image {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
    
    .timeline-connector {
        width: 15px;
        top: 25px;
        left: 30px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-header h3 {
        font-size: 1.2rem;
    }
    
    .timeline-header h4 {
        font-size: 1rem;
    }
    
    .timeline-highlights li {
        font-size: 0.9rem;
    }
}

/* Other sections */
/* Enhanced About Section Styles */
.about-section {
    padding: 50px 25px; /* Further reduced padding */
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 50px 0; /* Further reduced margin */
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px var(--shadow-color);
}

/* Add the radial gradient background effect */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, var(--gradient-start) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Adjusted ratio to give less space to image */
    gap: 25px; /* Further reduced gap */
    align-items: stretch; /* Changed to stretch to make both columns equal height */
}

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduced gap */
    height: 100%; /* Ensure text content takes full height */
    justify-content: space-between; /* Distribute content evenly */
}

.about-paragraph {
    position: relative;
    padding: 12px; /* Reduced padding */
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-paragraph p {
    font-size: 0.9rem; /* Smaller font size */
    line-height: 1.5; /* Reduced line height */
    color: var(--text-color);
    text-align: justify;
    margin: 0;
}

.about-paragraph.highlight {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--accent-color);
    padding-left: 15px; /* Reduced padding */
}

.about-paragraph.highlight p {
    font-weight: 500;
}

.about-paragraph:hover {
    transform: translateY(-3px); /* Reduced hover effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.about-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px; /* Added rounded corners */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
    transform: perspective(1000px) rotateY(-5deg); /* Added 3D perspective */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%; /* Maintain aspect ratio */
    overflow: hidden;
    border-radius: 20px; /* Match container's rounded corners */
}

.about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px; /* Match container's rounded corners */
    transition: transform 0.3s ease;
}

.about-image-container:hover {
    transform: perspective(1000px) rotateY(0deg); /* Remove rotation on hover */
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05); /* Slight zoom on hover */
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 100%);
    border-radius: 20px; /* Match container's rounded corners */
}

.about-image-wrapper:hover .image-overlay {
    opacity: 0.9;
}

.about-image-wrapper:hover .image-caption {
    transform: translateY(-5px);
}

.caption-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.about-quote {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px; /* Further reduced border radius */
    padding: 15px; /* Further reduced padding */
    border-left: 3px solid var(--accent-color); /* Thinner border */
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    margin-top: auto; /* Push to bottom if space available */
    height: 80px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-quote blockquote {
    margin: 0;
    padding: 0;
    width: 100%;
}

.about-quote p {
    font-size: 0.95rem; /* Smaller font size */
    font-weight: 500;
    font-style: italic;
    color: var(--text-color);
    text-align: center;
    line-height: 1.4; /* Reduced line height */
    margin: 0;
}

/* Responsive styles for the about section */
@media (max-width: 992px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-image-container {
        order: -1;
        max-height: none; /* Remove max height on smaller screens */
    }
    
    .about-image-wrapper {
        height: 300px; /* Fixed height on tablets */
        max-width: 500px; /* Limit width on tablets */
        margin: 0 auto; /* Center the image */
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .about-image-wrapper {
        height: 250px; /* Reduced height on mobile */
    }
    
    .about-paragraph p {
        font-size: 0.9rem;
    }
    
    .about-quote p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 30px 15px;
        margin: 30px 0;
    }
    
    .about-image-wrapper {
        height: 200px; /* Further reduced height on small screens */
    }
    
    .about-paragraph {
        padding: 10px;
    }
    
    .about-paragraph.highlight {
        padding-left: 15px;
    }
    
    .about-paragraph p {
        font-size: 0.85rem;
    }
    
    .caption-text {
        font-size: 0.9rem;
    }
    
    .about-quote p {
        font-size: 0.9rem;
    }
}

/* Info Cards Section Styles */
.info-cards-section {
    padding: 80px 40px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.info-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.info-card {
    display: flex;
    background: var(--card-bg);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
    min-height: 400px;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px var(--shadow-color);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), transparent);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    min-width: 100px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-size: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.info-card:hover .info-card-icon {
    width: 120px;
    min-width: 120px;
}

.info-card-content {
    padding: 40px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.info-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.info-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.info-card:hover .info-card-title::after {
    width: 100px;
}

.info-card-text {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 30px;
}

.info-card-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.info-card-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.info-card:hover .info-card-badge {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

.state-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.state-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.state-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.info-card:hover .state-item {
    color: var(--text-color);
    transform: translateX(5px);
}

.info-card-action {
    margin-top: 20px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.action-button:hover::before {
    opacity: 1;
}

/* Workshop card specific styles */
.workshop-card .info-card-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* Join card specific styles */
.join-card .info-card-icon {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

/* Responsive styles for info cards */
@media (max-width: 992px) {
    .info-cards-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-card {
        min-height: auto;
    }
    
    .info-card-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .info-cards-section {
        padding: 60px 30px;
        margin: 60px 0;
    }
    
    .info-card {
        flex-direction: column;
    }
    
    .info-card-icon {
        width: 100%;
        height: 100px;
        min-width: 100%;
    }
    
    .info-card:hover .info-card-icon {
        width: 100%;
        min-width: 100%;
        height: 120px;
    }
    
    .info-card-content {
        padding: 30px;
    }
    
    .state-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .info-cards-section {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .info-card-content {
        padding: 20px;
    }
    
    .info-card-title {
        font-size: 1.4rem;
    }
    
    .info-card-text p {
        font-size: 1rem;
    }
}

/* Form error and success styles */
.form-error-message {
    background-color: rgba(244, 67, 54, 0.1);
    border-left: 4px solid #F44336;
    color: #C62828;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    animation: fadeIn 0.3s ease-in-out;
}

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

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

input.error,
select.error {
    border-color: #ef4444 !important;
    background-color: rgba(220, 38, 38, 0.05);
}

.radio-group.error {
    border: 1px solid #ef4444;
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(220, 38, 38, 0.05);
}

.registration-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.registration-success i {
    font-size: 48px;
    color: var(--success);
    margin-bottom: 20px;
}

.registration-success h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.registration-success p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

/* TYL Code Validation Styles */
.tyl-code-feedback {
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.valid-feedback {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4CAF50;
    color: #2E7D32;
}

.invalid-feedback {
    background-color: rgba(244, 67, 54, 0.1);
    border-left: 4px solid #F44336;
    color: #C62828;
}

.validating-feedback {
    background-color: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196F3;
    color: #1565C0;
}

.tyl-code-feedback i {
    margin-right: 10px;
    font-size: 16px;
}

.tyl-code-feedback .fa-check-circle {
    color: #4CAF50;
}

.tyl-code-feedback .fa-times-circle {
    color: #F44336;
}

.tyl-code-feedback .fa-spinner {
    color: #2196F3;
}

.tyl-code-feedback .fa-exclamation-circle {
    color: #FF9800;
}

.feedback-message {
    flex: 1;
}

/* Uppercase input styling */
.registration-form input[type="text"]:not(.no-uppercase),
.registration-form input[type="tel"]:not(.no-uppercase),
.registration-form textarea:not(.no-uppercase) {
    text-transform: uppercase;
}

/* Phone input styling */
.phone-input-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.phone-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background-color: #f5f5f5;
    color: #333;
    font-weight: 500;
    border-right: 1px solid #ddd;
    min-width: 50px;
    height: 100%;
}

.phone-input-container input[type="tel"] {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 10px 12px;
    margin: 0;
}

.phone-input-container input[type="tel"]:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

/* Add a focus style for the container instead */
.phone-input-container:focus-within {
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Error styling for phone input container */
.phone-input-container.error {
    border-color: #F44336;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2);
}

.phone-input-container.error .phone-prefix {
    background-color: rgba(244, 67, 54, 0.1);
    color: #C62828;
    border-right-color: #F44336;
}