/* Base Variables */
:root {
    --primary-color: #00d084;
    /* Green Cyan */
    --primary-dark: #00b070;
    --secondary-color: #0693e3;
    /* Blue */
    --accent-color: #ffb900;
    /* Amber/Orange */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0693e3 0%, #00d084 100%);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--secondary-color);
    /* Or accent based on preference */
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 185, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 185, 0, 0.5);
}

.btn-secondary {
    display: inline-block;
    color: var(--white);
    /* For hero context */
    font-weight: 600;
    padding: 14px 32px;
}

.btn-secondary i {
    margin-right: 8px;
    background: var(--white);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* Header */
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    opacity: 1;
}

.hamburger {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    margin-left: 20px;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    padding-top: 150px;
    /* Space for transparent header */
    padding-bottom: 120px;
    /* Space for search box overlap */
    position: relative;
    overflow: hidden;
}

/* Decorative Circles in Hero (Optional) */
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    color: var(--white);
    padding-right: 50px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--white);
    /* In hero, keep white or maybe yellow? Reference uses white/light */
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
}

.hero-text {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    max-width: 500px;
}

.image-wrapper img {
    border-radius: 0 0 200px 200px;
    /* Arch shape optional */
    /* Actually reference has a clean cutout or circle. Let's stick to standard or remove border radius if using a transparent PNG of doctor */
    border-radius: 20px;
    /* Placeholder radius */
}

/* Search Box Floating */
.search-filter-wrapper {
    margin-top: -60px;
    /* Negative margin to pull it up */
    position: relative;
    z-index: 10;
}

.search-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 20px;
}

.input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f4f6f8;
    padding: 15px 20px;
    border-radius: 10px;
}

.input-group i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 18px;
}

.input-group input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    color: var(--text-color);
    font-family: var(--font-body);
}

.search-box .divider {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
}

.btn-search {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.btn-search:hover {
    background: var(--primary-color);
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.step-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.step-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-10px);
    border-color: #f0f0f0;
}

.step-card .icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--secondary-color);
    background: rgba(6, 147, 227, 0.08);
    /* Light blue bg */
    transition: 0.3s;
}

.step-card:hover .icon-box {
    background: var(--secondary-color);
    color: var(--white);
}

/* Specific color for 'Get Solution' step to match reference orange if needed, using nth-child 
   Actually reference shows different colors. Let's keep uniform for now or add specific classes.
*/
.step-card:nth-child(3) .icon-box {
    color: var(--accent-color);
    background: rgba(255, 185, 0, 0.1);
}

.step-card:nth-child(3):hover .icon-box {
    background: var(--accent-color);
    color: var(--white);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-content .highlight {
    color: var(--secondary-color);
}

.about-content p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 20px;
}

/* Services */
.d-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.header-left h2 {
    width: 300px;
    font-size: 36px;
}

.header-right p {
    width: 400px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card:hover,
.service-card.active {
    background: var(--accent-color);
    /* Orange active state from reference */
    color: var(--white);
    transform: translateY(-5px);
}

.service-card .icon-wrapper {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-card:hover .icon-wrapper,
.service-card.active .icon-wrapper {
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card:hover h3,
.service-card.active h3 {
    color: var(--white);
}

.service-card .arrow-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s;
}

.service-card:hover .arrow-icon,
.service-card.active .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
}

/* Testimonials */
.testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.testimonial-img-wrapper {
    position: relative;
}

.testimonial-img-wrapper img {
    border-radius: var(--radius-lg);
}

.testimonial-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 20px 0;
    /* Inline with text */
}

.stars {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feedback-text {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-color);
}

.patient-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.patient-info p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: #007bbd;
    /* Deep Blue */
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul li a:hover {
    color: var(--white);
    margin-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
}

.footer-links a {
    color: var(--white);
    margin-left: 20px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .testimonial-img-wrapper {
        margin: 0 auto 40px;
    }
}

/* Sticky Header State */
header.scrolled {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    animation: slideDown 0.3s ease;
}

header.scrolled .logo {
    color: var(--secondary-color);
}

header.scrolled .nav-links a {
    color: var(--text-color);
}

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
    color: var(--secondary-color);
}

header.scrolled .btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

header.scrolled .btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
}

header.scrolled .hamburger {
    color: var(--text-color);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Responsive Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-color);
        font-size: 20px;
    }

    .header-actions {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .image-wrapper {
        margin: 0 auto;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box .divider {
        display: none;
    }

    .input-group {
        width: 100%;
    }

    .btn-search {
        width: 100%;
        margin-top: 10px;
    }

    .d-flex-between {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
    }

    .header-left h2,
    .header-right p {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    /* Mobile Menu - already added above but merging for cleanliness if possible, but appending here is fine */
    .hamburger.active {
        position: fixed;
        right: 20px;
        top: 25px;
        z-index: 1002;
        color: var(--text-color);
    }
}