/* ==========================================================================
   1. Reset & Base Typography
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #f4f9fc;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   2. Layout & Container
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ==========================================================================
   3. Navigation Bar
   ========================================================================== */
.navbar {
  background-color: #0f4c81;
  color: #fff;
  height: 75px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* === Logo === */
.logo-container {
  position: relative;
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  position: absolute;
  top: 0px;
  left: 0;
}

.brand-name {
  margin-left: 56px;
  font-size: 1.5rem;
  font-weight: 600;
}

/* === Nav Links === */
.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 1rem;
  align-items: center;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #5fa8d3;
}


/* ==========================================================================
   3B. Mobile Menu Toggle
   ========================================================================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: 1rem;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background-color: #0f4c81;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1rem 0;
    gap: 1rem;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: white;
  }
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(to right, #6cb6eb, #2aa0e4, #6cb6eb);
  color: #083b66;
  text-align: left;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
}

.hero .container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 3rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-text p {
  font-size: 1.15rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-img img {
  width: 100%;
  max-width: 500px;
  display: block;
}

.btn.primary {
  background-color: #0f4c81;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn.primary:hover {
  background-color: #083b66;
}

.btn.secondary {
  background-color: #ffffff;
  color: #0f4c81;
  border: 2px solid #0f4c81;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn.secondary:hover {
  background-color: #e6f0fa;
}


@media (max-width: 768px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-img img {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* ==========================================================================
   5A. Offer Premium Highlight
   ========================================================================== */
.offer-premium {
  background: #f4f9fc;
  padding: 6rem 2rem;
  text-align: center;
}

.offer-premium .section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f4c81;
  margin-bottom: 2rem;
}

.offer-highlight {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 2;
  color: #2c3e50;
  font-family: 'Georgia', serif;
  font-style: italic;
  position: relative;
  padding: 1rem 2rem;
}

.offer-highlight::before,
.offer-highlight::after {
  content: '"';
  font-size: 3rem;
  color: #0f4c81;
  opacity: 0.15;
  font-family: Georgia, serif;
  position: absolute;
}

.offer-highlight::before {
  top: -30px;
  left: -10px;
}

.offer-highlight::after {
  bottom: -30px;
  right: -10px;
}

/* ==========================================================================
   5B. Offer Visual Layout (Image + Text)
   ========================================================================== */
.offer-visual {
  background-color: #f4f9fc;
  padding: 5rem 2rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.offer-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.offer-text .section-title {
  font-size: 2.4rem;
  color: #0f4c81;
  margin-bottom: 1.5rem;
}

.offer-highlight {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #2c3e50;
  text-align: left;
}

@media (max-width: 768px) {
  .offer-highlight,
  .offer-text {
    text-align: center;
  }

  .visual-grid {
    padding: 0 1rem;
  }

  .offer-text .section-title {
    font-size: 2rem;
  }

  .offer-highlight {
    font-size: 1rem;
    padding: 0 1rem;
  }
}


/* ==========================================================================
   6. Why Choose Us Section
   ========================================================================== */
.why-choose {
  background-color: #f4faff;
  padding: 4rem 2rem;
  text-align: center;
}

.why-choose .section-title {
  font-size: 2.2rem;
  color: #0f4c81;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: auto;
}

.reason {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.reason:hover {
  transform: translateY(-5px);
}

.reason i {
  color: #0f4c81;
  font-size: 1.5rem;
}

.reason p {
  font-size: 1.05rem;
  color: #333;
  margin: 0;
  text-align: left;
}

@media (max-width: 768px) {
  .reason {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .reason p {
    text-align: center;
  }
}

/* ==========================================================================
   7. Testimonials Section
   ========================================================================== */
.testimonial-section {
  background-color: #f8fcff;
  padding: 4rem 2rem;
  text-align: center;
}

.testimonial-section .section-title {
  font-size: 2rem;
  color: #0f4c81;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-style: italic;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.testimonial-card .client-name {
  margin-top: 1rem;
  font-weight: bold;
  font-style: normal;
  color: #0f4c81;
  text-align: right;
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card .client-name {
    text-align: center;
  }
}


/* ==========================================================================
   8A. Page Sections (About, Services, Contact)
   ========================================================================== */
.page-section {
  padding: 5rem 2rem;
  background-color: #f4f9fc;
  text-align: center;
}

.page-section h1 {
  font-size: clamp(2rem, 5vw, 2.4rem);
  margin-bottom: 1.2rem;
  color: #0f4c81;
}

.page-section p {
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  max-width: 800px;
  line-height: 1.8;
  color: #333;
}

/* === ABOUT SECTION === */
.about-section,
.about-vision,
.about-mission,
.about-stats {
  padding: 4rem 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.about-content {
  text-align: left;
}

.about-content h1 {
  font-size: clamp(2rem, 6vw, 2.5rem);
  color: #0f4c81;
  margin-bottom: 1.2rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Services Hero Section
   ========================================================================== */
.services-hero {
  background-color: #f1e6ff;
  padding: 5rem 2rem;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.services-hero-content {
  text-align: left;
}

.services-hero-content h1 {
  font-size: 2.5rem;
  color: #502e85;
  margin-bottom: 1rem;
}

.services-hero-content p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-purple {
  background-color: #8c4fe8;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-purple:hover {
  background-color: #7140c0;
}

.services-hero-image img {
  width: 100%;
  max-width: 500px;
}

/* ==========================================================================
   Services Cards Section (Below the Hero)
   ========================================================================== */
.services-cards {
  background-color: #f8f0ff;
  padding: 5rem 2rem;
  text-align: center;
}

.services-cards h2 {
  font-size: clamp(2rem, 5vw, 2.4rem);
  color: #502e85;
  margin-bottom: 2rem;
  font-weight: 700;
}

.services-cards p.description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #333;
  line-height: 1.8;
}

/* === Services Card Grid === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Individual Card === */
.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 2rem;
  color: #8c4fe8;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: #502e85;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* === CONTACT SECTION === */
.contact-section {
  background-color: #f4f9fc;
  padding: 5rem 2rem;
  text-align: center;
}

.contact-section h1 {
  font-size: clamp(2rem, 5vw, 2.4rem);
  margin-bottom: 1.2rem;
  color: #0f4c81;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;
  line-height: 1.8;
}


@media (max-width: 768px) {
  /* === ABOUT SECTION === */
  .about-content,
  .about-content h1,
  .about-content p {
    text-align: center;
  }

  .about-content h1 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  /* === PAGE TITLES === */
  .page-section h1,
  .contact-section h1 {
    font-size: 1.8rem;
  }

  .page-section p,
  .contact-section p {
    font-size: 1rem;
  }

  /* === SERVICE CARDS === */
  .services-grid {
    padding: 0 1rem;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  /* === SERVICES HERO SECTION === */
  .services-hero {
    text-align: center;
  }

  .services-hero-grid {
    grid-template-columns: 1fr;
  }

  .services-hero-content {
    text-align: center;
  }

  .services-hero-content h1 {
    font-size: 2rem;
  }

  .services-hero-content p {
    font-size: 1rem;
  }

  .services-hero-image img {
    max-width: 80%;
    margin: 0 auto;
  }
}


/* ==========================================================================
   9A. CTA Section
   ========================================================================== */
.cta-section {
  background: #69b8e6;
  padding: 4rem 4rem;
  color: #083b66;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.cta-button {
  background: #fff;
  color: #0f4c81;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
  margin-top: 1.5rem;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  max-width: 90vw;
  overflow-wrap: break-word;
}

.cta-button:hover {
  background: #e6f0fa;
}

/* ==========================================================================
   9B. CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(to right, #8c4fe8, #502e85);
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn-cta {
  background: #ffffff;
  color: #502e85;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background: #e2d4f5;
}

@media (max-width: 600px) {
  .cta-section,
  .cta-banner {
    padding: 2rem 1rem;
  }

  .cta-button,
  .btn-cta {
    font-size: 1rem;
    padding: 0.75rem 1.2rem;
    white-space: nowrap;
    max-width: 90vw;
    display: inline-block;
    overflow-wrap: break-word;
  }

  .cta-section h2,
  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   10A. Footer
   ========================================================================== */
footer {
  background: linear-gradient(to right, #57a0ca, #083d5a, #57a0ca);
  color: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 0;
}


/* ==========================================================================
   10B. Global Media Queries and Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
  .container,
  .hero,
  .cta-section,
  .cta-banner,
  .offer-visual,
  .page-section,
  .about-section,
  .about-vision,
  .about-mission,
  .about-stats,
  .contact-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-text h1,
  .about-content h1,
  .services-hero-content h1,
  .cta-section h2,
  .cta-banner h2 {
    font-size: 2rem;
  }

  .hero-text p,
  .about-content p,
  .services-hero-content p,
  .offer-highlight,
  .testimonial-card blockquote,
  .contact-section p {
    font-size: 1rem;
  }

  .hero-buttons,
  .social-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hero-img img,
  .about-image img,
  .services-hero-image img {
    max-width: 80%;
    margin: 0 auto;
  }

  .reason,
  .testimonial-card,
  .service-card {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .cta-button,
  .btn-cta {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    max-width: 95vw;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }
}
