/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --color-primary: #3366cc;
  /* Exact blue from the image text/icons */
  --color-success: #459a45;
  /* Exact green from the button */
  --color-dark: #1b283d;
  /* Dark text for headings */
  --color-text: #59657a;
  /* Paragraph text */
  --color-border: #d1d5db;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
@media (min-width: 1600px) {
  .container {
    max-width: 1540px !important;
  }
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  box-sizing: border-box;
}

p {
  font-size: 18px !important;
}

/* Typography Utilities */
.serif-font {
  font-family: 'Montserrat', sans-serif;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-success {
  color: var(--color-success) !important;
}

.text-dark-blue {
  color: var(--color-dark) !important;
}

.text-muted {
  color: var(--color-text) !important;
}

.fs-7 {
  font-size: 0.875rem !important;
}

/* Section-specific classes replacing fs-7 */
.nav-dropdown-text,
.hero-text-small,
.service-text-small,
.why-choose-text-small,
.process-text-small,
.advantage-text-small,
.location-text-small,
.cta-text-small,
.footer-text-small,
.text-font {
  font-size: 18px !important;
}

.fs-8 {
  font-size: 0.75rem !important;
}

.letter-spacing-1 {
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-success {
  background-color: var(--color-success);
  border-color: var(--color-success);
  color: white;
  transition: all 0.3s ease;
}

.btn-success:hover,
.btn-success:focus {
  background-color: #226b2d;
  border-color: #226b2d;
  color: white;
}

.btn-outline-dark {
  border: 1.5px solid var(--color-dark);
  color: var(--color-dark);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background-color: #f8f9fa;
  color: var(--color-dark);
}

/* ==========================================================================
   Navbar Section
   ========================================================================== */
.navbar {
  border-bottom: 1px solid #f3f4f6;
  /* Very subtle border below navbar */
}

.nav-link {
  font-size: 14px;
  color: #374151 !important;
  font-weight: 500;
  transition: color 0.2s ease;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--color-success) !important;
}

.dropdown-toggle::after {
  vertical-align: middle;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  margin-left: 0.35em;
  opacity: 0.7;
}

.nav-phone {
  font-size: 0.85rem;
  color: var(--color-primary) !important;
  transition: opacity 0.2s ease;
}

.nav-phone:hover {
  opacity: 0.8;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-heading {
  font-size: 4.8rem;
  line-height: 1.05 !important;
  letter-spacing: -1.5px;
}

@media (max-width: 1500px) {
  .hero-heading {
    font-size: 4.2rem;
  }
}

@media (max-width: 1200px) {
  .hero-heading {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 2.8rem;
  }
}

.hero-paragraph {
  line-height: 1.7;
  font-size: 18px !important;
}

.hero-img-col {
  height: calc(100vh - 86px);
  min-height: 910px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

@media (min-width: 992px) {
  .hero-img {
    /* width: 50vw; */
    height: 100%;
    max-width: none;
  }
}

.hero-text-container {
  max-width: 680px;
}

/* The floating 15 min card */
.floating-box {
  position: absolute;
  bottom: 130px;
  left: 40px;
  min-width: 290px;
  border-radius: 16px;
}

@media (max-width: 991px) {
  .floating-box {
    left: 20px;
    bottom: 20px;
  }

  .hero-img-col {
    height: 500px;
  }
}

/* ==========================================================================
   Services Section (What We Do)
   ========================================================================== */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
}

/* ==========================================================================
   Navbar & Header
   ========================================================================== */
.btn-nav {
  padding: 6px 6px 6px 24px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.btn-nav-primary {
  background-color: #2a3c75;
  transition: all 0.3s ease;
}

.btn-nav-primary:hover {
  background-color: #1e2b54;
  color: #ffffff;
}

.btn-nav-success {
  background-color: #38a143;
  transition: all 0.3s ease;
}

.btn-nav-success:hover {
  background-color: #2b7a33;
  color: #ffffff;
}

.btn-nav-icon-wrapper {
  width: 32px;
  height: 32px;
}

.nav-icon-primary {
  font-size: 13px;
  color: #2a3c75;
}

.nav-icon-success {
  font-size: 13px;
  color: #38a143;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-subtitle {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #38a143 !important;
}

.hero-title {
  color: #2a2a2a;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-family: 'Inter', sans-serif;
}

.hero-text-main {
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

.hero-text-secondary {
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.hero-offer-title {
  color: #2a2a2a;
  font-size: 13px;
}

.hero-list-item {
  color: #2a2a2a;
  font-size: 16px;
  font-weight: 500;
}

.hero-check-icon {
  font-size: 11px;
}

.hero-banner-img {
  border-radius: 40px 40px 0 0;
}

@media (max-width: 991px) {
  .hero-banner-img {
    min-height: 400px;
  }
}

/* ==========================================================================
   Top Form Banner
   ========================================================================== */
/* .top-form-container {
  margin-top: -140px;
  top: 60px;
} */
.top-form-container {
  margin-top: 0px;
  top: 0px;
}

.top-form-card {
  background-color: #2a3c75;
  border-radius: 16px;
  overflow: hidden;
  background-image: url('../images/form-bg-top.png');
  background-size: 100% 100%;
  background-position: center;
}

.top-form-title {
  font-size: 20px;
}

.top-form-input {
  border-radius: 6px;
  font-size: 13px;
  max-width: 250px;
}

.top-form-submit {
  background-color: #38a143;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.blue-square-box {
  bottom: -20px;
  right: 0px;
  min-width: 260px;
}

@media (max-width: 991px) {
  .blue-square-box {
    right: 20px;
    bottom: -20px;
  }
}

/* ==========================================================================
   Responsive Image Adjustments
   ========================================================================== */
.why-choose-img {
  min-height: 580px;
  border-radius: 1rem;
  width: 100%;
}

.advantage-img {
  min-height: 100%;
  border-radius: 1rem;
  width: 100%;
}

@media (min-width: 992px) {
  .why-choose-img {
    height: 100%;
  }

  .advantage-img {
    height: 100%;
  }
}

@media (max-width: 991px) {
  .why-choose-img {
    min-height: 400px;
  }

  .advantage-img {
    min-height: 350px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1472px) {
  .nav-link {
    font-size: 11px;
  }

  .nav-phone {
    font-size: 11px;
  }

  .navbar-nav .nav-item {
    padding: 0px !important;
  }
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */
.testimonial-title {
  color: #1c326b;
  font-size: 32px;
  font-family: 'Inter', sans-serif;
}

.testimonial-content {
  border-left: 4px solid #38a143;
  padding-left: 40px;
}

.testimonial-text {
  color: #4a4a4a;
  font-size: 18px !important;
  line-height: 1.8;
  font-weight: 500;
}

.testimonial-author {
  color: #1c326b;
  font-size: 18px !important;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-card {
  border: 1px solid #1c326b;
  border-radius: 16px;
  overflow: hidden;
  background-color: #fff;
}

.team-img-wrapper {
  width: 35%;
  position: relative;
  display: flex;
  align-items: flex-end;
  /* Align image to bottom */
  justify-content: center;
  /* Center horizontally */
  overflow: hidden;
  border-radius: 15px;
}

.team-img {
  /* width: 100%; */
  /* max-width: 100%; */
  height: 500px;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.team-content {
  width: 65%;
}

.team-text {
  color: #4a4a4a;
  font-size: 18px !important;
  line-height: 1.6;
  font-weight: 500;
}

.team-name {
  color: #1c326b;
  font-weight: 700;
  font-size: 18px !important;
}

@media (max-width: 767.98px) {
  .team-card {
    flex-direction: column !important;
    height: auto !important;
    /* Remove fixed height on mobile */
  }

  .team-img-wrapper {
    width: 100%;
    min-height: 300px;
    height: auto;
    border-radius: 0px;
  }

  .team-content {
    width: 100%;
  }
}

/* ==========================================================================
   4 Steps Section
   ========================================================================== */
.steps-container-bg {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 300px);
  border-radius: 40px 40px 0 0;
}

.steps-main-heading {
  color: #1c326b;
  font-size: 32px;
  font-family: 'Inter', sans-serif;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
}

.step-label {
  background-color: #1c326b;
  padding: 6px 14px 6px 18px;
  border-radius: 20px 0 0 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
  height: 32px;
  display: flex;
  align-items: center;
}

.step-number {
  background-color: #38a143;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -4px;
  z-index: 2;
  position: relative;
}

.step-title {
  font-size: 18px;
  color: #2a2a2a;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 8px;
}

.step-desc {
  color: #555555;
  font-size: 18px !important;
  line-height: 1.7;
  font-weight: 500;
}

.steps-cta-btn {
  background-color: #1c326b;
  padding: 6px 6px 6px 24px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.steps-cta-btn:hover {
  background-color: #152550;
  color: white;
}

.steps-cta-icon {
  background-color: #38a143;
  width: 40px;
  height: 40px;
}

.steps-img {
  border-radius: 20px;
}

/* ==========================================================================
   Expertise Section
   ========================================================================== */
.expertise-section {
  background-color: #f5f7f9;
}

.expertise-heading {
  color: #1c326b;
  font-size: 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.expertise-grid-container {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.expertise-item {
  padding: 35px 20px;
  text-align: center;
  border-right: 1px solid #f0f2f5;
  border-bottom: 1px solid #f0f2f5;
}

/* Desktop Borders */
@media (min-width: 992px) {
  .expertise-item:nth-child(5n) {
    border-right: none;
  }

  .expertise-item:nth-child(n+6) {
    border-bottom: none;
  }
}

/* Tablet Borders */
@media (max-width: 991.98px) and (min-width: 576px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-item:nth-child(2n) {
    border-right: none;
  }

  .expertise-item:nth-last-child(-n+2):nth-child(n+9) {
    /* Remove bottom border for last row elements in 2-col layout */
    border-bottom: none;
  }
}

/* Mobile Borders */
@media (max-width: 575.98px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-item {
    border-right: none;
  }

  .expertise-item:last-child {
    border-bottom: none;
  }
}

.expertise-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #f4f5f7;
  margin: 0 auto 16px auto;
}

.expertise-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.expertise-text {
  font-size: 18px !important;
  color: #3d4655;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Action Info Section
   ========================================================================== */
.action-btn {
  background-color: #1c326b;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background-color: #152550;
  color: white;
}

.action-info-box {
  background-color: #f3f5f8;
  border-radius: 20px;
  position: relative;
}

.action-info-text {
  color: #3d4655;
  font-size: 22px !important;
  line-height: 1.6;
}

.action-info-img-wrapper {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 28%;
  max-width: 320px;
  z-index: 2;
}

.action-info-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 160px 160px 0 0;
}

.note-heading {
  color: #1c326b;
  font-size: 18px;
}

.note-text {
  color: #4a4a4a;
  font-size: 18px !important;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .action-info-text {
    font-size: 18px;
  }

  .action-info-img-wrapper {
    position: relative;
    right: auto;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    margin-top: 30px;
  }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-heading {
  color: #1c326b;
  font-size: 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 30px;
}

.faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #eaeaea;
  border-radius: 0 !important;
  background-color: transparent;
}

.faq-accordion .accordion-button {
  padding: 20px 0;
  font-size: 18px;
  font-weight: 500;
  color: #4a4a4a;
  background-color: transparent !important;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #4a4a4a;
}

.faq-accordion .accordion-button::after {
  background-size: 14px;
}

.faq-accordion .accordion-body {
  padding: 0 0 24px 0;
  color: #6c757d;
  font-size: 17px;
  line-height: 1.7;
}

.faq-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  /* border-radius: 200px 200px 20px 200px; */
  /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); */
}

@media (max-width: 991.98px) {
  .faq-img {
    height: 400px;
    margin-bottom: 40px;
  }
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-img-wrapper {
  max-width: 400px;
}

.contact-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-form-card {
  background-color: #2b3d75;
  border-radius: 24px;
  background-image: url('../images/form-bg-bottom.png');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.contact-input {
  border-radius: 12px !important;
  font-size: 14px;
  color: #4a4a4a;
}

.contact-input::placeholder {
  color: #9ba3af;
}

.contact-submit-btn {
  background-color: #38a143;
  border-radius: 30px;
  transition: all 0.3s ease;
  min-width: 140px;
}

.contact-submit-btn:hover {
  background-color: #2d8536;
}



/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
  background-color: #f6f9fc;
  border-top: 1px solid #eef2f7;
}

.footer-text {
  font-size: 18px !important;
  color: #3d4655;
  line-height: 1.6;
}

@media (min-width: 992px) and (max-width: 1440px) {
  .action-info-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 160px 160px 0 0;
  }
}

.hover-opacity {
  transition: opacity 0.2s ease;
}
.hover-opacity:hover {
  opacity: 0.8;
}










.testimonial-section-second {
	padding: 80px 0;
	/* background-color: #f2f5f9; */
      margin-top: 80px !important;
}



.testimonial-box {
	background: #fff;
	padding: 50px 50px 40px 50px;
	border-radius: 8px;
	box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
	position: relative;
	border: 1px solid #e9ecef;
}

.quote-icon {
	background: #509e4f;
	color: #fff;
	font-size: 45px;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -40px;
	left: 50px;
	border-radius: 5px;
}

.testimonial-content-box p {
	color: #444;
	font-size: 17px;
	font-style: normal;
	font-weight: 500;
	line-height: 28px;
	margin-bottom: 30px;
	text-align: left;
}

.testimonial-content-box h4 {
	color: #222;
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	border-top: 1px solid #ddd;
	padding-top: 25px;
	margin: 0;
}
