/* General Styles */
:root {
    --primary-color: #0A7184;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw !important;
    padding: 0;
    margin: 0;
    font-family: 'Crimson Pro', serif;
    box-sizing: border-box;
    overflow-x: hidden;
}

.container {
    width: 100%;
}

/* Header */
.header {
    width: 100%;
    background-color: #fff;
    padding: 10px 5%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    /* animation: slideInLeft 1s ease-out; */
}

.header-right {
    display: flex;
    align-items: center;
}

.btn {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    box-shadow: 2px 3px 4px 0px #32323287;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-radius: 4px;
    /* animation: slideInRight 1s ease-out; */
}

.hamburger {
    display: none;
    /* Hidden by default */
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
}

/* Navigation */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #32323219;
    box-shadow: 0px 8px 5px 0px #0a72843f;
    padding: 10px 5%;

}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;

}

.nav-list li {
    margin: 0 10px;
    animation: slideInUp 1s ease-out;

}

.nav-list a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 0.8px;
    font-weight: 600;
}
/* testimonials section  */

.testimonials {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    margin: 0;
    font-family: Arial, sans-serif;
    padding: 20px 5%;
    margin-top: 25px;
}

.testimonial-container {
    width: 100%;
    background: #fff;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.testimonial-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-content iframe {
    width: 40%;
    height: 100%;
    min-height: 250px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.testimonial-text-container {
    width: 50%;
}

.testimonial-text {
    font-size: 16px;
    color: #555;
    font-style: italic;
    text-align: center;
}

.testimonial-author {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

.nav-buttons {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.nav-button {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #0A7184;
}

.nav-button:hover {
    color: black;
}

.patientTestimonials {
    width: 100%;
    margin-top: 15px;
    padding: 25px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}

.patientTestimonials h1 {
    color: var(--primary-color);
}

.Announcement {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
    width: 100%;
}

.announcement-item {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
}

.announcement-item h3 {
    color: rgba(17, 17, 17, 0.766);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-item iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

/* Footer section  */
.footer {
    width: 100%;
    background-color: #fbfdfd;
    /* border-top: 3px solid #0a728472; */
    border-top: 1px solid #32323219;
    box-shadow: 0px 8px 15px 0px #0a7284c0;
    color: #0A7184;
    padding: 20px 5%;
    margin-top: 35px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* max-width: 1200px; */
    margin: auto;
    /* padding: 0px 5%; */
}

.footer-section {
    flex: 1;
    margin: 10px;
    /* min-width: 300px; */
}
.footer-section img {
    width: 40%;
}
.footer-section p{
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10%;
    margin-top: 10px;
}
.footer-section p i {
    color: #0A7184;
}
.footer-title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.footer-text,
.footer-links li {
    color: #303030;
    margin: 5px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    text-decoration: none;
    color: #303030;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}
.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #0A7184;
    transition: width 0.3s ease-in-out;
}
.footer-links a:hover {
    color: #0A7184;
}
.footer-links a:hover::after {
    width: 50%;
}

.subscription-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.email-input {
    flex: 1;
    padding: 8px;
    border: 2px solid #0A7184;
    border-radius: 4px;
}
.email-input:focus{
    outline: #0A7184;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.email-input::placeholder{
    font-weight: 400;
}

.subscribe-button {
    padding: 8px 12px;
    border: none;
    background-color: #0A7184;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-icon {
    text-decoration: none;
    color: #0A7184;
    font-size: 24px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: inherit;
}

.social-icon:hover i.fa-facebook-f {
    color: #1877F2;
}

.social-icon:hover i.fa-twitter {
    color: #1DA1F2;
}

.social-icon:hover i.fa-instagram {
    color: #E4405F;
}

.social-icon:hover i.fa-linkedin-in {
    color: #0077B5;
}
.footer-bottom {
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    color: #303030;
    font-weight: 600;
    margin-top: 20px;
    flex-wrap: wrap;
    text-align: center;
}
.footer-bottom div {
    flex: 1;
}
.footer-bottom a {
    text-decoration: none;
    color: #0A7184;
    letter-spacing: 0.5px;
}



@media (max-width: 768px) {
    .header {
        padding: 10px 2%;
    }

    .logo img {
        height: 40px;
        width: auto;
    }

    .btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .hamburger {
        display: flex;
        /* Show hamburger on mobile */
        justify-content: center;
        align-items: center;
    }

    .hamburger span {
        margin: 0;
        padding: 0;
    }

    .navbar {
        display: none;
        /* Hide nav by default on mobile */

    }

    .navbar.active {
        display: flex;
        /* Show nav when active */

    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list li {
        margin: 10px 0;
        animation: slideInLeft 1s ease-out;
    }
    hero-header-container h3 {
        font-size: 0.8rem;
    }

    .hero-header-content p {
        font-size: 1.5rem;
    }
    .Announcement{
        padding: 20px 0px;
    }
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-content iframe {
        width: 100%;
        height: 200px;
    }

    .testimonial-text-container {
        width: 100%;
    }

    .nav-buttons {
        position: static;
        justify-content: center;
        margin-top: 10px;
    }

}

@media (max-width: 465px) {

    #nav-btn {
        display: none;
    }
    .banner-content {
        flex-direction: column;
    }

    .banner-left {
        order: 1;
        padding-right: 0;
        text-align: center;
        margin-bottom: 20px;
    }
     /* footer secttion  */
     .footer {
        padding: 20px 4%;
    }

    .footer-container {
        flex-direction: column;
        padding: 0;
    }
    .footer-section p{
    margin-left: 0px;
    
}

}

/* Keyframes for Slide-In Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}