/* ===== BASE STYLES ===== */
:root {
  --primary: #0b4d6b;
  --primary-dark: #08354d;
  --primary-light: #1aa7a6;
  --secondary: #FFD700;
  --accent: #1aa7a6;
  --accent-light: #2cd5d4;
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --text: #0f1724;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(11, 77, 107, 0.08);
  --shadow-lg: 0 10px 40px rgba(11, 77, 107, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, #0b4d6b 0%, #1aa7a6 100%);
  --gradient-secondary: linear-gradient(135deg, #1aa7a6 0%, #2cd5d4 100%);
  --gradient-dark: linear-gradient(135deg, #08354d 0%, #0b4d6b 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

.section-subtitle {
  display: inline-block;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-light {
  background: transparent;
  border-color: white;
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-accent {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
  background: linear-gradient(90deg, rgba(11,77,107,0.03), rgba(26,167,166,0.02));
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-image {
  height: 60px;
  width: auto;
}

.logo-image img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

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

.logo-main {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Mobile Menu Button */
.nav-toggle {
  display: block;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  display: flex;
  flex-direction: column;
  width: 24px;
  height: 2px;
  background: var(--primary);
  position: relative;
  transition: var(--transition);
  justify-content: space-between;
  gap: 6px;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
  content: '';
  background: var(--primary);
}

.hamburger::after {
  bottom: -8px;
  background: var(--primary);
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--primary);
}

.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
  background: var(--primary);
}

/* Navigation Menu */
.main-nav {
  display: none;
  position: fixed;
  top: 70px;
  right: 0;
  width: 250px;
  height: auto;
  background: white;
  flex-direction: column;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: -5px 5px 20px rgba(0,0,0,0.1);
  border-radius: 0 0 0 8px;
}

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

.main-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0;
  align-items: stretch;
  width: 100%;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0;
  transition: var(--transition);
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: transparent;
}

.btn-outline {
  border: none;
  color: var(--text);
  padding: 0.5rem 1.5rem;
}

.btn-outline:hover {
  background: transparent;
  color: var(--text);
}

.nav-social {
  display: none;
}

/* Search Row - NOT STICKY */
.search-row {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
}

.search-form input[type="search"] {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: white;
  transition: var(--transition);
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 167, 166, 0.1);
}

.search-btn {
  position: absolute;
  right: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--gradient-dark);
  transform: translateX(2px);
}

.search-btn span {
  display: none;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 4rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../background.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #0b4d6b;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(11, 77, 107, 0.95) 0%, rgba(11, 77, 107, 0.8) 40%, rgba(11, 77, 107, 0.5) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: transparent;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1280px;
  padding: 0 1.5rem;
}

.hero-content {
  color: white;
  max-width: 800px;
}

.pan-african-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 1.5rem;
  animation: slideInDown 0.8s ease-out, pulse 2s ease-in-out infinite 0.8s;
}

.flag-icon {
  color: var(--secondary);
}

.hero-content h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem auto;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

.hero-image {
  position: relative;
  display: none;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
  width: 100%;
  height: 500px;
}

.image-frame:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(11, 77, 107, 0.3), transparent);
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.image-badge i {
  color: var(--secondary);
}

/* ===== SERVICES SECTION ===== */
.quick-services {
  padding: 5rem 0;
  background: var(--bg);
}

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

.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
}

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

.card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--primary);
  gap: 0.75rem;
}

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== ACADEMY PREVIEW ===== */
.academy-preview {
  padding: 5rem 0;
  background: var(--primary);
  color: white;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.academy-content h2 {
  margin-bottom: 1.5rem;
  color: white;
}

.feature-list {
  margin: 2rem 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.academy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.academy-preview .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.academy-preview p {
  color: rgba(255, 255, 255, 0.9);
}

.stat-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 1s ease;
}

/* ===== INSIGHTS PREVIEW ===== */
.insights-preview {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.post-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.post-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.post-category {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.post-card h3 {
  margin: 0.5rem 0 1rem;
  color: var(--primary);
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.post-meta i {
  margin-right: 0.25rem;
}

.btn-notify {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}

.btn-notify:hover {
  background: var(--accent);
  color: white;
}

.coming-soon {
  margin: 1rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.animate {
  animation: pulse 2s infinite;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  padding: 5rem 0;
  background: var(--gradient-dark);
  color: white;
  text-align: center;
}

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

.cta-content h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.trust-item i {
  color: var(--secondary);
}

/* ===== PARTNERS ===== */
.partners {
  padding: 3rem 0;
  background: #f3f4f6;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.partner-logo {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.partner-logo i {
  font-size: 2rem;
  color: var(--accent);
}

/* ===== FOOTER ===== */
.site-footer {
  background: white;
  color: var(--text);
  padding: 4rem 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 65px;
  width: auto;
}

.footer-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-contact p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-contact a:hover {
  color: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links li {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-social h5 {
  color: var(--text);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-links-bottom {
  display: flex;
  gap: 1.5rem;
}

.footer-links-bottom a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-bottom a:hover {
  color: var(--primary);
}

/* ===== ANIMATIONS ===== */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(26, 167, 166, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(26, 167, 166, 0.6);
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .academy-stats {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Navigation */
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-alt);
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  
  .main-nav li {
    width: 100%;
  }
  
  .main-nav a {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
  }
  
  .nav-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  /* Mobile menu button animation */
  .nav-toggle.active .hamburger {
    background: transparent;
  }
  
  .nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }
  
  /* Hero adjustments */
  .hero {
    padding: 3rem 0;
    min-height: 70vh;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .image-frame {
    transform: none;
  }
  
  /* Search form */
  .search-btn span {
    display: inline;
  }
  
  /* Cards */
  .cards-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  /* CTA buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Partners */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links-bottom {
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .card,
  .post-card {
    padding: 1.5rem;
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .search-btn {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .search-wrapper {
    flex-direction: column;
  }
}