:root {
    --primary-blue: #1a3d7c;
    --secondary-blue: #2c5282;
    --accent-teal: #2a9d8f;
    --light-bg: #f8f9fa;
    --dark-text: #333333;
    --light-text: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--light-bg);
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--primary-blue);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    background-color: var(--accent-teal);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
}

.logo-text {
    color: white;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-teal);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 61, 124, 0.8), rgba(26, 61, 124, 0.9)), url('https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 1.5rem;
    /* font-size: 2.5rem; */
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.date-badge {
    background-color: var(--accent-teal);
    color: white;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin: 20px 0;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent-teal);
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    background-color: #21867a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Countdown Section */
.countdown {
    background-color: var(--secondary-blue);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.countdown-title {
    margin-bottom: 20px;
    color: white;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    min-width: 120px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* About Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-teal);
    margin: 15px auto;
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Important Dates */
.dates {
    background-color: var(--light-bg);
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.date-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border-left: 4px solid var(--accent-teal);
}

.date-card:hover {
    transform: translateY(-5px);
}

.date-card h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.date-card i {
    margin-right: 10px;
    color: var(--accent-teal);
}

.date-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-blue);
}

/* Registration Section */
.registration {
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.registration .section-title {
    color: white;
}

.registration .section-title:after {
    background-color: var(--accent-teal);
}

.registration-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-teal);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-teal);
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-teal);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}


/* /////////////////////////////////////////////////////////// */
.form-check-group {
    display: flex;
    flex-wrap: wrap;
    /* gap: 15px; */
    gap: 0px 15px;
    margin-top: 8px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
}
/* -------------------------------------------- */
.form-row-3 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    /* margin-bottom: 20px; */
}

.form-row-3 .form-group {
    width: 33.33%;
}

.form-row-3 .form-group input {
    width: 100%;
    padding: 12px 15px;
    box-sizing: border-box;
}

.aTag {
    text-decoration: none!important;
}

/* 🔽 Mobil uyğunluq */
@media (max-width: 768px) {
    .form-row-3 {
        flex-direction: column;
        gap: 0px;
    }

    .form-row-3 .form-group {
        width: 100%;
    }
}
/* /////////////////////////////////////////////////////////// */

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    /* .hero h2 {
        font-size: 2rem;
    } */
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 70px 0;
    }

    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-outline {
        margin-left: 0;
    }
}



/* ================================== */
/* Dropdown menyu üçün əlavə CSS */
nav li.has-dropdown {
  position: relative;
}

nav li.has-dropdown > a::after {
  content: " ▼";
  font-size: 0.6rem;
  margin-left: 5px;
  color: var(--accent-teal);
}

nav li.has-dropdown ul.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-blue);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  min-width: 180px;
  z-index: 200;
  padding: 10px 0;
}

nav li.has-dropdown:hover ul.dropdown {
  display: block;
}

nav li.has-dropdown ul.dropdown li {
  margin: 0;
}

nav li.has-dropdown ul.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.3s;
}

nav li.has-dropdown ul.dropdown li a:hover {
  background-color: var(--accent-teal);
  color: var(--light-text);
}

/* Mobil menyu */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: var(--primary-blue);
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    margin: 0;
  }

  nav li.has-dropdown ul.dropdown {
    position: static;
    box-shadow: none;
    background-color: transparent;
    padding-left: 15px;
    display: none;
  }

  nav li.has-dropdown.active ul.dropdown {
    display: flex;
    flex-direction: column;
  }

  nav li.has-dropdown > a::after {
    content: " ▶";
    float: right;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
  }

  nav li.has-dropdown.active > a::after {
    transform: rotate(90deg);
  }
}