/* style.css */

/* ===== VARIABLES ===== */
:root {
  /* Color Scheme - Complementary */
  --primary-color: #3a57e8;
  --primary-light: #647aff;
  --primary-dark: #2740b5;
  --secondary-color: #ff7a3a;
  --secondary-light: #ff9a64;
  --secondary-dark: #e65f1e;
  --accent-color: #14c9c9;
  --accent-light: #48e2e2;
  --accent-dark: #0ea0a0;
  
  /* Neutral Colors */
  --text-dark: #212839;
  --text-medium: #505670;
  --text-light: #7a849e;
  --bg-light: #f8faff;
  --bg-medium: #eef2ff;
  --bg-dark: #dde4f8;
  --white: #ffffff;
  --black: #121212;
  
  /* Shadow Colors for Neumorphism */
  --shadow-light: rgba(255, 255, 255, 0.7);
  --shadow-dark: rgba(174, 174, 192, 0.2);
  --shadow-dark-stronger: rgba(105, 112, 152, 0.18);
  
  /* Glass Effect Colors */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 3rem;
  --space-xl: 5rem;
  
  /* Borders */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-width: 1px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container widths */
  --container-width: 1200px;
  --container-padding: 1.5rem;
}

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 10px */
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2.1rem;
}

h5 {
  font-size: 1.8rem;
}

h6 {
  font-size: 1.6rem;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--space-s);
}

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-l);
  position: relative;
  font-size: 3.6rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: var(--space-s) auto 0;
  border-radius: 2px;
}

/* ===== NEUMORPHISM STYLES ===== */
.neumorphic {
  background: var(--bg-medium);
  box-shadow: 
    8px 8px 16px var(--shadow-dark), 
    -8px -8px 16px var(--shadow-light);
  border-radius: var(--border-radius-md);
}

.neumorphic-inset {
  background: var(--bg-medium);
  box-shadow: 
    inset 6px 6px 12px var(--shadow-dark), 
    inset -6px -6px 12px var(--shadow-light);
  border-radius: var(--border-radius-md);
}

.glassmorphic {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  border-radius: var(--border-radius-md);
}

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

/* ===== BUTTONS ===== */
.btn, 
button,
input[type='submit'] {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.6rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

.btn:hover, 
button:hover,
input[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  text-decoration: none;
}

.btn:active, 
button:active,
input[type='submit']:active {
  transform: translateY(1px);
  box-shadow: 
    inset 2px 2px 5px var(--shadow-dark),
    inset -2px -2px 5px var(--shadow-light);
}

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

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

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

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

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

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

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: var(--bg-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  transition: all var(--transition-medium);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.logo:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

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

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

.nav-list {
  display: flex;
  gap: var(--space-s);
  list-style: none;
  margin: 0;
}

.nav-list a {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.nav-list a:hover {
  color: var(--primary-color);
  background: var(--bg-medium);
  box-shadow: 
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
}

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

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

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

.hero-content {
  max-width: 700px;
  color: var(--white);
  z-index: 1;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: var(--space-m);
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

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

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-text {
  flex: 1 1 500px;
}

.image-container {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  margin: 0 auto;
  max-width: 100%;
}

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

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

/* ===== VISION SECTION ===== */
.vision {
  padding: var(--space-xl) 0;
  background-color: var(--bg-medium);
}

.vision-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-l);
}

.vision-text {
  flex: 1 1 500px;
  padding: var(--space-m);
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.vision-image {
  flex: 1 1 400px;
  text-align: center;
}

/* ===== TEAM SECTION ===== */
.team {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-l);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
}

.team-card {
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium);
}

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

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

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

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

.card-content {
  padding: var(--space-m);
  text-align: center;
}

.position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--space-s);
}

.team-carousel {
  position: relative;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--space-m);
}

.carousel-prev,
.carousel-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-light);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 var(--space-xs);
  font-size: 2.4rem;
  cursor: pointer;
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  transition: all var(--transition-fast);
}

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

/* ===== INNOVATION SECTION ===== */
.innovation {
  padding: var(--space-xl) 0;
  background-color: var(--bg-medium);
}

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

.innovation-image {
  flex: 1 1 400px;
  text-align: center;
}

.innovation-text {
  flex: 1 1 500px;
}

.innovation-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  margin-top: var(--space-m);
}

.feature {
  flex: 1 1 200px;
  background: var(--white);
  padding: var(--space-m);
  border-radius: var(--border-radius-md);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

.feature h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

/* ===== PARTNERS SECTION ===== */
.partners {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.partners-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-l);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
}

.partner-card {
  flex: 1 1 250px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  padding: var(--space-m);
  border-radius: var(--border-radius-md);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  transition: transform var(--transition-medium);
}

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

.partner-card .card-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-s);
}

.partner-card .card-content {
  text-align: center;
}

/* ===== RESOURCES SECTION ===== */
.resources {
  padding: var(--space-xl) 0;
  background-color: var(--bg-medium);
}

.resources-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-l);
}

.resources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
}

.resource-card {
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium);
}

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

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

.resource-link {
  display: inline-block;
  margin-top: var(--space-s);
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
  padding-right: 20px;
  transition: all var(--transition-fast);
}

.resource-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.resource-link::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-fast);
}

.resource-link:hover::after {
  transform: translate(5px, -50%);
}

/* ===== INSIGHTS SECTION ===== */
.insights {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.insights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-l);
  justify-content: center;
}

.insight-card {
  flex: 1 1 350px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium);
}

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

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

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

.insight-card .card-content h3 {
  margin-bottom: var(--space-s);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--space-xl) 0;
  background-color: var(--bg-medium);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-l);
}

.contact-info {
  flex: 1 1 350px;
  background: var(--white);
  padding: var(--space-m);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.contact-details {
  list-style: none;
  margin-bottom: var(--space-m);
}

.contact-details li {
  padding: var(--space-s) 0;
  display: flex;
  align-items: center;
}

.contact-hours {
  margin-bottom: var(--space-m);
}

.contact-map {
  margin-top: var(--space-m);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
}

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

.contact-form-container {
  flex: 1 1 500px;
  background: var(--white);
  padding: var(--space-m);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.contact-form-container h3 {
  margin-bottom: var(--space-s);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: var(--border-width) solid var(--bg-dark);
  border-radius: var(--border-radius-md);
  background: var(--bg-light);
  box-shadow: 
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light),
    0 0 0 3px rgba(58, 87, 232, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: center;
}

.form-checkbox input {
  width: auto;
  margin-right: var(--space-xs);
}

.form-checkbox label {
  margin: 0;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
}

.form-row .form-group {
  flex: 1 1 200px;
}

/* ===== FOOTER SECTION ===== */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: var(--space-l) 0 var(--space-s);
}

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

.footer-logo {
  flex: 1 1 300px;
}

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

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

.footer h3 {
  color: var(--white);
  margin-bottom: var(--space-s);
  font-size: 1.8rem;
}

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

.footer ul li {
  margin-bottom: var(--space-xs);
}

.footer a {
  color: var(--bg-medium);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-m);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-s);
}

.copyright {
  flex: 1 1 auto;
}

.footer-contact {
  flex: 1 1 auto;
  text-align: right;
}

.footer-social a {
  display: inline-block;
  padding: 0.3rem 0;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  transform: translateX(5px);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-m);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-m);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: var(--space-m);
  font-size: 2.4rem;
  font-weight: 300;
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  padding: 0 var(--space-m) var(--space-m);
}

/* ===== LEGAL PAGES ===== */
.page-hero {
  height: 40vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  margin-top: 80px;
}

.page-hero-content {
  width: 100%;
  color: var(--white);
  text-align: center;
}

.page-hero-content h1 {
  font-size: 4.8rem;
  margin-bottom: var(--space-s);
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero-content p {
  font-size: 2rem;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.legal-hero {
  height: 30vh;
}

.legal-content {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.legal-intro {
  max-width: 800px;
  margin: 0 auto var(--space-l);
}

.legal-section {
  max-width: 800px;
  margin: 0 auto var(--space-l);
}

.legal-section h2 {
  color: var(--primary-color);
  margin-bottom: var(--space-s);
}

.legal-section h3 {
  color: var(--text-dark);
  margin: var(--space-m) 0 var(--space-s);
}

.privacy-content, 
.terms-content {
  padding-top: 100px;
}

/* ===== ABOUT PAGE SECTIONS ===== */
.story-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.story-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-l);
}

.story-image {
  flex: 1 1 400px;
  text-align: center;
}

.story-text {
  flex: 1 1 500px;
}

.mission-values {
  padding: var(--space-xl) 0;
  background-color: var(--bg-medium);
}

.mission-content, 
.values-section {
  margin-bottom: var(--space-l);
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
}

.value-card {
  flex: 1 1 250px;
  background: var(--white);
  padding: var(--space-m);
  border-radius: var(--border-radius-md);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

.methodology {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.methodology-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-l);
}

.methodology-text {
  flex: 1 1 500px;
}

.methodology-image {
  flex: 1 1 400px;
  text-align: center;
}

.certifications {
  padding: var(--space-xl) 0;
  background-color: var(--bg-medium);
}

.certifications-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-l);
}

.certifications-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
}

.certification-card {
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  padding: var(--space-m);
  border-radius: var(--border-radius-md);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

.certification-card .card-image {
  height: 200px;
  width: 300px;
  margin-bottom: var(--space-s);
}

.contact-cta {
  padding: var(--space-xl) 0;
  background-color: var(--primary-color);
  color: var(--white);
}

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

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-s);
}

.cta-content p {
  margin-bottom: var(--space-m);
}

/* ===== CONTACT PAGE SECTIONS ===== */
.contact-details {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  justify-content: center;
}

.contact-card {
  flex: 1 1 300px;
  background: var(--white);
  padding: var(--space-m);
  text-align: center;
  border-radius: var(--border-radius-md);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-s);
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.map-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-medium);
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  margin-bottom: var(--space-l);
}

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

.map-directions {
  max-width: 800px;
  margin: 0 auto;
}

.directions-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
}

.direction {
  flex: 1 1 300px;
  background: var(--white);
  padding: var(--space-m);
  border-radius: var(--border-radius-md);
  box-shadow: 
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

.contact-form-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.form-intro {
  max-width: 800px;
  margin: 0 auto var(--space-l);
  text-align: center;
}

/* ===== SUCCESS PAGE ===== */
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
  margin-top: 80px;
}

.success-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--space-l);
  border-radius: var(--border-radius-lg);
  box-shadow: 
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
}

.success-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-m);
}

.success-actions {
  margin-top: var(--space-l);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: center;
}

.related-resources {
  padding: var(--space-xl) 0;
  background-color: var(--bg-medium);
}

/* ===== PARTICLE ANIMATION ===== */
.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  background-color: var(--primary-light);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  html {
    font-size: 60%;
  }

  .section-title {
    font-size: 3.2rem;
  }

  .hero-content h1 {
    font-size: 4.2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 58%;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .hero-content h1 {
    font-size: 3.6rem;
  }

  .hero-content p {
    font-size: 1.8rem;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-light);
    flex-direction: column;
    align-items: center;
    padding: var(--space-m) 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    width: 100%;
    text-align: center;
    margin: var(--space-xs) 0;
  }

  .nav-list a {
    display: block;
    padding: var(--space-s) 0;
  }

  .burger-menu {
    display: flex;
    z-index: 1000;
  }

  .burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .footer-content {
    gap: var(--space-s);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .about-content,
  .vision-content,
  .innovation-content,
  .methodology-content,
  .story-content {
    flex-direction: column;
  }

  .vision-image,
  .about-image,
  .innovation-image,
  .methodology-image,
  .story-image {
    order: -1;
  }

  .contact-content,
  .directions-content {
    gap: var(--space-m);
  }

  .map-container img {
    height: 400px;
  }

  .success-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 55%;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .hero-content h1 {
    font-size: 3.2rem;
  }

  .btn, 
  button,
  input[type='submit'] {
    padding: 0.8rem 2rem;
    font-size: 1.4rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-bottom {
    padding: var(--space-s) 0;
  }
}

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

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

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

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

/* Add animations to elements */
.section-title,
.about-content,
.vision-content,
.team-intro,
.resources-intro,
.partners-intro,
.certifications-intro,
.form-intro,
.success-content {
  animation: fadeIn 1s ease-out;
}

.team-card,
.resource-card,
.insight-card,
.partner-card,
.certification-card,
.value-card,
.feature {
  animation: fadeIn 0.8s ease-out;
}

.btn-primary,
.contact-icon,
.success-icon {
  animation: pulse 2s ease-in-out infinite;
}

.footer-social a,
.resource-link,
.nav-list a {
  animation: slideIn 0.5s ease-out;
}

/* Script to create particles */
document.addEventListener('DOMContentLoaded', function() {
  const script = document.createElement('script');
  script.textContent = `
    function createParticles() {
      const container = document.querySelector('.hero');
      if (!container) return;
      
      const particleContainer = document.createElement('div');
      particleContainer.classList.add('particle-container');
      container.appendChild(particleContainer);
      
      for (let i = 0; i < 50; i++) {
        const particle = document.createElement('div');
        particle.classList.add('particle');
        
        const size = Math.random() * 15 + 5;
        const x = Math.random() * 100;
        const y = Math.random() * 100;
        const duration = Math.random() * 10 + 5;
        const delay = Math.random() * 5;
        
        particle.style.width = size + 'px';
        particle.style.height = size + 'px';
        particle.style.left = x + '%';
        particle.style.top = y + '%';
        particle.style.animationDuration = duration + 's';
        particle.style.animationDelay = delay + 's';
        
        particleContainer.appendChild(particle);
      }
    }
    
    createParticles();
    
    // FAQ functionality
    const faqItems = document.querySelectorAll('.faq-item');
    
    faqItems.forEach(item => {
      const question = item.querySelector('.faq-question');
      const answer = item.querySelector('.faq-answer');
      
      question.addEventListener('click', () => {
        item.classList.toggle('active');
        if (item.classList.contains('active')) {
          answer.style.display = 'block';
        } else {
          answer.style.display = 'none';
        }
      });
      
      // Initially hide answers
      answer.style.display = 'none';
    });
    
    // Mobile menu
    const burgerMenu = document.querySelector('.burger-menu');
    const navList = document.querySelector('.nav-list');
    
    burgerMenu.addEventListener('click', () => {
      burgerMenu.classList.toggle('active');
      navList.classList.toggle('active');
    });
  `;
  document.body.appendChild(script);
});