/* ============================================================
   1. VARIABLES & GLOBAL STYLES
============================================================ */
:root {
    --primary-color: #FFB347; /* Soft Orange for energy and vibrance */
    --secondary-color: #013A63; /* Brighter Blue for contrast */
    --accent-color: #FFD700; /* Bright Gold for highlights */
    --light-color: #F8F9FA; 
    --dark-color: #020930; 
    --gray-color: #0B3F55; 
    --light-gray: #e9ecef; 
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}
a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

/* Responsive scroll margin for anchor targets */
@media (min-width: 768px) {
    .anchor-target {
        scroll-margin-top: 120px;
    }
}
@media (max-width: 767px) {
    .anchor-target {
        scroll-margin-top: 60px;
    }
}

/* ============================================================
   2. TYPOGRAPHY & GENERAL COMPONENTS
============================================================ */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    color: var(--secondary-color);
}
.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-top: -20px;
    margin-bottom: 40px;
    color: var(--gray-color);
}
.highlight {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* ============================================================
   3. BUTTONS
============================================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.primary-btn {
    background-color: var(--primary-color);
    color: white;
}
.primary-btn:hover {
    background-color: #219653;
    color: white;
}
.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ============================================================
   4. STICKY BAR
============================================================ */
.sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 0;
    z-index: 2000;
}
.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.sticky-logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}
.sticky-logo .logo {
    max-width: 170px;
    height: auto;
}
.sticky-content span {
    margin-right: 20px;
    font-size: 0.9rem;
}
.sticky-content i {
    margin-right: 5px;
    color: var(--primary-color);
}
.sticky-content .btn {
    padding: 8px 15px;
    font-size: 1rem;
}

/* Sticky bar mobile adjustments */
@media (max-width: 768px) {
    .sticky-content span:nth-of-type(1),
    .sticky-content span:nth-of-type(2),
    .date {
        display: none;
    }
    .sticky-logo .logo {
        max-width: 120px;
    }
    .sticky-bar .container {
        width: 100%;
        padding: 0;
    }
    .sticky-content {
        justify-content: space-between;
        align-items: center;
        padding: 5px 10px;
    }
    .sticky-logo {
        margin-right: 0;
    }
    .sticky-content .btn {
        font-size: 1rem;
        padding: 6px 10px;
    }
}

/* ============================================================
   5. HEADER & HERO
============================================================ */
header {
    background: linear-gradient(rgba(8, 45, 82, 0.6), rgba(0, 26, 52, 0.6)), 
            url('images/conference\ header.png') no-repeat center center/cover;
    height: 100vh;
    min-height: 600px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
}
.header-container {
    max-width: 900px;
    padding: 0 20px;
}
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.logo {
    max-width: 200px;
    height: auto;
}
header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}
.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--light-color);
    opacity: 0.9;
}
.date {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* ============================================================
   6. COUNTDOWN TIMER
============================================================ */
.countdown-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.countdown-item {
    margin: 0 10px;
    min-width: 80px;
}
.countdown-item span {
    display: block;
}
.countdown-item #days,
.countdown-item #hours,
.countdown-item #minutes,
.countdown-item #seconds {
    font-size: 2.5rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    margin-bottom: 5px;
}
.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   7. URGENCY BLOCK
============================================================ */
.urgency-block {
    background-color: rgba(230, 126, 34, 0.2);
    border-left: 4px solid var(--accent-color);
    padding: 10px 20px;
    margin: 20px 0;
    border-radius: 4px;
}
.urgency-block p {
    margin: 0;
    font-weight: 600;
    color: var(--accent-color);
}
.urgency-block i {
    margin-right: 10px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* ============================================================
   8. NAVIGATION
============================================================ */
#main-nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 79px;
    z-index: 1000;
}
.nav-links {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}
.nav-links li {
    margin: 0 15px;
}
.nav-links a {
    color: var(--secondary-color);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}
.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-links a:hover:after {
    width: 100%;
}

/* ============================================================
   9. ABOUT SECTION
============================================================ */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.about-text {
    flex: 1;
    min-width: 300px;
}
.about-image {
    flex: 1;
    min-width: 300px;
}

/* ============================================================
   10. STATS SECTION
============================================================ */
.stats-section {
    background-color: var(--secondary-color);
    color: white;
}
.stats-section .section-title {
    color: white;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1rem;
    line-height: 1.4;
}

/* ============================================================
   11. BENEFITS SECTION
============================================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.benefit-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}
.benefit-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.benefit-text p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ============================================================
   12. GALLERY SECTION
============================================================ */
/* Galerie Acordeon Auto-Scroll */
.gallery-section {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 40px 0;
}
.gallery-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
}
.gallery-wrapper::-webkit-scrollbar {
    display: none;
}
.gallery-track {
    display: inline-block;
    white-space: nowrap;
    transition: none;
    
}
.gallery-item {
    display: inline-block;
    width: 500px;
    height: auto;
    margin-right:-150px;
    vertical-align: middle;
    overflow: hidden;
    box-shadow: 2px 3px 20px r  gba(0,0,0,0.09);
    background: #eee;
    transition: box-shadow 0.2s;
    border:1px solid white;
   

}
.gallery-item:hover {
margin-right:0;
transition: margin 1.2s cubic-bezier(0.3, 0, 0.2, 1);
border:1px solid white;
overflow:hidden;

}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 900px) {
    .gallery-item { width: auto; height: 200px;}
    #main-nav{ display:none; }
}
@media (max-width: 600px) {
    .gallery-item { width: auto; height: 200px;}
    #main-nav{ display:none; }
}
/* Lightbox styles */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 30px; right: 40px;
    font-size: 2.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: var(--primary-color);
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #fff;
    background: rgba(0,0,0,0.4);
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-arrow:hover {
    background: var(--primary-color);
    color: #fff;
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
@media (max-width: 600px) {
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-arrow { font-size: 2rem; width: 40px; height: 40px; }
}


/* ============================================================
   13. VISITORS SECTION
============================================================ */
.visitors-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.visitors-text {
    flex: 1;
    min-width: 300px;
}
.visitors-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
}
.visitors-list {
    margin: 20px 0;
}
.visitors-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}
.visitors-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}

/* ============================================================
   14. TESTIMONIALS SECTION
============================================================ */
.testimonials-section {
    background-color: var(--light-color);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}
.testimonial-content {
    position: relative;
    padding-top: 20px;
}
.testimonial-content:before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: var(--light-gray);
    opacity: 0.7;
}
.testimonial-author {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
    font-style: italic;
    color: var(--gray-color);
}

/* ============================================================
   15. PARTNERS SECTION
============================================================ */
.partners-section {
    background-color: white;
}
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}
.partner {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-width: 180px;
}
.partner:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================================
   16. REGISTRATION SECTION
============================================================ */
.registration-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.registration-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.registration-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.registration-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.features {
    margin-bottom: 30px;
    text-align: left;
}
.features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}
.features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}
.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}
.featured-label {
    position: absolute;
    top: 0;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0 0 5px 5px;
}
.urgency-note {
    background-color: rgba(230, 126, 34, 0.1);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 600;
}
.register-note {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: var(--gray-color);
}

/* ============================================================
   17. FAQ SECTION
============================================================ */
.faq-section {
    background-color: var(--light-color);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}
.faq-toggle {
    background-color: var(--light-gray);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}
.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(0deg);
}
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: scaleY(0.9);
    transform-origin: top;
    transition: max-height 0.1s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.1s ease-in, 
                transform 0.1s ease-in;
    padding: 0 20px;
}
.faq-item.active .faq-answer {
    max-height: 600px;
    opacity: 1;
    transform: scaleY(1);
    padding: 0 20px 20px;
}
.faq-toggle::before {
    content: '';
    display: inline-block;
    transform: scale(1);
    transition: transform 0.1 ease-in;
}

/* ============================================================
   18. FORM SECTION
============================================================ */
.form-section {
    background: var(--light-gray);
    padding: 3rem 0 2rem 0;
    border-radius: 18px;
    margin-bottom: 2rem;
}
.form-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.form-section .form-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}
.form-section #standform {
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(1,58,99,0.07);
    max-width: 900px;
    margin: 0 auto;
}
.form-section #standform .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.form-section #standform .form-group {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}
.form-section #standform .form-group.full {
    flex: 0 0 100%;
}
.form-section #standform .form-group label {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--secondary-color);
}
.form-section #standform .form-group input[type="text"],
.form-section #standform .form-group input[type="email"],
.form-section #standform .form-group textarea,
.form-section #standform .form-group select {
    padding: 0.6rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 7px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    background: #f9f9fb;
    transition: border-color 0.2s;
    margin-bottom: 0.2rem;
}
.form-section #standform .form-group input:focus,
.form-section #standform .form-group textarea:focus,
.form-section #standform .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}
.form-section #standform .form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.form-section #standform .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.5rem;
    margin-bottom: 0.5rem;
}
.form-section #standform .checkbox-group input[type="checkbox"] {
    margin-right: 0.4em;
}
.form-section #standform .checkbox-group label {
    margin-right: 1.5em;
    font-weight: 400;
}
.form-section #standform .btn-primary {
    background: var(--primary-color);
    color: var(--dark-color);
    font-weight: 700;
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.25s;
    box-shadow: 0 2px 6px rgba(1,58,99,0.06);
    margin: 0 auto;
    display: block;
}
.form-section #standform .btn-primary:hover {
    background: var(--secondary-color);
    color: #fff;
}
.form-section #standform .form-text {
    font-size: 0.9rem;
    color: var(--gray-color);
}
/* Modal styling */
.form-section .modal .modal-content {
    border-radius: 12px;
}
.form-section .modal .modal-header {
    border-bottom: 1px solid var(--light-gray);
}
.form-section .modal .modal-footer {
    border-top: 1px solid var(--light-gray);
}
.form-section .modal .modal-title {
    color: var(--secondary-color);
    font-weight: 600;
}
.form-select {
    width: 100%;
    padding: 8px;
    font-size: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    background: #fff;
    color: var(--dark-color);
    margin-bottom: 12px;
}

/* ============================================================
   19. GDPR MODAL
============================================================ */
.modal-gdpr {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}
.modal-gdpr.show {
    display: flex;
}
.modal-gdpr-content {
    background: #fff;
    padding: 2em;
    border-radius: 5px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: hidden;
    margin: auto;
    position: relative;
}
.modal-gdpr-close {
    position: absolute;
    right: 1em;
    top: 1em;
    font-size: 2em;
    cursor: pointer;
}
.modal-gdpr-scroll {
    overflow-y: auto;
    max-height: 60vh;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-right: 0.5em;
}
@media (max-width: 600px) {
    .modal-gdpr-content {
        padding: 1rem 0.5rem 1rem 0.5rem;
        max-width: 98vw;
    }
    .modal-gdpr-scroll {
        max-height: 50vh;
    }
}

/* ============================================================
   20. FOOTER
============================================================ */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 70px 0 20px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-logo {
    flex: 1;
    min-width: 250px;
}
.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-column {
    flex: 1;
    min-width: 200px;
}
.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: #b3b3b3;
    transition: color 0.3s ease;
}
.footer-column ul li a:hover {
    color: var(--primary-color);
}
.newsletter p {
    margin-bottom: 15px;
    color: #b3b3b3;
}
.newsletter-form {
    display: flex;
}
.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: var(--font-secondary);
}
.newsletter-form button {
    border-radius: 0 5px 5px 0;
    padding: 10px 15px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   21. CTA FINAL SECTION
============================================================ */
.cta-final-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    padding: 100px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.cta-final-section:before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 3s infinite;
}
.cta-final-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}
.cta-final-section .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}
.cta-final-section .btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.cta-final-section .primary-btn {
    background-color: var(--secondary-color);
    color: white;
}
.cta-final-section .primary-btn:hover {
    background-color: #219653;
    transform: scale(1.1);
}
.cta-final-section .secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}
.cta-final-section .secondary-btn:hover {
    background-color: white;
    color: var(--secondary-color);
    transform: scale(1.1);
}
/* Animație pentru fundal */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* ============================================================
   22. MODAL THANK YOU
============================================================ */
.modal-thankyou {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}
.modal-thankyou.show {
    display: flex;
}
.modal-content-thankyou {
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.modal-content-thankyou h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.close-thankyou {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
}
/* Modal Thank You Overlay */
.modal-thankyou {
  position: fixed;
  inset: 0;
  background: rgba(30,30,30,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* Modal activ */
.modal-thankyou.active {
  opacity: 1;
  pointer-events: all;
}

/* Conținutul modalului */
.modal-content-thankyou {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 95vw;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
  text-align: center;
  position: relative;
  animation: popin 0.25s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes popin {
  0% {transform: scale(0.8);}
  100% {transform: scale(1);}
}

.thankyou-icon {
  margin-bottom: 20px;
}

.modal-content-thankyou h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #27ae60;
}

.modal-content-thankyou p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #444;
}


/* ============================================================
   23. RESPONSIVE DESIGN
============================================================ */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    header h1 {
        font-size: 2.8rem;
    }
    .tagline {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    /* .sticky-content { justify-content: center; gap: 15px; } */
    .countdown-container {
        flex-wrap: wrap;
    }
    .countdown-item {
        margin: 5px;
    }
}
@media (max-width: 768px) {
    header {
        height: auto;
        padding: 100px 0;
        margin-top: 0;
    }
    header h1 {
        font-size: 2.2rem;
    }
    .tagline {
        font-size: 1.1rem;
    }
    .date {
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .registration-card {
        max-width: 100%;
    }
    .featured {
        transform: none;
    }
    #main-nav {
        top: 80px;
    }
    .countdown-item #days,
    .countdown-item #hours,
    .countdown-item #minutes,
    .countdown-item #seconds {
        font-size: 1.8rem;
        min-width: 60px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    header {
        margin-top: 0;
    }
    header h1 {
        font-size: 1.5rem;
    }
    .nav-links li {
        margin: 0 8px;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    #main-nav {
        top: 120px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .countdown-item {
        min-width: 60px;
    }
    .countdown-item #days,
    .countdown-item #hours,
    .countdown-item #minutes,
    .countdown-item #seconds {
        font-size: 1.5rem;
        padding: 8px 0;
    }
    .countdown-label {
        font-size: 0.8rem;
    }
}

/* === Responsive Form Enhancements === */
@media (max-width: 900px) {
    .container { width:100%; }
    .form-section #standform .form-group { flex:1 1 20px; }
    .form-section #standform {
        padding: 2rem;
        max-width: 100%;
  }
    .form-section #standform .form-row {
        flex-direction: column;
        gap: 0.7rem;
    }
    .form-section #standform .form-group {
        width: 100%;
        min-width: 0;
    }
    .cta-final-section h2{
        font-size:2rem;
    }
}

@media (max-width: 600px) {
    .hide-mobile {
        display: none !important;
    }
    .form-section {
        padding: 1.2rem 0 1rem 0;
        border-radius: 10px;
    }
    .form-section #standform {
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(1,58,99,0.06);
    }
    .form-section #standform .form-group label {
        font-size: 1rem;
    }
    .form-section #standform .btn-primary {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
    .form-section #standform .form-group input,
    .form-section #standform .form-group select,
    .form-section #standform .form-group textarea {
        font-size: 1rem;
        padding: 0.5rem 0.7rem;
    }
    .form-section #standform .checkbox-group {
        gap: 0.7rem 1.2rem;
    }
}

/* Asigură-te că orice .form-group, .form-control etc. ocupă lățimea maximă pe mobil */

/* ============================================================
   FINAL
============================================================ */