/* ========================================
   Star Care Works - Consolidated Master Stylesheet
   Modern Clean Theme with Rounded Buttons
   Based on: Clean white, teal accents, rounded elements
   ======================================== */

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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
}

/* ========================================
   Color Variables - Clean & Modern Theme
   ======================================== */
:root {
  /* =========================
     STAR CARE WORKS – Brand Palette (from logo)
     ========================= */
  --scw-blue: #3D7296;          /* Main logo text blue */
  --scw-gold: #C48F4A;          /* Star gold */
  --scw-gold-dark: #BE8235;     /* "Compassionate Caregivers" gold */
  --scw-accent-red: #D42621;    /* Heart accent (optional) */
  --scw-navy: #273856;          /* Deep navy accent (optional) */

  /* Background gradient tones (from logo background) */
  --scw-bg-top: #FDFEFE;        /* Near-white */
  --scw-bg-top-2: #F0F7FC;      /* Very light sky */
  --scw-bg-mid: #E2ECF5;        /* Soft light blue */
  --scw-bg-mid-2: #C6E1F7;      /* Brighter mid blue */
  --scw-bg-bottom: #9FC2DC;     /* Deeper blue corner */
  --scw-bg-bottom-2: #A4D2F2;   /* Aqua tint */

  /* =========================
     Website Theme Tokens (mapped to logo colors)
     ========================= */
  --primary: var(--scw-blue);            /* Buttons/links */
  --primary-light: var(--scw-bg-mid-2);  /* Light gradient / soft fills */
  --primary-dark: var(--scw-navy);       /* Hover states / headings accents */

  --secondary: var(--scw-bg-top-2);      /* Light background sections */
  --accent: var(--scw-bg-mid);           /* Subtle cards / highlights */

  --gray-light: #F8FAFC;                 /* Neutral light gray */
  --gray: #64748B;                       /* Body text gray */
  --dark: var(--scw-navy);               /* Headings / strong text */

  --white: #FFFFFF;
  --black: #000000;

  /* Optional brand highlight for CTAs/badges */
  --highlight: var(--scw-gold);
  --highlight-dark: var(--scw-gold-dark);

  /* =========================
     Shadows (tinted using brand blue)
     ========================= */
  --shadow-sm: 0 2px 8px rgba(61, 114, 150, 0.08);
  --shadow-md: 0 10px 25px rgba(61, 114, 150, 0.10);
  --shadow-lg: 0 20px 40px rgba(61, 114, 150, 0.15);
  --shadow-hover: 0 15px 35px rgba(61, 114, 150, 0.20);

  /* =========================
     Borders / Footer
     ========================= */
  --border-light: #E2E8F0;

  --footer-text: #CBD5E1;
  --footer-border: #334155;

/* Gradient Colors */
--gradient-start: #3D7296;  /* Darker blue */
--gradient-end: #C6E1F7;    /* Lighter blue */

/* Complementary Colors */
--text-on-gradient: white;   /* Text color on gradient */
--button-bg: white;          /* Phone button background */
--button-text: #3D7296;      /* Phone button text */
--button-hover-bg: #3D7296;  /* Phone button hover */
--button-hover-text: white;  /* Phone button hover text */




  /* Optional page background gradient helper */
  --page-bg-gradient: linear-gradient(
    135deg,
    var(--scw-bg-top) 0%,
    var(--scw-bg-mid) 45%,
    var(--scw-bg-bottom) 100%
  );
}
/* ========================================
   Typography - Clean & Modern
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.5px;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.3px;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 5%;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    left:0px;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
    width: 300px;
}

.logo span {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    letter-spacing: normal;
    font-family: 'Segoe UI', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.phone-header {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    background: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-sm);
}

.phone-header:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    

  
}

/* ========================================
   Buttons - Super Stylish & Rounded
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ========================================
   Container and Layout
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 5%;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 50px;
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-size: 1.2rem;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-header.light h2::after {
    background: var(--white);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e6f3f3 100%);
    color: var(--dark);
    padding: 6rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "STARCAREWORKS";
    position: absolute;
    top: 20%;
    right: 5%;
    font-size: 8rem;
    font-weight: 700;
    opacity: 0.03;
    color: var(--primary);
    transform: rotate(-5deg);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header (for interior pages) */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e6f3f3 100%);
    color: var(--dark);
    padding: 4rem 5%;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray);
}

/* ========================================
   Service Hero (for individual service pages)
   ======================================== */
.service-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 5%;
    border-radius: 30px;
    margin: 2rem 5%;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 6rem;
    font-weight: 700;
    opacity: 0.1;
    color: white;
    white-space: nowrap;
    transform: rotate(-5deg);
    pointer-events: none;
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ========================================
   Cards and Grids
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--accent);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.service-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: var(--accent);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    transition: all 0.3s;
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.feature-item h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   About Preview Section
   ======================================== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    background: var(--accent);
    padding: 1.8rem 1rem;
    border-radius: 20px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 30px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: "STAR CARE WORKS";
    position: absolute;
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.1;
    color: var(--white);
    transform: rotate(-15deg);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -30px;
    left: -15px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 5%;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "STAR CARE WORKS";
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.1;
    color: var(--white);
    letter-spacing: 3px;
    white-space: nowrap;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--white);
}

.cta-section p {
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-size: 1.3rem;
    color: var(--white);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-white {
    background: var(--white);
    color: var(--primary);
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

/* ========================================
   Service Detail Pages Layout
   ======================================== */
.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.service-main h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.service-main h2 {
    color: var(--dark);
    margin: 2.5rem 0 1.2rem;
    font-size: 1.6rem;
}

.service-main h3 {
    color: var(--primary);
    margin: 1.5rem 0 0.8rem;
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.service-list li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-box {
    background: var(--accent);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Sidebar */
.service-sidebar {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-light);
}

.service-sidebar h3 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.sidebar-contact {
    background: var(--accent);
    padding: 2rem;
    border-radius: 20px;
    margin: 1.5rem 0;
}

.sidebar-contact .phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: block;
    margin: 0.8rem 0;
    font-family: 'Poppins', sans-serif;
}

.sidebar-contact .phone:hover {
    color: var(--primary-dark);
}

.info-card {
    background: var(--gray-light);
    padding: 1.8rem;
    border-radius: 20px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-light);
}

/* Process Steps */
.process-steps {
    margin: 2.5rem 0;
}

.step {
    display: flex;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step-number {
    background: var(--primary);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* ========================================
   Badges and Tags
   ======================================== */
.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin: 0.5rem;
    border: 1px solid var(--border-light);
}

.quality-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

.condition-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.3rem;
    border: 1px solid var(--primary-light);
    transition: all 0.3s;
}

.condition-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.activity-tag {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    margin: 0.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.activity-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.activity-tag i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.activity-tag:hover i {
    color: white;
}

.benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin: 0.3rem;
    color: var(--primary);
    font-weight: 500;
    border: 1px solid var(--primary-light);
    transition: all 0.3s;
}

.benefit-badge:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   Companion Cards (for companionship page)
   ======================================== */
.companion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.companion-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.companion-card::before {
    content: "❤️";
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 5rem;
    opacity: 0.05;
    transform: rotate(15deg);
}

.companion-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.companion-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: var(--accent);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.companion-card:hover .companion-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.companion-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* ========================================
   Activity Cards (for home health aide page)
   ======================================== */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.activity-card {
    background: var(--gray-light);
    border-radius: 20px;
    padding: 1.8rem;
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.activity-card:hover {
    transform: translateX(5px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.activity-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.activity-card h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* ========================================
   Value Cards (for all service pages)
   ======================================== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: var(--accent);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.value-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ========================================
   Testimonial Box (special for companionship)
   ======================================== */
.testimonial-box {
    background: linear-gradient(135deg, var(--accent) 0%, #fff 100%);
    border-radius: 30px;
    padding: 3rem;
    margin: 3rem 0;
    position: relative;
    border: 2px dashed var(--primary-light);
    text-align: center;
}

.testimonial-box::before {
    content: '"';
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: serif;
}

.testimonial-box::after {
    content: '"';
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    bottom: -60px;
    right: 20px;
    font-family: serif;
}

/* ========================================
   Quote Card
   ======================================== */
.quote-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin: 1.5rem 0;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

/* ========================================
   Stats Grid
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stats-grid .stat {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.stats-grid .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.stats-grid .stat-label {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================
   Heart Animation
   ======================================== */
.heart-icon {
    color: var(--primary);
    font-size: 2rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ========================================
   Service Category Title
   ======================================== */
.service-category-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.service-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 50px;
}

/* ========================================
   Service Highlight
   ======================================== */
.service-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem;
    border-radius: 30px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.service-highlight::before {
    content: "STAR CARE WORKS";
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.1;
    color: white;
    white-space: nowrap;
}

.service-highlight h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-highlight p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ========================================
   Service CTA Card
   ======================================== */
.service-cta-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.service-cta-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-cta-card .icon-circle {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

/* ========================================
   About Page
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
    margin: 2.5rem 0;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.team-member {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: bold;
    box-shadow: var(--shadow-md);
}

.team-member h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.team-member p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 25px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    padding: 1.2rem;
    background: var(--gray-light);
    border-radius: 15px;
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.contact-info-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    font-size: 1.6rem;
    color: var(--primary);
    background: var(--white);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.contact-info-item h3 {
    margin-bottom: 0.3rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 139, 139, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    border-radius: 20px;
}

.map-container {
    margin-top: 3rem;
    height: 400px;
    background: linear-gradient(135deg, var(--gray-light), var(--border-light));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container::after {
    content: "📍 393 BEDFORD ST, WHITMAN, MA 02382";
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    color: var(--primary);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.2rem;
    padding: 1.8rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
    border-color: var(--primary);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.faq-item h3 i {
    margin-right: 0.5rem;
}

/* ========================================
   Footer
   ======================================== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 5% 2rem;
    margin-top: 3rem;
    border-top: 5px solid var(--primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 50px;
}

.footer-section p {
    color: var(--footer-text);
    margin-bottom: 0.8rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 10px;
}

.footer-section a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.8rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem; /*1.2rem*/
    
   

}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px) scale(1.1);
}



.address-block {
    background: rgba(255,255,255,0.05);
    padding: 1.8rem;
    border-radius: 15px;
    margin: 1.5rem 0;
}

.address-block p {
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.address-block a {
    color: var(--footer-text);
    display: inline;
    padding: 0;
}

.address-block a:hover {
    color: var(--white);
    padding-left: 0;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--footer-text);
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-white {
    color: var(--white);
}

.text-dark {
    color: var(--dark);
}

.bg-light {
    background: var(--gray-light);
}

.bg-primary {
    background: var(--primary);
}

.bg-accent {
    background: var(--accent);
}

.bg-white {
    background: var(--white);
}

/* Margin Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Padding Utilities */
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* Width Utilities */
.w-100 { width: 100%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-25 { width: 25%; }

/* Display Utilities */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-none { display: none; }

.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Border Utilities */
.rounded-sm { border-radius: 10px; }
.rounded { border-radius: 20px; }
.rounded-lg { border-radius: 30px; }
.rounded-full { border-radius: 50px; }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slideLeft {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slideRight {
    animation: slideInRight 0.6s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-shadow {
    transition: box-shadow 0.3s;
}

.hover-shadow:hover {
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: transform 0.3s;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-container {
        gap: 2rem;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .contact-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .menu-toggle {
        display: block;
        
        
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1.5rem;
        border-top: 3px solid var(--primary);
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-menu.active {
        display: flex;
    }

    .phone-header {
        width: 100%;
        text-align: center;
    }

    /* Typography */
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .service-hero h1 {
        font-size: 2.2rem;
    }

    /* Layout */
    .container {
        padding: 3rem 5%;
    }
    
    .about-preview,
    .service-detail-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-container {
        padding: 2rem 5%;
    }

    .service-sidebar {
        position: static;
        margin-top: 2rem;
    }

    /* Steps */
    .step {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }

    /* Stats */
    .about-stats,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .companion-grid,
    .activity-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-item {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 2.5rem 5%;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .map-container::after {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        left: 10px;
        right: 10px;
        width: auto;
        text-align: center;
    }
    
    .service-hero {
        margin: 1rem 3%;
        padding: 3rem 3%;
    }
    
    .service-hero h1 {
        font-size: 1.8rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .navbar,
    .hero-buttons,
    .btn,
    footer,
    .service-sidebar,
    .cta-section,
    .social-links,
    .menu-toggle,
    .service-hero::before {
        display: none !important;
        
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .container {
        padding: 1rem;
        max-width: 100%;
    }
    
    h1, h2, h3 {
        color: black;
        page-break-after: avoid;
    }
    
    p {
        color: black;
    }
    
    .service-card,
    .feature-item,
    .testimonial-card,
    .companion-card,
    .activity-card,
    .value-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ========================================
   Loading States
   ======================================== */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



/* Photo Gallery Styles - Add to your styles.css */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.photo-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.photo-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(11, 139, 139, 0.9), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h3 {
    color: white;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
}

.photo-overlay p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Photo Carousel/Slider Styles */
.photo-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 3rem 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.carousel-caption h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-nav {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot:hover,
.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 2rem;
}

.carousel-arrow.next {
    right: 2rem;
}

/* Team Photo Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.team-photo-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.team-photo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-photo-card:hover .team-photo {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
}

.team-info .position {
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-info .bio {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s;
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Photo Banner */
.photo-banner {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    margin: 3rem 0;
}

.photo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
  135deg,
  rgba(61, 114, 150, 0.4),   /* Star Care Works blue */
  rgba(159, 194, 220, 0.3)  /* Light brand blue */
);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.photo-banner-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.photo-banner-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Photo Grid with Titles */
.photo-title-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.photo-title-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1/1;
}

.photo-title-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.photo-title-item:hover img {
    transform: scale(1.1);
}

.photo-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--primary), transparent);
    color: white;
    padding: 2rem 1rem 1rem;
    text-align: center;
}

.photo-title h3 {
    color: white;
    margin-bottom: 0;
    font-size: 1.2rem;
}



/* ========================================
   Full-Width Auto-Playing Carousel
   ======================================== */
.fullwidth-carousel-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.fullwidth-carousel {
    position: relative;
    width: 100%;
    height: 100vh; /* height: 40vh */
    min-height: 600px;
    overflow: hidden;
}

.carousel-slide-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.carousel-slide-full.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease;
}

.carousel-slide-full.active img {
    transform: scale(1.1);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 139, 139, 0.3) 0%, rgba(100, 181, 181, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.carousel-content {
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.carousel-slide-full.active .carousel-content {
    transform: translateY(0);
    opacity: 1;
}

.carousel-content h2 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: -1px;
}

.carousel-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-content .btn-white {
    background: white;
    color: var(--primary);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border: none;
    transition: all 0.3s;
}

.carousel-content .btn-white:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Navigation Arrows */
.carousel-arrow-full {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 20;
    border: none;
    outline: none;
}

.carousel-arrow-full:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.carousel-arrow-full.prev {
    left: 2rem;
}

.carousel-arrow-full.next {
    right: 2rem;
}

/* Dots Navigation */
.carousel-dots-full {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.dot-full {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot-full:hover {
    background: white;
    transform: scale(1.2);
}

.dot-full.active {
    width: 30px;
    border-radius: 20px;
    background: white;
}

/* Pause/Play Indicator (optional) */
.carousel-status {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 20;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fullwidth-carousel {
        height: 70vh;
        min-height: 500px;
    }
    
    .carousel-content h2 {
        font-size: 2.2rem;
    }
    
    .carousel-content p {
        font-size: 1.1rem;
    }
    
    .carousel-arrow-full {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .carousel-arrow-full.prev {
        left: 1rem;
    }
    
    .carousel-arrow-full.next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .fullwidth-carousel {
        height: 60vh;
        min-height: 450px;
    }
    
    .carousel-content h2 {
        font-size: 1.8rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .carousel-arrow-full {
        display: none; /* Hide arrows on very small screens */
    }
}

.navbar {
    background: linear-gradient(135deg, #3D7296 0%, #7FA9C7 50%, #C6E1F7 100%);
}


@media (max-width: 768px) {
    .nav-menu {
        background: linear-gradient(135deg, #3D7296 0%, #C6E1F7 100%);
    }
    
    .nav-menu a {
        color: white;
        padding: 0.8rem 0;
    }
    
    .phone-header {
        background: white;
        color: #3D7296;
        width: 100%;
        text-align: center;
    }
}


/* Add these to your styles.css */

/* Soft vignette blend - good for most images */
.img-soft-blend {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.img-soft-blend::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 60%, rgba(19, 41, 75, 0.3) 100%);
    border-radius: 30px;
    pointer-events: none;
}

/* Feathered edge blend */
.img-feather {
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    border-radius: 30px;
}

/* Shadow blend with background color */
.img-shadow-blend {
    border-radius: 30px;
    box-shadow: 0 20px 30px -10px rgba(19, 41, 75, 0.3);
    transition: all 0.3s;
}

.img-shadow-blend:hover {
    box-shadow: 0 25px 40px -10px rgba(19, 41, 75, 0.4);
    transform: scale(1.02);
}

/* Blurred edge blend - artistic */
.img-blur-edge {
    position: relative;
    border-radius: 40px;
}

.img-blur-edge::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: inherit;
    background-image: inherit;
    filter: blur(20px);
    z-index: -1;
    border-radius: 55px;
    opacity: 0.6;
}

/* Gradient fade to background */
.img-gradient-fade {
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    border-radius: 30px 30px 0 0;
}

/* Circle blend - good for profile images */
.img-circle-blend {
    mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    border-radius: 50%;
}




/* ========================================
   Accreditations & Media Section
   ======================================== */
.accreditations-section {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.accreditation-item {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.accreditation-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.accreditation-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.accreditation-item:hover .accreditation-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.accreditation-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.accreditation-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Media Section */
.media-section,
.partners-section {
    margin: 4rem 0;
    text-align: center;
}

.media-section h3,
.partners-section h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.media-section h3::after,
.partners-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 50px;
}

.media-logos,
.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    margin: 2rem 0;
}

.media-logo-item,
.partner-logo-item {
    background: var(--white);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    width: 100%;
    max-width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-logo-item:hover,
.partner-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.media-logo-item img,
.partner-logo-item img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: all 0.3s;
}

.media-logo-item:hover img,
.partner-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0 1rem;
    padding: 2rem 0;
    border-top: 2px dashed var(--border-light);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-badge i {
    color: var(--primary);
    font-size: 1.2rem;
    background: var(--accent-light);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.trust-badge:hover i {
    background: var(--primary);
    color: white;
    transform: rotate(360deg);
}

.close-icon {
    display: none;
}


/* Responsive */
@media (max-width: 768px) {
    .accreditations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .media-logos,
    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .accreditations-grid {
        grid-template-columns: 1fr;
    }
    
    .media-logos,
    .partner-logos {
        grid-template-columns: 1fr;
    }
}

/* Minimal Version CSS */
.accreditations-bar {
    background: var(--primary);
    padding: 1rem 0;
    color: white;
}

.bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.accred-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.accred-text i {
    color: var(--accent-light);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .bar-content {
        justify-content: center;
    }
}

/* Reusable glow class for any accreditation */
.accred-glow:hover img {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.accred-glow:hover span {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.9),
                 0 0 24px rgba(255, 255, 255, 0.5);
    color: white;
}




/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1500; /* Sit on top */
    top: 0px;
   width: 60%;
   height: 100%;
    margin: 200px auto 200px auto;
    height: 300px; 
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #ffffff;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    width: auto; 
    height: auto; 
    border: 1px solid #070000;
    width: 80%; /* Could be more or less, depending on screen size */
    z-index: 1500;
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  .resultContent{
    color: black;
  }

.modal .contactInfo{
  background: linear-gradient(90deg, #5fa2ce, #1388d6);
  padding: 10px;
  color: white;
}

.modal .contactInfo a{
  color: white;
  text-decoration: none;
  align-items: center;
  text-align: center;
}

  .modal .social-icons a {
    color: white;
    margin: 0 5px;
    text-decoration: none;
    font-size: 14px;
  }

  .modal .social-icons a:hover {
    color: #e76418;
  }

  .modal a {
    color: #ecf0f1;
    text-decoration: none;
  }

  .modal .fas .fa-phone{
    color: #ffffff;
  }

  .modal i {
    margin-left: 5px;
    margin-right: 0px;
  }

  .modal a:hover {
    text-decoration: none;
  }

  .modal .quick-links,
  .modal .contact-info {
    margin: 5px 0;
    font-size: 14px;
    text-align: center;
    color: #ffffff;
  }

  .modal .contact-info p,
  .modal .quick-links a {
    margin: 5px 0;
  }


  
  .recyleImg{
    height: 40px; 
    background-color: #ffffff;
    cursor: pointer;
  }


  a.phone-link{
    text-decoration: none;
    color: white;

  }




.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 80px;  /* creates consistent space between all flex children */
}

.logo {
    margin-right: 0;  /* remove auto margin if using gap */
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin-left: 0;   /* remove auto margin if using gap */
}




.logo {
    width: 400px;
    max-width: 100%;
    height: auto;
}


nav {
    display: flex;
    gap: 20px;
    padding-right: 60px;
    
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffd700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    
    
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: background-color 0.3s;
    margin-right: 60px;

}

.menu-toggle:hover div {
    background-color: #ffd700;
}

@media (max-width: 768px) {
.close-icon {
    position: absolute;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    right: 10px;
    top:10px;
    font-size: 30px;
    display: flex;
}

.close-icon:hover {
    color: #ff4444;
    transform: scale(1.1);
}



    .logo {
        width: 300px; /* Adjust width for phone */
    }
/*nav */

    nav {
        flex-direction: column;
        gap: 10px;
        position: sticky;
        top: 0px;
        right: 20px;
        background: linear-gradient(45deg, #86aec9, #2487c8);
        padding: 10px;
        border-radius: 5px;
        margin-right: 40px;
        width: 120px;
        left:0px;
        top:0px;
    }

    nav.active {
        display: flex;
        
    }

    .menu-toggle {
        display: flex;
        z-index: 20000;
        font-size: 30px;
      
        
    }

    nav a {
        font-size: 14px;
    }
    .nav-menu{
        display: none;
    }
}



.nav-menu.active{
display: flex;
}



.privacy{
text-decoration: none;
color: white;
font-size: 14px;
}

.privacy:hover{
    background-color: #3D7296;
}



