/* 
 * Main CSS for FinanSK - Financial Advisory Website
 * Design system: Neomorphism with Hyper-realistic textures
 * Color scheme: Pastel
 * Animation style: Micro-animations
 */

/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-color: #6a8caf;
  --primary-dark: #4a6a8c;
  --primary-light: #8ba6c4;
  
  /* Secondary Colors */
  --secondary-color: #d2a05e;
  --secondary-dark: #b38242;
  --secondary-light: #e5c18d;
  
  /* Neutral Colors */
  --light-bg: #f0f4f8;
  --dark-bg: #334257;
  --white: #ffffff;
  --black: #333333;
  --text-dark: #2d3748;
  --text-light: #f7fafc;
  --text-muted: #718096;
  
  /* Pastel Palette */
  --pastel-blue: #a6c1ee;
  --pastel-green: #b8e0d2;
  --pastel-pink: #eac4d5;
  --pastel-yellow: #f7e1b5;
  --pastel-purple: #c3b1e1;
  
  /* Neomorphism Variables */
  --nm-bg-color: #f0f4f8;
  --nm-light-shadow: rgba(255, 255, 255, 0.8);
  --nm-dark-shadow: rgba(174, 174, 192, 0.3);
  --nm-distance: 8px;
  --nm-blur: 12px;
  --nm-border-radius: 12px;
  
  /* Layout Variables */
  --container-width: 1200px;
  --header-height: 80px;
  --footer-padding: 60px;
  --section-padding: 80px 0;
  --card-padding: 24px;
  
  /* Typography */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Merriweather', serif;
  --base-font-size: 16px;
  --h1-size: 3.5rem;
  --h2-size: 2.8rem;
  --h3-size: 2rem;
  --h4-size: 1.5rem;
  --h5-size: 1.25rem;
  --h6-size: 1rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-Index Layers */
  --z-negative: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

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

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.text-dark {
  color: var(--text-dark);
}

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

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mr-2 { margin-right: 1rem; }
.ml-2 { margin-left: 1rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.flex {
  display: flex;
}

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

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

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

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

.hidden {
  display: none !important;
}

/* ===== NEOMORPHISM STYLES ===== */
.neomorphic {
  background: var(--nm-bg-color);
  border-radius: var(--nm-border-radius);
  box-shadow: 
    var(--nm-distance) var(--nm-distance) var(--nm-blur) var(--nm-dark-shadow),
    calc(-1 * var(--nm-distance)) calc(-1 * var(--nm-distance)) var(--nm-blur) var(--nm-light-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.neomorphic:hover {
  transform: translateY(-5px);
  box-shadow: 
    calc(var(--nm-distance) + 2px) calc(var(--nm-distance) + 2px) calc(var(--nm-blur) + 5px) var(--nm-dark-shadow),
    calc(-1 * (var(--nm-distance) + 2px)) calc(-1 * (var(--nm-distance) + 2px)) calc(var(--nm-blur) + 5px) var(--nm-light-shadow);
}

.neomorphic-inset {
  background: var(--nm-bg-color);
  border-radius: var(--nm-border-radius);
  box-shadow: 
    inset var(--nm-distance) var(--nm-distance) var(--nm-blur) var(--nm-dark-shadow),
    inset calc(-1 * var(--nm-distance)) calc(-1 * var(--nm-distance)) var(--nm-blur) var(--nm-light-shadow);
}

.neomorphic-input {
  background: var(--nm-bg-color);
  border: none;
  border-radius: var(--nm-border-radius);
  padding: 12px 16px;
  width: 100%;
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--text-dark);
  box-shadow: 
    inset var(--nm-distance) var(--nm-distance) var(--nm-blur) var(--nm-dark-shadow),
    inset calc(-1 * var(--nm-distance)) calc(-1 * var(--nm-distance)) var(--nm-blur) var(--nm-light-shadow);
  transition: all var(--transition-medium);
}

.neomorphic-input:focus {
  outline: none;
  box-shadow: 
    inset calc(var(--nm-distance) + 2px) calc(var(--nm-distance) + 2px) calc(var(--nm-blur) + 5px) var(--nm-dark-shadow),
    inset calc(-1 * (var(--nm-distance) + 2px)) calc(-1 * (var(--nm-distance) + 2px)) calc(var(--nm-blur) + 5px) var(--nm-light-shadow);
}

/* ===== BUTTONS ===== */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border: none;
  border-radius: var(--nm-border-radius);
  cursor: pointer;
  transition: all var(--transition-medium);
  text-align: center;
  box-shadow: 
    var(--nm-distance) var(--nm-distance) var(--nm-blur) var(--nm-dark-shadow),
    calc(-1 * var(--nm-distance)) calc(-1 * var(--nm-distance)) var(--nm-blur) var(--nm-light-shadow);
}

.btn:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translateY(-5px);
  box-shadow: 
    calc(var(--nm-distance) + 2px) calc(var(--nm-distance) + 2px) calc(var(--nm-blur) + 5px) var(--nm-dark-shadow),
    calc(-1 * (var(--nm-distance) + 2px)) calc(-1 * (var(--nm-distance) + 2px)) calc(var(--nm-blur) + 5px) var(--nm-light-shadow);
}

.btn:active, 
button:active, 
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 
    inset var(--nm-distance) var(--nm-distance) var(--nm-blur) var(--nm-dark-shadow),
    inset calc(-1 * var(--nm-distance)) calc(-1 * var(--nm-distance)) var(--nm-blur) var(--nm-light-shadow);
}

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

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

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

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

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

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

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

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

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

.header-scrolled {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.8rem;
}

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

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

.desktop-nav ul li {
  margin-left: 1.5rem;
}

.desktop-nav ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

.desktop-nav ul li 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;
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all var(--transition-medium);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--light-bg);
  padding: 2rem;
  z-index: var(--z-fixed);
  transform: translateX(-100%);
  transition: transform var(--transition-medium);
}

.mobile-nav.active {
  transform: translateX(0);
}

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

.mobile-nav ul li {
  margin-bottom: 1.5rem;
}

.mobile-nav ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1.2rem;
  transition: color var(--transition-fast);
}

.mobile-nav ul li a:hover {
  color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: var(--z-negative);
}

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

.hero-content {
  position: relative;
  z-index: var(--z-normal);
  max-width: 800px;
  padding: 0 20px;
  text-align: center;
}

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

.hero-content p {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.3s;
  animation-fill-mode: both;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeIn 1s ease 0.6s;
  animation-fill-mode: both;
}

/* ===== MISSION SECTION ===== */
.mission-section {
  padding: var(--section-padding);
  margin: 4rem 0;
}

.mission-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.mission-text {
  flex: 1;
  min-width: 300px;
}

.mission-stats {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  padding: var(--card-padding);
  text-align: center;
  transition: transform var(--transition-medium);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--body-font);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--nm-border-radius);
  overflow: hidden;
  transition: transform var(--transition-medium);
  height: 100%;
}

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

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

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

.card-content {
  padding: var(--card-padding);
  flex-grow: 1;
  width: 100%;
  text-align: center;
}

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

.progress-container {
  margin-top: 1.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.progress-bar {
  height: 8px;
  background-color: var(--nm-bg-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 1s ease;
}

.progress-value {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-align: right;
}

/* ===== INSTRUCTORS SECTION ===== */
.instructors-section {
  padding: var(--section-padding);
  margin: 4rem 0;
}

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

.instructors-grid .card {
  padding: 0;
}

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

.position {
  color: var(--primary-color);
  font-style: italic;
  margin-bottom: 1rem;
}

.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 20px;
  background-color: var(--pastel-blue);
  color: var(--text-dark);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.slider-container {
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  transition: transform var(--transition-medium);
  gap: 2rem;
}

.slide {
  min-width: 100%;
  padding: var(--card-padding);
  border-radius: var(--nm-border-radius);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.prev-btn, .next-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--nm-bg-color);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.prev-btn span, .next-btn span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--nm-dark-shadow);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* ===== EXTERNAL RESOURCES ===== */
.resources-section {
  padding: var(--section-padding);
  margin: 4rem 0;
}

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

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.resource-card {
  padding: var(--card-padding);
  text-align: center;
  color: var(--text-dark);
  text-decoration: none;
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-card:hover {
  transform: translateY(-8px);
  color: var(--primary-color);
}

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

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

/* ===== CUSTOMER STORIES ===== */
.stories-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--card-padding);
  border-radius: var(--nm-border-radius);
  height: 100%;
}

.story-image {
  width: 100%;
  height: 200px;
  border-radius: var(--nm-border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

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

.story-content {
  text-align: center;
  flex-grow: 1;
  width: 100%;
}

.story-quote {
  font-style: italic;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  padding: 0 20px;
}

.story-quote::before, .story-quote::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--primary-light);
  position: absolute;
}

.story-quote::before {
  left: 0;
  top: -5px;
}

.story-quote::after {
  right: 0;
  bottom: -15px;
}

/* ===== EVENTS CALENDAR ===== */
.events-section {
  padding: var(--section-padding);
  margin: 4rem 0;
}

.events-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 30px;
  background-color: transparent;
  color: var(--text-dark);
  border: none;
  font-family: var(--heading-font);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-medium);
}

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

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  display: flex;
  border-radius: var(--nm-border-radius);
  overflow: hidden;
  padding: 0;
}

.event-date {
  min-width: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 1rem;
  text-transform: uppercase;
}

.event-details {
  padding: var(--card-padding);
  flex-grow: 1;
}

.event-meta {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.event-meta i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* ===== COMMUNITY SECTION ===== */
.community-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.community-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.community-text {
  flex: 1;
  min-width: 300px;
}

.community-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--nm-border-radius);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

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

.social-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.community-cta {
  margin-top: 2rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: var(--section-padding);
  margin: 4rem 0;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

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

.contact-card {
  padding: var(--card-padding);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-item h4 {
  margin-bottom: 0.3rem;
}

.map-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--nm-border-radius);
}

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

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

.contact-form {
  padding: var(--card-padding);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 0.3rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding-top: var(--footer-padding);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

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

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

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

.footer-links-column ul li {
  margin-bottom: 0.8rem;
}

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

.footer-links-column ul li a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

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

.newsletter {
  margin-top: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex-grow: 1;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 1rem;
  z-index: 9999;
  color: var(--white);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--heading-font);
  font-weight: 500;
  transition: background-color var(--transition-fast);
}

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

/* ===== SUCCESS PAGE ===== */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

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

.success-content {
  max-width: 600px;
}

.success-content h1 {
  margin-bottom: 1.5rem;
}

.success-content p {
  margin-bottom: 2rem;
}

/* ===== PRIVACY & TERMS PAGES ===== */
.page-content {
  padding-top: 150px;
  padding-bottom: 5rem;
}

.page-content h1 {
  margin-bottom: 2rem;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

.page-content ul {
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}

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

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

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

@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);
  }
}

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

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

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 1024px) {
  :root {
    --h1-size: 3rem;
    --h2-size: 2.5rem;
    --h3-size: 1.8rem;
    --section-padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --h1-size: 2.5rem;
    --h2-size: 2.2rem;
    --h3-size: 1.6rem;
    --section-padding: 50px 0;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  
  .event-date .day {
    font-size: 1.5rem;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --h1-size: 2.2rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --base-font-size: 15px;
    --section-padding: 40px 0;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero {
    height: 90vh;
  }
  
  .services-grid, .instructors-grid, .stories-grid, .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .event-details h3 {
    font-size: 1.3rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
html,body{
  overflow-x: hidden;
}