/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background-color: #ffffff;
    z-index: 1000;
    border: none;
    box-shadow: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Logo Section */
.logo-section {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo {
    height: 110px;
    width: auto;
    display: block;
}

/* Navigation Styles */
.navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-family: sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #278fce;
}

.nav-link.active {
    color: #278fce;
}

/* CTA Button */
.cta-section {
    flex-shrink: 0;
}

.cta-button {
    display: inline-block;
    background-color: #face11;
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 40px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e6b90f;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
}

.mobile-nav-item {
    margin-bottom: 15px;
}

.mobile-nav-link {
    display: block;
    font-family: sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #278fce;
}

.mobile-cta-button {
    display: block;
    background-color: #face11;
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 40px;
    text-align: center;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.mobile-cta-button:hover {
    background-color: #e6b90f;
}

/* CSS Variables */
:root {
  --brand-blue: #278fce;
  --brand-yellow: #face11;
}

/* --- Hero Container --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 75vh;
  background-image: url("./assets/hero-family.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  padding: 0;
  margin-top: 90px;
}

/* --- Text Box --- */
.hero-text-box {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 50px;
  max-width: 600px;
  margin-left: 12vw;                /* moved slightly right from original 8vw */
  z-index: 2;
  position: relative;
  transform: scale(1.1);
}

.hero-text-box h1 {
  font-family: system-ui, sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 16px;
}

.hero-text-box .blue { 
  color: var(--brand-blue); 
}

.hero-text-box p {
  font-size: 18px;
  line-height: 1.5;
  color: #000000;
  margin-bottom: 24px;
}

.hero-text-box strong {
  font-weight: 700;
}

/* --- CTA Button --- */
.cta {
  display: inline-block;
  background: var(--brand-yellow);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 40px;
  transition: background 0.3s ease;
}

.cta:hover {
  background: #e6b90f;
}

/* --- Yellow Divider --- */
.yellow-divider {
  height: 16px;
  background-color: var(--brand-yellow);
  width: 100%;
}

/* --- Reviews Section --- */
.reviews-section {
  background-color: var(--brand-blue);
  height: calc(75vh / 2.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 30px 0;
}

.reviews-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.reviews-slider {
  display: flex;
  gap: 30px;
  width: calc(100% * 10);
  transition: transform 0.3s ease;
}

.review-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  min-width: 350px;
  max-width: 380px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.reviewer-info {
  text-align: center;
}

.reviewer-name {
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--brand-blue);
  margin: 0;
  text-align: center;
}

.reviewer-location {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0;
}

.star-rating {
  margin-bottom: 15px;
}

.star {
  color: var(--brand-yellow);
  font-size: 18px;
  margin-right: 2px;
}

.review-text {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  font-style: italic;
}

/* --- Our Services Section --- */
.services-section {
  background-color: #ffffff;
  padding: 40px 0;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.services-title {
  font-family: system-ui, sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
}

.title-our {
  color: #000000;
}

.title-services {
  color: var(--brand-blue);
}

.services-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.service-card {
  background-color: #f0f0f0;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 200px;
  min-width: 150px;
}

.service-card:hover {
  background-color: var(--brand-blue);
  border-color: #4a9fd1;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(39, 143, 206, 0.3);
}

.home-loans-card {
  background-color: #f0f0f0;
  border: 2px solid #e0e0e0;
}

.home-loans-card .service-name {
  color: var(--brand-blue);
}

.home-loans-card:hover {
  background-color: var(--brand-blue);
  border-color: #4a9fd1;
}

.home-loans-card:hover .service-name {
  color: #ffffff;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  position: relative;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.icon-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.service-card:hover .icon-normal {
  opacity: 0;
}

.service-card:hover .icon-hover {
  opacity: 1;
}

.service-name {
  font-family: system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-blue);
  margin: 0;
  transition: color 0.3s ease;
}

.service-card:hover .service-name {
  color: #ffffff;
}

.learn-more-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  position: relative;
}

.learn-more-btn {
  background-color: var(--brand-yellow);
  color: #000000;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #e6b90f;
}

/* Responsive Services Section */
@media (max-width: 1024px) {
  .services-row {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .service-card {
    flex: 0 0 calc(20% - 16px);
    max-width: 180px;
    padding: 25px 15px;
  }
  
  .service-name {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 30px 0;
  }
  
  .services-title {
    font-size: 36px;
    text-align: center;
  }
  
  .services-row {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .service-card {
    width: 150px;
    padding: 25px 15px;
  }
  
  .service-name {
    font-size: 18px;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  
  .learn-more-container {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .services-row {
    gap: 15px;
  }
  
  .service-card {
    width: 140px;
    padding: 20px 10px;
  }
  
  .service-name {
    font-size: 16px;
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
  }
}

/* --- Blogs Section --- */
.blogs-section {
  background-color: #f5f5f5;
  padding: 60px 0;
}

.blogs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blogs-title {
  font-family: system-ui, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 40px;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.blog-category {
  background-color: #f0f0f0;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-date {
  color: #999;
  font-size: 14px;
}

.blog-title {
  font-family: system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-description {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.read-time {
  color: #999;
  font-size: 14px;
}

.read-more {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #1a6b9a;
  text-decoration: underline;
}

.view-all-container {
  display: flex;
  justify-content: flex-end;
}

.view-all-btn {
  background-color: var(--brand-yellow);
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.view-all-btn:hover {
  background-color: #e6b90f;
}

/* --- Page Heading Section --- */
.blue-divider {
  height: 16px;
  background-color: var(--brand-blue);
  width: 100%;
}

.yellow-divider {
  height: 16px;
  background-color: var(--brand-yellow);
  width: 100%;
}

.page-heading {
  background-color: var(--brand-blue);
  padding: 100px 20px 40px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.page-heading-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-title {
  font-family: system-ui, sans-serif;
  font-size: 80px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1;
  text-align: center;
}

.page-heading .yellow-divider {
  width: 200px;
  height: 8px;
  background-color: var(--brand-yellow);
  margin: 0 auto;
  border-radius: 4px;
}

/* Responsive Page Heading */
@media (max-width: 1024px) {
  .page-title {
    font-size: 64px;
  }
  
  .page-heading {
    padding: 85px 20px 35px 20px;
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 48px;
  }
  
  .page-heading {
    padding: 75px 20px 30px 20px;
    min-height: 200px;
  }
  
  .page-heading .yellow-divider {
    width: 150px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 36px;
  }
  
  .page-heading {
    padding: 25px 20px;
  }
}

/* --- Services Page Content - NEW IMPLEMENTATION --- */
.services-main-content {
  background-color: #ffffff;
  padding: 0;
}

.services-card-section {
  padding: 40px 0;
  background-color: #ffffff;
}

.services-card-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 300px;
}

.services-image-wrapper {
  flex: 0 0 40%;
  position: relative;
  z-index: 2;
  margin-right: -20px;
  display: flex;
  align-items: stretch;
}

.services-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.services-content-wrapper {
  flex: 0 0 60%;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.services-blue-card {
  background-color: var(--brand-blue);
  border-radius: 0 20px 20px 0;
  padding: 30px 40px 30px 60px;
  width: 100%;
  box-shadow: 0 12px 32px rgba(39, 143, 206, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-card-title {
  font-family: system-ui, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1.2;
  text-align: left;
}

.services-card-description {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  color: #ffffff;
  line-height: 1.6;
  margin: 0 0 20px 0;
  text-align: left;
}

.services-card-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: auto;
}

.services-btn-learn {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 120px;
}

.services-btn-learn:hover {
  background-color: #ffffff;
  color: var(--brand-blue);
}

.services-btn-contact {
  background-color: var(--brand-yellow);
  color: #000000;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 120px;
}

.services-btn-contact:hover {
  background-color: #e6b90f;
  transform: translateY(-2px);
}

/* Responsive Services Cards */
@media (max-width: 1024px) {
  .services-card-container {
    min-height: 300px;
  }
  
  .services-image {
    height: 300px;
  }
  
  .services-blue-card {
    min-height: 300px;
    padding: 30px 40px 30px 60px;
  }
  
  .services-card-title {
    font-size: 32px;
  }
  
  .services-card-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .services-card-section {
    padding: 30px 0;
  }
  
  .services-card-container {
    flex-direction: column;
    gap: 0;
    min-height: auto;
  }
  
  .services-image-wrapper {
    flex: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
  }
  
  .services-image {
    border-radius: 20px 20px 0 0;
    height: 250px;
  }
  
  .services-content-wrapper {
    flex: none;
    width: 100%;
  }
  
  .services-blue-card {
    border-radius: 0 0 20px 20px;
    padding: 30px 25px;
    margin-left: 0;
    min-height: auto;
  }
  
  .services-card-title {
    font-size: 28px;
  }
  
  .services-card-description {
    font-size: 15px;
  }
  
  .services-card-buttons {
    flex-direction: column;
  }
  
  .services-btn-learn,
  .services-btn-contact {
    flex: none;
  }
}

@media (max-width: 480px) {
  .services-card-section {
    padding: 20px 0;
  }
  
  .services-card-container {
    padding: 0 15px;
  }
  
  .services-blue-card {
    padding: 25px 20px;
  }
  
  .services-card-title {
    font-size: 24px;
  }
  
  .services-card-description {
    font-size: 14px;
  }
}

.main-content .service-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  display: flex !important;
  align-items: center;
  min-height: 300px;
  flex-direction: row !important;
}

.main-content .service-image {
  position: relative;
  z-index: 2;
  flex: 0 0 45% !important;
  margin-right: -20px;
}

.main-content .service-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.main-content .service-content {
  position: relative;
  z-index: 1;
  flex: 0 0 55% !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.main-content .service-card {
  background-color: var(--brand-blue);
  border-radius: 0 30px 30px 0;
  padding: 30px 40px 30px 60px;
  width: 100%;
  box-shadow: 0 12px 32px rgba(39, 143, 206, 0.2);
  margin-left: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-content .service-title {
  font-family: system-ui, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.2;
  text-align: left;
}

.main-content .service-description {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.5;
  margin: 0 0 20px 0;
  text-align: left;
}

.main-content .service-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-end; /* Right align buttons */
  margin-top: auto;
}

.main-content .btn-learn-more {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 100px;
}

.main-content .btn-learn-more:hover {
  background-color: #ffffff;
  color: var(--brand-blue);
}

.main-content .btn-get-in-touch {
  background-color: var(--brand-yellow);
  color: #000000;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 100px;
}

.main-content .btn-get-in-touch:hover {
  background-color: #e6b90f;
  transform: translateY(-2px);
}

/* Responsive Services */
@media (max-width: 1024px) {
  .main-content .service-container {
    flex-direction: row;
    gap: 0;
  }
  
  .main-content .service-image {
    flex: 0 0 45%;
    margin-right: -20px;
  }
  
  .main-content .service-img {
    border-radius: 12px 0 0 12px;
    height: 250px;
  }
  
  .main-content .service-content {
    flex: 0 0 55%;
    width: auto;
  }
  
  .main-content .service-card {
    border-radius: 0 30px 30px 0;
    padding: 25px 30px 25px 50px;
    margin-left: 0;
    min-height: 250px;
  }
  
  .main-content .service-title {
    font-size: 28px;
  }
  
  .main-content .service-description {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .main-content .service-section {
    padding: 30px 0;
  }
  
  .main-content .service-container {
    flex-direction: column;
    gap: 0;
  }
  
  .main-content .service-image {
    flex: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
  }
  
  .main-content .service-img {
    border-radius: 12px 12px 0 0;
    height: 200px;
  }
  
  .main-content .service-content {
    flex: none;
    width: 100%;
  }
  
  .main-content .service-card {
    border-radius: 0 0 30px 30px;
    padding: 25px 20px;
    margin-left: 0;
    min-height: auto;
  }
  
  .main-content .service-title {
    font-size: 24px;
  }
  
  .main-content .service-description {
    font-size: 14px;
  }
  
  .main-content .service-buttons {
    flex-direction: column;
  }
  
  .main-content .btn-learn-more,
  .main-content .btn-get-in-touch {
    flex: none;
  }
}

@media (max-width: 480px) {
  .main-content .service-section {
    padding: 20px 0;
  }
  
  .main-content .service-container {
    padding: 0 15px;
  }
  
  .main-content .service-card {
    padding: 25px 20px;
  }
  
  .main-content .service-title {
    font-size: 24px;
  }
  
  .main-content .service-description {
    font-size: 15px;
  }
}

/* --- Footer Section --- */
.footer-section {
  background-color: var(--brand-blue);
  color: #ffffff;
  position: relative;
}

.footer-yellow-strip {
  height: 4px;
  background-color: var(--brand-yellow);
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
}

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

.footer-middle {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-nav-link:hover {
  color: var(--brand-yellow);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  color: var(--brand-yellow);
  font-size: 16px;
}

.contact-text {
  color: #ffffff;
  font-size: 14px;
}

.footer-right {
  display: flex;
  flex-direction: column;
}

.footer-services-heading {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.footer-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-services-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
}

.service-arrow {
  color: var(--brand-yellow);
  font-size: 12px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-social-heading {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  background-color: var(--brand-yellow);
  transform: translateY(-2px);
}

.social-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.social-link:hover .social-icon {
  filter: brightness(0) invert(0);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-left {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-middle {
    align-items: center;
    text-align: center;
  }
  
  .footer-right {
    align-items: center;
  }
  
  .footer-social {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 30px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-left {
    grid-column: 1;
    align-items: center;
  }
  
  .footer-middle {
    align-items: center;
    text-align: center;
  }
  
  .footer-right {
    align-items: center;
  }
  
  .footer-social {
    align-items: center;
  }
}


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

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

/* Main Content */
.main-content {
    padding: 40px 20px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.content-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #278fce;
}

.content-container p {
    font-size: 1.2rem;
    color: #666;
}

/* --- Responsiveness --- */
@media (max-width: 1600px) {
  .hero { 
    background-position: center 70%; 
  }
}

@media (max-width: 1200px) {
  .hero {
    background-image: url("./assets/hero-family-medium.jpg");
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 1024px) {
  .nav-list {
    gap: 30px;
  }
  
  .cta-button {
    padding: 10px 24px;
    font-size: 14px;
  }
  
  .hero {
    flex-direction: column;
    background-image: url("./assets/hero-family-small.jpg");
    background-size: cover;
    background-position: center;
    padding: 40px 0;
  }

  .hero-text-box {
    margin: 0 auto 32px;
    text-align: center;
    max-width: 560px;
    padding: 32px;
  }

  .hero-text-box h1 {
    font-size: 32px;
  }

  .hero-text-box p {
    font-size: 16px;
  }
}

/* Mobile Styles (≤ 768px) */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .navigation {
        display: none;
    }
    
    .cta-section {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo {
        height: 80px;
    }
    
    .header {
        height: 80px;
    }
    
    .main-content {
        margin-top: 80px;
    }
    
    .content-container h2 {
        font-size: 2rem;
    }
    
    .content-container p {
        font-size: 1rem;
    }
    
    /* Hero Section Mobile */
    .hero {
        margin-top: 80px;
        min-height: auto;
        background-position: center 80%;
    }
    
    .hero-text-box { 
        padding: 28px; 
        border-radius: 12px;
    }
    
    .hero-text-box h1 { 
        font-size: 28px; 
    }
}

/* Small Mobile Styles (≤ 480px) */
@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }
    
    .logo {
        height: 70px;
    }
    
    .header {
        height: 70px;
    }
    
    .main-content {
        margin-top: 70px;
    }
    
    .content-container h2 {
        font-size: 1.8rem;
    }
    
    /* Hero Section Small Mobile */
    .hero {
        margin-top: 70px;
    }
    
    .hero-text-box {
        padding: 20px;
    }
    
    .hero-text-box h1 {
        font-size: 24px;
    }
    
    .hero-text-box p {
        font-size: 14px;
    }
    
    .cta {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ===== BLOG SECTION STYLES (BLOGS PAGE ONLY) ===== */
.blogs-page .blogs-section {
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.blogs-page .blogs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Blog cards for blogs page only */
.blogs-page .blog-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blogs-page .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blogs-page .blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blogs-page .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blogs-page .blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blogs-page .blog-content {
    padding: 30px;
}

.blogs-page .blog-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.blogs-page .blog-summary {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.blogs-page .blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.blogs-page .blog-date {
    color: #999;
}

.blogs-page .blog-category {
    background-color: var(--brand-blue);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blogs-page .blog-read-more {
    display: inline-block;
    background-color: var(--brand-yellow);
    color: #000000;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.blogs-page .blog-read-more:hover {
    background-color: #e6b90f;
}

/* Blog Section Responsive (Blogs Page Only) */
@media (max-width: 768px) {
    .blogs-page .blogs-section {
        padding: 60px 20px;
    }
    
    .blogs-page .blogs-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blogs-page .blog-content {
        padding: 25px;
    }
    
    .blogs-page .blog-title {
        font-size: 18px;
    }
    
    .blogs-page .blog-summary {
        font-size: 15px;
    }
}

/* ===== INDIVIDUAL BLOG PAGE STYLES ===== */
.blog-page-body .blog-page {
    padding: 120px 20px 80px 20px;
    background-color: #f5f5f5;
}

.blog-page-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-page-header {
    padding: 40px 40px 20px 40px;
    border-bottom: 1px solid #e0e0e0;
}

.blog-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.blog-page-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.blog-page-content {
    padding: 40px;
}

.blog-page-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 30px 0 15px 0;
    line-height: 1.3;
}

.blog-page-content h2:first-child {
    margin-top: 0;
}

.blog-page-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.blog-page-content ul {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.blog-page-content li {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 8px;
}

.blog-page-content strong {
    font-weight: 700;
    color: var(--brand-blue);
}

.blog-page-content em {
    font-style: italic;
    color: #666;
}

.blog-page-content a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
}

.blog-page-content a:hover {
    text-decoration: underline;
}

.blog-page-cta {
    background-color: var(--brand-blue);
    color: #ffffff;
    padding: 20px 40px;
    text-align: center;
}

.blog-page-cta h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
}

.blog-page-cta a {
    display: inline-block;
    background-color: var(--brand-yellow);
    color: #000000;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.blog-page-cta a:hover {
    background-color: #e6b90f;
}

/* Blog Page Responsive */
@media (max-width: 768px) {
    .blog-page-body .blog-page {
        padding: 100px 15px 60px 15px;
    }
    
    .blog-page-header {
        padding: 30px 25px 15px 25px;
    }
    
    .blog-page-title {
        font-size: 24px;
    }
    
    .blog-page-content {
        padding: 25px;
    }
    
    .blog-page-content h2 {
        font-size: 20px;
    }
    
    .blog-page-content p,
    .blog-page-content li {
        font-size: 15px;
    }
    
    .blog-page-cta {
        padding: 20px 25px;
    }
}

/* Floating Get Started Button */
.floating-get-started-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--brand-yellow);
    color: #000000;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 50px;
    font-family: system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 140px;
}

.floating-get-started-btn:hover {
    background-color: #e6b90f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-get-started-btn span {
    display: block;
}

/* Responsive Floating Button */
@media (max-width: 768px) {
    .floating-get-started-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 14px;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .floating-get-started-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 18px;
        font-size: 13px;
        min-width: 110px;
    }
}

