/* 
  Modern Premium UI/UX Redesign
  Smirk Dental & Implant Centre
*/

:root {
    /* Brand Colors from Logo */
    --primary: #1282c6;
    --primary-rgb: 18, 130, 198;
    --secondary: #12b78e;
    --secondary-rgb: 18, 183, 142;
    --body-bg: #f8fafc;

    /* Nuance Colors */
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --white: #ffffff;
    --accent: #ffb800;
    /* Sophisticated gold for CTAs */

    /* Gradients */
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(18, 130, 198, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(18, 183, 142, 0.15) 0px, transparent 50%);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #0d6ba1 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #0e9675 100%);

    /* Design Tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px -15px rgba(18, 130, 198, 0.2);
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --blur: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-soft);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.1;
}

p {
    color: var(--gray);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 720px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 10' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8 Q 50 2 97 8' stroke='rgba(18, 183, 142, 0.7)' stroke-width='3' fill='none' stroke-linecap='round' /%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Ensure visibility on dark backgrounds */
.why-us .highlight,
.offer-card .highlight {
    color: var(--secondary);
}

.why-us .highlight::after,
.offer-card .highlight::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 10' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8 Q 50 2 97 8' stroke='rgba(255, 255, 255, 0.5)' stroke-width='3' fill='none' stroke-linecap='round' /%3E%3C/svg%3E");
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border: none;
    gap: 12px;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-premium);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(18, 130, 198, 0.3);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(18, 183, 142, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(var(--primary-rgb), 0.2);
}

.btn-outline:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

header {
    padding: 16px 0;
    background: var(--glass);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

@media (max-width: 480px) {
    .logo img {
        height: 36px;
    }

    .btn-outline {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .header-cta .btn span {
        display: none;
    }

    .header-cta .btn i {
        font-size: 1.2rem;
        margin: 0;
    }
}

.logo:hover img {
    transform: scale(1.05);
}

.hero {
    position: relative;
    padding: 60px 0 100px;
    background: var(--white);
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0 60px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    background: var(--gradient-mesh);
    width: 60%;
    height: 100%;
    border-bottom-left-radius: 50% 100%;
    right: -10%;
    top: 0;
    display: none;
}

@media (min-width: 1024px) {
    .hero-blob {
        display: block;
    }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 4.2rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .hero-content h1 {
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.benefit-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-pill i {
    color: var(--secondary);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 480px) {
    .hero-cta-group .btn {
        width: 100%;
    }

    .benefit-pill {
        width: 100%;
        justify-content: center;
    }
}

.hero-visuals {
    position: relative;
}

.main-image-card {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    aspect-ratio: 4/5;
    object-fit: cover;
    position: relative;
}

.floating-form {
    position: relative;
    margin-top: -80px;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-top: 4px solid var(--primary);
    z-index: 10;
}

@media (max-width: 480px) {
    .floating-form {
        padding: 24px;
        margin-top: -60px;
    }
}

@media (min-width: 768px) {
    .floating-form {
        position: absolute;
        bottom: -40px;
        left: -40px;
        width: 360px;
        margin-top: 0;
    }
}

.floating-form h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.floating-form p {
    font-size: 0.875rem;
    margin-bottom: 24px;
}

/* Trust Section (Carousels) */
.trust-panels {
    padding: 80px 0;
    background: var(--gray-light);
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.panels-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.panels-carousel-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll-panels 40s linear infinite;
    transition: all 0.4s ease;
}

.panels-carousel-track:hover {
    animation-play-state: paused;
}

.panel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    filter: grayscale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Reverse Hover Logic */
.panels-carousel-track:hover .panel-item {
    opacity: 0.25;
    filter: grayscale(1);
}

.panels-carousel-track .panel-item:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
    z-index: 2;
}

.panel-item img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .panel-item img {
        height: 90px;
    }

    .panels-carousel-track {
        gap: 40px;
    }
}

@keyframes scroll-panels {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
    }
}

/* Services - Bento Grid Style */
.services {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

.bento-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .bento-card {
        padding: 24px;
    }
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
    border-color: transparent;
}

.bento-card:hover::before {
    transform: scaleX(1);
}

.bento-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.bento-card:hover .bento-icon {
    background: var(--primary);
    color: var(--white);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.bento-card .tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    display: block;
}

/* Why Choose Us */
.why-us {
    padding: 100px 0;
    background: #0f172a;
    color: var(--white);
}

@media (max-width: 768px) {
    .why-us {
        padding: 60px 0;
    }
}

.why-us .section-title,
.why-us h3 {
    color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.stats-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 480px) {
    .stats-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .stat-item h4 {
        font-size: 2rem;
    }
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 4px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-card {
    display: flex;
    gap: 24px;
}

.why-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 183, 142, 0.2);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
}

.testi-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testi-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.3s ease;
}

.testi-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.testi-card .stars {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 0.8125rem;
}

.testi-card blockquote {
    font-size: 1rem;
    color: var(--dark-soft);
    margin-bottom: 32px;
    font-style: italic;
    line-height: 1.6;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Offer Banner */
.offer-banner {
    padding: 80px 0;
    margin-bottom: 100px;
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .offer-banner {
        padding: 40px 0;
        margin-bottom: -60px;
    }
}

.offer-card {
    background: var(--dark);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(18, 130, 198, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(18, 183, 142, 0.4) 0%, transparent 50%);
    padding: 60px;
    border-radius: var(--radius-lg);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
}

.offer-card h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.offer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 32px 0 48px;
}

.badge-item {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.badge-item span {
    color: var(--accent);
}

/* Footer & Contact */
#footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

.box-list-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .box-list-footer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .box-list-footer {
        grid-template-columns: repeat(4, 1fr);
    }
}

.title-footer {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.title-footer::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.box-list ul {
    list-style: none;
    padding: 0;
}

.box-list ul li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.box-list ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.box-list ul li a:hover {
    color: #33b9cb;
}

.box-list ul li a:hover .fa-square {
    color: #33b9cb;
}

.flat-icon-footer {
    color: #435169;
    margin-top: 4px;
}

.fa-square {
    color: #435169;
    margin-top: 4px;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 24px 0;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .box-list-footer {
        gap: 32px;
    }

    .footer-bottom-grid {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-copyright h3 {
        line-height: 1.6;
    }
}

.footer-bottom-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 48px;
    width: auto;
}

.footer-copyright h3 {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-family: var(--font-body);
}

.footer-copyright a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-copyright a:hover {
    color: var(--secondary);
}

.footer-socials .list-icon-bottom {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.list-icon-bottom li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--white);
    color: var(--dark);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.list-icon-bottom li.bottom-icon-active a,
.list-icon-bottom li a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 40px;
    width: 48px;
    height: 48px;
    background-color: #33b9cb;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(51, 185, 203, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 100px;
        right: 24px;
        width: 40px;
        height: 40px;
    }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #289dae;
    transform: translateY(-3px);
    color: var(--white);
}

/* WhatsApp Float */
.whatsapp-fixed {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 64px;
    height: 64px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

@media (max-width: 768px) {
    .whatsapp-fixed {
        bottom: 24px;
        right: 24px;
    }

    .whatsapp-btn {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-btn::after {
    content: 'Chat with us';
    position: absolute;
    right: 80px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .offer-card {
        padding: 40px 24px;
    }

    .stats-card {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section Styling */
.faq {
    padding: 100px 0;
    background: var(--white);
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.accordion-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
    background: rgba(var(--primary-rgb), 0.02);
}

.accordion-button {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-button i {
    font-size: 0.875rem;
    color: var(--gray);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-button i {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body {
    padding: 0 24px 24px;
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .accordion-button {
        padding: 20px;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 0 20px 20px;
        font-size: 0.9rem;
    }
}

/* About Us Section */
.about-us {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Additional Treatments Table */
.additional-treatments {
    padding: 100px 0;
    background: var(--body-bg);
}

.treatments-table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-top: 40px;
}

.treatments-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.treatments-table th {
    background: var(--primary);
    color: var(--white);
    padding: 20px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.treatments-table td {
    padding: 20px 32px;
    border-bottom: 1px solid var(--gray-light);
}

.treatments-table tr:last-child td {
    border-bottom: none;
}

.treatments-table tr:hover {
    background: rgba(var(--primary-rgb), 0.02);
}

.treatment-name {
    font-weight: 700;
    color: var(--dark);
}

@media (max-width: 768px) {

    .treatments-table th,
    .treatments-table td {
        padding: 16px;
    }

    .treatments-table {
        font-size: 0.9rem;
    }
}

/* appointment */
.appointment {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/office-hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.appointment .container {
    position: relative;
    z-index: 2;
}

.appointment .offer-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.appointment-form {
    width: 100%;
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .appointment .offer-card {
        padding: 40px 20px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(18, 183, 142, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Custom select styling */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(18, 183, 142, 0.8)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    cursor: pointer;
}

select.form-control option {
    background: var(--dark);
    color: var(--white);
}

/* Date input specific */
input[type="date"].form-control {
    color-scheme: dark;
}

textarea.form-control {
    min-height: 120px;
    resize: none;
}

.form-status {
    margin-top: 24px;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    display: none;
    animation: fadeInUp 0.4s ease;
}

.form-note {
    font-size: 0.8rem;
    margin-top: 16px;
    opacity: 0.6;
    text-align: center;
}

/* Services Checkbox Grid */
.services-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    user-select: none;
}

.checkbox-item:hover {
    background: rgba(18, 183, 142, 0.1);
}

.checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked {
    background: var(--secondary);
    border-color: var(--secondary);
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.checkbox-item input[type="checkbox"]:checked+.checkbox-label {
    color: var(--white);
}

@media (max-width: 480px) {
    .services-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* Imaging Service Specifics (Bento Grid override or specific card) */
.imaging-grid {
    margin-top: 40px;
}

/* Core Services List Updates */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-block {
    background: var(--white);
    padding: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
    position: relative;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .service-block {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: stretch;
        /* Stretch to keep image and content heights aligned */
    }

    .service-block:nth-child(even) .service-image {
        order: 2;
    }
}

.service-image {
    width: 100%;
    min-height: 450px;
    height: 100%;
    /* Take full height of the grid cell */
    overflow: hidden;
    background: var(--gradient-mesh);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.03);
    padding: 0px;
    /* Give some breathing room for the contain image */
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-block:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 60px 80px 60px 60px;
    position: relative;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-block:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.service-number {
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(var(--primary-rgb), 0.05);
    line-height: 1;
    z-index: 0;
}

.service-block h3 {
    font-size: 2.25rem;
    margin-bottom: 8px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.service-motto {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.service-description {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}

.key-benefits {
    margin: 32px 0;
    padding: 32px;
    background: var(--gray-light);
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.key-benefits h4 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.key-benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .key-benefits ul {
        grid-template-columns: 1fr 1fr;
    }
}

.key-benefits li {
    position: relative;
    padding-left: 28px;
    font-weight: 500;
}

.key-benefits li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .service-content {
        padding: 32px;
    }

    .service-number {
        font-size: 3rem;
        top: 24px;
        right: 32px;
    }

    .service-block h3 {
        font-size: 1.75rem;
    }

    .service-image {
        height: 350px;
        min-height: auto;
        padding: 30px;
    }

    .service-image img {
        border-radius: 8px 8px 0 0;
    }
}
