:root {
  --primary: #185016;
  --primary-dark: #0f3a0d;
  --primary-light: #2d7a28;
  --primary-50: #f0f9f0;
  --primary-100: #d4f0d3;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--gray-50);
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-100);
  padding: 0.13rem 0; /* Reduced padding further */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.73rem 2rem; /* Reduced padding further */
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 18px; /* Reduced from 23px (20% reduction for desktop) */
}

.logo img {
  max-width: 130px;
  height: auto;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary);
  background: var(--primary-50);
  transform: translateY(-1px);
}

/* Mobile menu toggle - Enhanced Design */
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  padding: 0.6rem;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 1002;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-50), transparent);
  transition: left 0.5s;
}

.mobile-menu:hover::before {
  left: 100%;
}

.mobile-menu:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background: var(--primary-50);
}

.mobile-menu span {
  width: 18px;
  height: 2px;
  background: var(--primary);
  margin: 2px 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
  transform-origin: center;
}

.mobile-menu.active {
  background: var(--primary);
  border-color: var(--primary-dark);
}

.mobile-menu.active span {
  background: white;
}

.mobile-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile navigation - Redesigned with white theme */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
}

.nav-mobile::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23185016" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  pointer-events: none;
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-mobile-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.nav-mobile-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-mobile-logo {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-mobile-logo::before {
  content: '🎓';
  font-size: 1.8rem;
}

.nav-mobile-close {
  background: var(--gray-100);
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mobile-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.nav-mobile ul li {
  width: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.6s ease forwards;
}

.nav-mobile ul li:nth-child(1) { animation-delay: 0.1s; }
.nav-mobile ul li:nth-child(2) { animation-delay: 0.2s; }
.nav-mobile ul li:nth-child(3) { animation-delay: 0.3s; }
.nav-mobile ul li:nth-child(4) { animation-delay: 0.4s; }

.nav-mobile ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  text-align: center;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  background: var(--white);
  border: 2px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  box-shadow: var(--shadow-sm);
}

.nav-mobile ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-50), transparent);
  transition: left 0.5s;
}

.nav-mobile ul li a:hover::before {
  left: 100%;
}

.nav-mobile ul li a:hover {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Add icons to menu items */
.nav-mobile ul li:nth-child(1) a::after { content: '🏠'; }
.nav-mobile ul li:nth-child(2) a::after { content: '📞'; }
.nav-mobile ul li:nth-child(3) a::after { content: '📋'; }
.nav-mobile ul li:nth-child(4) a::after { content: '🔒'; }

.nav-mobile-footer {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 1rem 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-mobile-footer p {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Content */
main {
  margin-top: calc(18px + 0.26rem); /* Adjusted for new nav height */
  background: transparent;
  padding: 0;
}

/* Hero Section - Fix mobile overlap */
#hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 50%, var(--primary-50) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(24, 80, 22, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(24, 80, 22, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-content h1 {
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-content p {
  font-size: 1.375rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 600px;
}

.download-section {
  margin-bottom: 3rem;
}

.download-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  text-align: center;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  justify-content: center;
}

/* Download buttons responsive grid */
.download-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  justify-content: center;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  min-width: 160px;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
  color: white;
}

.download-btn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

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

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.hero-image {
  position: relative;
  animation: slideInRight 0.8s ease-out;
}

.hero-image-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 2rem;
  box-shadow: var(--shadow-2xl);
  position: relative;
  z-index: 2;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: -2rem;
  bottom: -2rem;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
  border-radius: 2rem;
  z-index: 1;
}

/* Exams Section - Enhanced */
#exams {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
}

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

.exam-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.exam-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.exam-card:hover::before {
  transform: scaleX(1);
}

.exam-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-100);
}

.exam-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.exam-card:hover .exam-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.exam-icon img {
  width: 60px;
  height: 60px;
}

.exam-name h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.exam-name p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.5rem;
}

.status.available {
  background: var(--primary-50);
  color: var(--primary);
  border: 2px solid var(--primary-100);
}

.status.progress {
  background: #fef3c7;
  color: #d97706;
  border: 2px solid #fde68a;
}

.status::before {
  content: '●';
  font-size: 0.5rem;
}

/* Features Section - Completely Redesigned */
#features {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-50) 0%, transparent 30%, transparent 70%, var(--primary-50) 100%);
  pointer-events: none;
}

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

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header .section-subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.features-header .section-title {
  color: var(--gray-900);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.features-header .section-description {
  color: var(--gray-600);
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-100);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.feature-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.feature-description {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.6;
  color: var(--gray-600);
}

/* Contact Section - Fix email overflow */
.contact-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  word-break: break-all;
  overflow-wrap: break-word;
}

/* Contact Section - Enhanced */
#contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(24, 80, 22, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(24, 80, 22, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-info {
  padding: 3rem;
  background: var(--white);
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.contact-info h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.contact-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text {
  flex: 1;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  word-break: break-all;
  overflow-wrap: break-word;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.contact-form h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contact-form .subtitle {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.25rem 1.25rem 1.25rem 3rem;
  border: 2px solid var(--gray-200);
  border-radius: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
  font-family: inherit;
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(24, 80, 22, 0.1);
  transform: translateY(-2px);
}

.form-icon {
  position: absolute;
  left: 1rem;
  top: 3.25rem;
  color: var(--gray-400);
  font-size: 1.25rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group:focus-within .form-icon {
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 1.25rem 3rem;
  border: none;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.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.5s;
}

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

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
}

.btn:active {
  transform: translateY(-1px);
}

/* Alert Messages */
.alert {
  padding: 1.25rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid;
}

.alert.success {
  background: var(--primary-50);
  color: var(--primary);
  border-color: var(--primary-100);
}

.alert.error {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.alert-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 2rem;
}

footer ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
  margin-bottom: 2rem;
}

footer ul li a {
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

footer ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

footer p {
  text-align: center;
  opacity: 0.8;
  font-size: 0.875rem;
}

/* Page Layout for Content Pages */
.page-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
  margin: 2rem;
  border-radius: 2rem;
}

.page-header h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-content {
  background: var(--white);
  padding: 3rem 2rem;
  margin: 2rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  line-height: 1.8;
}

.page-content h2 {
  color: var(--primary);
  margin: 2rem 0 1rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.page-content h4 {
  color: var(--gray-700);
  margin: 1.5rem 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.page-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

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

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content h1 {
    font-size: 3.25rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info,
  .contact-form {
    padding: 2rem;
  }
  
  .exam-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .download-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.715rem 0; /* Slightly reduced padding */
  }

  nav {
    padding: 0.715rem 1rem;
    min-height: 22px; /* Reduced from 24px (10% reduction for mobile) */
  }
  
  .logo img {
    max-width: 130px;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  main {
    margin-top: calc(22px + 0.23rem); /* Adjusted for new mobile nav height */
  }

  /* Fix hero section mobile spacing with new nav height */
  #hero {
    min-height: calc(100vh - 45px); /* Adjusted for smaller nav */
    padding-top: 3rem;
  }

  .hero-container {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .hero-content p {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .download-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .download-btn {
    min-width: auto;
    padding: 0.875rem 1.5rem;
    font-size: 0.925rem;
  }
  
  .exam-grid,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-info h2 {
    font-size: 2.25rem;
  }
  
  .contact-form h3 {
    font-size: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem 1rem 1rem 2.5rem;
  }
  
  .form-icon {
    left: 0.75rem;
    top: 2.75rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0rem 0.75rem;
  }
  
  .mobile-menu {
    padding: 0.4rem;
  }

  .mobile-menu span {
    width: 16px;
    height: 2px;
    margin: 2px 0;
  }

  /* Additional mobile hero fixes with new nav height */
  #hero {
    padding-top: 3.2rem; /* Slightly reduced since nav is smaller */
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 1rem;
  }
  
  .nav-mobile ul li a {
    font-size: 1rem;
    padding: 1rem 2rem;
    min-width: 180px;
  }
  
  .nav-mobile-header {
    padding: 0.75rem 1rem;
  }
  
  .nav-mobile-logo {
    font-size: 1.25rem;
  }
}

/* Additional mobile menu animations */
@media (max-width: 768px) {
  .nav-mobile ul li a {
    font-size: 1.125rem;
    padding: 1.05rem 2.5rem;
    min-width: 180px;
  }
  
  .nav-mobile-header {
    padding: 0.75rem 1rem;
  }
  
  .nav-mobile-logo {
    font-size: 1.25rem;
  }
}
