:root {
  --primary-color: #133d7b;
  --secondary-color: #0f2d5a;
  --accent-color: #f06c22;
  --accent-hover: #d85a1a;
  --tertiary-color: #7a41d8;
  --text-primary: #333;
  --text-secondary: #666;
  --bg-light: #f8f9fd;
  --bg-white: #ffffff;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, #133d7b 0%, #7a41d8 100%);
  --gradient-secondary: linear-gradient(135deg, #f06c22 0%, #d85a1a 100%);
  --gradient-tertiary: linear-gradient(135deg, #7a41d8 0%, #133d7b 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(19, 61, 123, 0.8) 0%,
    rgba(122, 65, 216, 0.8) 100%
  );
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 100px; /* Increased to account for header height */
}

body {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Preloader */
.preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
}

/* Header */
.header {
  background: linear-gradient(
      135deg,
      rgba(19, 61, 123, 0.95) 0%,
      rgba(122, 65, 216, 0.95) 100%
    ),
    url("./images/Alliance high school lab.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-image {
  height: 65px;
  width: auto;
  border-radius: 8px;
  background: white;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.tagline {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 0.2rem;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-links a:hover {
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .logo-section {
    gap: 0.5rem;
  }

  .logo-image {
    height: 55px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .tagline {
    font-size: 0.9rem;
  }

  .nav-links {
    position: fixed !important;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--primary-color);
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    list-style: none;
    margin: 0;
    gap: 0 !important;
    transform: translateX(0);
  }

  .nav-links.active {
    right: 0 !important;
    transform: translateX(0);
  }

  .nav-links li {
    margin: 1.5rem 0;
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.2rem;
    display: block;
    width: 100%;
    padding: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* Hero Section */
.hero {
  background: var(--gradient-hero), url("./images/bg_student.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

.hero-shape {
  position: absolute;
  bottom: -10%;
  left: 0;
  width: 100%;
  height: 200px;
  background: var(--bg-white);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: white;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title-highlight {
  color: #fff;
  background: rgba(255, 107, 107, 0.2);
  padding: 0 12px;
  border-radius: 4px;
  display: inline-block;
  transform: rotate(-2deg);
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: slideUp 1s ease 0.5s forwards;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: slideUp 1s ease 0.7s forwards;
  max-width: 700px;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: slideUp 1s ease 0.9s forwards;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cta-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0;
  animation: slideUp 1s ease 1.1s forwards;
}

.btn {
  padding: 1rem 2.2rem;
  border: none;
  border-radius: var(--border-radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

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

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn:hover {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    background-size: cover;
    background-position: center top;
    padding-top: 140px;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 2.5rem;
    padding: 0 10px;
    margin-top: 1rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    padding: 0 10px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .btn {
    width: 100%;
  }
}

/* Stats Section */
.stats {
  background: var(--bg-light);
  padding: 5rem 0;
  position: relative;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  background: var(--bg-white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  z-index: -1;
}

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

.stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--tertiary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.8rem;
  line-height: 1;
  display: inline-block;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

.animation-delay-600 {
  animation-delay: 0.6s;
}

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

/* Latest News Section */
.latest-news {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    var(--bg-light) 0%,
    rgba(240, 108, 34, 0.05) 100%
  );
  position: relative;
}

.latest-news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="news-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(19,61,123,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23news-grid)"/></svg>');
  opacity: 0.3;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.news-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.main-news {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.main-news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.news-badge {
  display: inline-block;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.news-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-meta i {
  color: var(--accent-color);
}

.news-excerpt {
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.news-highlights {
  background: rgba(19, 61, 123, 0.05);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.news-highlights h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
}

.news-highlights h4:hover {
  background: rgba(19, 61, 123, 0.1);
}

.dropdown-icon {
  transition: transform 0.3s ease;
  color: var(--accent-color);
  font-size: 0.9rem;
}

.news-highlights h4.collapsed .dropdown-icon {
  transform: rotate(-90deg);
}

.news-highlights-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.news-highlights-content.expanded {
  max-height: 500px;
  transition: max-height 0.3s ease-in;
}

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

.news-highlights li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(19, 61, 123, 0.1);
  display: flex;
  align-items: center;
}

.news-highlights li:last-child {
  border-bottom: none;
}

.news-highlights li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

.social-sidebar {
  position: sticky;
  top: 2rem;
}

.social-feed {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.social-feed h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid rgba(19, 61, 123, 0.1);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  transition: var(--transition);
  color: var(--text-primary);
}

.social-link:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.social-link i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary-color);
}

.social-link.twitter i {
  color: #1da1f2;
}

.social-link.linkedin i {
  color: #0077b5;
}

.social-text {
  text-align: left;
  flex: 1;
}

.social-text strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.social-text span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .news-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .main-news {
    padding: 2rem;
  }

  .news-title {
    font-size: 1.5rem;
  }

  .social-sidebar {
    position: static;
  }
}

/* Features Section */
.features {
  padding: 8rem 0;
  background: var(--bg-white);
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  position: relative;
  display: block;
  font-weight: 700;
  width: 100%;
}

.section-title-container {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 4.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.highlight-text {
  position: relative;
  z-index: 1;
}

.highlight-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: rgba(255, 107, 107, 0.15);
  z-index: -1;
  transform: rotate(-2deg);
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: var(--transition);
}

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

.feature-card:hover::before {
  height: 8px;
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.2rem;
  color: white;
  transform: rotate(45deg);
  transition: var(--transition);
}

.feature-icon i {
  transform: rotate(-45deg);
}

.feature-card:hover .feature-icon {
  border-radius: 50%;
  transform: rotate(0deg);
  background: var(--gradient-secondary);
}

.feature-card:hover .feature-icon i {
  transform: rotate(0deg);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .features {
    padding: 6rem 0;
  }

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

/* How it Works */
.how-it-works {
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1fd 100%);
  padding: 8rem 0;
  position: relative;
}

.process-connection {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  opacity: 0.1;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 1;
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.step-card {
  background: var(--bg-white);
  padding: 3rem 2rem 2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-secondary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.step-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.3rem;
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
  padding: 8rem 0;
  background: var(--bg-white);
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-text::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -40px;
  left: -20px;
  color: rgba(69, 80, 230, 0.1);
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 1rem;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

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

/* Featured Success Story */
.featured-success {
  background: linear-gradient(
    135deg,
    rgba(19, 61, 123, 0.05) 0%,
    rgba(122, 65, 216, 0.05) 100%
  );
  padding: 6rem 0;
  margin: 4rem 0;
}

.featured-success-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-success-content {
  padding: 2rem;
}

.featured-success-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.featured-success-quote {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
}

.featured-success-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent-color);
  position: absolute;
  top: -20px;
  left: -30px;
  opacity: 0.3;
}

.featured-success-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.featured-success-author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.featured-success-author-info h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.featured-success-author-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.featured-success-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: var(--transition);
}

.featured-success-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.featured-success-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

.featured-success-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(19, 61, 123, 0.1),
    rgba(240, 108, 34, 0.1)
  );
  border-radius: var(--border-radius-lg);
}

.featured-success-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

@media (max-width: 768px) {
  .featured-success-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .featured-success-image {
    transform: rotate(0deg);
  }

  .featured-success-title {
    font-size: 1.8rem;
  }

  .featured-success-quote {
    font-size: 1.1rem;
  }
}

/* Team Section */
.team {
  padding: 8rem 0;
  background: var(--bg-light);
  position: relative;
}

.team-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-member {
  text-align: center;
  padding: 3rem 2rem 2rem;
  border-radius: var(--border-radius-md);
  transition: var(--transition);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  height: 100%;
}

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

.team-member::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.team-member:hover::after {
  transform: scaleX(1);
}

.team-avatar {
  width: 140px;
  height: 140px;
  background: var(--gradient-tertiary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(19, 61, 123, 0.3);
  position: relative;
  transition: var(--transition);
  border: 5px solid white;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-member:hover .team-avatar {
  box-shadow: 0 15px 25px rgba(19, 61, 123, 0.4);
  transform: scale(1.05);
}

.team-member h3 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.team-member p {
  color: var(--accent-color);
  font-weight: 500;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.team-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Media Gallery Section */
.media-gallery {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4ff 100%);
  overflow: hidden;
}

.media-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.media-category {
  margin-bottom: 80px;
}

.category-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.category-title i {
  color: var(--accent-color);
  font-size: 1.8rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch; /* makes all items equal height */
}

.media-item {
  display: flex;
  flex-direction: column;
  height: 450px; /* set uniform height for all items */
  overflow: hidden;
  border-radius: 8px;
  background: #fff; /* optional: makes it cleaner */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Make media content fit inside */
.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fix for tweet embed */
.media-item blockquote.twitter-tweet {
  flex: 1;
  overflow-y: auto; /* scroll if too tall */
  margin: 0 !important; /* remove big Twitter margins */
}

/* ///
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.media-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: var(--bg-white);
  cursor: pointer;
} */

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

/* .media-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.media-item video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
} */

.media-item:hover video {
  transform: scale(1.05);
}

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

.media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: var(--transition);
}

.media-item:hover .media-overlay {
  transform: translateY(0);
}

.media-overlay h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.media-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}
.media-gallery .media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(19, 61, 123, 0.85);
  color: #fff;
  padding: 1.2rem;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.media-category .media-item:hover .media-overlay {
  opacity: 1;
  transform: translateY(0);
}

.media-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 50px 40px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin-top: 60px;
  box-shadow: var(--shadow-lg);
}

.media-cta h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.media-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-color);
  color: white;
  padding: 15px 30px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Media Gallery Responsive */
@media (max-width: 768px) {
  .media-gallery {
    padding: 60px 0;
  }

  .category-title {
    font-size: 1.6rem;
    flex-direction: column;
    gap: 10px;
  }

  .media-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .media-item img {
    height: 200px;
  }

  .media-item video {
    height: 200px;
  }

  .media-overlay {
    padding: 15px;
  }

  .media-overlay h4 {
    font-size: 1.1rem;
  }

  .media-cta {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .media-cta h3 {
    font-size: 1.5rem;
  }

  .media-cta p {
    font-size: 1rem;
  }
}

/* Contact Section */
.contact {
  padding: 8rem 0;
  background: var(--bg-white);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-info h3.zanzibar-office {
  margin-top: 3rem;
  font-size: 1.6rem;
  color: var(--tertiary-color);
  position: relative;
  padding-top: 2rem;
}

.contact-info h3.zanzibar-office::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--tertiary-color);
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.contact-form {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
  background: var(--bg-white);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 61, 123, 0.15);
}

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

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--tertiary-color),
    var(--accent-color)
  );
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-heading {
  margin-bottom: 2rem;
  color: var(--accent-color);
  font-size: 2.2rem;
  font-weight: 700;
}

.footer-subtitle {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.footer-contact {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.office-section h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.footer-contact p i {
  color: var(--accent-color);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
}

.footer-links a:hover {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

.footer-copyright {
  margin-bottom: 1rem;
}

.footer-quote {
  font-style: italic;
  margin-top: 1rem;
  color: #999;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .team-avatar {
    width: 120px;
    height: 120px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 1rem;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .office-section h4 {
    font-size: 1rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
    margin-top: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }
}

/* Floating Animation */
.floating {
  animation: floating 3s ease-in-out infinite;
}

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

/* Process showcase with image */
.process-showcase {
  background: linear-gradient(
    135deg,
    rgba(19, 61, 123, 0.03) 0%,
    rgba(122, 65, 216, 0.03) 100%
  );
  padding: 4rem 0;
  margin-top: 3rem;
}

.process-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.process-showcase-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.process-showcase-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.process-showcase-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

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

.process-stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  display: block;
}

.process-stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.process-showcase-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.process-showcase-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

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

@media (max-width: 768px) {
  .process-showcase-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .process-showcase-stats {
    justify-content: center;
  }
}

/* Partners Section */
.partners {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #f1f3ff 100%);
  overflow: hidden;
  position: relative;
}

.partners::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e1e8ff" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23pattern)"/></svg>');
  z-index: 0;
}

.partners-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.partners .section-title {
  font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--accent-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(69, 80, 230, 0.15);
}

.partners .section-title .highlight-text {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--accent-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.partners .section-title .highlight-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: rgba(255, 107, 107, 0.15);
  z-index: -1;
  transform: rotate(-2deg);
}

.partners .section-subtitle {
  font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 0;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.partners-slider {
  position: relative;
  overflow: hidden;
  margin: 5rem 0 3rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(69, 80, 230, 0.08);
  padding: 2rem 0;
}

.partners-track {
  display: flex;
  animation: slidePartners 25s linear infinite;
  gap: 2.5rem;
  align-items: center;
}

.partner-item {
  flex: 0 0 auto;
  background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 140px;
  height: auto;
  box-shadow: 0 8px 32px rgba(69, 80, 230, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.partner-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(69, 80, 230, 0.02) 0%,
    rgba(122, 65, 216, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.partner-item:hover::before {
  opacity: 1;
}

.partner-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 60px rgba(69, 80, 230, 0.15);
  border-color: rgba(69, 80, 230, 0.2);
}

.partner-logo {
  width: 110px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 0.8rem;
  filter: brightness(1) saturate(1.1) contrast(1.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 250, 255, 0.9) 100%
  );
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
  border: 2px solid rgba(69, 80, 230, 0.08);
}

.partner-item:hover .partner-logo {
  filter: brightness(1.1) saturate(1.2) contrast(1.1);
  transform: translateY(-4px) scale(1.08) rotate(2deg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(69, 80, 230, 0.15);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(248, 250, 255, 1) 100%
  );
}

.partner-name {
  font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  max-width: 100%;
  display: block;
  padding: 0 0.5rem;
}

.partner-item:hover .partner-name {
  color: var(--primary-color);
}

@keyframes slidePartners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.partners-track:hover {
  animation-play-state: paused;
}

/* Add a subtle pulse animation to the entire partners section */
@keyframes partnersPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.002);
  }
}

.partners-slider:hover {
  animation: partnersPulse 4s ease-in-out infinite;
}

@media (max-width: 968px) {
  .partners .section-title {
    font-size: 2.8rem;
  }

  .partners .section-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .partners {
    padding: 6rem 0;
  }

  .partners .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .partners .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .partners-slider {
    margin: 3rem 0 2rem;
    padding: 1.5rem 0;
    border-radius: 16px;
  }

  .partners-track {
    gap: 1.8rem;
    animation: slidePartners 20s linear infinite;
  }

  .partner-item {
    min-width: 180px;
    min-height: 120px;
    height: auto;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .partner-logo {
    width: 85px;
    height: 65px;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 0.6rem;
  }

  .partner-name {
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 0 0.3rem;
  }
}

@media (max-width: 480px) {
  .partners .section-title {
    font-size: 1.8rem;
  }

  .partners .section-subtitle {
    font-size: 0.95rem;
  }

  .partner-item {
    min-width: 160px;
    min-height: 110px;
    height: auto;
    padding: 1.2rem 0.8rem;
  }

  .partner-logo {
    width: 75px;
    height: 58px;
  }

  .partner-name {
    font-size: 0.85rem;
    padding: 0 0.2rem;
    line-height: 1.1;
  }
}

/* About Us Section */
.about-us {
  padding: 8rem 0;
  background: linear-gradient(
    135deg,
    rgba(19, 61, 123, 0.03) 0%,
    rgba(240, 108, 34, 0.03) 100%
  );
  position: relative;
}

.about-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="about-grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="rgba(19,61,123,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23about-grid)"/></svg>');
  opacity: 0.4;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text {
  padding: 2rem;
}

.about-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-mission {
  background: rgba(19, 61, 123, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--accent-color);
  margin-bottom: 2rem;
}

.about-mission h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-mission p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

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

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

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.about-stat {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.about-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.about-stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.company-profile-section {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.company-profile-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.profile-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(240, 108, 34, 0.3);
}

.profile-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.profile-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-tertiary);
}

.download-btn i {
  font-size: 1.2rem;
}

.file-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.file-info span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.file-info i {
  color: var(--accent-color);
}

/* About Us Responsive */
@media (max-width: 768px) {
  .about-us {
    padding: 6rem 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-image {
    transform: rotate(0deg);
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .company-profile-section {
    padding: 2rem;
  }

  .profile-title {
    font-size: 1.5rem;
  }

  .download-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .file-info {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.news-highlight {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    rgba(19, 61, 123, 0.03) 0%,
    rgba(240, 108, 34, 0.03) 100%
  );
  position: relative;
  overflow: hidden;
}

.news-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="news-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="%23133d7b" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23news-pattern)"/></svg>');
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

.news-highlight-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.news-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(240, 108, 34, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

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

.news-highlight-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.news-highlight-excerpt {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.news-highlight-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.news-highlight-meta i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

.news-highlight-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.news-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.news-cta-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.news-cta-primary:hover::before {
  left: 100%;
}

.news-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.news-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
}

.news-cta-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.news-highlight-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: var(--transition);
}

.news-image-container:hover {
  transform: rotate(0deg) scale(1.02);
}

.news-highlight-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

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

.news-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(19, 61, 123, 0.9) 0%,
    transparent 100%
  );
  padding: 2rem;
  color: white;
}

.news-stats-mini {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

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

.mini-stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.mini-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.social-preview {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid #1da1f2;
  transition: var(--transition);
}

.social-preview:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.social-preview-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: #1da1f2;
  font-weight: 600;
  font-size: 0.95rem;
}

.social-preview-header i {
  font-size: 1.2rem;
}

.social-preview-content {
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.social-preview-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-preview-link:hover {
  color: var(--accent-hover);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .news-highlight-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .news-highlight-title {
    font-size: 2.2rem;
  }

  .news-image-container {
    transform: rotate(0deg);
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .news-highlight {
    padding: 4rem 0;
  }

  .news-highlight-container {
    padding: 0 1rem;
  }

  .news-highlight-title {
    font-size: 1.8rem;
  }

  .news-highlight-excerpt {
    font-size: 1rem;
  }

  .news-highlight-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .news-cta-primary,
  .news-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .news-highlight-meta {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .news-stats-mini {
    gap: 1rem;
  }

  .mini-stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .news-highlight-title {
    font-size: 1.5rem;
  }

  .news-highlight-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .news-cta-primary,
  .news-cta-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}
