@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
    --primary-color: #6a11cb; /* Градиентен старт */
    --secondary-color: #2575fc; /* Градиентен край */
    --background-color: #f9f9f9; /* Светъл фон */
    --text-color: #333; /* Основен текст */
    --white: #fff;
    --max-width: 1200px;
    --header-font: "Bebas Neue", sans-serif;
    --body-font: "Poppins", sans-serif;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

a:hover {
    color: var(--secondary-color);
}

nav {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav__logo a {
    font-size: 1rem; /* Намалено от 1.2rem на 1rem */
    font-weight: bold;
    color: var(--white);
    text-transform: uppercase;
}

/* Поправка на фона на менюто */
.nav__menu {
    display: none;
    flex-direction: column;
    background-color: transparent; /* Премахване на фона */
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 0; /* Премахване на вътрешните отстояния */
    box-shadow: none; /* Премахване на сенките */
    z-index: 998;
}

/* Показване на менюто, когато е активно */
.nav__menu.active {
    display: flex;
}

/* Центриране на линковете */
.nav__links {
    flex: 1; /* Заема наличното пространство */
    display: flex;
    justify-content: center; /* Центриране на линковете */
    gap: 2rem;
    list-style: none; /* Премахва точките */
    padding: 0; /* Премахва вътрешните отстояния */
    margin: 0; /* Премахва външните отстояния */
}

.nav__links a {
    color: var(--white); /* Бял текст */
    text-align: left;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    background-color: transparent; /* Без фон за линковете */
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav__links a:hover {
    background-color: var (--secondary-color); /* Фон при задържане */
    color: var (--white); /* Бял текст при задържане */
}

/* Подравняване на бутоните вдясно */
.nav__btns {
    display: flex;
    justify-content: flex-end; /* Подравняване вдясно */
    gap: 1rem;
    background-color: transparent; /* Премахване на фона */
    padding: 0; /* Премахване на вътрешните отстояния */
    border-radius: 0; /* Премахване на заоблените ъгли */
    box-shadow: none; /* Премахване на сенките */
    align-items: center; /* Подравняване на бутоните вертикално */
}

.nav__btns a {
    color: var(--white); /* Бял текст */
    text-align: center;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color); /* Контрастен фон */
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav__btns a:hover {
    background-color: var(--white); /* Бял фон при задържане */
    color: var(--primary-color); /* Променен текстов цвят */
}

/* Показване на бутона за меню на мобилни устройства */
.nav__menu__btn {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
    position: absolute;
    top: 20px;
    right: 20px; /* Уверете се, че бутонът е видим */
    z-index: 999;
}

/* Скриване на менюто на по-големи екрани */
@media (min-width: 768px) {
    .nav__menu {
        display: flex;
        flex-direction: row;
        position: static;
        background-color: transparent;
        padding: 0;
    }

    .nav__menu__btn {
        display: none;
    }

    .nav__links {
        flex-direction: row;
        gap: 2rem;
    }

    .nav__btns {
        flex-direction: row;
        gap: 1rem;
        background-color: transparent; /* Без фон на по-големи екрани */
        padding: 0;
    }
}

header {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem; /* Подравняване с останалите секции */
    clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
}

header .header__content {
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding: 2rem 0; /* Добавено отстояние */
}

header h1 {
    font-size: 2.5rem; /* Същият размер като "Who Are We?" */
    margin-bottom: 1rem; /* Разстояние под заглавието */
    text-transform: uppercase;
    letter-spacing: 1px; /* Леко разстояние между буквите */
}

header p {
    font-size: 1.5rem; /* По-голям размер за текста */
    line-height: 1.8; /* Увеличено разстояние между редовете */
    margin-bottom: 2rem; /* Разстояние под текста */
    max-width: 700px; /* Ограничаване на ширината за по-добра четимост */
    margin: auto;
    text-align: center;
}

header .btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block; /* Уверете се, че бутонът е подравнен правилно */
    margin-top: 1rem; /* Добавено разстояние над бутона */
}

/* Стил за изображението в хедъра */
.header__img {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 0;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 5px solid var(--primary-color);
}

/* Contact Us Section */
.header__content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.header__content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
}

section {
    padding: 4rem 2rem;
    max-width: var(--max-width);
    margin: auto;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

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

.cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* Ensure responsiveness on smaller screens */
    margin: 2rem auto;
}

.card {
    position: relative; /* Ensure the pseudo-element is positioned relative to the card */
    overflow: hidden; /* Prevent the pseudo-element from overflowing the card */
    flex: 1 1 calc(50% - 2rem); /* Take up 50% of the width minus the gap */
    max-width: 400px; /* Limit the maximum width of each card */
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none; /* Prevent the pseudo-element from interfering with hover events */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Ensure card content is above the pseudo-element */
.card > * {
    position: relative;
    z-index: 1;
}

/* Ensure cards stack vertically on smaller screens */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .card {
        flex: 1 1 100%; /* Take full width on smaller screens */
    }
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var (--primary-color);
    position: relative;
    z-index: 1;
}

.card p {
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

/* Декоративен фон за секцията "About" */
.about {
    background: url('images/about-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 4rem 2rem;
    position: relative;
}

.about p {
    color: var(--text-color); /* Променете на контрастен цвят */
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 1rem;
    text-align: center;
}

.about__img {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 0;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.about__img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Декоративен фон за секцията "Purpose" */
.purpose {
    background: url('images/purpose-bg.jpg') no-repeat center center/cover;
    color: var(--text-color);
    padding: 4rem 2rem;
    position: relative;
}

.purpose__img {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 0;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid rgba(0, 0, 0, 0.1);
}

.purpose__img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Стил за секцията "Meet Our Team" */
.about-me {
    padding: 4rem 1rem;
    background-color: var(--background-color);
    text-align: center;
}

.team__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.team__card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.team__img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.certificates {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.certificate__img {
    width: 70px;
    height: 70px;
    border-radius: 5px; /* Квадратна форма с леко заоблени ъгли */
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate__img:hover {
    transform: scale(3.1); /* Леко увеличение */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* По-дълбока сянка за 3D ефект */
}

.team__card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.team__card p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.team__images {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.team__images .team__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team__images .team__img:hover {
    transform: scale(1.1); /* Увеличение при задържане */
}

/* Footer styles */
footer {
    background: var(--gradient); /* Purple gradient background */
    color: var(--white);
    text-align: center;
    padding: 1rem 0.5rem; /* Further reduce padding to make the footer smaller */
    margin-top: 6rem;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%); /* Keep the diagonal shape */
}

/* Footer buttons */
footer .btn1,
footer .btn2 {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.2rem 0.6rem; /* Smaller padding for buttons */
    font-size: 0.7rem; /* Smaller font size */
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0.1rem;
}

footer .btn1:hover,
footer .btn2:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Footer container adjustments */
footer .bar {
    gap: 0.3rem; /* Reduce spacing between text and buttons */
    padding: 0.3rem 0; /* Reduce padding inside the footer */
}

/* Header for Privacy Policy */
#privacy-header {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

#privacy-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#privacy-header p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: auto;
}

/* Privacy Policy Section */
.privacy {
    padding: 4rem 2rem;
    background-color: var(--background-color);
    text-align: left;
}

.privacy h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.privacy p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var (--text-color);
}

.info-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-section ul li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.info-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1.8;
}

.info-section p {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Specific styles for the Privacy Policy footer */
#privacy-content {
    padding-bottom: 5rem; /* Add extra space above the footer */
}

/* Header for Terms of Use */
#terms-header {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

#terms-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#terms-header p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: auto;
}

/* Terms of Use Section */
.terms {
    padding: 4rem 2rem;
    background-color: var(--background-color);
    text-align: left;
}

.terms h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.terms p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Адаптивен дизайн за мобилни устройства */
@media (max-width: 768px) {
    .nav__menu__btn {
        display: block;
    }

    .nav__menu {
        display: none;
        flex-direction: column;
        background-color: var(--primary-color); /* Променено на контрастен фон */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 998;
    }

    .nav__menu.active {
        display: flex;
    }

    .nav__links {
        display: none;
        flex-direction: column;
        gap: 1rem;
    }

    .nav__links.active {
        display: flex;
    }

    .nav__btns {
        display: none;
    }

    .nav__menu.active .nav__btns {
        display: flex;
    }
}

/* Styles for the new "Resources" card */
.resources__btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.resources__btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* Unified button styles for all cards */
.profile__btn, .contact__btn, .resources__btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.profile__btn:hover, .contact__btn:hover, .resources__btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* Contact Form Section */
.contact {
  padding: 4rem 2rem;
  max-width: var(--max-width);
  margin: auto;
  text-align: center;
}

.contact__content {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 400px; /* Reduced width for better alignment */
  margin: auto;
}

.contact__content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.form__group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form__group label {
  display: block;
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.form__group input,
.form__group textarea {
  width: 100%;
  max-width: 100%; /* Ensure fields take full width of the form */
  padding: 0.8rem; /* Slightly increased padding for better usability */
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem; /* Standardized font size */
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--background-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto; /* Center the fields */
  display: block; /* Ensure proper centering */
}

.form__group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--background-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form__group input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px var(--primary-color);
}

textarea {
  resize: none; /* Disable resizing for better control */
  height: 100px; /* Reduced height for better spacing */
}

.contact__form {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the form content */
  gap: 20px;
}

.contact__btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.6rem 1.2rem; /* Reduced padding for a compact button */
  border: none;
  border-radius: 5px;
  font-size: 0.9rem; /* Slightly smaller font size */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact__btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px); /* Add a hover effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact__content {
    padding: 1.5rem;
    max-width: 90%; /* Ensure the form takes most of the screen width */
  }

  .form__group input,
  .form__group textarea {
    max-width: 100%; /* Ensure fields take full width on smaller screens */
  }

  .contact__btn {
    width: 100%; /* Make the button full width on smaller screens */
  }
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px; /* Reduced gap between checkbox and label */
}

.checkbox-group input[type="checkbox"] {
  width: 14px; /* Reduced size of the checkbox */
  height: 14px; /* Reduced size of the checkbox */
}

.checkbox-group label {
  font-size: 0.9rem; /* Slightly smaller font size */
  margin: 0;
  white-space: normal;
}

.contact__form {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.checkbox-group label {
  margin: 0;
  white-space: normal;
}

.contact__form .form__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact__btn {
  align-self: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact__form {
    gap: 15px;
  }

  .checkbox-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact__btn {
    width: 100%;
  }
}

/* Updated styles for the checkbox group */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 5px; /* Reduced gap between checkbox and label */
}

.checkbox-group input[type="checkbox"] {
  width: 12px; /* Smaller checkbox size */
  height: 12px; /* Smaller checkbox size */
}

.checkbox-group label {
  font-size: 0.8rem; /* Smaller font size for the label */
  margin: 0;
  white-space: nowrap; /* Ensure the text stays on one line */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .checkbox-group {
    flex-direction: row; /* Ensure checkbox and text stay on one line */
    align-items: center;
  }
}

#step-2 {
  display: none; /* Hidden by default */
}


