/* ===== CSS Variables ===== */
:root {
  /* Primary Colors */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  
  /* Neutral Colors */
  --secondary-color: #64748b;
  --secondary-dark: #475569;
  --secondary-light: #94a3b8;
  
  /* Accent Colors */
  --accent-color: #06b6d4;
  --accent-dark: #0891b2;
  --accent-light: #22d3ee;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  /* Border Colors */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Shadow Colors */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(6, 182, 212, 0.8) 100%);
  
  /* Animation Variables */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 20px;
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Z-index */
  --z-header: 1000;
  --z-modal: 1050;
  --z-tooltip: 1100;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

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

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

/* ===== Button Styles ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 120px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-normal);
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-outline-light:hover {
  background: var(--text-white);
  color: var(--text-primary);
  transform: translateY(-2px);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* ===== Header Styles ===== */
.header-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
  padding: 1rem 0;
  transition: var(--transition-normal);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white) !important;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--accent-color) !important;
}

.navbar-nav .nav-link {
  color: var(--text-white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}



.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-white) !important;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Section Styles ===== */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ===== Card Styles ===== */
.card {
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1rem;
}

/* ===== Services Section ===== */
.services-section {
  background: var(--bg-secondary);
}

.service-card {
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card .card-image {
  height: 200px;
}

.service-card .card-content {
  padding: 2rem;
}

/* ===== Projects Section ===== */
.projects-section {
  background: var(--bg-primary);
}

.project-card {
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-card .card-image {
  height: 300px;
}

.project-card .card-content {
  padding: 2rem;
}

/* ===== Webinars Section ===== */
.webinars-section {
  background: var(--bg-secondary);
}

.webinar-card {
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
}

.webinar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.webinar-card .card-image {
  height: 200px;
}

.webinar-card .card-content {
  padding: 1.5rem;
}

.webinar-date {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
}

/* ===== Success Stories Section ===== */
.success-stories-section {
  background: var(--bg-primary);
}

.story-card {
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.story-card .card-image {
  height: 250px;
}

.story-card .card-content {
  padding: 2rem;
}

.story-metrics {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.story-metrics span {
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Resources Section ===== */
.resources-section {
  background: var(--bg-secondary);
}

.resource-card {
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  padding: 2rem;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.resource-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.resource-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
  background: var(--bg-primary);
}

.testimonial-card {
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.testimonial-card .card-image {
  height: 200px;
}

.testimonial-card .card-content {
  padding: 2rem;
}

.testimonial-card .card-content p {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

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

.testimonial-card .card-content span {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ===== FAQ Section ===== */
.faq-section {
  background: var(--bg-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-primary);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
}

.faq-question h3 {
  color: var(--text-primary);
  margin: 0;
  font-size: 1.125rem;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
}

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

/* ===== Jobs Section ===== */
.jobs-section {
  background: var(--bg-primary);
}

.job-card {
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  padding: 2rem;
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.job-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.job-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.job-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.job-card ul li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.job-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* ===== Contact Section ===== */
.contact-section {
  background: var(--bg-secondary);
}

.contact-form {
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--bg-primary);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
  outline: none;
}

.contact-info {
  text-align: center;
  padding: 2rem;
}

.contact-info h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ===== Footer Styles ===== */
.footer-section {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition-fast);
  font-weight: 500;
}

.social-links a:hover {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

/* ===== Modal Styles ===== */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.modal-body {
  padding: 2rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== Success Page Styles ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  text-align: center;
}

.success-content {
  background: var(--bg-primary);
  padding: 4rem;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: 90%;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.success-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ===== About Page Styles ===== */
.about-page {
  padding-top: 100px;
}

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

.about-content h1 {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ===== Privacy & Terms Page Styles ===== */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h1,
.terms-content h1 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.privacy-content h2,
.terms-content h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p,
.terms-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.privacy-content ul,
.terms-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.privacy-content li,
.terms-content li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ===== Contacts Page Styles ===== */
.contacts-page {
  padding-top: 100px;
}

.contacts-content {
  max-width: 1000px;
  margin: 0 auto;
}

.contacts-content h1 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-method {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  margin-bottom: 2rem;
}

.contact-method h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-method p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .success-content {
    padding: 2rem;
  }
  
  .about-content h1 {
    font-size: 2.5rem;
  }
  
  .privacy-content h1,
  .terms-content h1,
  .contacts-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
  
  .btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .story-metrics {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .story-metrics span {
    text-align: center;
  }
  
  .about-content h1 {
    font-size: 2rem;
  }
  
  .privacy-content h1,
  .terms-content h1,
  .contacts-content h1 {
    font-size: 1.75rem;
  }
}

/* ===== Utility Classes ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

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

.scale-on-hover {
  transition: var(--transition-normal);
}

.scale-on-hover:hover {
  transform: scale(1.05);
}

/* ===== Loading Animation ===== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== Scroll Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Focus Styles ===== */
.btn:focus,
.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* ===== Print Styles ===== */
@media print {
  .header-section,
  .footer-section,
  .btn,
  .modal {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-section {
    background: none !important;
    color: black !important;
  }
}