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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: #6b7280;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background-color: #023e8a;
  color: white;
}

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

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4b5563;
}

.btn-tertiary {
  background-color: transparent;
  color: #023e8a;
  border: 2px solid #023e8a;
}

.btn-tertiary:hover {
  background-color: #023e8a;
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: #023e8a;
  border: 2px solid #023e8a;
}

.btn-outline:hover {
  background-color: #023e8a;
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* Cookie Management */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f2937;
  color: white;
  padding: 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cookie-content h3 {
  margin-bottom: 10px;
  color: white;
}

.cookie-content p {
  margin-bottom: 20px;
  color: #d1d5db;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #6b7280;
}

.close:hover {
  color: #1f2937;
}

.cookie-category {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-category h4 {
  margin-bottom: 5px;
  color: #1f2937;
}

.cookie-category p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #023e8a;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

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

.nav {
  padding: 0;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #023e8a;
}

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

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #1f2937;
  transition: all 0.3s ease;
}

/* Main Content */
main {
  margin-top: 80px;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 15px;
  color: #1f2937;
}

.section-header p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 120px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  color: #1f2937;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #4b5563;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Grid Layouts */
.info-grid,
.benefits-grid,
.services-grid,
.stats-grid,
.testimonials-grid,
.blog-grid {
  display: grid;
  gap: 30px;
}

.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.categories-grid{
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.stars,
.course-details {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media(max-width: 768px){
  .categories-grid {
      grid-template-columns: 1fr;
    }
}

/* Card Styles */
.info-card,
.service-card,
.testimonial-card,
.blog-card,
.category-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover,
.service-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-icon,
.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.info-card h3,
.service-card h3 {
  margin-bottom: 15px;
  color: #1f2937;
}

.service-link {
  color: #023e8a;
  text-decoration: none;
  font-weight: 500;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #03045e;
}

/* Benefits Section */
.benefits {
  background-color: #f8fafc;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.benefit-item h3 {
  margin-bottom: 15px;
  color: #1f2937;
}

/* Stats Section */
.achievements {
  background-color: #1f2937;
  color: white;
}

.achievements .section-header h2,
.achievements .section-header p {
  color: white;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.stat-label {
  color: #d1d5db;
  font-size: 1.125rem;
}

/* Testimonials */
.testimonials {
  background-color: #f8fafc;
}

.quote-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 20px;
  color: #4b5563;
}

.testimonial-author strong {
  color: #1f2937;
  font-weight: 600;
}

.testimonial-author span {
  color: #6b7280;
  font-size: 0.875rem;
  display: block;
  margin-top: 5px;
}

/* Blog Section */
.blog-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.blog-content h3 {
  margin-bottom: 15px;
  color: #1f2937;
}

.blog-content p {
  margin-bottom: 20px;
}

.blog-link {
  color: #023e8a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: #03045e;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  background-color: #f9fafb;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f3f4f6;
}

.faq-question h3 {
  margin-bottom: 0;
  color: #1f2937;
  font-size: 1.125rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 200px;
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, #023e8a 0%, #3b82f6 100%);
  color: white;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.newsletter-text h2 {
  color: white;
  margin-bottom: 15px;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  border: 1px solid #3b82f6;
}

.newsletter-form input:focus {
  outline: 2px solid white;
}

.form-disclaimer {
  flex-basis: 100%;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.form-disclaimer a {
  color: white;
  text-decoration: underline;
}

/* Contact Section */
.contact {
  background-color: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.contact-item h3 {
  margin-bottom: 5px;
  color: #1f2937;
}

.contact-item p {
  margin-bottom: 0;
  color: #6b7280;
}

.social-links h3 {
  margin-bottom: 15px;
  color: #1f2937;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: block;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons svg {
  width: 100%;
  height: 100%;
}

/* Forms */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 2px;
}

.checkbox-label a {
  color: #023e8a;
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: white;
}

.footer-section p {
  color: #d1d5db;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #374151;
}

.footer-bottom p {
  color: #9ca3af;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .info-grid,
  .benefits-grid,
  .services-grid,
  .stats-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-form {
    justify-content: center;
  }

  .newsletter-form input {
    min-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cookie-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
    text-align: center;
  }

  .contact-form {
    padding: 20px;
  }

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

  .stat-number {
    font-size: 2rem;
  }
}

/* Smooth Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus States for Accessibility */
.btn:focus,
input:focus,
textarea:focus,
.nav-link:focus {
  outline: 2px solid #023e8a;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .cookie-banner,
  .cookie-modal {
    display: none;
  }

  main {
    margin-top: 0;
  }

  .hero {
    background: none;
    color: #000;
  }

  .achievements {
    background: none;
    color: #000;
  }

  .newsletter {
    background: none;
    color: #000;
  }
}
