:root {
  --primary-blue: #254a8a;
  --dark-blue: #1a3563; 
  --success-green: #218838;
  --hover-green: #1c7230;
  --neutral-grey: #cccccc;
  --light-bg: #f4f6f9;
  --text-dark: #2c3e50;
  --text-light: #5a6b7c;
  --white: #ffffff;
  --max-width: 1200px;
  --font-main: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}
ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h1 {
  font-size: 2.8rem;
}
h2 {
  font-size: 2.2rem;
  color: var(--primary-blue);
}
h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
}
p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-nav {
  background-color: var(--success-green);
  color: var(--white);
  padding: 8px 24px;
  font-size: 0.9rem;
}
.btn-nav:hover {
  background-color: var(--hover-green);
  color: white;
  transform: translateY(-1px);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary-blue);
}
.btn-light:hover {
  background-color: var(--neutral-grey);
}

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
  margin-left: 10px;
}
.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-blue);
}

.btn-green {
  background-color: var(--success-green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(33, 136, 56, 0.3);
}
.btn-green:hover {
  background-color: var(--hover-green);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.2rem;
}

.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover {
  color: var(--primary-blue);
}

.breadcrumb-nav {
  background: var(--light-bg);
  padding: 12px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #e1e1e1;
}
.breadcrumb-nav ol {
  display: flex;
}
.breadcrumb-nav li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--neutral-grey);
}

.hero {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--success-green) 100%
  );
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.intro {
    padding: 6rem 0; 
    background-color: var(--white);
}

.intro .section-header {
    margin-bottom: 0;
}

.intro h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.intro h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: var(--success-green);
    margin: 15px auto 0;
    border-radius: 2px;
}

.intro p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 850px; 
    margin: 0 auto;   
}

.bg-light {
  background-color: var(--light-bg);
}
.categories-section {
  padding: 4rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.card,
.hero-text,
.hero-image {
  min-width: 0;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-blue);
}

.card-icon {
  font-size: 3.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  display: block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.card:hover .card-icon {
  color: var(--success-green);
  transform: scale(1.1); 
}

.exam-list {
  margin: 0.5rem 0 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  flex-grow: 1; 
}
.exam-list li {
  margin-bottom: 6px;
  padding-left: 15px;
  position: relative;
}
.exam-list li::before {
  content: "•";
  color: var(--success-green);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.testimonials h2 {
  color: var(
    --white
  ) !important; 
  margin-bottom: 3rem;
}

.testimonial-card cite {
  margin-top: 1rem;
  display: block;
  font-size: 0.9rem;
  color: #e0e0e0; 
}
.text-link {
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 0.95rem;
}
.text-link:hover {
  color: var(--success-green);
  letter-spacing: 0.5px;
}

.features {
  padding: 5rem 0;
  background-color: var(--white);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  padding: 1rem;
}
.feat-icon {
  flex-shrink: 0;
}
.feat-img {
  width: 100%;
  max-width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(37, 74, 138, 0.15);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover .feat-img {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(37, 74, 138, 0.25);
}
.feature-item h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}
.feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    max-width: 300px;
}

.bg-blue-dark {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 5rem 0;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}
.testimonial-card p {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.testimonial-card cite {
  font-weight: 700;
  color: var(--white);
  display: block;
}

.cta-section {
  padding: 5rem 0;
}
.cta-box {
  background: #f0fdf4;
  border: 2px solid var(--success-green);
  border-radius: 16px;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.site-footer {
  background: #111;
  color: #888;
  padding: 3rem 0;
  border-top: 4px solid var(--success-green);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 50px;
  height: auto;
  display: block;
}
.logo .site-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-text {
  font-size: 1.5rem;
  color: white;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}
.footer-nav a {
  color: #aaa;
  margin-left: 20px;
  font-size: 0.9rem;
}
.footer-nav a:hover {
  color: var(--success-green);
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .intro {
        padding: 4rem 0;
    }
    .intro h2 {
        font-size: 2rem;
    }
    .intro p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .mobile-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
  }
  .bar {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 6px 0;
    transition: 0.3s;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }
  .main-nav.active {
    display: block;
    animation: slideDown 0.3s ease forwards;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .main-nav .btn-nav {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.small-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--success-green) 100%);
}

.small-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.small-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.mt-5 { margin-top: 3rem; }
.mt-3 { margin-top: 1.5rem; }
.p-4 { padding: 2rem; }
.rounded { border-radius: 12px; }

.mission-box {
    background: #f8f9fa;
    border-left: 5px solid var(--success-green);
    padding: 2rem;
    border-radius: 4px;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.principles-section { padding: 5rem 0; }

.principle-card {
    text-align: center;
    padding: 2.5rem 2rem;
    height: 100%; 
}

.icon-wrap {
    font-size: 2.5rem;
    color: var(--success-green);
    margin-bottom: 1.5rem;
    background: rgba(33, 136, 56, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.principle-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.offer-section { padding: 5rem 0; }

.bg-blue-light {
    background-color: rgba(37, 74, 138, 0.05); 
}

.check-list, .arrow-list {
    margin-top: 1.5rem;
    margin-left: 0.5rem;
}

.check-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-dark);
}

.check-list li::before {
    content: "\f00c"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--success-green);
    position: absolute;
    left: 0;
    top: 2px;
}

.arrow-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
}

.arrow-list li::before {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    top: 2px;
}

.main-nav a.active {
    color: var(--primary-blue);
    font-weight: 700;
}


.contact-section {
    padding: 5rem 0;
}

.grid-contact {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-wrapper {
    background: var(--white);
    padding-right: 1rem;
}

.contact-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group .required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    background-color: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 74, 138, 0.1);
}

.btn-full {
    width: 100%;
    font-size: 1.1rem;
    padding: 14px;
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info-wrapper {
    display: flex;
    justify-content: center;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(37, 74, 138, 0.08);
    width: 100%;
}

.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--success-green);
    display: inline-block;
    padding-bottom: 5px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.contact-method:hover {
    transform: translateX(5px);
    background: #eef2f7;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.details {
    display: flex;
    flex-direction: column;
}

.details .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    font-weight: 600;
}

.contact-link {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
}

.contact-link:hover {
    color: var(--success-green);
}

.response-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid #eee;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 900px) {
    .grid-contact {
        grid-template-columns: 1fr; 
        gap: 3rem;
    }
    .form-wrapper {
        padding-right: 0;
    }
}

@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.77); 
        transform-origin: 0 0; 
        margin-bottom: 10px; 
    }
    
    .form-wrapper {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem; 
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .grid-contact {
        gap: 2rem;
    }
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
  .logo-img { width: 50px; }
  .logo .site-name { font-size: 0.95rem; }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 450px) {
    .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0; 
        margin-bottom: 15px;
    }
}

img, iframe {
    max-width: 100%; 
    height: auto;
}

.grid-contact, .form-wrapper, .contact-info-wrapper {
    max-width: 100%; 
    overflow-x: hidden; 
}