:root {
    --primary-color: #407a6f;
    --primary-dark: #194743;
    --secondary-color: #0d5a55;
    --accent-color: #32c2b3;
    --highlight-color: #18c8b7;
    --light-bg: #eef8f6;
    --overlay-color: rgba(30, 75, 71, 0.83);
    --nav-bg: rgba(64, 122, 111, 0.9);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    /* Adding a modern font */
}

/* Custom Utilities for Compatibility */
.hidden {
    display: none !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('./assets/heroImage.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 0;
}

.nav-item{
    color:white;
    text-decoration:none;
    font-size:1.05rem;
    font-weight:600;
    padding:8px 0;
    transition:0.3s ease;
    border-bottom:2px solid transparent;
}

.nav-item:hover{
    color:#abf0e8;
    border-bottom:2px solid #abf0e8;
}

/* .about-img, .appointment-img {} */

@media (min-width: 768px) {
    .hero-section {
        height: 80vh;
        border-bottom-left-radius: 100px;
        border-bottom-right-radius: 100px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }
    /* .hamburger{
        display:block !important;
    } */

    .nav-links{
        width:100%;
        flex-direction:column;
        display:none !important;
        margin-top:1rem;
        background:rgba(0,0,0,0.25);
        padding:1rem;
        border-radius:20px;
    }

    .nav-links.show{
        display:flex !important;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--overlay-color);
    z-index: -1;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.custom-nav {
    position: relative;
    z-index: 20;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    transition: all 0.5s ease;
    animation: fadeDown 1s ease;
}

.custom-nav:hover {
    transform: scale(1.01);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.nav-link-custom {
    color: white !important;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.nav-link-custom:hover {
    border-bottom-color: white;
}

/* Animations */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Appointment Quick Bar */
.appointment-quick-bar {
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .appointment-quick-bar {
        transform: translateY(-160px);
    }

    .doctor-img-container {
        transform: translateY(-40px);
    }
}

.rounded-35 {
    border-radius: 35px !important;
}

.border-light-teal {
    border-color: #c9f2ea !important;
}

/* Sections */
.bg-gradient-custom {
    background: linear-gradient(to bottom right, var(--light-bg), white);
}

.services-section {
    background-image: url('./assets/surgery_room.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.services-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(4, 90, 86, 0.85);
    z-index: 0;
}

.service-layout {
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.service-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.875rem;
    font-weight: 300;
    transition: color 0.3s;
    text-align: right;
    width: 100%;
}

.service-btn:hover,
.service-btn.active {
    color: #00ffe1;
}

.service-indicator-bar {
    position: relative;
    height: 700px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
}

#indicator {
    position: absolute;
    width: 10px;
    height: 60px;
    background-color: white;
    border-radius: 1rem;
    left: -4px;
    transition: all 0.5s ease;
}

/* Doctors Card */
.doctor-card {
    border-radius: 1.5rem;
    transition: transform 0.3s;
}

.doctor-card:hover {
    transform: translateY(-10px);
}

/* Footer */
.footer-custom {
    background-color: #1d3434;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    position: relative;
    overflow: hidden;
}

.footer-circle-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.circle {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
}

/* Custom spacing and sizes */
.mt-neg-10 {
    margin-top: -2.5rem !important;
}

.h-70vh {
    height: 70vh;
}

.w-65pct {
    width: 65% !important;
}

.w-80pct {
    width: 80% !important;
}

.w-150pct {
    width: 150% !important;
}

.drop-shadow-custom {
    filter: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.03)) drop-shadow(0 8px 5px rgba(0, 0, 0, 0.08));
}

/* Form Styles */
.form-control-custom {
    background-color: #f7f7f7;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    height: 56px;
    padding: 0 1rem;
    width: 100%;
    outline: none;
}

.form-control-custom:focus {
    border-radius: 0.75rem;
    border-color: var(--secondary-color);
    border: none;
    outline: none;
}

.btn-confirm {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    height: 60px;
    border-radius: 0.75rem;
    transition: background-color 0.3s;
    border: none;
    width: 100%;
}

.btn-confirm:hover {
    background-color: #083f3c;
}

.btn-outline-info {
    color: #1b8e6b !important;
    border-color: #1b8e6b !important;
}

.btn-outline-info:hover {
    background-color: #1b8e6b !important;
    color: white !important;
    border-color: #1b8e6b !important;
}

.footer-address a {
    color: #ced4da;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-address a:hover {
    color: white;
}