/* ===== CSS Variables & Base Styles ===== */
:root {
  --primary: #022179;
  --primary-light: #0a3a9d;
  --primary-dark: #011452;
  --secondary: #ff9900;
  --secondary-light: #ffad33;
  --accent: #ff9900;
  --background: #ffffff;
  --foreground: #1a1a2e;
  --card: #f5f7ff;
  --card-foreground: #1a1a2e;
  --muted: #e8ecf7;
  --muted-foreground: #022179;
  --border: #c5d0e8;
  /* Fixed gray scale - darker numbers = darker colors */
  --gray-300: #4a5568;
  --gray-400: #2d3748;
  --gray-500: #1a202c;
  --gray-600: #718096;
  --zinc-900: #f0f4ff;
  --zinc-950: #fafbff;
  /* Focus ring color */
  --focus-ring: rgba(2, 33, 121, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.4;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Skip Link for Accessibility ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

/* ===== Focus Styles for Accessibility ===== */
*:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Remove default focus for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Utility Classes ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary { color: var(--primary); }
.text-white { color: #000; }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }

.bg-black { background-color: #fff; }
.bg-zinc-950 { background-color: var(--zinc-950); }
.bg-card { background-color: var(--card); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #000;
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 0;
}

.btn-ghost:hover {
  color: var(--primary-light);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ===== Form Elements ===== */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #000;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input::placeholder {
  color: var(--gray-500);
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

textarea.input {
  resize: none;
  min-height: 120px;
}


/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 1rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #000;
}

.modal-body {
  padding: 1.5rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
}

.form-group .input {
  background: #f9f9f9;
}

.modal-form .btn-primary {
  margin-top: 0.5rem;
}

/* ===== Top Header Bar ===== */
.top-header {
  background: linear-gradient(90deg, #011452, #0a3a9d);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
  position: absolute;
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-header-left a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  transition: color 0.3s ease;
}

.top-header-left a:hover {
  color: var(--accent);
}

.top-header-left svg {
  color: var(--accent);
}

.top-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-header-right a {
  color: #fff;
  transition: color 0.3s ease;
}

.top-header-right a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .top-header-left span {
    display: none;
  }
  .top-header-left {
    gap: 1rem;
  }
}

/* ===== Top Banner ===== */
.top-banner {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.top-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

.top-banner-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to right, rgba(139, 26, 26, 0.85), rgba(139, 26, 26, 0.4), transparent); */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.top-banner-text {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Mobile banner improvements */
@media (max-width: 480px) {
  .top-banner {
    height: 250px;
  }
  
  .top-banner-overlay {
    padding: 0 1rem;
  }
  
  .top-banner-text {
    font-size: 1.5rem;
    line-height: 1.3;
  }
}

@media (min-width: 768px) {
  .top-banner {
    height: 400px;
  }
  .top-banner-text {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .top-banner {
    height: 500px;
  }
  .top-banner-text {
    font-size: 3rem;
  }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  position: fixed;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  position: relative;
}

@media (min-width: 768px) {
  .header .container {
    height: 6rem;
  }
}

@media (min-width: 1024px) {
  .header .container {
    height: 7rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo img {
  height: 5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo img {
    height: 6rem;
  }
}

@media (min-width: 1024px) {
  .logo img {
    height: 9rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions .btn-primary {
  display: none;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #022179, #011452);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  color: #fff;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: #000;
}

.logo-text span {
  color: var(--primary);
}

.nav {
  display: none;
  align-items: center;
  gap: 1rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: color 0.3s ease, background-color 0.3s ease;
  padding: 1.5rem 0.4rem;
}

@media (min-width: 1024px) {
  .nav-link {
    font-size: 0.95rem;
    padding: 2rem 0.5rem;
  }
}

@media (min-width: 1200px) {
  .nav-link {
    padding: 2.5rem 0.6rem;
  }
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
 
}

/* Products Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease;
  padding: 1.5rem 0.5rem;
}

.dropdown-toggle:hover {
  color: var(--primary);
}

.dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: -7px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  min-width: 380px;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.dropdown:hover .dropdown-menu {
  display: flex;
  gap: 2rem;
  animation: fadeIn 0.3s ease;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
}

.dropdown-item {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-300);
  border-radius: 0.25rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  color: #000;
  background-color: rgba(37, 99, 235, 0.08);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 60;
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Sidebar */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 60;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav .nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav .dropdown-toggle {
  width: 100%;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-dropdown-menu {
  display: none;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.mobile-dropdown-menu.active {
  display: block;
}

.mobile-dropdown-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.mobile-dropdown-menu a:hover {
  color: var(--primary);
}

.mobile-nav .btn {
  width: 100%;
}

@media (min-width: 992px) {
  .nav {
    display: flex;
  }
  .header-actions .btn-primary {
    display: inline-flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf7 30%, #fff7ed 70%, #fff 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
}

.hero .container {
  position: relative;
  z-index: 10;
  padding: 2rem 1rem;
}

.hero-content {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 4rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features {
  display: grid;
  gap: 1rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease calc(var(--delay) * 0.1s) both;
}

.feature-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-5px);
}

.feature-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.1);
}

.feature-card-content {
  padding: 1rem;
}

.feature-card h3 {
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* ===== Contact Section (modern two-column) ===== */
.contact-section { padding: 3rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Mobile-first responsive improvements */
@media (max-width: 480px) {
  .contact-section {
    padding: 2rem 0.75rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-info-section {
    padding: 1.25rem;
    border-radius: 0.75rem;
  }
  
  .contact-hero {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .contact-lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .contact-quick li {
    margin-bottom: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .contact-quick .icon {
    margin-bottom: 0.25rem;
  }
  
  .contact-form-wrapper {
    padding: 1.25rem;
    border-radius: 0.75rem;
  }
  
  .contact-form .input {
    padding: 0.875rem;
    font-size: 0.95rem;
  }
  
  .contact-form textarea {
    min-height: 100px;
  }
}

@media (max-width: 768px) {
  .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 2rem;
  }
  
  .contact-info-section {
    padding: 1.5rem;
  }
  
  .contact-hero {
    font-size: 1.75rem;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {
  .contact-grid { 
    grid-template-columns: 1fr; 
  }
}
.contact-info-section {
  background: linear-gradient(180deg, rgba(2,33,121,0.06), rgba(255,255,255,0.6));
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(2,33,121,0.06);
}
.contact-info-section h2 { margin-bottom: 1rem; color: var(--primary-dark); }
.contact-info-cards { display: grid; gap: 1rem; }
.contact-info-card { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: 0.75rem; padding: 0.9rem; border: 1px solid rgba(2,33,121,0.06); }
.contact-info-card .icon-wrapper { width: 46px; height: 46px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; border-radius: 0.6rem; flex-shrink:0; }
.contact-info-card h3 { margin-bottom: 0.25rem; font-size: 1rem; }

.contact-form-wrapper {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(2,33,121,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}
.contact-form-wrapper h2 { margin-bottom: 0.75rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
@media (max-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form .input { padding: 0.9rem 1rem; border-radius: 0.6rem; }
.contact-form button.btn { margin-top: 0.5rem; border-radius: 0.65rem; }

/* Clean two-column overrides */
@media (min-width: 901px) {
  .contact-grid { 
    grid-template-columns: 1fr 420px; 
    gap: 2.25rem; 
  }
}
.contact-info-section { background: #f2f2f0; border-radius: 0.75rem; padding: 2rem; width:100%; }
.contact-hero { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; color: #222; }
.contact-lead { color: #666; line-height: 1.6; margin-bottom: 1.25rem; }
.contact-quick { list-style: none; padding: 0; margin: 0; color: var(--gray-400); }
.contact-quick li { margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.contact-quick a { color: var(--primary); text-decoration: none; }
.contact-quick .icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-form-wrapper { background: #fff; border-radius: 0.75rem; padding: 1.25rem; box-shadow: 0 12px 40px rgba(2,33,121,0.04); border: 1px solid rgba(0,0,0,0.04); }
.contact-form-wrapper h2 { margin-bottom: 0.75rem; }
.contact-form .input { display: block; width: 100%; margin-bottom: 0.75rem; padding: 0.9rem 1rem; border-radius: 0.5rem; }
.contact-form .btn { width: 100%; background: var(--primary); color: #fff; border-radius: 0.65rem; padding: 0.9rem 1rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; min-height: 48px; }
.contact-form .btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Mobile form improvements */
@media (max-width: 480px) {
  .contact-form .input {
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .contact-form .btn {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 0.75rem;
    min-height: 52px; /* Better touch target */
  }
  
  .contact-form textarea {
    min-height: 120px;
    resize: vertical;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
  .hero-features {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ===== About Section ===== */
.about {
  padding: 5rem 0;
  background: var(--zinc-950);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(196, 30, 58, 0.1);
  border: 1px solid rgba(196, 30, 58, 0.2);
  margin-bottom: 1.5rem;
}

.badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.about h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.about p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
}

.stat-value {
  font-size: 1.875rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image .blur-circle {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  filter: blur(3rem);
  opacity: 0.3;
}

.about-image .blur-circle-1 {
  bottom: -1.5rem;
  left: -1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.about-image .blur-circle-2 {
  top: -1.5rem;
  right: -1.5rem;
  background: var(--primary);
}

@media (min-width: 768px) {
  .about h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about h2 {
    font-size: 3rem;
  }
}

/* ===== Products Section ===== */
.products {
  padding: 5rem 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray-400);
  max-width: 42rem;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-5px);
}

.product-logo {
  height: 5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-logo img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.product-card:hover .product-logo img {
  filter: brightness(1.1);
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.75rem;
}

.product-card p {
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .section-header h2 {
    font-size: 3rem;
  }
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Services Section ===== */
.services {
  padding: 5rem 0;
  background: var(--zinc-950);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-5px);
}

.service-icon {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(2, 33, 121, 0.1);
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(2, 33, 121, 0.2);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Why Choose Us Section ===== */
.why-choose {
  padding: 5rem 0;
  background: #fff;
}

.why-choose-content {
  max-width: 56rem;
  margin: 0 auto;
}

.reasons-grid {
  display: grid;
  gap: 1.5rem;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(245, 245, 245, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.reason-item:hover {
  border-color: var(--primary-light);
  transform: translateX(5px);
}

.reason-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.reason-item span {
  color: #000;
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== Partners Section ===== */
.partners {
  padding: 5rem 0;
  background: var(--zinc-950);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(245, 245, 245, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-card:hover {
  border-color: var(--primary-light);
  filter: grayscale(0%);
}

.partner-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* ===== Clients Section ===== */
.clients {
  padding: 5rem 0;
  background: #fff;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(245, 245, 245, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-card:hover {
  border-color: var(--primary-light);
  filter: grayscale(0%);
}

.client-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* ===== Testimonials Section ===== */
.testimonials {
  padding: 5rem 0;
  background: var(--zinc-950);
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-5px);
}

.testimonial-card .quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: #000;
}

.testimonial-company {
  font-size: 0.875rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #022179, #011452);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: #ccc;
  margin: -1rem 1.1rem 1.5rem;
  line-height: 1.6;
}

.footer .logo-text {
  color: #fff;
}

.footer .logo img {
  height: 10rem;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

@media (min-width: 768px) {
  .footer .logo img {
    height: 9rem;
    margin-top: -25px;
  }
}

.social-links {
  display: flex;
  gap: 1rem;
   margin-left: 1rem;

}

.social-links a {
  color: #ccc;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent);
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer h3 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ccc;
}

.contact-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form .input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.newsletter-form .input::placeholder {
  color: #999;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding-top: 2rem;
  text-align: center;
  color: #ccc;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 2fr;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 2fr;
  }
}

/* ===== Page Specific Styles ===== */
.page-hero {
  padding: 2rem 0;
  background: #fff;
}

.page-hero-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
}

.page-hero p {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.6;
}

/* Mobile page hero improvements */
@media (max-width: 480px) {
  .page-hero {
    padding: 1.5rem 0;
  }
  
  .page-hero-content {
    padding: 0 0.75rem;
  }
  
  .page-hero h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .page-hero p {
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  .page-hero p {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .page-hero h1 {
    font-size: 3.75rem;
  }
}

/* About Page */
.story-section {
  padding: 2rem 0;
  background: var(--zinc-950);
}

.story-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.story-grid h2 {
  font-size: 1.875rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1.5rem;
}

.story-grid p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-image {
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
 
}

.hero-logo-wrapper img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

/* Mobile layout for hero logo wrapper */
@media (max-width: 768px) {
  .hero-logo-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
    align-items: center;
  }
  
  .hero-logo-wrapper img {
    margin: 0 auto;
  }
  
  .hero-logo-wrapper p {
    margin-top: 1rem;
  }
}

@media (min-width: 768px) {
  .story-grid h2 {
    font-size: 2.25rem;
  }
  
  .hero-logo-wrapper img {
    max-height: 280px;
  }
}

@media (min-width: 1024px) {
  .story-grid {
    display: flex;
  }
  
  .hero-logo-wrapper img {
    max-height: 230px;
    margin-bottom: 40px;
  }
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  background: #fff;
}

.stats-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stats-section .stat-card {
  padding: 1.5rem;
}

.stats-section .stat-value {
  font-size: 2.5rem;
}

@media (min-width: 1024px) {
  .stats-section .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Values Section */
.values-section {
  padding: 5rem 0;
  background: var(--zinc-950);
}

.values-section h2 {
  font-size: 1.875rem;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  gap: 1.5rem;
}

.value-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary-light);
}

.value-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .values-section h2 {
    font-size: 2.25rem;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ===== Contact Page ===== */
.contact-section {
  padding: 2rem 1rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-info-section h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 2rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--primary-light);
}

.contact-info-card .icon-wrapper {
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(2, 33, 121, 0.1);
}

.contact-info-card svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-info-card h3 {
  font-weight: 600;
  color: #000;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  color: var(--gray-400);
}

.contact-form-wrapper {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Services Page ===== */
.services-page-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-page-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.scroll-animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.scroll-animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
}

.scroll-animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Animation Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }
.delay-800 { transition-delay: 0.8s; }

/* Hover Animations */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Page Transition */
.page-content {
  animation: fadeIn 0.5s ease;
}

/* Gradient Animation */
.animated-gradient {
  background: linear-gradient(270deg, var(--primary), var(--primary-light), var(--primary));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ===== Gallery Page Styles ===== */
.gallery-section {
  padding: 2rem 0;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

  /* apply now  */

.cta-section {
  padding: 2rem 0;
  background-color: #011452;
}

.cta-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--primary-light);
}
@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 2rem;
  }
}
@media (min-width: 1024px) {
  .cta-content h2 {
    font-size: 3rem;
  }
}


/* ===== Additional Responsive Improvements ===== */

/* Mobile sidebar logo */
.mobile-nav .logo img {
  height: 3.5rem;
  width: auto;
}

/* Better mobile header spacing */
@media (max-width: 480px) {
  .header .container {
    padding: 0 0.75rem;
  }
  
  .logo img {
    height: 5rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .top-banner {
    height: 180px;
  }
  
  .top-banner-text {
    font-size: 1.25rem;
  }
  
  .hero-logo-wrapper {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-logo-wrapper img {
    max-height: 200px;
    margin: 0 auto;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .page-hero h1 {
    font-size: 1.75rem;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn {
    width: 100%;
  }
}

/* Tablet improvements */
@media (min-width: 481px) and (max-width: 991px) {
  .hero-logo-wrapper {
    padding: 0 2rem;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix header actions on mobile */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 991px) {
  .header-actions .btn-primary {
    display: none;
  }
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
  .nav-link {
    padding: 1rem 0;
    min-height: 44px;
  }
  
  .mobile-nav .nav-link {
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  
  .contact-info-card {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info-card .icon-wrapper {
    margin: 0 auto 0.5rem;
  }
}

/* Improve gallery on small screens */
@media (max-width: 639px) {
  .gallery-grid {
    gap: 1rem;
  }
  
  .gallery-item {
    aspect-ratio: 16/10;
  }
}

/* Footer responsive improvements */
@media (max-width: 767px) {
  .footer {
    padding: 0 0 1.5rem;
  }
  
  .footer-grid {
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-info {
    align-items: center;
  }
  
  .contact-item {
    justify-content: center;
  }
}

/* Fix modal on mobile */
@media (max-width: 480px) {
  .modal {
    margin: 0.5rem;
    max-height: calc(100vh - 1rem);
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .modal-header h2 {
    font-size: 1.1rem;
  }
}

/* Smooth scrolling for all devices */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Print styles */
@media print {
  .top-header,
  .header,
  .mobile-nav,
  .sidebar-overlay,
  .modal-overlay,
  .cta-section {
    display: none !important;
  }
  
  .top-banner {
    height: auto;
  }
}


/* ===== Courses Accordion ===== */
.courses-section {
  padding: 3rem 0;
}

.courses-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(2, 33, 121, 0.3);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: left;
  transition: all 0.3s ease;
  
}

.accordion-header:hover {
  background: rgba(2, 33, 121, 0.05);
}

.accordion-header svg {
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
  padding: 1.25rem;
}

.course-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-list li {
  padding: 0.5rem 0.75rem;
  background: rgba(2, 33, 121, 0.03);
  border-radius: 0.25rem;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.course-list li:hover {
  background: rgba(2, 33, 121, 0.08);
  border-left-color: var(--primary);
  color: var(--primary-dark);
}

@media (min-width: 640px) {
  .course-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .course-list {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ===== Map Section ===== */
.map-section {
  padding: 2rem 1rem;
  background: #fff;
}

.map-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 250px;
}

/* Mobile map improvements */
@media (max-width: 480px) {
  .map-section {
    padding: 2rem 0.75rem;
  }
  
  .map-wrapper {
    border-radius: 0.75rem;
  }
  
  .map-wrapper iframe {
    min-height: 200px;
  }
}

@media (min-width: 768px) {
  .map-wrapper iframe {
    min-height: 350px;
  }
}

@media (min-width: 1024px) {
  .map-wrapper iframe {
    min-height: 450px;
  }
}


/* ===== Homepage Courses Grid ===== */
.courses-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.course-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.course-card:hover {
  border-color: rgba(2, 33, 121, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(2, 33, 121, 0.1);
}

.course-icon {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(2, 33, 121, 0.1), rgba(255, 153, 0, 0.1));
  margin-bottom: 1rem;
}

.course-icon svg {
  color: var(--primary);
}

.course-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.course-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.course-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-highlights li {
  padding: 0.25rem 0.75rem;
  background: rgba(2, 33, 121, 0.08);
  border-radius: 1rem;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

.courses-cta {
  text-align: center;
  margin-top: 2rem;
}

.courses-cta .btn {
  gap: 0.5rem;
}

.courses-cta .btn svg {
  transition: transform 0.3s ease;
}

.courses-cta .btn:hover svg {
  transform: translateX(4px);
}

@media (min-width: 640px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ===== Colleges Section & Logo Slider ===== */
.colleges-section {
  padding: 3rem 0;
  background: var(--zinc-950);
  overflow: hidden;
}

.colleges-cta {
  text-align: center;
  margin-top: 2rem;
}

.colleges-cta .btn {
  gap: 0.5rem;
}

.colleges-cta .btn svg {
  transition: transform 0.3s ease;
}

.colleges-cta .btn:hover svg {
  transform: translateX(4px);
}

/* Infinite Logo Slider */
.logo-slider {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

.logo-slider::before,
.logo-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--zinc-950), transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--zinc-950), transparent);
}

.logo-slider-track {
  display: flex;
  gap: 2rem;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.logo-slider-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-slide {
  flex-shrink: 0;
}

.university-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 100px;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.university-logo-card:hover {
  border-color: rgba(2, 33, 121, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(2, 33, 121, 0.1);
}

.university-logo-card img.university-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.university-logo-card:hover img.university-logo-img {
  filter: grayscale(0%);
}

.university-name {
  display: none;
}

@media (min-width: 768px) {
  .university-logo-card {
    width: 200px;
    height: 110px;
  }
  
  .logo-slider-track {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .university-logo-card {
    width: 220px;
    height: 120px;
  }
  
  .logo-slider-track {
    gap: 3rem;
  }
}


/* ===== About Us Section (About Page) ===== */
.about-section {
  padding: 4rem 0;
  background: var(--zinc-950);
}

.about-section .about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-section .about-content {
  max-width: 600px;
}

.about-section .section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
}

.about-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.about-section .about-content p {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-section .about-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-section .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

@media (min-width: 768px) {
  .about-section .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .about-section .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Mission & Vision Section ===== */
.mission-vision-section {
  padding: 4rem 0;
  background: #fff;
}

.mission-vision-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mission-card,
.vision-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
  border-color: rgba(2, 33, 121, 0.4);
  box-shadow: 0 15px 40px rgba(2, 33, 121, 0.1);
}

.mission-icon,
.vision-icon {
  display: inline-flex;
  padding: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2, 33, 121, 0.1), rgba(255, 153, 0, 0.1));
  margin-bottom: 1.5rem;
}

.mission-icon svg,
.vision-icon svg {
  color: var(--primary);
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
  color: var(--gray-400);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Core Values */
.mission-vision-section .values-section {
  padding: 0;
  background: transparent;
}

.mission-vision-section .values-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
}

.mission-vision-section .values-grid {
  display: grid;
  gap: 1.5rem;
}

.mission-vision-section .value-item {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.mission-vision-section .value-item:hover {
  border-color: rgba(2, 33, 121, 0.3);
  transform: translateY(-3px);
}

.mission-vision-section .value-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.mission-vision-section .value-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.mission-vision-section .value-item p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .mission-vision-section .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mission-vision-section .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ===== Popup Modal ===== */
.popup-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.popup-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.popup-modal {
  background: #fff;
  border-radius: 1.5rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.popup-modal-close:hover {
  background: #fff;
  transform: rotate(90deg);
}

.popup-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.popup-modal-image {
  position: relative;
  overflow: hidden;
}

.popup-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.popup-modal-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.popup-modal-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.popup-modal-body p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.popup-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.popup-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.popup-features li svg {
  color: #22c55e;
  flex-shrink: 0;
}

.popup-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.popup-actions .btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  border: 2px solid #ddd;
  color: #666;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: #333;
  color: #333;
}

/* Popup Modal Responsive */
@media (max-width: 768px) {
  .popup-modal-content {
    grid-template-columns: 1fr;
  }

  .popup-modal-image {
    max-height: 200px;
  }

  .popup-modal-image img {
    min-height: 200px;
  }

  .popup-modal-body {
    padding: 1.5rem;
  }

  .popup-modal-body h2 {
    font-size: 1.4rem;
  }

  .popup-actions {
    flex-direction: column;
  }

  .popup-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .popup-modal {
    margin: 0.5rem;
    border-radius: 1rem;
  }

  .popup-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
  }

  .popup-modal-body {
    padding: 1.25rem;
  }

  .popup-badge {
    font-size: 0.75rem;
  }

  .popup-modal-body h2 {
    font-size: 1.25rem;
  }

  .popup-modal-body p {
    font-size: 0.9rem;
  }
}

@media print {
  .popup-modal-overlay {
    display: none !important;
  }
}
