/* ============================
 * BASE STYLES & VARIABLES
 * ============================ */
:root {
  /* Primary Colors - Tetrad Scheme */
  --primary-color: #1e3a8a;  /* Deep Blue */
  --primary-light: #2a4ebd;
  --primary-dark: #152c69;
  
  --secondary-color: #8a1e3a;  /* Deep Ruby */
  --secondary-light: #bd2a4e;
  --secondary-dark: #69152c;
  
  --tertiary-color: #3a8a1e;  /* Emerald Green */
  --tertiary-light: #4ebd2a;
  --tertiary-dark: #2c6915;
  
  --quaternary-color: #8a3a1e;  /* Burnt Orange */
  --quaternary-light: #bd4e2a;
  --quaternary-dark: #692c15;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #343a40;
  --black: #212529;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --tertiary-gradient: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-light));
  --quaternary-gradient: linear-gradient(135deg, var(--quaternary-color), var(--quaternary-light));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index layers */
  --z-negative: -1;
  --z-elevate: 1;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* ============================
 * RESET & BASE STYLES
 * ============================ */
*,
*::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(--dark-gray);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--black);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

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

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

section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* ============================
 * UTILITY CLASSES
 * ============================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--space-sm);
}

.mb-2 {
  margin-bottom: var(--space-md);
}

.mb-3 {
  margin-bottom: var(--space-lg);
}

.mb-4 {
  margin-bottom: var(--space-xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--space-sm);
}

.mt-2 {
  margin-top: var(--space-md);
}

.mt-3 {
  margin-top: var(--space-lg);
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-row {
  flex-direction: row !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-tertiary {
  background-color: var(--tertiary-color) !important;
}

.bg-quaternary {
  background-color: var(--quaternary-color) !important;
}

.text-white {
  color: var(--white) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: var(--z-negative);
}

.light {
  color: var(--white);
}

.light h2,
.light h3,
.light p {
  color: var(--white);
}

/* ============================
 * BUTTONS
 * ============================ */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

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

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: var(--white);
}

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

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
  color: var(--white);
}

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

.btn-tertiary:hover {
  background: linear-gradient(135deg, var(--tertiary-light), var(--tertiary-color));
  color: var(--white);
}

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

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

/* ============================
 * HEADER & NAVIGATION
 * ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

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

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

.logo img {
  max-height: 60px;
  width: auto;
}

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

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin: 0 var(--space-sm);
}

.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--dark-gray);
  padding: 0.5rem;
  position: relative;
}

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

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

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

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

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark-gray);
  transition: all var(--transition-normal);
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .navigation {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    transition: left var(--transition-normal);
    z-index: var(--z-fixed);
  }
  
  .navigation.active {
    left: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
    padding: var(--space-lg);
  }
  
  .nav-menu li {
    margin: var(--space-sm) 0;
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    padding: var(--space-md);
    text-align: center;
  }
}

/* ============================
 * HERO SECTION
 * ============================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  margin-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: var(--z-negative);
}

.hero-content {
  max-width: 800px;
  padding: var(--space-xl) 0;
  position: relative;
  z-index: var(--z-elevate);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

/* ============================
 * ABOUT SECTION
 * ============================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-md);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-gradient);
}

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

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

.about-image,
.about-text {
  flex: 1;
}

.image-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

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

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

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

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

@media (max-width: 991px) {
  .about-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .about-image,
  .about-text {
    width: 100%;
  }
}

/* ============================
 * SERVICES SECTION
 * ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

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

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

.card-image {
  width: 100%;
  height: 220px;
  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(--space-lg);
  text-align: center;
}

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

.card-content p {
  margin-bottom: 0;
}

/* ============================
 * STATISTICS SECTION
 * ============================ */
.statistics {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
  padding: var(--space-xxl) 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.stat-box {
  text-align: center;
  padding: var(--space-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-normal);
}

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

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
}

.percent,
.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
}

.stat-title {
  font-size: 1.2rem;
  margin-top: var(--space-sm);
  color: var(--white);
}

/* ============================
 * INSIGHTS SECTION
 * ============================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.insight-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

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

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

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

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

.insight-card .card-content {
  padding: var(--space-lg);
  flex: 1;
  text-align: left;
}

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

/* ============================
 * INNOVATION SECTION
 * ============================ */
.innovation {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: var(--space-xxl) 0;
}

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

.innovation-text,
.innovation-image {
  flex: 1;
  position: relative;
  z-index: var(--z-elevate);
}

.innovation-text h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.innovation-text p {
  margin-bottom: var(--space-md);
  color: var(--white);
}

.innovation-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 991px) {
  .innovation-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .innovation-text,
  .innovation-image {
    width: 100%;
  }
}

/* ============================
 * EXTERNAL RESOURCES SECTION
 * ============================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.resource-card {
  background-color: var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.resource-card h3 a {
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.resource-card h3 a:hover {
  color: var(--primary-light);
}

.resource-card p {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* ============================
 * COMMUNITY SECTION
 * ============================ */
.community-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.community-image,
.community-text {
  flex: 1;
}

.community-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.community-text h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.community-text p {
  margin-bottom: var(--space-md);
}

@media (max-width: 991px) {
  .community-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .community-image,
  .community-text {
    width: 100%;
  }
}

/* ============================
 * WEBINARS SECTION
 * ============================ */
.webinars {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: var(--space-xxl) 0;
}

.webinars-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: var(--z-elevate);
}

.webinar-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

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

.webinar-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.webinar-content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.webinar-date {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.webinar-content h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  color: var(--dark-gray);
}

.webinar-content p {
  margin-bottom: var(--space-lg);
  color: var(--dark-gray);
  flex: 1;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  position: relative;
  z-index: var(--z-elevate);
}

.prev-btn,
.next-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* ============================
 * FAQ SECTION
 * ============================ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--light-gray);
  transition: background-color var(--transition-normal);
}

.faq-question:hover {
  background-color: var(--medium-gray);
}

.faq-question h3 {
  font-size: 1.2rem;
  margin: 0;
  flex: 1;
  color: var(--dark-gray);
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: transform var(--transition-normal);
}

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

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

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

/* ============================
 * CONTACT SECTION
 * ============================ */
.contact {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: var(--z-elevate);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  color: var(--white);
}

.info-text p {
  color: var(--white);
  margin: 0;
}

.contact-form {
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  background-color: var(--light-gray);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

@media (max-width: 991px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    order: -1;
  }
}

/* ============================
 * FOOTER SECTION
 * ============================ */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-md);
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: var(--space-md);
}

.footer-logo p {
  color: var(--medium-gray);
}

.footer-links h3,
.footer-legal h3,
.footer-social h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  position: relative;
}

.footer-links h3::after,
.footer-legal h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a,
.footer-legal a {
  color: var(--medium-gray);
  transition: color var(--transition-normal);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.social-links a {
  color: var(--medium-gray);
  transition: color var(--transition-normal);
  position: relative;
  padding-left: 22px;
}

.social-links a:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
}

.social-links a[href*="facebook"]:before {
  content: "\f39e";
}

.social-links a[href*="twitter"]:before,
.social-links a[href*="x.com"]:before {
  content: "\f099";
}

.social-links a[href*="instagram"]:before {
  content: "\f16d";
}

.social-links a[href*="linkedin"]:before {
  content: "\f0e1";
}

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

.newsletter h3 {
  margin-top: var(--space-lg);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-md);
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-body);
}

.newsletter-form input::placeholder {
  color: var(--medium-gray);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-light);
}

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

.footer-bottom p {
  color: var(--medium-gray);
  margin: 0;
}

/* ============================
 * MODAL
 * ============================ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  max-width: 600px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 1.5rem;
  color: var(--dark-gray);
  cursor: pointer;
  transition: color var(--transition-normal);
}

.close-modal:hover {
  color: var(--primary-color);
}

/* ============================
 * SUCCESS PAGE
 * ============================ */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--light-gray);
  text-align: center;
}

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

.success-icon {
  font-size: 5rem;
  color: var(--tertiary-color);
  margin-bottom: var(--space-lg);
}

.success-content h1 {
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.success-content p {
  margin-bottom: var(--space-lg);
}

/* ============================
 * PRIVACY & TERMS PAGES
 * ============================ */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

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

.privacy-content h1,
.terms-content h1 {
  margin-bottom: var(--space-lg);
  color: var(--primary-color);
}

.privacy-content h2,
.terms-content h2 {
  font-size: 1.8rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

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

.privacy-content ul,
.terms-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  list-style-type: disc;
}

.privacy-content ol,
.terms-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  list-style-type: decimal;
}

.privacy-content li,
.terms-content li {
  margin-bottom: var(--space-sm);
}

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

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

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-left {
  animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-right {
  animation: fadeInRight 0.6s ease-out forwards;
}

.animate-zoom-in {
  animation: zoomIn 0.6s ease-out forwards;
}

/* AOS Integration */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-down"] {
  transform: translateY(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ============================
 * RESPONSIVE ADJUSTMENTS
 * ============================ */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 991px) {
  html {
    font-size: 14px;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .services-grid,
  .resources-grid,
  .insights-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-content,
  .innovation-content,
  .community-content {
    flex-direction: column;
  }
  
  .webinars-carousel {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
}
*{
  opacity: 1 !important;
}
html,body{
  overflow-x: hidden;
}