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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar {
    background-color: #ffdb2b;
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

.navbar {
    background: linear-gradient(to right, #ffdb2b, #fffb41);
    background-color: #ffdb2b;
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-weight: bold;
    font-size: 1.5em;
    color: #000;
}

.brand img {
    width: 25%;
}

.menu-toggle {
    font-size: 1.5em;
    display: none;
    background: none;
    border: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #957c00;
}

.btn-appointment {
    background-color: #fcc300;
    box-shadow: 2px 2px 1px #987600;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-appointment:hover {
    background-color: #ffc814;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff9b2;
        flex-direction: column;
        gap: 0;
        display: none;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f3e779;
    }

    .nav-menu a {
        padding: 12px 0;
        width: 100%;
        display: block;
    }

    .btn-appointment {
        margin: 10px auto;
    }

    .brand img {
        width: 120px;
        /* Adjust for mobile */
    }
}

.hero {
    background: url('your-image.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    border-radius: 8px;
}

.btn-read {
    margin-top: 1rem;
    padding: 10px 20px;
    background: #ffd505;
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-read:hover {
    background: #ecc70e;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        background: white;
        padding: 1em;
    }

    .nav-menu.open {
        display: flex;
    }
}

/* Hero section */
.hero-carousel {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.carousel {
    position: relative;
    height: 80vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    /* transition: opacity 1s ease, left 1s ease; */
    transform: translateX(100%);
    /* opacity: 0; */
    z-index: 1;
    transition: transform 0.8s ease, opacity 0.8s ease;
    /* transition: all 3s ease; */
}

.slide.active {
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
}

.slide-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.nav {
    position: absolute;
    top: 50%;
    width: auto;
    transform: translateY(-50%);
    background: #f7d21a;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.nav.prev {
    left: 20px;
    padding: 5px 10px;
    font-size: 15px;
}

.nav.next {
    right: 20px;
    padding: 5px 10px;
    font-size: 15px;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #ffd505;
}

/* end hero section */

/* Service section */

.services {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 50px;
    background: #f9f9f9;
}

.service-box {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    flex: 1;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    overflow: hidden;
}

/* Hover background sliding up */
.service-box::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #fcc300;
    z-index: 0;
    transition: height 0.4s ease;
}

.service-box:hover::before {
    height: 100%;
}

.service-box .icon,
.service-box h3,
.service-box p {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.service-box .icon {
    font-size: 40px;
    color: #fcc300;
    margin-bottom: 15px;
}

.service-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.service-box p {
    color: #555;
    font-size: 14px;
}

/* Change text colors on hover */
.service-box:hover .icon,
.service-box:hover h3,
.service-box:hover p {
    color: #fff;
}

.emergency-section {
    background: linear-gradient(to right, #ffdb2b, #fffb41);
    background-color: #ffdb2b;
    padding: 80px 20px;
    text-align: center;
    /* color: #fff; */
}

.emergency-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.emergency-content p {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn-outline {
    display: inline-block;
    padding: 14px 28px;
    color: #000;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

/* about section  */
.about-us-section {
    padding: 80px 20px;
    background-color: #fff;
    color: #333;
    /* font-family: Arial, sans-serif; */
}

/*    Commitment     */
.mission-vision-section {
    background-color: #eae5dc;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-title .underline {
    display: block;
    width: 60px;
    height: 3px;
    margin: 0 auto 10px;
    background-color: #fcc300;
    border-radius: 3px;
}

.section-title p {
    color: #555;
}

.about-us-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.image-box {
    position: relative;
    max-width: 500px;
    flex: 1;
    /* max-width: 100%; */
    transition: transform 0.3s ease;
    cursor: pointer;
}

.image-box:hover {
    transform: scale(1.02);
}

.fade-up {
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* .image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
} */

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fcc300;
    color: white;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.text-content {
    flex: 1;
    max-width: 600px;
}

.text-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.text-content .italic {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.text-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.text-content ul li {
    margin-bottom: 10px;
    color: #444;
}

.text-content ul li::before {
    content: "✔️";
    color: #fcc300;
    margin-right: 10px;
}

.text-content p {
    line-height: 1.6;
    color: #555;
}

/* Fade-up animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUpAnim 1s ease forwards;
}

.fade-up:nth-child(1) {
    animation-delay: 0.3s;
}

.fade-up:nth-child(2) {
    animation-delay: 0.6s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .about-us-content {
        flex-direction: column;
    }
}

/* end about section */

.stats-section {
    padding: 60px 20px;
    background-color: #fff;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease;
    min-width: 200px;
    flex: 1 1 220px;
}

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

.stat-card i {
    font-size: 40px;
    color: #fcc300;
    margin-bottom: 15px;
}

.stat-card h2 {
    font-size: 28px;
    color: #444;
    margin-bottom: 5px;
    font-weight: bold;
}

.stat-card p {
    color: #666;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-card {
        flex: 1 1 100%;
    }
}

.feature-section {
    padding: 80px 20px;
    background: #fff;
}

.feature-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
}

.feature-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    object-fit: cover;
}

.feature-content {
    flex: 1;
    max-width: 600px;
}

.feature-content h2 {
    font-size: 28px;
    color: #333;
    font-weight: 700;
}

.underline {
    width: 50px;
    height: 3px;
    background-color: #fcc300;
    margin: 12px 0 20px 0;
}

.feature-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.feature-list .feature-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 30px;
    color: #fcc300;
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.feature-box h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 5px;
}

.feature-box p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .feature-container {
        flex-direction: column;
    }

    .feature-image,
    .feature-content {
        max-width: 100%;
    }
}

/* services  */
.services-section {
    background-color: #fff;
    padding: 80px 20px;
    text-align: center;
}

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

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 50px;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.service-card {
    background: #fff;
    padding: 30px 20px;
    max-width: 400px;
    text-align: center;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f7f7f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.icon-wrapper i {
    font-size: 32px;
    color: #fcc300;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.underline {
    width: 40px;
    height: 3px;
    background-color: #fcc300;
    /* margin: 0 auto 15px; */
}

.service-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* services */
#appointment {
    background: #ddd;
    background-image: url(../Amugen-Healthcare-devDigvijay/assets/team.jpg);
    background-size: cover;
    background-position: center;
}

#appointment .container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.section-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns */
    gap: 20px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        /* 1 column on smaller screens */
    }
}

input,
select,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    resize: vertical;
}

textarea {
    grid-column: span 2;
    min-height: 120px;
}

button.submit-btn {
    grid-column: span 2;
    background-color: #fcc300;
    color: #fff;
    font-size: 16px;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.submit-btn:hover {
    background-color: #2eaab0;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    textarea,
    button.submit-btn {
        grid-column: span 1;
    }
}

/* Departments  */
#departments h4 {
    font-weight: 600;
}

#departments .nav-link {
    border-left: 3px solid transparent;
    color: #333;
    text-align: left;
}

#departments .nav-link.active {
    background-color: #f8f9fa;
    border-left: 3px solid #00b6ad;
    color: #00b6ad;
    font-weight: bold;
}

/* testimonial  */

#testimonial-section {
    background-color: #eae5dc;
    padding: 60px 0;
}

#testimonial-section .testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

#testimonial-section .testimonial-card:hover {
    transform: translateY(-5px);
}

#testimonial-section .testimonial-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -40px;
    border: 4px solid #ffffff;
}

#testimonial-section .quote-icon {
    color: #ffd505;
    font-size: 30px;
}

#testimonial-section .carousel-indicators [data-bs-target] {
    background-color: #ffd505;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* footer */
footer {
    background: linear-gradient(to right, #ffdb2b, #fffb41);
    ;
    background-color: #ffd505;
}

footer ul {
    padding-left: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #ffd505;
}

footer .border-top {
    border-top: var(--bs-border-width) var(--bs-border-style) #e7cf2a !important;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffd505;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #d5b100;
    color: #fff;
    transform: scale(1.1);
}

footer .btn i {
    font-size: 1.2rem;
}

/* contact */

.contact-section {
    background-color: #ffffff;
}

.form-grid input,
.form-grid textarea {
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
}

.form-grid textarea {
    resize: vertical;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
}


.about-box {
    background-color: #f9f9f9;
    border-left: 4px solid #ffd505;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.about-box:hover {
    transform: translateY(-5px);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 16px;
    color: #6c757d;
}

/* doctors team section  */
.team-section .underline {
    background-color: #ffdb2b;
    height: 3px;
    margin: 0 auto;
}

.card img {
    height: 300px;
    object-fit: cover;
}

/* leadership */
.leadership-section {
    /*  background: url('assets/team.jpg') no-repeat center center/cover;  */
    background: #ffc90c;
    width: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

.leadership-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Dark overlay for readability */
    z-index: 1;
}

.leadership-content {
    position: relative;
    z-index: 2;
}

.content-box {
    /* background-color: rgba(0, 0, 0, 0.6); */
    padding: 30px;
    border-radius: 12px;
}

.content-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.content-box p {
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .leadership-section .team_image{
        padding: 0px;
    }
}