



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fffaf5;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: red;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height:50px
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fffbe6;
}

nav a {
    color: #fff;
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffd6d6;
}

.parallax-hero {
    background-image: url('/static/images/Free Photo _ Family spending time together at home.jpeg'); 
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    height: 100vh;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero .overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* soft overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: inherit;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease forwards;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 2s ease forwards;
}

.cta-button {
    background-color: #fffbe6;
    color: #b80000;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #b80000;
    color: #fffbe6;
    transform: scale(1.05);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #fffbe6;
    color: #fffbe6;
}

.cta-button.secondary:hover {
    background-color: #fffbe6;
    color: #b80000;
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
.features {
    display: flex;
    justify-content: space-around;
    padding: 3rem 1rem;
    background-color: #fff5ee;
    text-align: center;
    flex-wrap: wrap;
}

.feature-card {
    position: relative; /* needed for overlay */
    flex: 1 1 30%;
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    height: 600px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: #fff; /* default white text */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Dark overlay for better readability */
/* .feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0); 
    z-index: 0;
} */

/* Make sure text appears above overlay */
.feature-card h2,
.feature-card p {
    position: relative;
    z-index: 1;
  ;
}


/* Text shadow for extra clarity */
.feature-card h2 {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* Darker text ONLY for Speed and Support headings */
.feature-card:nth-child(1) h2,
.feature-card:nth-child(2) h2 {
    color: #222; /* dark gray/black */
    text-shadow: none; /* remove shadow for clean dark text */
}
.feature-card:nth-child(1) p,
.feature-card:nth-child(2) p {
    color: #222; /* dark gray/black */
    text-shadow: none; /* remove shadow for clean dark text */
}

footer {
    background-color: #b80000;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
}

/* About Page */
.about-container {
    padding: 4rem 1rem;
    background-color: #fffaf5;
    height:1500px;
}

.about-title {
    color: #b80000;
    text-align: center;
    margin-bottom: 2rem;
}

.about-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #555;
}

.about-intro .highlight {
    color: #b80000;
    font-weight: bold;
}

.about-cards {
    display: flex; /* changed from absolute */
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    padding-bottom: 3%;
}

.card {
    position: relative;
    flex: 1 1 calc(30% - 2rem);
    min-height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    padding: 2rem;
    color: #fff; /* light text */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Dark overlay for text visibility */
.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* semi-transparent black */
    z-index: 0;
}

/* Ensure text is above overlay */
.card h2,
.card p,
.card ul {
    position: relative;
    z-index: 1;
    margin: 0 0 0.5rem;
}

/* Styling for the title inside each card */
.card h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Make list items more visible */
.styled-list li {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.styled-list {
    padding-left: 1.2rem;
    list-style-type: none;
}

.styled-list li {
    margin-bottom: 0.75rem;
}

.flash-messages {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.flash {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.flash.success {
    background-color: #d4edda;
    color: #155724;
}

.flash.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* === Services Section Styling === */
.services-section {
    padding: 4rem 2rem;
    background: var(--off-white);
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #444;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.services-heading {
  color: red; /* Stylish deep red */
  font-family: 'Poppins', sans-serif; /* Modern clean font */
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 2rem 0;

  /* Stylish text shadow for depth */
  text-shadow: 2px 2px 8px rgba(0,0,0,0.15);
}

.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 500px;
    
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding:1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-overlay {
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    color: white;
    height: 100%;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px;
}

.card-overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-overlay p {
    font-size: 1rem;
}


/* === Contact Section Styling === */
.contact-section {
    background: #fffaf5;
    padding: 60px 20px;
    border-top: 5px solid #cc0000;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #cc0000;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 40px;
    font-style: italic;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffece5;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    text-align: left;
    font-weight: bold;
    color: #cc0000;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 2px solid #cc0000;
    border-radius: 10px;
    font-size: 1rem;
    background: #fffaf5;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #990000;
    outline: none;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background-color: #cc0000;
    color: #fff;
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #a30000;
}

.pricing-section {
  padding: 4rem 2rem;
  background: #fef7f7;
  color: #3a0d0d;
  text-align: center;
}

.plans-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.plan-card {
  background: #fff;
  border: 2px solid #c0392b;
  border-radius: 1rem;
  padding: 1.5rem;
  width: 340px;
  box-shadow: 0 4px 12px rgba(200, 30, 30, 0.1);
  transition: transform 0.3s;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-card h2 {
  color: #c0392b;
  margin-bottom: 1rem;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
}

.plan-table th, .plan-table td {
  padding: 0.5rem;
  border-bottom: 1px solid #f0c0c0;
}

.plan-table td {
  text-align: center;
}

.btn-small {
  padding: 0.3rem 0.8rem;
  background: #d63031;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.btn-small:hover {
  background: #b71c1c;
}


/* Slide-in nav styles */
/* Toggle button */
.slide-toggle-btn {
  font-size: 28px;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1003;
  background: #fff;
  border: none;
  color: #111;
  cursor: pointer;
  border-radius: 5px;
  padding: 5px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Side navigation panel */
.side-nav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1002;
  top: 0;
  left: 0;
  background-color: #ffece5;
  overflow-x: hidden;
  transition: 0.4s ease;
  padding-top: 60px;
}

.side-nav a {
  padding: 12px 30px;
  display: block;
  font-size: 18px;
  color: red;
  text-decoration: none;
  transition: 0.3s;
}

.side-nav a:hover {
  background-color: #333;
}

.side-nav .closebtn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 36px;
}

/* Blur background when nav is open */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1001;
  display: none;
  transition: 0.3s ease;
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in-out;
}

.faq-section h1 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #2b2b2b;
  position: relative;
}

.faq-section h1::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #007bff;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

.faq-item {
  margin-bottom: 30px;
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 6px solid #007bff;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.faq-item h2 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 17px
}

.stats-section {
    position: relative;
    background-image: url('/static/images/stat.jpeg');
    background-size: cover;
    background-position: center;
  background-repeat: no-repeat;
    padding: 4rem 2rem;
    text-align: center;
    z-index: 0;
    height: 400px;
}

.stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for clarity */
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2; /* Keep stats above overlay */
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-box {
    background: var(--cream);
    padding: 2rem;
    border-radius: 12px;
    width: 200px;
    box-shadow: 0 4px 12px rgba(219, 208, 205, 0.836);
}

.stat-box h2 {
    color: #c3ddeb;
    font-size: 2.5rem;
}

.stat-box p {
    color: red;
    margin-top: 0.5rem;
    font-weight: bold;
}

/* Locations Section */
.location-section {
  display: absolute;
  gap: 2rem;
  padding: 3rem 2rem;
  /* background: #f9f9f9; */
  flex-wrap: wrap;
}

.location-card {
  /* background: white; */
  display: absolute;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex: 1 1 calc(50% - 1rem);
  height: 400px;
}

.location-card h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #0077b6;
}

.swiper {
  width: 100%;
  height: 300px;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Keep text at bottom */
  height: 500px;
  background-size: cover; /* Makes image fill without splitting */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  overflow: hidden;
  color: white; /* Ensures text is visible */
  padding-bottom: 1rem; /* Space for text */
}


.swiper-slide p {
  margin-top: 0.5rem;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 768px) {
  .location-section {
    flex-direction: column;
  }
}



/* Target the first h1 and the "Our Services Include" h1 */
.home-heading,
.services-heading {
  text-align: center;
  font-size: 2.5rem;
  margin: 2rem auto;
  color: #333; /* Adjust to match your theme */
}
@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1rem;
}
  nav{
    display: absolute;
    flex-direction: column;
    width: 100%;
}
  nav a {
    margin-left: 1rem;
    margin: 0.5rem 0;
    font-sizes: 1rem;
}
  header {
    height: auto;
    padding: 1rem;}
  logo { 
    margin-bottom: 1rem;
}}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
}
  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
}
  .cta-buttons {
    flex-direction: column;
    gap: 0.5rem;
}}

@media (max-width: 768px) {
  .features {
    flex-directions: column;
    align-items: center;
}
  .feature-card {
    flex: 1 1 100%;
    max-width: 90%;
    height: auto;
}
  .about-cards {
    flex-direction: column;
    align-items: center;
}
  .card {
    flex: 1 1 100%;
    max-width: 90%;
    height: auto;
}}

@media (max-width: 768px) {
  .plans-container, .services-grid {
      flex-direction: column;
      align-items: center;
}
  .plan-card, .service-card {
  width: 90%;
}}

@media (max-width: 768px) {
  .stats-section{
      position: relative;
      height: 700px;}
  .stats-container {
    display:absolute;
    justify-content: center;
    width:100%;
    padding: 1rem;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
}
  .stats-box {
    dipslay: flex;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box

}
  .stat-box h3, .stat-box p {
    word-wrap: break-word;
}

  .location-section {
    flex-direction: column;
    align-items: center;
}
  .location-card {
    width: 90%;
    height: auto;
}}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
}
  .section-title {
    font-size: 1.8rem;
}
  .section-subtitle{
    font-size: 1rem;
}
  .services-heading, .home-heading {
    font-size: 2rem;
}
@media (max-width:768px) {
    .about-container {
        padding: 4rem 1rem;
        backgroundcolour: #fffaf5;
        height: 2300px;
}
   .about-cards { 
       display: flex;
       flex-wrap: wrap;
       gap: 2rem;
       justify-content: space-around;
       padding-bottom: 3%;

}
@media (max-width: 768px) {
  footer {
    padding: 1.5rem0;
    font-size: 0.9rem;
}}
