/* Base Variables and Resets */
:root {
  /* Primary Colors */
  --primary-color: #3a86ff;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  
  /* Complementary Colors */
  --complementary-color: #ff7e3a;
  --complementary-dark: #e65a00;
  --complementary-light: #ffa66b;
  
  /* Neutral Colors */
  --background-light: #f5f8ff;
  --background-dark: #131c2e;
  --text-dark: #222222;
  --text-light: #ffffff;
  --text-muted: #6b7280;
  
  /* Neomorphism Shadow Values */
  --nm-shadow-small: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.8);
  --nm-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --nm-shadow-inset: inset 5px 5px 10px rgba(0, 0, 0, 0.1), inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Border Radius */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --border-radius-xl: 36px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

p {
  margin-bottom: var(--space-sm);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-lg) 0;
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  text-align: center;
  position: relative;
  z-index: 2;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius-md);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: var(--nm-shadow-small);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: var(--nm-shadow-inset);
}

.btn-primary {
  background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
  color: var(--text-light);
}

.btn-primary:hover {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary-color));
  color: var(--text-light);
}

.btn-secondary {
  background: linear-gradient(145deg, var(--complementary-color), var(--complementary-dark));
  color: var(--text-light);
}

.btn-secondary:hover {
  background: linear-gradient(145deg, var(--complementary-dark), var(--complementary-color));
  color: var(--text-light);
}

/* Forms */
input, select, textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid #ddd;
  background-color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: all var(--transition-normal);
  box-shadow: var(--nm-shadow-inset);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: var(--space-md);
}

button, input[type="submit"] {
  cursor: pointer;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: var(--space-sm) 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo h1 {
  margin: 0;
  font-size: 1.8rem;
}

.desktop-nav ul {
  display: flex;
  gap: var(--space-md);
}

.desktop-nav a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-btn span {
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: var(--space-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-normal);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: var(--space-xl) 0;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--text-light);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--nm-shadow);
  transition: transform var(--transition-normal);
}

.card:hover {
  transform: translateY(-10px);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-md);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

/* Webinars Section */
.webinars {
  background-color: #f9fafc;
}

.webinars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.webinar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--nm-shadow);
  transition: transform var(--transition-normal);
}

.webinar-card:hover {
  transform: translateY(-10px);
}

.webinar-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
}

.webinars-timeline {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--nm-shadow);
}

.webinars-timeline h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--primary-color);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50px;
  margin-left: -2px;
  border-radius: 4px;
}

.timeline-item {
  display: flex;
  margin-bottom: var(--space-md);
  position: relative;
}

.timeline-date {
  min-width: 100px;
  font-weight: 700;
  padding: 10px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius-md);
  text-align: center;
  z-index: 1;
  box-shadow: var(--nm-shadow-small);
}

.timeline-content {
  margin-left: var(--space-md);
  background-color: #fff;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow-small);
  flex-grow: 1;
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* External Resources Section */
.external-resources {
  background-color: #eef2ff;
  padding: var(--space-xl) 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.resource-card {
  background-color: #fff;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.resource-link {
  margin-top: auto;
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
}

.resource-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.resource-link:hover::after {
  width: 100%;
}

/* Clients Section */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--nm-shadow);
  transition: transform var(--transition-normal);
}

.client-card:hover {
  transform: translateY(-10px);
}

.testimonials {
  margin-top: var(--space-xl);
}

.testimonials h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--primary-color);
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.testimonial {
  background-color: #fff;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow);
  max-width: 350px;
  text-align: center;
  transition: transform var(--transition-normal);
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial p {
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name {
  font-weight: 700;
  color: var(--primary-color);
}

.position {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Instructors Section */
.instructors {
  background-color: #f9fafc;
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.instructor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--nm-shadow);
  transition: transform var(--transition-normal);
}

.instructor-card:hover {
  transform: translateY(-10px);
}

.instructor-card .card-image {
  width: 100%;
  height: 350px;
}

.instructor-card .position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.accordion {
  width: 100%;
  margin-top: var(--space-md);
}

.accordion-item {
  margin-bottom: var(--space-sm);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.accordion-header {
  background-color: var(--primary-light);
  color: var(--text-light);
  padding: 0.8rem var(--space-md);
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
}

.accordion-item.active .accordion-header::after {
  content: '-';
}

.accordion-content {
  background-color: #f5f8ff;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: var(--space-md);
}

.accordion-content ul {
  list-style-type: disc;
  padding-left: var(--space-md);
}

.accordion-content li {
  margin-bottom: 0.5rem;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--nm-shadow);
  transition: transform var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--complementary-color);
  color: var(--text-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
}

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

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-item {
  margin-bottom: var(--space-md);
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.social-media h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.social-links a {
  padding: 0.5rem 1rem;
  background-color: #fff;
  border-radius: var(--border-radius-md);
  color: var(--primary-color);
  font-weight: 500;
  transition: all var(--transition-normal);
  box-shadow: var(--nm-shadow-small);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--nm-shadow);
}

/* Footer Styles */
.footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo h2 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: var(--text-muted);
}

.footer-links, .footer-legal, .footer-social {
  flex: 1;
  min-width: 200px;
}

.footer h3 {
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer a {
  color: var(--text-muted);
  transition: color var(--transition-normal);
}

.footer a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Cookie Consent */
#cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 9999;
}

#accept-cookies {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  margin: 10px;
  cursor: pointer;
  border-radius: 4px;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  background-color: #f5f8ff;
}

.success-content {
  max-width: 600px;
  padding: var(--space-lg);
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--nm-shadow);
}

.success-icon {
  font-size: 5rem;
  color: #4CAF50;
  margin-bottom: var(--space-md);
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

/* About, Privacy, Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: var(--space-lg);
}

.page-content .container {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--nm-shadow);
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  color: var(--primary-color);
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .services-grid, .clients-grid, .blog-grid, .webinars-grid, .instructors-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-date {
    margin-bottom: var(--space-sm);
  }
  
  .timeline-content {
    margin-left: 0;
  }
  
  .services-grid, .clients-grid, .blog-grid, .webinars-grid, .instructors-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .testimonials-slider {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* Animation Styles */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* For Cards */
.image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

/* Other Pages */
.about-page, .contacts-page, .privacy-page, .terms-page {
  padding-top: 100px;
}