:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --success-color: #10b981;
    --info-color: #3b82f6;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
}

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

/* Navigation */
.navbar {
    background: #4169E1;
    /* Royal Blue */
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile Fixed Background - Hidden by default */
.mobile-fixed-bg {
    display: none;
}

.logo-image {
    height: 48px;
    /* Slightly larger for new logo */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    color: white;
}

/* Hamburger Menu - Hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    /* White hamburger on blue bg */
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    /* White links */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 102, 204, 0.7), rgba(0, 77, 153, 0.7)), url('hero_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 20px;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 0 0 50px 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

/* Section Styles */
.section {
    margin-bottom: 80px;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--text-primary);
    text-align: center;
}

/* Animated Hero Title */
#animated-title {
    display: inline-block;
    overflow: hidden;
    white-space: pre-wrap;
    min-height: 1.2em;
}

#animated-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#animated-title .char.visible {
    opacity: 1;
    transform: translateY(0);
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary-color);
    margin-left: 5px;
    animation: blink 0.7s infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.3em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* Services Section */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
}

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

.service-header h3 {
    color: var(--text-primary);
    font-size: 1.3em;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

.care-types-header {
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
}

.care-types-header h3 {
    font-size: 2em;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.care-types-header p {
    color: var(--text-secondary);
    font-size: 1.1em;
}

.care-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.care-type-card {
    background: var(--primary-color);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.care-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    /* Blue shade overlay similar to hero section */
    background-image: linear-gradient(rgba(0, 102, 204, 0.8), rgba(0, 77, 153, 0.8));
    z-index: -1;
    transition: transform 0.5s ease;
}

.care-type-card:hover::before {
    transform: scale(1.1);
}

.care-type-card.elder-care::before {
    background-image: linear-gradient(rgba(0, 102, 204, 0.75), rgba(0, 77, 153, 0.75)), url('elder_care_bg.jpg');
}

.care-type-card.patient-care::before {
    background-image: linear-gradient(rgba(0, 102, 204, 0.75), rgba(0, 77, 153, 0.75)), url('patient_care_bg.jpg');
}

.care-type-card.critical-care::before {
    background-image: linear-gradient(rgba(0, 102, 204, 0.75), rgba(0, 77, 153, 0.75)), url('critical_care_bg.jpg');
}

.care-type-card.baby-care::before {
    background-image: linear-gradient(rgba(0, 102, 204, 0.75), rgba(0, 77, 153, 0.75)), url('baby_care_bg.jpg');
}

.care-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.care-type-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    position: relative;
}

.care-type-card h4 {
    color: white;
    font-size: 1.4em;
    margin-bottom: 15px;
    position: relative;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.care-type-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1em;
    line-height: 1.6;
    position: relative;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
}

.step h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95em;
}

.step-arrow {
    font-size: 2em;
    color: var(--primary-color);
    display: none;
}

/* App Features List */
.features-list {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--success-color);
}

.feature-check {
    font-size: 1.5em;
    color: var(--success-color);
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* Why Testus */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* Download Section */
.download-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0;
}

.download-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    position: relative;
}

.card-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    z-index: 10;
}

.caretaker-card .card-tag {
    background: var(--secondary-color);
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-card.caretaker-card {
    border-top: 4px solid var(--secondary-color);
}

.download-card.client-card {
    border-top: 4px solid var(--primary-color);
}

.card-logo {
    margin-bottom: 20px;
}

.card-logo-image {
    height: 80px;
    width: 80px;
    border-radius: 12px;
    object-fit: contain;
    padding: 5px;
}

.caretaker-card .card-logo-image {
    background: #fdf2f8;
    /* Light pink background for caretaker logo icon */
}

.client-card .card-logo-image {
    background: #eef2ff;
    /* Light indigo background for client logo icon */
}

.download-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.download-card h3 .app-subtitle {
    font-weight: 400;
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.download-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Play Store Badge */
.play-store-badge {
    display: inline-block;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.play-store-badge:hover {
    transform: scale(1.05);
}

.play-badge-img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 40px;
}

/* Payment Section */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.payment-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
}

.payment-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.payment-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.payment-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.payment-badge {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

/* Pricing Section */
.pricing-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-section h3 {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 1.5em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: #1e40af;
    /* Deep Blue background */
    color: white;
    /* White font */
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #60a5fa;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    /* Blue gradient */
    color: white;
    border: none;
}

.pricing-card h4,
.pricing-card.featured h4,
.pricing-card .price,
.pricing-card.featured .price {
    color: white;
}

.pricing-card p,
.pricing-card.featured p,
.pricing-card .pricing-features,
.pricing-card.featured .pricing-features {
    color: rgba(255, 255, 255, 0.9);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.pricing-card h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.price {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.pricing-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* OnCall Card Specific */
.oncall-card {
    display: flex;
    flex-direction: column;
}

.service-charges {
    background: rgba(255, 255, 255, 0.25);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    flex-grow: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.charge-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.charge-item:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: 600;
    font-size: 0.95em;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.charge-price {
    background: rgba(255, 255, 255, 0.35);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Payment Security */
.payment-security {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-security h3 {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 1.5em;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.security-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.security-icon {
    font-size: 2em;
    flex-shrink: 0;
}

.security-item h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.security-item p {
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.contact-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-section h3 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 1.3em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.submit-button {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

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

.badge-success {
    background-color: var(--success-color);
    color: white;
}

.badge-info {
    background-color: var(--info-color);
    color: white;
}

/* Footer */
/* Footer - Zomato Style */
.footer {
    background-color: #000000;
    /* Pure Black Background */
    color: white;
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top-logo {
    margin-bottom: 40px;
}

.footer-grid-layout {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    min-width: 250px;
}

.footer-section-group h4 {
    color: white;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section-group ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-section-group a {
    color: #888;
    /* Grey text */
    text-decoration: none;
    font-size: 0.85em;
    /* Smaller, sleek text */
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section-group a:hover {
    color: white;
}

/* Social Links - Zomato Style (White Circle, Black Icon) */
.social-links-zomato {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-links-zomato a {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-links-zomato a:hover {
    transform: scale(1.1);
}

.social-links-zomato svg {
    width: 16px;
    height: 16px;
}

/* App Badges Styling */
.app-badges-zomato img {
    height: 40px;
    width: auto;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 25px;
    font-size: 0.85em;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-grid-layout {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column-group {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Show hamburger menu on tablet/mobile */
    .hamburger {
        display: flex;
    }

    /* Convert nav-links to dropdown */
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: #4169E1;
        /* Royal Blue */
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* Subtle white border */
        font-size: 1em;
        color: white;
        /* White text */
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        /* White hover effect */
        color: white;
    }

    .hero {
        padding: 80px 20px;
        min-height: 400px;
    }

    .hero-badge {
        font-size: 0.85em;
        padding: 8px 20px;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .section h2 {
        font-size: 1.8em;
    }

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

    .care-types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .download-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card-tag {
        font-size: 0.7em;
        padding: 5px 15px;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        display: block;
        transform: rotate(90deg);
    }

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

@media (max-width: 480px) {

    /* Navigation - Zomato style */
    .navbar {
        padding: 12px 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links {
        gap: 8px;
        font-size: 0.75em;
    }

    /* Hero Section - Standard Mobile View */
    .hero {
        padding: 60px 20px 50px;
        min-height: auto;
        border-radius: 0 0 30px 30px;
        /* Standard scroll for mobile (most reliable) */
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
        background-color: var(--primary-color);
        /* Fallback */
        background-image: linear-gradient(rgba(0, 102, 204, 0.7), rgba(0, 77, 153, 0.7)), url('hero_background.png');
    }

    /* Ensure content below covers the fixed image */
    .main-content {
        background-color: var(--background-color);
        position: relative;
        z-index: 1;
    }

    .hero-badge {
        font-size: 0.7em;
        padding: 8px 18px;
        margin-bottom: 20px;
        letter-spacing: 1.5px;
        font-weight: 800;
    }

    .hero-content h1 {
        font-size: 1.75em;
        line-height: 1.3;
        margin-bottom: 15px;
        min-height: 2.6em;
        /* Reserve space for 2 lines of text */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Adjust animation cursor for mobile */
    .cursor {
        height: 1.2em;
        width: 2px;
        background-color: white;
        /* Make cursor visible on blue bg */
    }

    .hero-content p {
        font-size: 0.95em;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    /* CTA Button - Large touch target like Zomato */
    .cta-button {
        padding: 16px 35px;
        font-size: 1em;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        width: 100%;
        max-width: 300px;
    }

    /* Sections - Better spacing */
    .section {
        margin-bottom: 50px;
        padding: 0 0;
    }

    .section h2 {
        font-size: 1.6em;
        margin-bottom: 25px;
        font-weight: 700;
        padding: 0 15px;
    }

    /* Horizontal Scrolling Grids - Side by Side */
    .features-grid,
    .service-container,
    .care-types-grid,
    .benefits-grid,
    .payment-grid,
    .features-list,
    .security-features {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 0 15px 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .features-grid::-webkit-scrollbar,
    .service-container::-webkit-scrollbar,
    .care-types-grid::-webkit-scrollbar,
    .benefits-grid::-webkit-scrollbar,
    .payment-grid::-webkit-scrollbar,
    .features-list::-webkit-scrollbar,
    .security-features::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    /* Cards - Zomato-style shadows and spacing */
    .feature-card,
    .service-card,
    .benefit-card,
    .contact-card,
    .payment-card,
    .feature-item,
    .security-item {
        min-width: 280px;
        max-width: 280px;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 25px 20px;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        margin-bottom: 0;
        background: white;
        /* Ensure white background */
    }

    /* Stacked cards for Pricing (removed from carousel) */
    .pricing-card {
        margin-bottom: 20px;
        padding: 25px;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    /* Care Type Cards - Enhanced mobile view */
    .care-type-card {
        min-width: 280px;
        max-width: 280px;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 35px 20px;
        border-radius: 16px;
        min-height: 200px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .care-type-card h4 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }

    .care-type-card p {
        font-size: 0.9em;
        line-height: 1.6;
    }

    /* Download Cards - Stack vertically (not horizontal) */
    .download-container {
        gap: 20px;
        padding: 0 15px;
        display: grid;
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 30px 20px;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .card-tag {
        font-size: 0.65em;
        padding: 6px 14px;
        top: -12px;
        font-weight: 800;
    }

    .download-card h3 {
        font-size: 1.2em;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    /* Download Buttons - Large touch targets */
    .download-button {
        padding: 14px 28px;
        font-size: 0.95em;
        font-weight: 700;
        border-radius: 12px;
        width: 100%;
    }

    /* Steps - Horizontal scroll */
    .steps-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 0 15px 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .steps-container::-webkit-scrollbar {
        display: none;
    }

    .step {
        min-width: 280px;
        max-width: 280px;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 25px 20px;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .step-arrow {
        display: none;
    }

    /* Contact Grid - Horizontal scroll */
    .contact-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 0 15px 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .contact-grid::-webkit-scrollbar {
        display: none;
    }

    .contact-card {
        min-width: 280px;
        max-width: 280px;
        flex-shrink: 0;
        scroll-snap-align: start;
        border-radius: 16px;
    }

    .contact-button {
        padding: 12px 24px;
        font-size: 0.9em;
        font-weight: 700;
        width: 100%;
    }

    /* Footer - Compact */
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-section h4 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }

    .footer-bottom {
        font-size: 0.85em;
    }

    /* Typography improvements */
    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-check {
        margin: 0 auto 10px;
    }
}

/* Caretaker List Page */
.caretaker-hero {
    background: linear-gradient(rgba(0, 102, 204, 0.8), rgba(0, 77, 153, 0.8)), url('hero_background.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 40px;
}

.caretaker-page {
    padding-top: 40px;
    min-height: 80vh;
}

.search-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: var(--text-secondary);
}

.caretaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.caretaker-profile-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.caretaker-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.profile-card-image-container {
    height: 200px;
    position: relative;
    background: #f1f5f9;
}

.profile-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.status-verified {
    background-color: var(--success-color);
}

.status-pending {
    background-color: var(--warning-color);
}

.status-blacklisted {
    background-color: var(--danger-color);
}

.status-temporary {
    background-color: #64748b;
}

.profile-card-content {
    padding: 20px;
    flex-grow: 1;
}

.profile-card-content h3 {
    font-size: 1.4em;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.designation {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 12px;
    display: block;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.info-icon {
    flex-shrink: 0;
    font-size: 1.1em;
}

.address-text {
    line-height: 1.4;
}

.view-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto;
}

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

.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .search-section {
        flex-direction: column;
        align-items: stretch;
    }
}