.policy,
.success,
.contact-section {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 14px;
}

.policy__link {
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    background: #fbbf24;
    color: #000;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fbbf24;
    color: #000;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

/* Cookies Popup */
.cookies-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    z-index: 10000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookies-popup.show {
    transform: translateY(0);
}

.cookies-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookies-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookies-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-accept-all {
    background: #fbbf24;
    color: #000;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-accept-all:hover {
    background: #f59e0b;
}

.btn-accept-necessary {
    background: transparent;
    color: white;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept-necessary:hover {
    background: white;
    color: #000;
}

/* Header */
.header {
    background: #6366f1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand .logo {
    color: white;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fbbf24;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('../img/hero-bg.png') center / cover no-repeat;
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: white;
}

.courses h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.courses-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: #f9fafb;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.course-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.course-card p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* About Salire Section */
.about-salire {
    padding: 80px 0;
    background: #f9fafb;
}

.about-salire h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    text-align: center;
}

.about-salire > .container > p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.7;
}

.webinars-section {
    margin-top: 60px;
}

.webinars-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    text-align: center;
}

.webinars-section > p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.webinar-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.webinar-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.webinar-image {
    display: flex;
    align-items: flex-start;
}

.webinar-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.webinar-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.webinar-date {
    background: #6366f1;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 16px;
}

.webinar-content p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-item {
    background: #f9fafb;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    padding: 24px 32px 8px;
    margin-bottom: 0;
}

.faq-item p {
    font-size: 16px;
    color: #6b7280;
    padding: 0 32px 24px;
    margin: 0;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form {
    padding: 80px 0;
    background: #f9fafb;
}

.form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form .btn-primary {
    width: 100%;
    margin-top: 16px;
}

/* Footer */
.footer {
    background: #fbbf24;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.footer-section p {
    font-size: 14px;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #111827;
}

.footer-social {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d1d5db;
}

.footer-copyright p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #6366f1;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 16px;
    }

    .cookies-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookies-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Tablet and Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .webinar-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .webinar-image {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .courses {
        padding: 60px 0;
    }

    .courses h2 {
        font-size: 28px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-card {
        padding: 24px;
    }

    .about-salire {
        padding: 60px 0;
    }

    .about-salire h2 {
        font-size: 28px;
    }

    .webinars-section h3 {
        font-size: 24px;
    }

    .webinar-cards {
        gap: 30px;
    }

    .webinar-card {
        padding: 24px;
    }

    .webinar-image img {
        height: 120px;
    }

    .faq {
        padding: 60px 0;
    }

    .faq-item h3 {
        padding: 20px 24px 8px;
        font-size: 16px;
    }

    .faq-item p {
        padding: 0 24px 20px;
        font-size: 14px;
    }

    .contact-form {
        padding: 60px 0;
    }

    .form {
        padding: 30px 20px;
        margin: 0 20px;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-info {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .courses h2,
    .about-salire h2 {
        font-size: 24px;
    }

    .webinars-section h3 {
        font-size: 20px;
    }

    .course-card,
    .webinar-card {
        padding: 20px;
    }

    .form {
        margin: 0 10px;
        padding: 24px 16px;
    }

    .btn-primary {
        padding: 14px 24px;
        font-size: 14px;
    }

    .btn-secondary {
        padding: 10px 20px;
        font-size: 13px;
    }
}