/* --- Universal Styles & Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-color: #0F334C; /* Deep Slate Blue */
    --secondary-color: #34495e; /* Wet Asphalt */
    --accent-color: #d4af37; /* Gold */
    --text-light: #ecf0f1;
    --text-dark: #333;
    --bg-light: #fdfdfd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}
h1{font-size: 2.5rem;}
h2{font-size: 2rem}
h3{font-size: 1.5rem;}

h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}


li{
    display: block;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 1rem;
}

/* --- Header & Hero Section --- */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.4), rgba(44, 62, 80, 0.8)), url('/images/hero.jpg') no-repeat center center/cover;
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    color: #CCC;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 4rem;
    color: #fff;
}

.hero .logo {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 2px;
    padding: 50px;
    display: inline-block;
    margin-bottom: 1rem;
    background: radial-gradient(white, transparent 70%);
    width: 90%;
    max-width: 400px;
}

.hero .logo img {
    display: block;
    width: 100%;
    height: auto;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #c39f2f;
    transform: translateY(-2px);
}

/* --- Section Styling --- */
.section {
    padding: 4rem 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--primary-color);
    color: var(--text-light);
}
.section-dark h2 {
    color: #fff;
}
.section-dark h3 {
    color: var(--text-light);
}
.section-dark p strong {
    color: #fff;
}


/* --- About Section Specific --- */

#about {
    padding: 150px 0px;
}

#about p {
    font-size: 1.45rem;
    line-height: 1.7;
}


/* --- Two Column Layout --- */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.venue-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- Programme Secteion --- */
#programme h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.8rem 2rem;
    cursor: pointer;
    background: #e0e0e0;
    border: none;
    font-size: 1.1rem;
    font-family: 'Lora', serif;
    transition: background 0.3s ease;
}

.tab-button:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.tab-button:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.tab-button.active {
    background: var(--accent-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.schedule-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    border-bottom: 1px solid #5a6e82;
    padding: 1.5rem 0;
}

.schedule-item:last-child {
    border-bottom: none;
}

.time {
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'Lora', serif;
}

.schedule-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-light);
}

.speaker-name {
    font-style: italic;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.schedule-details p {
    color: #ecf0f1;
}

.speaker-bio {
    font-size: 0.9rem;
    font-style: italic;
    color: #bdc3c7;
    margin-top: 1rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
}

/* --- Registration Section --- */
#register h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.registration-info {
    text-align: left;
    margin-bottom: 2rem;
}

.registration-info p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.registration-info ul {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 640px;
    margin: 5rem auto;
    color: var(--text-dark);
}

.registration-info ul li:last-child{
    padding: 5px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    background: var(--text-dark);
    color: var(--text-light);
}

.registration-info ul h3{
    margin-bottom: 1rem;
    color: var(--primary-color);
}


.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 1950px; /* Adjust this based on form height */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Footer --- */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .section h2 {
        font-size: 2rem;
    }
    .schedule-item {
         grid-template-columns: 1fr;
    }
    .time {
        margin-bottom: 0.5rem;
    }
    
    #about p {
        font-size: 1.2rem;
    }

    .iframe-container {
        padding-top: 3000px; /* Adjust this based on form height */
    }
}

