/* ==================== 
   Root Variables and Base Styles 
   ==================== */
:root {
  /* Color Palette - Analogous Scheme */
  --primary-color: #3a6ea5;
  --primary-dark: #2a5280;
  --primary-light: #5089c3;
  --secondary-color: #2e9fa3;
  --secondary-dark: #1e7c80;
  --secondary-light: #4dbfc3;
  --accent-color: #5b62a5;
  --accent-dark: #43498a;
  --accent-light: #7a80c3;
  
  /* Neutral Colors */
  --text-dark: #21354f;
  --text-medium: #596a82;
  --text-light: #8999ad;
  --background-light: #f7f9fc;
  --background-medium: #eef2f7;
  --background-dark: #dde5f0;
  
  /* UI Elements */
  --success: #4caf84;
  --error: #e85c5c;
  --warning: #f7b955;
  --info: #64b5f6;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-rounded: 50%;
  
  /* Shadows */
  --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-large: 0 8px 24px rgba(0, 0, 0, 0.16);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy animation */
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Container Width */
  --container-width: 1200px;
  --container-padding: 1.5rem;
  
  /* Z-index layers */
  --z-background: -1;
  --z-normal: 1;
  --z-dropdown: 50;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* ==================== 
   Base Reset and Typography 
   ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
}

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

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

ul, ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

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

/* ==================== 
   Container and Layout 
   ==================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--spacing-xxl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-md);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
  border-radius: var(--radius-sm);
}

.section-header p {
  color: var(--text-medium);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ==================== 
   Buttons 
   ==================== */
.btn, button, input[type='submit'] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-slow), 
              box-shadow var(--transition-medium),
              background-color var(--transition-fast),
              color var(--transition-fast);
  outline: none;
  border: none;
  font-size: 1rem;
}

.btn:hover, button:hover, input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn:active, button:active, input[type='submit']:active {
  transform: translateY(1px);
}

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

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

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

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

.btn-tertiary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

/* ==================== 
   Header and Navigation 
   ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium);
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--text-dark);
  text-decoration: none;
}

.logo h1 {
  font-size: 1.75rem;
  margin-bottom: 0;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav li {
  margin: 0 var(--spacing-md);
}

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

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: width var(--transition-medium);
}

.desktop-nav a:hover {
  color: var(--primary-color);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 2px 0;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-medium), opacity var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  padding: var(--spacing-md) 0;
  text-align: center;
  border-bottom: 1px solid var(--background-medium);
}

.mobile-menu a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.1rem;
}

.mobile-menu.active {
  max-height: 500px;
}

/* ==================== 
   Hero Section 
   ==================== */
.hero {
  position: relative;
  padding: 0;
  height: 90vh;
  min-height: 600px;
  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: var(--z-background);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(58, 110, 165, 0.8), rgba(91, 98, 165, 0.7));
  z-index: var(--z-background);
}

.hero-content {
  position: relative;
  z-index: var(--z-normal);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-xl) 0;
  color: white;
}

.hero-content h1 {
  margin-bottom: var(--spacing-lg);
  font-size: 3.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xl);
  color: white;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* ==================== 
   About Section 
   ==================== */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: var(--spacing-md);
}

.about-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transform: rotate(2deg);
  transition: transform var(--transition-medium);
}

.about-image:hover {
  transform: rotate(0) scale(1.02);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

/* ==================== 
   Courses Section 
   ==================== */
.courses {
  background-color: var(--background-light);
}

.courses-slider {
  position: relative;
  padding: var(--spacing-md) 0;
}

.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: var(--spacing-lg);
  padding: var(--spacing-md) 0;
}

.slider-container::-webkit-scrollbar {
  display: none;
}

.card {
  flex: 0 0 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: white;
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  height: 300px;
  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.1);
}

.card-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-content h3 {
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.card-content p {
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.prev-btn, .next-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-rounded);
  background-color: white;
  box-shadow: var(--shadow-small);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-medium), background-color var(--transition-fast);
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--primary-light);
  transform: scale(1.1);
}

.prev-btn span, .next-btn span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
}

.prev-btn span {
  transform: rotate(-135deg);
}

.next-btn span {
  transform: rotate(45deg);
}

.prev-btn:hover span, .next-btn:hover span {
  border-color: white;
}

/* ==================== 
   Methodology Section 
   ==================== */
.methodology {
  background: linear-gradient(to bottom right, var(--background-light), white);
}

.methodology-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.methodology-item {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium), box-shadow var(--transition-fast);
}

.methodology-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.methodology-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--spacing-lg);
  border-radius: var(--radius-rounded);
  overflow: hidden;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.methodology-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.methodology-item h3 {
  margin-bottom: var(--spacing-md);
  color: var(--primary-dark);
}

/* ==================== 
   Instructors Section 
   ==================== */
.instructors {
  background-color: white;
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.instructors-grid .card {
  margin-bottom: 0;
  align-items: center;
}

.instructors-grid .card-image {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.instructors-grid .card-content {
  text-align: center;
  padding: var(--spacing-lg);
}

.instructor-title {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

/* ==================== 
   Resources Section 
   ==================== */
.resources {
  background-color: var(--background-light);
}

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

.resources-content p {
  margin-bottom: var(--spacing-xl);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.resource-card {
  display: block;
  padding: var(--spacing-lg);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium), box-shadow var(--transition-fast);
  text-align: center;
  height: 100%;
}

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

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

.resource-card p {
  color: var(--text-medium);
  margin-bottom: 0;
}

/* ==================== 
   Testimonials Section 
   ==================== */
.testimonials {
  background: linear-gradient(to bottom left, var(--background-light), white);
}

.testimonials-slider {
  position: relative;
  padding: var(--spacing-md) 0;
}

.testimonials-slider .slider-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.testimonials-slider .card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-lg);
}

.testimonials-slider .card-image {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-rounded);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-small);
}

.testimonials-slider .card-content {
  text-align: center;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-xs);
}

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

/* ==================== 
   Gallery Section 
   ==================== */
.gallery {
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ==================== 
   Partners Section 
   ==================== */
.partners {
  background-color: var(--background-light);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  align-items: center;
}

.partner-item {
  text-align: center;
}

.partner-item img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto var(--spacing-md);
  filter: grayscale(100%);
  transition: filter var(--transition-medium), transform var(--transition-medium);
}

.partner-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.partner-item p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==================== 
   FAQ Section 
   ==================== */
.faq {
  background-color: white;
}

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

.faq-item {
  margin-bottom: var(--spacing-lg);
  border-radius: var(--radius-md);
  background-color: var(--background-light);
  overflow: hidden;
}

.faq-question {
  padding: var(--spacing-lg);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
  flex-grow: 1;
  padding-right: var(--spacing-xl);
}

.faq-toggle {
  position: relative;
  width: 24px;
  height: 24px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: transform var(--transition-medium);
}

.faq-toggle::before {
  top: 11px;
  left: 0;
  width: 24px;
  height: 2px;
}

.faq-toggle::after {
  top: 0;
  left: 11px;
  width: 2px;
  height: 24px;
}

.faq-item.active .faq-toggle::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--spacing-lg);
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 var(--spacing-lg) var(--spacing-lg);
}

/* ==================== 
   Careers Section 
   ==================== */
.careers {
  background: linear-gradient(to top right, var(--background-light), white);
}

.careers-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.careers-text {
  flex: 1;
}

.careers-list {
  margin: var(--spacing-lg) 0;
  list-style-type: none;
  padding-left: 0;
}

.careers-list li {
  position: relative;
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
}

.careers-list li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-rounded);
  background-color: var(--secondary-color);
}

.careers-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

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

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

/* ==================== 
   Contact Section 
   ==================== */
.contact {
  background-color: var(--background-light);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

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

.contact-info h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--primary-dark);
}

.contact-info p {
  margin-bottom: var(--spacing-md);
}

.contact-map {
  margin-top: var(--spacing-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.contact-map img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

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

.contact-form h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--primary-dark);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--text-medium);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--background-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.2);
  outline: none;
}

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

/* ==================== 
   Footer Section 
   ==================== */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo h2 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

.footer-links-column {
  min-width: 150px;
}

.footer-links-column h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
}

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

.footer-links-column li {
  margin-bottom: var(--spacing-sm);
}

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

.footer-links-column a:hover {
  color: white;
}

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

.social-links a {
  color: var(--text-light);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.social-links a:hover {
  color: white;
}

.social-links a::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
}

.social-links a[href*="facebook"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%238999ad' d='M12 2.04c-5.5 0-10 4.49-10 10.02 0 5 3.66 9.15 8.44 9.9v-7H7.9v-2.9h2.54V9.85c0-2.51 1.49-3.89 3.78-3.89 1.09 0 2.23.19 2.23.19v2.47h-1.26c-1.24 0-1.63.77-1.63 1.56v1.88h2.78l-.45 2.9h-2.33v7a10 10 0 0 0 8.44-9.9c0-5.53-4.5-10.02-10-10.02z'/%3E%3C/svg%3E");
}

.social-links a[href*="twitter"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%238999ad' d='M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z'/%3E%3C/svg%3E");
}

.social-links a[href*="instagram"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%238999ad' d='M12 2c2.717 0 3.056.01 4.122.06 1.065.05 1.79.217 2.428.465.66.254 1.216.598 1.772 1.153a4.908 4.908 0 0 1 1.153 1.772c.247.637.415 1.363.465 2.428.047 1.066.06 1.405.06 4.122 0 2.717-.01 3.056-.06 4.122-.05 1.065-.218 1.79-.465 2.428a4.883 4.883 0 0 1-1.153 1.772 4.915 4.915 0 0 1-1.772 1.153c-.637.247-1.363.415-2.428.465-1.066.047-1.405.06-4.122.06-2.717 0-3.056-.01-4.122-.06-1.065-.05-1.79-.218-2.428-.465a4.89 4.89 0 0 1-1.772-1.153 4.904 4.904 0 0 1-1.153-1.772c-.248-.637-.415-1.363-.465-2.428C2.013 15.056 2 14.717 2 12c0-2.717.01-3.056.06-4.122.05-1.066.217-1.79.465-2.428a4.88 4.88 0 0 1 1.153-1.772A4.897 4.897 0 0 1 5.45 2.525c.638-.248 1.362-.415 2.428-.465C8.944 2.013 9.283 2 12 2zm0 1.802c-2.67 0-2.987.01-4.04.059-.976.045-1.505.207-1.858.344-.466.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.048 1.054-.058 1.37-.058 4.041 0 2.67.01 2.986.058 4.04.045.976.207 1.505.344 1.858.182.466.399.8.748 1.15.35.35.684.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058 2.67 0 2.987-.01 4.04-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041 0-2.67-.01-2.986-.058-4.04-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 0 0-.748-1.15 3.098 3.098 0 0 0-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.054-.048-1.37-.058-4.041-.058zm0 3.063a5.135 5.135 0 1 1 0 10.27 5.135 5.135 0 0 1 0-10.27zm0 8.468a3.333 3.333 0 1 0 0-6.666 3.333 3.333 0 0 0 0 6.666zm6.538-8.684a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0z'/%3E%3C/svg%3E");
}

.social-links a[href*="linkedin"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%238999ad' d='M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z'/%3E%3C/svg%3E");
}

.footer-bottom {
  padding-top: var(--spacing-md);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==================== 
   Additional Pages Styles
   ==================== */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.success-content {
  background-color: white;
  padding: var(--spacing-xxl);
  border-radius: var(--radius-lg);
  max-width: 600px;
  box-shadow: var(--shadow-large);
}

.success-content h1 {
  color: var(--success);
  margin-bottom: var(--spacing-lg);
}

.success-content p {
  margin-bottom: var(--spacing-xl);
}

.privacy-page, .terms-page {
  padding-top: 100px;
  min-height: 100vh;
  background-color: white;
}

.privacy-content, .terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--container-padding);
}

.privacy-content h1, .terms-content h1 {
  margin-bottom: var(--spacing-xl);
}

.privacy-content h2, .terms-content h2 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  font-size: 1.75rem;
}

.privacy-content p, .terms-content p {
  margin-bottom: var(--spacing-md);
}

/* ==================== 
   Responsive Media Queries 
   ==================== */
@media (max-width: 1200px) {
  :root {
    --container-padding: 1.25rem;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .about-content,
  .careers-content {
    flex-direction: column;
  }
  
  .about-image,
  .careers-image {
    margin-top: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu.active {
    display: block;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  :root {
    --container-padding: 1rem;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .card-content {
    padding: var(--spacing-md);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .footer-links {
    gap: var(--spacing-lg);
  }
}

/* ==================== 
   Animations
   ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Utility Classes */
.animate-fadeIn {
  animation: fadeIn 1s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.animate-slideInLeft {
  animation: slideInLeft 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.animate-slideInUp {
  animation: slideInUp 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.animate-pulse {
  animation: pulse 2s infinite ease-in-out;
}