/* Font Face */
@font-face {
    font-family: 'Gotham';
    src: url('/static/fonts/GothaProBol.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('/static/fonts/GothaProNarMed.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('/static/fonts/GothaProLig.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

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

body {
    font-family: 'Gotham', sans-serif;
    line-height: 1.5;
   
    background: #f5f5f5;
    min-height: 100vh;
}

/* Header Image */
.header-image {
    width: 100%;
    text-align: center;
    background: #f5f5f5;
    padding: 0;
}

.header-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main-content {
    background: white;
   
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-wrapper {
    max-width: 800px;
}

.intro-wrapper {
    padding: 40px 40px 10px 40px;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Intro Text */
.intro-text {
    margin-bottom: 10px;
}

.intro-text p {
    margin-bottom: 10px;
    font-size: 16px;
    text-align: justify;
    font-weight: 300;
   
}

.intro-text p b {
    font-weight: bold;
   
}

/* Companies Section */
.companies-section {
    margin-bottom: 10px;
}

.company {
    padding: 10px 0;
}

.company:last-child {
    margin-bottom: 0;
}

.company .company-name {
    font-size: 16px;
    font-weight: bold;
}

.company .company-text {
    font-size: 16px;
    font-weight: 300;
}

/* Registration Section */
.registration-section {
    text-align: center;
    padding: 30px 0;
}

/* Program Section */
.program-section {
    padding: 0 40px;
}

.program-section-title h2 {
    padding: 10px 0;
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-transform: uppercase;
   
    text-align: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.program-item {
    display: flex;
    padding: 15px 0;
}

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

.program-item .time {
    min-width: 120px;
    font-weight: 300;
   
    font-size: 21px;
    margin-right: 20px;
}

.program-item .description {
    flex: 1;
    font-size: 21px;
    font-weight: 500;
}

.program-item .speaker {
    
    margin-top: 5px;
    font-size: 21px;
    font-weight: 300;
}

.program-item .topic {
    
    font-size: 21px;
    margin-top: 5px;
}

/* Event Details */
.event-details {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 0;
}

.event-details p {
    color: #000000;
    font-size: 21px;
    font-weight: 300;
    margin: 0;
    text-align: center;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 80px 0;
    gap: 60px;
}

.hero-content {
    flex: 1;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #FF0000;
    color: white;
    border: 2px solid #BF0101;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
    background: #E60000;
    border-color: #A00000;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-large {
    padding: 15px 65px;
    font-size: 1.6rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
    margin: 50px 0;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
   
}

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

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
   
}

.feature p {
    
    line-height: 1.6;
}

/* Event Details */
.event-details {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.event-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.info-item span {
    font-size: 1.2rem;
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: white;
    margin: 50px 0;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
   
}

.cta-content p {
    font-size: 1.2rem;
    
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
   
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
   
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

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

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Admin Panel Styles */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-title {
    font-size: 2rem;
    margin-bottom: 10px;
   
}

.admin-nav {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.admin-nav a {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.admin-nav a:hover {
    background: #5a6fd8;
}

.registrations-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.registrations-table table {
    width: 100%;
    border-collapse: collapse;
}

.registrations-table th,
.registrations-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.registrations-table th {
    background: #f8f9fa;
    font-weight: 600;
   
}

.registrations-table tr:hover {
    background: #f8f9fa;
}

/* Login Form */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.login-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
   
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-nav {
        flex-direction: column;
    }
    
    .registrations-table {
        overflow-x: auto;
    }
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}