/* Global Styles */
body, html {
  overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
   background-attachment: fixed;
} 


a {
    text-decoration: none;
}



/* Header */
header {
  position: fixed;              
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;          
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); 
  z-index: 1000;                
  transition: background 0.3s ease, box-shadow 0.3s ease;
}


.header-container {
  display: grid;
grid-template-columns: 200px 1fr 200px; 
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.3rem 0rem 0rem 0rem;
}
 
.logo img {
  height: 50px;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigation menu */
.nav-menu {
  display: flex;
  gap: 2rem; 
}

.nav-menu a {
  color: #333;
  font-size: 0 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
  color: #e91e63; /* pink accent */
  border-bottom: 2px solid #e91e63;
}

.contact-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: flex-end;
  white-space: nowrap; /* prevents number from breaking into next line */
}


.phone-link {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-link:hover {
  color: #e91e63;   
}


.icon {
  width: 20px;   /* Adjust size */
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}

.phone-link, .whatsapp-link {
  text-decoration: none;
  font-size: 18px;
  color: #000; /* adjust to match your header */

  display: flex;
  align-items: center;
  padding-bottom: 0.2rem;
}

.phone-link:hover img,
.whatsapp-link:hover img {
  opacity: 0.7;  /* nice hover effect */
}


/* Responsive for mobile */
@media (max-width: 768px) {
    .header-container {
        display: flex;          
        flex-direction: row;
        position: relative;     
        justify-content: space-between;
        align-items: center;
        
    }	
}



  /* Hamburger icon */

/* Default: hide hamburger (desktop) */
.hamburger {
  display: none;  
}



/* Mobile hamburger */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #003366; 
    cursor: pointer;
    z-index: 10001; 
    transition: color 0.3s ease;
  }

  .phone-link, .whatsapp-link {
       display: none;
    }

  /* Mobile menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 150px;
    background-color: #fce4ec;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem 1rem;
    transition: right 0.3s ease;
    z-index: 10000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    color: #003366;
    font-size: 1.2rem;
    padding: 0.5rem 0;
  }

  /* When menu is open, make hamburger white */
  header.menu-open .hamburger {
    color: #003366;
  }

  /* Header container adjustments */
  .header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}




/*********** Call & Whatsapp buttons *************/
/* Floating buttons container */
.floating-buttons {
  position: fixed;
  bottom: 120px; /* leave space above Elfsight chat icon */
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* Floating icons (no white circle) */
.floating-buttons .fab img {
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

/* Hover effect */
.floating-buttons .fab img:hover {
  transform: scale(1.1);
}

/* Chat icon */
#truhands-chat-icon {
  position: fixed;
  bottom: 22px;
  right: 10px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#truhands-chat-icon img { width: 70%; height: 70%; object-fit: contain; }

/* Popup */



#truhands-chat-popup {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 360px;
  max-width: calc(100% - 40px);
  height: 510px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  display: none; /* shown via JS */
  flex-direction: column;
  overflow: hidden;
  z-index: 12001;
  font-family: 'Inter', sans-serif;
}

/* Header */
.th-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #e91e63		;
  color: #fff;
}
.th-chat-title {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1px;
}
.th-close-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.95);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
}
.th-close-btn:hover { background: rgba(255,255,255,0.06); }

/* Chat content area */
.th-chat-content {
  padding: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #f7fbff 100%);
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Inter', sans-serif;
}

/* Message bubbles */
.chat-bubble {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 16px;
  word-wrap: break-word;
  line-height: 1.35;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(16,24,40,0.04);
}

/* User (pink) - aligned right */
.chat-user {
  background: #e91e63; /* Pink gradient */
  color: #fff;
  align-self: flex-end;          /* Right side */
  padding: 10px 16px;            /* Padding inside the bubble */
  border-radius: 24px;           /* Full rounded pill shape */
  max-width: 70%;                /* So long messages wrap */
  word-wrap: break-word;         /* Wrap long text */
  margin-bottom: 6px;            /* Space between messages */
  display: inline-block;         /* Make bubble shrink to content */
  box-shadow: 0 2px 4px rgba(0,0,0,0.15); /* subtle shadow */
}

/* Bot (grey) - aligned left */
.chat-bot {
  background: #f2f4f7;
  color: #0f1724;
  align-self: flex-start;        /* Left side */
  padding: 10px 16px;
  border-radius: 24px;
  max-width: 100%;
  word-wrap: break-word;
  margin-bottom: 6px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Typing indicator (three dots) */
.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 12px;
  background: #e9eef8;
}
.typing .dot {
  width: 6px;
  height: 6px;
  background: #6b7280;
  border-radius: 50%;
  opacity: 0.2;
  animation: blink 1s infinite;
}
.typing .dot:nth-child(2) { animation-delay: 0.2s; }
.typing .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
  100% { opacity: 0.2; transform: translateY(0); }
}

/* Bottom input card (floating) */
.th-input-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(15,23,42,0.06);
  background: #fff;
}

/* Input */
.th-input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.06);
  outline: none;
  font-size: 14px;
  background: #fbfdff;
}

/* Send button */
.th-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg,#ff5fa6,#ff3d86);
  border: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,95,166,0.18);
}
.th-send-btn svg { transform: rotate(-45deg); color: white; }



/* Responsive tweaks */
@media (max-width: 480px) {
  #truhands-chat-popup {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 80px;
    height: 62vh;
    border-radius: 12px;
  }
  #truhands-chat-icon { right: 16px; bottom: 18px; width: 56px; height: 56px; }
}




/* Main Content */
main {
    
    margin: auto;
    padding: 0rem;
}



/****** Hero Section*******/

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Hero image that covers full background */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/hero4.webp');
  background-size: cover; 
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Text overlay */
.hero-content {
  position: absolute;
  top: 55%;
  left: 4%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  max-width: 35%;
  color: #1A2B4C;
}

/* Headline */
.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-align: left;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4); /* makes text readable */
  color: #1A2B4C;
}

/* Subtitle */
.hero-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

/* Button */
.hero-btn {
  display: inline-block;
  background-color: #ff4d6d;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background-color: #d6336c;
  transform: translateY(-2px);
}

.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
  
  .mobile-hero {
    background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
    border-radius: 0 0 50px 50px;
    color: white;
    padding: 10rem 1rem 2rem 1rem;
    text-align: center;
    height: 50vh;
  }

  .mobile-hero-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
  }

  .mobile-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    color: #333;
  }
}


/* Elderly Problems Section */

.problems-section {
  padding: 1rem 2rem;
  background: linear-gradient(to bottom, #f9f7fb 0%, #f3e8f8 40%, #fdf7fb 100%);
  text-align: center;
}

.problems-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #e91e63;
}

.problems-section .section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto 50px;
}

.problems-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Card */
.problem-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Image full width */
.problem-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Bottom section */
.problem-bottom {
  display: flex;
  align-items: center;
  background-color: #333; /* dark background for contrast */
  padding: 0.8rem 1rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Percentage box */
.percentage {
  background-color: #e91e63; /* pink accent */
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  margin-right: 1rem;
  min-width: 60px;
  text-align: center;
}

/* Problem text */
.problem-text {
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: left;
}


@media (max-width: 768px) {

  .problems-section {
  background: 
      radial-gradient(circle at 30% 30%, #f0f4f8 0%, transparent 40%),
      radial-gradient(circle at 70% 70%, #ffeef0 0%, transparent 40%);
    background-color: #fafafa; /* subtle base */
    background-repeat: no-repeat;
    background-size: cover;
    padding: 3rem 1rem;
    border-radius: 12px;
    text-align: center;
}

.problems-section .section-title {
  font-size: 1.7rem;

}


}


/********** How TruHands Can Help **********/

.how-help-section {
  padding: 5rem 2rem 3rem;
  background: radial-gradient(circle at 20% 30%, #e0f7fa 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, #ffe0e0 0%, transparent 40%),
              radial-gradient(circle at 50% 50%, #f3e5f5 0%, transparent 50%);

  display: flex;
  justify-content: center;
  position: relative;
}

.how-help-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  padding: 4rem 2rem 2rem;
  max-width: 1200px;
  width: 90%;
  position: relative;
}

/* Pill-shaped title overlapping top border */
.box-title-pill {
  position: absolute;
  top: -25px;             
  left: 50%;
  transform: translateX(-50%);
  background: #fff;        
  color: #e91e63;         
  border: 1px solid rgba(0,0,0,0.3); /* light black border */
  font-size: 2rem;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;    
  text-align: center;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}



/* Subtitle inside the box */
.section-subtitle-full {
  width: 100%;
  max-width: 100%;
  margin: 1rem 0 2rem 0; /* spacing above and below */
  font-size: 1.1rem;
  color: #555;
  text-align: left; /* or left if you prefer */
}

.how-help-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Content layout: left text, right image */
.how-help-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.how-help-text h3 {
  color: #004aad;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.how-help-text p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.how-help-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  height: 120%;
}

/* Responsive */
@media (max-width: 768px) {
  .how-help-content {
    grid-template-columns: 1fr;
  }

  .box-title-pill {
    font-size: 1.5rem;          
    padding: 0.5rem 1rem;     
    white-space: nowrap;       
    display: inline-block;     
    top: -15px;  
  }

  .how-help-text h3 {
    font-size: 1.1rem;
  }

  .how-help-text p, .section-subtitle {
    font-size: 0.95rem;
  }
}




/********* Services Section ***********/

.services-section {
  padding: 20px;
  background: radial-gradient(circle at 20% 30%, #e0f7fa 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, #ffe0e0 0%, transparent 40%),
              radial-gradient(circle at 50% 50%, #f3e5f5 0%, transparent 50%);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.services-section .section-title {
  font-size: 2.4rem;
  margin-bottom: 10px;
  text-align: center;
  color: #e91e63;
}

.services-section .section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  text-align: center;
  color: #666;
}

.services-table {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.service-cell {
  flex: 1 1 48%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.service-cell.right {
  flex-direction: row-reverse;
}

.circle-img.large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.service-text h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #222;
}

.service-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.btn-services {
    display: inline-block;
    background: #ff4d6d;
    color: #fff;
    padding: 0.8rem 2rem; /* slightly wider than before */
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.btn-services:hover {
  background: #d6336c;
}


/***** Services New **********/



/********** Chronic Care************/

/* Chronic Care Section */
.chronic-care-home {
  padding: 20px;
  background: linear-gradient(to bottom, #ffffff 0%, #ffeef5 40%, #fff5fa 100%);
  text-align: center;
}

.chronic-care-home .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #e91e63;
}

.chronic-care-home .section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto 50px;
}

.chronic-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.chronic-card-home {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.chronic-card-home img.chronic-img-home {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Card accent colors */
.chronic-card-home:nth-child(1) {
  border-top-color: #e67e22; /* Cancer */
}
.chronic-card-home:nth-child(2) {
  border-top-color: #2980b9; /* Dementia */
}
.chronic-card-home:nth-child(3) {
  border-top-color: #27ae60; /* Arthritis */
}

/* Hover effect -> light pink */
.chronic-card-home:hover {
  background: linear-gradient(145deg, #fff0f6, #fde6fa);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.chronic-card-home h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.chronic-card-home p {
  font-size: 0.95rem;
  color: #444;
}

.chronic-cta-home {
  margin-top: 50px;
}


.cta-button-home {
    display: inline-block;
    background: #ff4d6d;
    color: #fff;
    padding: 0.8rem 2rem; /* slightly wider than before */
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-home:hover {
    background: #d6336c;
}



/**** Custome Services - CareTaker, Nursing, Maid *****/

.custom-services-section {
  padding: 2rem;
  background: linear-gradient(to bottom,#ffffff 0%, #f8fcef 50%, #f0f5f9 100%);
  text-align: center;
}

.custom-services-section .section-title {
   font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #e91e63;
}

.custom-services-section .section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto 50px;
}


.custom-services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0rem;
}

.custom-services-section .service-block {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-services-section .service-block img {
  width: 100%;
  height: 250px; /* all images same height */
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-services-section .service-block:hover img {
  transform: scale(1.05);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.custom-services-section .service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 1rem, 1rem, 1rem, 2rem ;
  transition: background 0.3s ease;
}

.custom-services-section .service-overlay h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.custom-services-section .service-overlay p {
  font-size: 1rem;
  margin: 0;
}

.custom-services-section .service-block:hover .service-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.btn-wrapper {
    text-align: center; /* centers the button */
    margin-top: 2.5rem; /* spacing from grid */
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #ff4d6d;
    color: #fff;
    padding: 0.8rem 2rem; /* slightly wider than before */
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #d6336c;
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}




/* Why Choose TruHands Section */
.why-choose {
  background: #ffffff;
  padding: 2rem 2rem;
  text-align: center;
}

.why-choose .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #222;
  position: relative;
}

.why-choose .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6cab, #7366ff);
  margin: 1rem auto 0 auto;
  border-radius: 2px;
}

.why-choose .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-choose .card {
  background: #fafafa;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.why-choose .card img {
  width: 60px;
  margin-bottom: 1rem;
}

.why-choose .card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.why-choose .card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}



/************* Google Reviews *****************/

.reviews-section {
  padding: 20px 10px;
  background-color: #f9f9f9;
  position: relative;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 20px;
}

.reviews-header h2 {
  font-size: 2rem;
  color: #333;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.arrow {
  background-color: #0078d4;
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 1.2rem;
  border-radius: 6px;
  cursor: pointer;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: none;
}

.review-card {
  width: 300px; /* fixed width */
  min-height: 250px; /* consistent height */
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  font-size: 1.8rem;
  color: #FFD700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}


.quote {

  font-style: italic;
  color: #555;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author {
   font-size: 0.95rem;
  font-weight: 500;
  color: #e91e63;
  display: block;
  white-space: normal;
}

.carousel-dots {
  text-align: center;
  margin-top: 20px;
}

.carousel-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: #0078d4;
}


/ ************** end of google reviews ******************/



/* Final CTA Wrapper */
.final-cta-sec {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f9f7fb 0%, #f3e8f8 40%, #fdf7fb 100%);
  text-align: center;
}

.cta-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 2rem;
  align-items: start;
}

.cta-form-wrapper {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #e91e63;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto 50px;
}

/* 🔹 Form layout fix */
.cta-form .form-group {
  margin-bottom: 1rem;
  flex: 1;
}

.cta-form input,
.cta-form textarea {
  width: 100%;   /* prevent overlap */
  box-sizing: border-box; /* ensures padding doesn’t overflow */
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

/* Two-column form rows */
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.full-width {
  width: 100%;
}

/* Button */
.cta-button {
  display: inline-block;
  background: #ff4d6d;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #d6336c;
}

/* Right Column */
.cta-info {
  padding: 2rem;
  text-align: left;
}

.cta-info h3 {
  margin-bottom: 1.5rem;
  color: #004aad;
}

.cta-info p {
  margin: 0.8rem 0;
  font-size: 1rem;
  color: #333;
  text-align: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #333;
}

.contact-item img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  color: #004aad;
  font-weight: 500;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ff4d6d;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-container {
    grid-template-columns: 1fr;
  }
.form-row {
    flex-direction: column;
  }
}




/* Footer Section */


.modern-footer {
  background-color: #0b1d4d; /* navy blue */
  color: #fff;
  padding: 3rem 2rem 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d0d0d0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: #c0c0c0;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #f04e23; /* brand accent color */
}

.footer-logo img {
  max-width: 250px;
  margin-bottom: 1rem;
}

/* App links */
.app-links a img {
  height: 40px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.app-links a img:hover {
  transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-links {
    margin-top: 0.5rem;
  }
}



/******** Terms Modal ***********/

.terms-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  padding: 20px 0 0 0;
}

.terms-modal-content {
  background: #fff;
  border-radius: 12px;
  width: 95%;
  height: 95%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 26px;
  color: #555;
  cursor: pointer;
}
.close-btn:hover {
  color: #000;
}

.terms-iframe {
  border: none;
  width: 100%;
  height: 100%;
  border-radius: 0 0 12px 12px;
}

.footer {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: #555;
}

.footer a {
  color: #007bff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/***** Loader *******/
   .loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #truhandsLoader {
    width: 80px;
    height: 80px;
    animation: spin 1.2s linear infinite;
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .loader-text {
    margin-top: 15px;
    font-size: 16px;
    color: #333;
  }