@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: 50%; /* Center vertically */
    right: 20px; /* Adjust horizontal position */
    transform: translateY(-50%); /* Center vertically */
    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: 2.7rem; /* По-голям размер за текста */
    line-height: 1.9; /* Увеличено разстояние между редовете */
    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: 1.2rem;
    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;
}

.card {
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    z-index: 0;
}

.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 {
    
    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 {

    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: 2.5rem;
    margin-top: 3rem;
}

.team__card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    padding: 6.5rem; /* Increased padding for a larger card */
    text-align: center;
    max-width: 380px; /* Increased max-width for a larger card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Ensure the card acts as a container for the certificate */
    display: flex; /* Add flexbox for centering */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

.team__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.team__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.05;
    z-index: 0;
}

.team__img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.team__card:hover .team__img {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.team__card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--header-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.team__card p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.85;
    margin: 0.5rem 0;
    line-height: 1.6;
    font-family: var(--body-font);
    position: relative;
    z-index: 1;
}

.team__card .contact-info {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.team__card .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.team__card .contact-info a:hover {
    color: var(--secondary-color);
}

.certificates {
    position: relative; /* Ensure certificates are positioned relative to the card */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.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.3s ease, box-shadow 0.3s ease;
    position: absolute; /* Position relative to the card */
    top: auto; /* Reset positioning */
    left: auto; /* Reset positioning */
    transform: none; /* Reset transform */
    z-index: 1;
    opacity: 1; /* Always visible */
}

.certificate__img:hover {
    transform: translate(-50%, -50%) scale(3.1); /* Center and scale */
    top: 50%; /* Center vertically within the card */
    left: 50%; /* Center horizontally within the card */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Add shadow */
    z-index: 10;
}

.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: 1.5rem;
    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 (--text-color);
}

.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-box2{
    text-align: center;
         
}
.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 (--text-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;
        top: 50%; /* Center vertically */
        right: 10px; /* Adjust for mobile view */
        transform: translateY(-50%);
    }

    .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;
    }

    /* Adjust header text size */
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Adjust section padding */
    section {
        padding: 2rem 1rem;
    }

    /* Adjust card layout */
    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    /* Adjust team cards */
    .team__cards {
        flex-direction: column;
        gap: 1.5rem;
    }

    .team__card {
        padding: 2rem;
        max-width: 100%;
    }

    /* Adjust navigation menu */
    .nav__menu {
        display: none;
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 1rem;
        z-index: 998;
    }

    .nav__menu.active {
        display: flex;
    }

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

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

    /* Adjust footer */
    footer {
        padding: 1rem;
        text-align: center;
    }

    footer .btn1,
    footer .btn2 {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Adjust cookie banner */
    .cookie-banner {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .cookie-banner p {
        font-size: 0.9rem;
    }

    .cookie-banner .accept-btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Responsive Design for Smaller Phones */
@media (max-width: 480px) {
    /* Adjust header text size further */
    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.9rem;
    }

    /* Adjust navigation menu button */
    .nav__menu__btn {
        font-size: 1.2rem;
        top: 15px;
        right: 15px;
    }

    /* Adjust footer buttons */
    footer .btn1,
    footer .btn2 {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Responsive Design for Project Section */
@media (max-width: 768px) {
  .projects__grid {
    grid-template-columns: 1fr; /* Display one project per row */
    gap: 15px; /* Reduce the gap between cards */
  }

  .project__card {
    padding: 100px; /* Maintain padding for card content */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slightly reduce shadow for smaller screens */
  }

  .project__img {
    width: 100%; /* Make the image take the full width of its container */
    height: auto; /* Maintain the aspect ratio */
    object-fit: cover; /* Ensure the image fills the container without distortion */
    background-color: #f9f9f9; /* Optional: Add a background color for empty space */
    border-radius: 8px; /* Optional: Add rounded corners for consistency with card design */
  }

  .project__info h3 {
    font-size: 1.2rem; /* Reduce font size for titles */
  }

  .project__info p {
    font-size: 0.9rem; /* Reduce font size for descriptions */
  }

  .project__info .btn-primary {
    font-size: 1rem; /* Ensure button is visible */
    padding: 0.6rem 1rem; /* Adjust button padding */
    display: block; /* Ensure the button is displayed properly */
    margin: 10px auto 0; /* Center the button and add spacing */
    width: fit-content; /* Ensure the button doesn't stretch unnecessarily */
  }
}

@media (max-width: 480px) {
  .projects {
    padding: 20px 10px; /* Reduce padding for smaller phones */
  }

  .project__info h3 {
    font-size: 1rem; /* Further reduce font size for titles */
  }

  .project__info p {
    font-size: 0.8rem; /* Further reduce font size for descriptions */
  }

  .project__info .btn-primary {
    font-size: 0.9rem; /* Ensure button is readable */
    padding: 0.5rem 0.8rem; /* Adjust button padding */
    margin-top: 8px; /* Add spacing above the button */
    display: block; /* Ensure the button is displayed properly */
    width: fit-content; /* Ensure the button doesn't stretch unnecessarily */
  }
}

.cookie-banner {
  position: fixed;
  top: 50%; /* Always center vertically */
  left: 50%; /* Always center horizontally */
  transform: translate(-50%, -50%); /* Center the banner */
  width: 90%;
  max-width: 400px;
  background: var(--white);
  color: var(--text-color);
  text-align: center;
  padding: 1.5rem;
  z-index: 1000;
  display: flex; /* Ensure it is visible */
  flex-direction: column;
  gap: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--primary-color);
  overflow: hidden; /* Prevent content overflow */
  box-sizing: border-box; /* Ensure padding is included in dimensions */
  transition: none; /* Remove any transition effects */
}

.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-color);
  word-wrap: break-word; /* Ensure long text wraps properly */
}

.cookie-banner .link-highlight {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

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

.cookie-banner .accept-btn,
.cookie-banner .reject-btn {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: none; /* Remove hover transition effects */
}

.cookie-banner .accept-btn:hover {
  background-color: var(--secondary-color);
}

.cookie-banner .reject-btn {
  background-color: #ff4d4d;
}

.cookie-banner .reject-btn:hover {
  background-color: #ff6666;
}

@media (max-width: 768px) {
  .cookie-banner {
    width: 95%; /* Slightly smaller width for smaller screens */
    max-width: 350px; /* Adjust max width for mobile */
  }
}

/* Form Section */
.form-section {
    padding: 4rem 2rem;
    background-color: var(--background-color);
    text-align: center;
}

.form {
    max-width: 500px;
    margin: auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

.input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--background-color);
}

.input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(106, 17, 203, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Project Section */
.projects {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project__card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project__img {
  width: 100%; /* Make the image take the full width of its container */
  height: auto; /* Maintain the aspect ratio */
  object-fit: cover; /* Ensure the image fills the container without distortion */
  background-color: #f9f9f9; /* Optional: Add a background color for empty space */
  border-radius: 8px; /* Optional: Add rounded corners for consistency with card design */
}

.project__info {
  padding: 15px;
  text-align: center;
}

.project__info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.project__info p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.project__info .btn-primary {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.project__info .btn-primary:hover {
  background-color: var(--secondary-color);
}