/* CSS Variables */
:root {
  --primary: #0b2d79;
  --secondary: #6d2bdd;
  --accent: #d4af37;
  --white: #ffffff;
  --dark: #1e293b;
  --light-bg: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --header-height: 80px;
  --card-bg: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --border-radius: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

/* Spacing System (8px base) */
.m-0 {
  margin: 0;
}
.m-1 {
  margin: 0.5rem;
}
.m-2 {
  margin: 1rem;
}
.m-3 {
  margin: 1.5rem;
}
.m-4 {
  margin: 2rem;
}
.m-5 {
  margin: 3rem;
}

.mt-0 {
  margin-top: 0;
}
.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;
}

.mb-0 {
  margin-bottom: 0;
}
.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;
}

.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.5rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}
.p-4 {
  padding: 2rem;
}
.p-5 {
  padding: 3rem;
}

.pt-0 {
  padding-top: 0;
}
.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;
}

.pb-0 {
  padding-bottom: 0;
}
.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;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Styling */
section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  margin: 2rem 0;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.back-link i {
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.back-link:hover {
  color: var(--secondary);
}

.back-link:hover i {
  transform: translateX(-5px);
}

/* Hero Section */
.about-hero {
  background: linear-gradient(
      135deg,
      rgba(11, 45, 121, 0.9) 0%,
      rgba(109, 43, 221, 0.85) 100%
    ),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1771&q=80")
      no-repeat center center/cover;
  border-radius: var(--border-radius-xl);
  padding: 120px 40px 80px;
  color: var(--white);
  margin: 20px 0 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtext {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Content Sections */
.content-section {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-xl);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
  font-weight: 600;
}

/* Mission & Vision */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.mission-card,
.vision-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.mission-icon,
.vision-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  color: white;
  border-radius: 50%;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(109, 43, 221, 0.3);
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  color: white;
  border-radius: 50%;
  font-size: 24px;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(109, 43, 221, 0.3);
}

/* Visionaires Section */
.story-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.story-container {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 50px;
  border: 1px solid #dddd;
  padding: 1.8rem;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
}

.story-container:nth-child(even) {
  flex-direction: row-reverse;
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--primary);
}

.story-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.story-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.visual-container {
  max-width: 500px;
  width: 100%;
  height: 600px;
  border-radius: var(--border-radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 45, 121, 0.2);
}

.visual-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.visual-container:hover img {
  transform: scale(1.05);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(11, 45, 121, 0.8), rgba(109, 43, 221, 0.8)),
    url("https://images.unsplash.com/photo-1543269865-cbf427effbad?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
      center/cover no-repeat;
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--border-radius-xl);
  color: white;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.cta-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 40px;
  background: white;
  color: var(--primary);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.cta-btn:hover i {
  transform: translateX(5px);
}

/* Floating Elements */
.floating-element {
  position: fixed;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(11, 45, 121, 0.1) 0%,
    rgba(109, 43, 221, 0.1) 100%
  );
  backdrop-filter: blur(5px);
  z-index: -1;
}

.float-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

.float-2 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  right: 5%;
  animation: float 10s ease-in-out infinite 1s;
}

.float-3 {
  width: 80px;
  height: 80px;
  top: 40%;
  right: 10%;
  animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 1.75rem;
  }

  .story-container {
    gap: 40px;
  }

  .visual-container {
    height: 500px;
  }
}

@media (max-width: 992px) {
  .mission-vision {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 3rem;
  }

  .story-container,
  .story-container:nth-child(even) {
    flex-direction: column;
  }

  .visual-container {
    height: 400px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 100px 30px 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .content-section {
    padding: 30px;
  }

  .section-title {
    font-size: 2rem;
  }

  .story-container {
    padding: 1.2rem;
  }

  .story-text h2 {
    font-size: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .content-section {
    padding: 20px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .visual-container {
    height: 300px;
  }

  .story-text h2 {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
