/* CSS Design System for Kailash Gastro Liver Endoscopy Clinic (Dr. Shailendra Jain) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Color Variables */
:root {
    --primary: #004d61;
    --primary-dark: #0b2e36;
    --primary-light: #00738f;
    --secondary: #00a896;
    --secondary-dark: #028090;
    --secondary-light: #05c2ad;
    --accent: #f2a900;
    --bg-main: #f3f7f6;
    --bg-card: rgba(255, 255, 255, 0.85);
    --text-main: #1c2826;
    --text-muted: #4a5754;
    --text-white: #ffffff;
    --border-color: rgba(0, 77, 97, 0.1);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 40px rgba(0, 77, 97, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --max-width: 1200px;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    background-image: linear-gradient(rgba(243, 247, 246, 0.70), rgba(243, 247, 246, 0.70)), url('../images/site_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Helpers */
.title-large {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-medium {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

.title-medium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.title-small {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Header & Navigation */
header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.header-top {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info span {
    margin-right: 1.5rem;
}

.header-top-info i {
    margin-right: 0.35rem;
    color: var(--secondary-light);
}

.header-main {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 800;
    font-size: 1.35rem;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 168, 150, 0.3);
}

.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 77, 97, 0.2);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 77, 97, 0.3);
    color: var(--text-white);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Sections Global */
section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 168, 150, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 150, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* Cards (Glassmorphism) */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 168, 150, 0.3);
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: linear-gradient(180deg, #dcf0ef 0%, var(--bg-main) 100%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(0, 168, 150, 0.1);
    color: var(--secondary-dark);
    padding: 0.35rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 168, 150, 0.2);
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.25rem;
    color: var(--primary);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    border: 3px solid var(--secondary);
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover::before {
    transform: translate(-10px, -10px);
}

.hero-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    object-fit: cover;
    height: 500px;
}

/* Quick Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 168, 150, 0.1);
    color: var(--secondary-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.feature-link:hover {
    gap: 0.75rem;
    color: var(--secondary-dark);
}

/* Clinic Timings Layout */
.timings-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-white);
}

.timings-section h2 {
    color: var(--text-white);
}

.timings-section h2::after {
    background: var(--secondary);
}

.timings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.timings-text h3 {
    color: var(--secondary-light);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.timings-text p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.timings-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timing-row {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timing-row:last-child {
    border-bottom: none;
}

.timing-day {
    font-weight: 600;
}

.timing-time {
    color: var(--secondary-light);
    font-weight: 700;
}

.timing-row.closed .timing-time {
    color: #ff6b6b;
}

/* Facilities Section (Detailed Layout) */
.facility-detail-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.facility-detail-card:nth-child(even) {
    grid-template-columns: 1.1fr 1fr;
}

.facility-detail-card:nth-child(even) .facility-detail-img-wrapper {
    order: 2;
}

.facility-detail-img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    height: 380px;
    object-fit: cover;
    width: 100%;
}

.facility-features-list {
    list-style: none;
    margin-top: 1.25rem;
}

.facility-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.facility-features-list i {
    color: var(--secondary);
    font-size: 1.15rem;
}

/* Patient Preparation Page CSS */
.prep-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.prep-box {
    background-color: var(--text-white);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.prep-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--bg-main);
    padding-bottom: 1.5rem;
}

.prep-icon {
    font-size: 2.25rem;
    color: var(--primary);
}

.prep-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.prep-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
}

.prep-step {
    position: relative;
    margin-bottom: 2rem;
}

.prep-step:last-child {
    margin-bottom: 0;
}

.prep-step::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--text-white);
    border: 4px solid var(--secondary);
    z-index: 2;
}

.prep-step-time {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.prep-step-detail {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.prep-alert {
    background-color: rgba(242, 169, 0, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 500;
}

/* FAQ Accordion Styling */
.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--text-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    user-select: none;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-soft);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 250px;
}

/* Health Blogs Styling */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background-color: var(--text-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.blog-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-link {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.blog-card-link:hover {
    color: var(--secondary-dark);
}

/* Contact Us Styling */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 168, 150, 0.1);
    color: var(--secondary-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.contact-info-text p, .contact-info-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    background-color: var(--text-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--text-white);
    box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Map Mockup */
.map-container {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    margin-top: 4rem;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e5e9f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Footer Section */
footer {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 5rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.footer-col h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.social-link:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating Action Button (Appointment/Call) */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.float-call {
    background-color: var(--secondary);
}

.float-call:hover {
    background-color: var(--secondary-light);
    transform: scale(1.1);
}

.float-book {
    background-color: var(--primary);
}

.float-book:hover {
    background-color: var(--primary-light);
    transform: scale(1.1);
}

/* Font Awesome Mock Icons if needed */
.icon-box {
    font-family: system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: bold;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .facility-detail-card, .facility-detail-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .facility-detail-card:nth-child(even) .facility-detail-img-wrapper {
        order: 0;
    }
    
    .timings-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .header-top {
        display: none;
    }
    
    header {
        top: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--text-white);
        flex-direction: column;
        align-items: center;
        padding: 3rem 1.5rem;
        gap: 2.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .prep-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .title-large {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .prep-box {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Theme Switcher Widget */
.theme-switcher-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.theme-toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    transform: rotate(45deg) scale(1.1);
    background-color: var(--secondary);
}

.theme-palette-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 280px;
    background-color: var(--text-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--shadow-hover);
    display: none;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.theme-palette-panel.active {
    display: block;
    transform: translateY(0);
}

.theme-palette-panel h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.theme-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.theme-opt-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.theme-opt-btn:hover, .theme-opt-btn.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-soft);
    background-color: var(--bg-main);
}

.theme-preview {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,0.1);
}

.theme-opt-btn span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.theme-opt-btn.active span {
    color: var(--secondary-dark);
}

/* Floating AI Chatbot Widget */
.chatbot-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--text-white);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 168, 150, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    position: relative;
    transition: var(--transition-smooth);
}

.chatbot-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 168, 150, 0.6);
}

.chatbot-toggle-btn .chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    border: 2px solid var(--text-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chatbot-window-panel {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    height: 550px;
    background-color: var(--text-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.chatbot-window-panel.active {
    display: flex;
    transform: translateY(0);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.chatbot-header-logo {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.chatbot-header-text h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
    font-family: 'Outfit', sans-serif;
}

.chatbot-header-text span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.chatbot-close-btn {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chatbot-close-btn:hover {
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
}

.chatbot-iframe-container {
    flex-grow: 1;
    width: 100%;
    height: calc(100% - 65px);
    background-color: var(--bg-main);
}

@media (max-width: 480px) {
    .chatbot-window-panel {
        width: 320px;
        height: 450px;
    }
}
