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

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

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

/* Color Variables */
:root {
    --primary-color: #8b1538;
    --primary-dark: #6b1328;
    --secondary-color: #a91b47;
    --accent-color: #d97706;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-light: #fef7f0;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #8b1538 0%, #a91b47 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: #f8f9fa !important;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: auto;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Remove underline for primary nav button (Register Now) */
.nav-link.btn-primary::after,
.nav-link.btn-primary:hover::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.hero-content {
    max-width: 600px;
}

.hero-badge {
    margin-bottom: 1.5rem;
}

.edition-badge {
    background: var(--gradient);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.info-item i {
    color: var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Hero Countdown Styles */
.hero-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-container {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.countdown-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.countdown-timer {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Event Section */
.about-event {
    padding: 6rem 0;
    background: var(--background-light);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.features-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.feature {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.8rem;
    min-width: 50px;
    flex-shrink: 0;
}

.feature-content {
    text-align: left;
}

.feature h4 {
    margin-bottom: 0.3rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.feature p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    
}

.about-image{
    display:none;
}

/* Program Highlights */
.program-highlights {
    padding: 6rem 0;
    background: var(--white);
    display:none;
}

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

.program-item {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.time {
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
    /* margin-bottom: 1rem; */
}

.program-item h4 {
    margin-bottom: 1rem;
}

.program-item p {
    color: var(--text-light);
}

.program-cta {
    text-align: center;
}

/* Organizers Section */
.organizers {
    padding: 6rem 0;
     background: var(--white); /*change it to light when putting event highlight */

}

.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.organizer {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

/* Enhanced logo container with automatic sizing */
.organizer .logo-container {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.organizer img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.organizer:hover img {
    transform: scale(1.05);
}

/* Make CPC logo bigger */
.organizer .logo-container.cpc-logo {
    height: 150px; /* Increased from 120px */
    padding-bottom: 2rem;
    margin-bottom: 0; /* Remove margin bottom */
}

.organizer .logo-container.cpc-logo img {
    max-width: 130%; /* Allow it to be slightly larger than container width */
    max-height: 130%; /* Allow it to be slightly larger than container height */
}

.organizer h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.3;
    flex-grow: 0;
}

.organizer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* make primary CTA border match the site's text color variable */
.cta .btn.btn-primary {
    border-color: var(--text-color);
}

/* Make outline buttons in registration sections near-white by default */
.registration-cta .btn-outline {
    border-color: #f8f9fa;
    color: #f8f9fa;
}

.registration-cta .btn-outline:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

/* Ensure all buttons inside the registration CTA have a near-white border */
.registration-cta .cta-buttons .btn,
.registration-cta .cta-buttons .btn-outline {
    border-color: #f8f9fa;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header Styles */
.page-header {
    padding: 140px 0 80px;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.header-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* breadcrumb styles removed - breadcrumbs no longer used */

/* About Page Styles */
.event-overview {
    padding: 6rem 0;
    background: var(--white);
}

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

.overview-text h2 {
    margin-bottom: 2rem;
}

.overview-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.overview-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.stat-info .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-info .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Organizers Detailed */
.organizers-detailed {
    padding: 6rem 0;
    background: var(--background-light);
}

.organizer-block {
    margin-bottom: 4rem;
}

.organizer-content {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-light);
}

.organizer-content.reverse {
    background: var(--white);
    color: var(--text-color);
}

.organizer-content.reverse h3,
.organizer-content.reverse p {
    color: var(--text-color);
}

.organizer-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.organizer-logo {
    width: 200px;
    height: 200px;
}

.organizer-details h3 {
    margin-bottom: 0.5rem;
}

.organizer-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem !important;
}

.organizer-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.mini-stat {
    text-align: center;
}

.mini-stat .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.organizer-content.reverse .mini-stat .number {
    color: var(--primary-color);
}

.mini-stat .label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.achievements,
.technologies {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.achievement,
.tech-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mission Section */
.mission {
    padding: 6rem 0;
    background: var(--white);
}

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

.mission-text h2 {
    margin-bottom: 1.5rem;
}

.mission-text > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.mission-points {
    display: grid;
    gap: 1.5rem;
}

.mission-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.mission-point i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.mission-point h4 {
    margin-bottom: 0.5rem;
}

.mission-point p {
    color: var(--text-light);
    margin: 0;
}

.mission-image img {
    width: 100%;
    border-radius: 12px;
}

.mission-image{
    display:none;
}

/* Timeline */
.event-history {
    padding: 6rem 0;
    background: var(--background-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin: 0 2rem;
    flex: 1;
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Venue Information */
.venue-info {
    padding: 6rem 0;
    background: var(--white);
}

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

.venue-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.venue-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.feature-item i {
    color: var(--primary-color);
}

.map-placeholder {
    background: var(--background-light);
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed var(--primary-color);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Partnership Packages */
.partnership-packages {
    padding: 6rem 0;
    background: var(--background-light);
}

.packages-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    /* increase effective width to give package cards more room */
    width: calc(100% + 320px);
    margin-left: -160px;
    overflow: visible; /* keep no scroll */
}

/* size cards to occupy four columns without overflow */
.package-card {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 8rem) / 4);
    max-width: calc((100% - 8rem) / 4);
    padding: 2rem;
}

/* fallback: allow wrapping on smaller screens */
@media (max-width: 1100px) {
    .package-card { flex: 0 0 calc((100% - 2rem) / 2); max-width: none; }
}
@media (max-width: 600px) {
    .packages-grid { flex-wrap: wrap; }
    .package-card { flex: 0 0 100%; }
}

.package-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.package-card.popular {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.package-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.bronze .package-icon { background: linear-gradient(135deg, #cd7f32 0%, #b8860b 100%); }
.silver .package-icon { background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%); }
.gold .package-icon { background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%); }
.diamond .package-icon { background: linear-gradient(135deg, #185adb 0%, #1e3a8a 100%); }

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    
}

.package-features {
    margin-bottom: 2rem;
    flex: 1 1 auto;
}

.package-features h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--background-light);
    padding-bottom: 0.5rem;
}

.package-features ul {
    list-style: none;
    padding: 0;
}

/* Make package buttons fit their text only and stay pinned to the bottom */
.package-card .btn,
.package-card .btn-outline {
    display: inline-flex;
    width: auto;
    padding: 8px 18px; /* keep reasonable button padding */
    margin-top: auto; /* pin to bottom */
    align-self: center;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.package-features li i {
    font-size: 0.8rem;
}

.package-features li .fa-check {
    color: var(--accent-color);
}

.package-features li .fa-times {
    color: #dc2626;
}

/* Partner Contact */
.partner-contact {
    padding: 6rem 0;
    background: var(--white);
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0.25rem 0;
    color: var(--text-light);
}

.partnership-form {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Why Partner Section */
.why-partner {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.benefit-card h4 {
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
}

/* Additional Sections */
.why-trust {
    padding: 6rem 0;
}

/* .mypfe-expo styles removed - section deleted from HTML */

.expo-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.expo-feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.former-partners {
    padding: 4rem 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    object-position: center;
}

.trust-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-points {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.trust-point i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 0.25rem;
}

.trust-stats {
    display: grid;
    gap: 2rem;
}

.trust-stat {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
}

.trust-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-stat .stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-info {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .organizer {
        min-height: 240px;
        padding: 2rem 1.5rem;
    }
    
    .organizer .logo-container {
        height: 100px;
    }

    /* Keep CPC logo bigger on tablet */
    .organizer .logo-container.cpc-logo {
        height: 130px;
    }

    /* Mobile layout for overview content - stats first, then text */
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        display: flex;
        flex-direction: column;
    }

    .overview-stats {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 4rem 1.5rem;
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
    }

    .stat-card {
        width: 100%;
        max-width: 350px;
        text-align: center;
        justify-content: center;
        padding: 2.5rem 2rem;
        min-height: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .overview-text {
        order: 2;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile features layout - stack vertically */
    .features {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .feature {
        width: 280px;
        padding: 1.5rem;
        min-height: 160px;
    }

    .feature i {
        font-size: 1.8rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

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

    .organizer-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .organizer {
        min-height: 220px;
        padding: 1.5rem;
    }
    
    .organizer .logo-container {
        height: 80px;
        padding: 0.5rem;
    }

    /* Keep CPC logo bigger on mobile */
    .organizer .logo-container.cpc-logo {
        height: 100px;
    }
    
    .organizer h4 {
        font-size: 1.1rem;
    }
    
    .organizer p {
        font-size: 0.9rem;
    }

    .mission-content,
    .trust-content,
    .expo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0;
    }

    .timeline-year {
        margin-bottom: 1rem;
    }

    .venue-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .package-card.popular {
        transform: none;
    }

    /* Fix timeline overflow on mobile */
    .schedule-time {
        width: 100px !important;
    }

    .schedule-item::after {
        left: 98px !important;
    }

    .detailed-schedule .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        background: transparent;
        border-radius: 0;
        padding: 0;
        margin-bottom: 1.5rem;
        box-shadow: none;
    }

    .detailed-schedule .schedule-content {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
    }

    /* Hide schedule-time on mobile */
    .detailed-schedule .schedule-time {
        display: none !important;
    }

    /* Hide timeline and circular marks on mobile */
    .schedule-item::after {
        display: none !important;
    }

    .schedule-time::after {
        display: none !important;
    }

    /* Hide speaker/instructor info on mobile */
    .speaker-info {
        display: none !important;
    }

    /* Remove featured effects on mobile */
    .schedule-item.featured .schedule-content {
        border-left: none !important;
        background: transparent !important;
    }

    .schedule-item.featured .schedule-content::before {
        display: none !important;
    }

    /* Remove orange top border from schedule cards */
    .schedule-content::before {
        display: none !important;
    }

    /* Give all schedule items same near-white background */
    .detailed-schedule .schedule-item {
        background: #fafafa !important;
    }
}

/* Program Page Styles */
.event-info {
    padding: 4rem 0;
    background: var(--white);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
}

.detailed-schedule {
    padding: 6rem 0;
    background: var(--background-light);
}

.schedule-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Individual timeline segments that build continuously */
.schedule-item::after {
    content: '';
    position: absolute;
    left: 318px;
    top: 0;
    height: calc(100% + 3rem);
    width: 3px;
    background: repeating-linear-gradient(
        to bottom,
        var(--primary-color) 0px,
        var(--primary-color) 8px,
        transparent 8px,
        transparent 16px
    );
    border-radius: 2px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s ease;
    z-index: 1;
}

.schedule-item.timeline-revealed::after {
    transform: scaleY(1);
}

.schedule-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    align-items: center;
}

.schedule-item::before {
    /* removed decorative circle */
    display: none;
}

.schedule-item.featured::before {
    /* featured marker removed as well */
    display: none;
}

.schedule-time {
    width: 320px;
    text-align: right;
    padding-right: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    padding-right: 1rem;
}

.schedule-time::after {
    content: '';
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--background-light);
    z-index: 2;
    box-shadow: 0 0 0 12px rgba(139, 21, 56, 0.2);
}

.schedule-time .time {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    text-align: left;
    margin-right: 1.5rem;
    width: 100%;
}

.schedule-time .duration {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    text-align: left;
    margin-right: 1.5rem;
    width: 100%;
}

.schedule-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.04);
    flex: 1;
    margin-left: 2rem;
    border: 1px solid rgba(139, 21, 56, 0.1);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.schedule-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.8;
}

.schedule-content:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 4px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 21, 56, 0.2);
}

.schedule-item.featured .schedule-content {
    border-left: 6px solid var(--accent-color);
    background: linear-gradient(135deg, var(--white) 0%, rgba(139, 21, 56, 0.02) 100%);
}

.schedule-item.featured .schedule-content::before {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    height: 5px;
}

.schedule-content h3 {
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
}

.schedule-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.schedule-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(139, 21, 56, 0.05) 100%);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid rgba(139, 21, 56, 0.1);
    transition: all 0.2s ease;
}

.detail-item:hover {
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1) 0%, rgba(139, 21, 56, 0.08) 100%);
    border-color: rgba(139, 21, 56, 0.2);
    transform: translateY(-1px);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Speaker Information Styling */
.speaker-info {
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.03) 0%, rgba(139, 21, 56, 0.01) 100%);
    border-radius: 12px;
    border: 1px solid rgba(139, 21, 56, 0.1);
}

.speaker-details {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.speaker-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.speaker-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.speaker-text strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.speaker-text span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.speaker-text small {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Schedule Tags Styling */
.schedule-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.schedule-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 15px;
    transition: all 0.2s ease;
}

/* Tag Color Variations */
.tag-keynote { background: rgba(139, 21, 56, 0.15); color: var(--primary-color); }
.tag-workshop { background: rgba(52, 152, 219, 0.15); color: #2980b9; }
.tag-networking { background: rgba(46, 204, 113, 0.15); color: #27ae60; }
.tag-career { background: rgba(230, 126, 34, 0.15); color: #d35400; }
.tag-panel { background: rgba(155, 89, 182, 0.15); color: #8e44ad; }
.tag-ceremony { background: rgba(231, 76, 60, 0.15); color: #c0392b; }
.tag-technical { background: rgba(52, 73, 94, 0.15); color: #2c3e50; }
.tag-industry { background: rgba(241, 196, 15, 0.15); color: #f39c12; }
.tag-hands-on { background: rgba(26, 188, 156, 0.15); color: #16a085; }
.tag-recruitment { background: rgba(142, 68, 173, 0.15); color: #9b59b6; }
.tag-opportunities { background: rgba(39, 174, 96, 0.15); color: #2ecc71; }
.tag-trends { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.tag-leadership { background: rgba(211, 84, 0, 0.15); color: #e67e22; }
.tag-awards { background: rgba(192, 57, 43, 0.15); color: #e74c3c; }
.tag-closing { background: rgba(149, 165, 166, 0.15); color: #7f8c8d; }
.tag-registration { background: rgba(127, 140, 141, 0.15); color: #95a5a6; }
.tag-lunch { background: rgba(46, 204, 113, 0.15); color: #27ae60; }
.tag-social { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.tag-ai { background: linear-gradient(45deg, rgba(139, 21, 56, 0.2), rgba(52, 152, 219, 0.2)); color: var(--primary-color); }
.tag-time { background: var(--primary-color); color: white; font-weight: 600; }
.tag-place { background: var(--primary-color); color: white; font-weight: 600; }

.schedule-tag:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.speakers {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--background-light);
}

.speakers h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.speakers ul {
    list-style: none;
    padding: 0;
}

.speakers li {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.workshop-tracks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.track {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.track h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.track ul {
    list-style: none;
    padding: 0;
}

.track li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    padding-left: 1rem;
    position: relative;
}

.track li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.booth-features {
    margin-top: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-grid .feature-item {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.feature-grid .feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-grid .feature-item h4 {
    margin-bottom: 0.5rem;
}

.feature-grid .feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.workshop-details {
    padding: 6rem 0;
    background: var(--white);
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.workshop-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.workshop-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.workshop-card h3 {
    margin-bottom: 0.5rem;
}

.workshop-time {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.workshop-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.workshop-info span {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-color);
    border: 1px solid #e5e5e5;
}

.registration-cta {
    padding: 6rem 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.registration-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.registration-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.cta-stat {
    text-align: center;
}

.cta-stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-stat .label {
    opacity: 0.9;
}

/* Contact Page Styles */
.registration-section {
    padding: 6rem 0;
    background: var(--white);
}

.registration-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.registration-card {
    background: var(--background-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.registration-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.card-header {
    margin-bottom: 2rem;
}

.card-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-header h3 {
    margin-bottom: 0.5rem;
}

.card-header .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* ensure card content grows and buttons align to bottom */
.card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    text-align: center;
}

.card-content .btn {
    margin-top: auto;
    align-self: center;
    display: inline-flex;
    width: auto;
}

.benefits-list {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.benefits-list li i {
    color: var(--accent-color);
}

/* add a little breathing room above the first benefit in the student card */
.student-card .benefits-list {
    margin-top: 0rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid var(--background-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.close {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--background-light);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-item:hover {
    color: var(--primary-color);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--background-light);
}

.contact-information {
    padding: 6rem 0;
    background: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
}

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

.contact-methods {
    display: grid;
    gap: 0.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method:hover {
    color: var(--primary-color);
}

.contact-method i {
    color: var(--primary-color);
}

.location-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.location-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.location-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.features-grid .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    font-size: 0.9rem;
}

.features-grid .feature i {
    color: var(--primary-color);
}

.transportation {
    margin-top: 2rem;
}

.transport-options {
    display: grid;
    gap: 1rem;
}

.transport-option {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.transport-option i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.transport-option h4 {
    margin-bottom: 0.25rem;
}

.transport-option p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.map-container {
    height: 400px;
}

.map-placeholder {
    height: 100%;
    background: var(--background-light);
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-question h4 {
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .schedule-timeline::before {
        left: 20px;
    }

    .schedule-item::before {
    left: 11px;
    /* keep decorative marker hidden on small screens too */
    display: none;
    }

    .schedule-time {
        width: auto;
        text-align: left;
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .schedule-item {
        flex-direction: column;
        padding-left: 60px;
    }

    .schedule-content {
        margin-left: 0;
    }

    .workshop-tracks {
        grid-template-columns: 1fr;
    }

    .cta-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
/* Former Partners Section */
.former-partners {
    padding: 80px 0;
    background: #f8fafc;
}

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

.partner-logo {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    max-width: 220px;
    width: 100%;
    margin: 0 auto;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    justify-content: flex-start;
    align-items: center;
    padding-top: 20px;
}

.partner-logo img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    margin: 0;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    display: block;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

.partner-info {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.partner-logo:hover .partner-info {
    opacity: 1;
    transform: translateY(0);
}

.partner-info h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.partner-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.partner-year {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: none;
}

.partner-placeholder {
    padding: 40px 20px;
    color: var(--text-light);
    text-align: center;
}

.partner-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}



/* Responsive Design */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .partner-logo {
        padding: 20px;
        min-height: 140px;
        max-width: 180px;
    }
    
    .partner-logo img {
        width: 100px;
        height: 60px;
    }
}

/* Animation for partner filtering */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glowing pulse animation for timeline markers */
@keyframes pulse-glow {
    0% {
        box-shadow: 
            0 0 0 0 rgba(139, 21, 56, 0.7),
            0 0 0 8px rgba(139, 21, 56, 0.3),
            0 0 0 16px rgba(139, 21, 56, 0.15),
            0 0 0 24px rgba(139, 21, 56, 0.08);
    }
    100% {
        box-shadow: 
            0 0 0 4px rgba(139, 21, 56, 0.5),
            0 0 0 12px rgba(139, 21, 56, 0.2),
            0 0 0 20px rgba(139, 21, 56, 0.1),
            0 0 0 28px rgba(139, 21, 56, 0.05);
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animations for groups */
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }
.scroll-reveal.delay-5 { transition-delay: 0.5s; }
.scroll-reveal.delay-6 { transition-delay: 0.6s; }

/* Enhanced animations for specific elements */
.hero-content .scroll-reveal {
    transform: translateY(30px);
    transition-duration: 1s;
}

.feature-card.scroll-reveal {
    transform: translateY(30px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card.scroll-reveal.revealed {
    transform: translateY(0) scale(1);
}

.stat-card.scroll-reveal {
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.workshop-card.scroll-reveal,
.schedule-item.scroll-reveal,
.organizer.scroll-reveal {
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

/* Parallax effect for background elements */
.parallax-bg {
    transition: transform 0.1s ease-out;
}

/* Smooth reveal for text content */
.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.text-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}