*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
:root{
    --MAIN-color:rgb(34 205 173);
    --bluue-color: #031a32;
    --sky-color:#a8dee2;
    --blue-color:#0f054c;
    --red-color: #ff3150;
    --yellow-color: #ffc400;
    --section-color: #eff7fa;
    --main-transition: 0.3s;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
}
html {
    scroll-behavior: smooth;
}
.contact-bar {
    background-color: #fff; 
    margin: 10px 0;
}
.text-center .btn-custom {
    background-color: var(--MAIN-color);
    color: white;
    font-weight: bold;
    padding: 10px;
    text-decoration: none;
    clip-path: polygon(0 0, 99% 0, 90% 100%, 0% 100%);
}
.btn-custom:hover {
    background-color: #249e8b;
    color: white;
}
.icon {
    color: #6c757d; /* لون الأيقونات */
}
.call-number {
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: -80%;
}
@media (max-width: 1290px) { 
    .call-number {
        margin-right: 3%;
    }
}
/* Header styling */
header,
.navbar-collapse {
    overflow: visible !important;
}
.navbar-collapse{
    clip-path: polygon(3% 0%, 100% 0%, 100% 1380%, 0% 100%);
}
header .navbar-nav{
    background-color: #292929;
    width: 100%;
    position: relative;
}
@media (max-width: 1290px) { 
    .navbar-nav .nav-item:not(:last-child)::after{
        display: none;
    }
    .navbar-collapse{
        margin: 0% 0px 0 -300px;    
    }
    .hero-section .btn-primary{
        margin: 0% 0% 8% -242px;
        width: 250px;
    }
    .image {
        width: 325px;
        left: 31px;
    }
    header .navbar-nav{
        margin-right: 140px;
    }
}
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: var(--MAIN-color);
}
@media (max-width: 1290px) { 
    header .container .navbar-nav::after {
        display: none;
    }
    .ml-3 a{
        display: none;
    }
    .navbar-expand-lg{
        width: 30% !important;
    }
    
}
header .logo{
    margin-left: 30px;
    margin-bottom: 10px;
}
header .logo img{
    width: 290px;
    height: 65px;
}
@media (max-width: 770px) {
    header .logo img{
        margin: 12px;  
   }
}
header .navbar-nav .nav-link {
    font-weight: 500;
    color: #eee;
    padding: 0 10px;
}

header .navbar-nav .nav-link:hover {
    color: var(--MAIN-color);
}
header .navbar-nav li{
    padding:10px 20px ;
}
.ml-3 a{
    padding: 5px;
}
.ml-3 a i{
    background: var(--MAIN-color);
    border-radius: 50%;
    width: 21px;
    height: 24px;
    padding: 4px;}

.input-group input {
    border-radius: 50px; /* يجعل الحواف دائرية */
    padding: 8px 12px;
    border: 1px solid #ccc;
    outline: none;
}

.input-group .btn {
    border-radius: 50px; /* يجعل الزر دائريًا */
    border: none;
    background-color: #f8f9fa;
    color: #939090;
}

.input-group .btn:hover {
    background-color: #e2e6ea;
    cursor: pointer;
}
/*************************/
.navbar-nav .nav-item .megaservices {
    display: none !important;
    position: absolute !important;
    top: 100%;
    left: 0;
    background-color: white;
    padding: 10px;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}

.nav-item.dropdown:hover .megaservices {
    display: block !important;
}
/* Hero Section styling */
.hero-section {
    background-image: url(../image/Banner\ Photo.jpg);
    color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    height: 70vh;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.text-container{
    z-index: 1;
    position: relative;
    width: 100%;
    margin: 21% 12% 9% 75%;
    text-align: right;
}
.hero-section .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: white;
    color: #000;
    width: 300px;
}
.logo-section {
    background-size: cover;
    background-position: center;
    height: 43vh;
    margin-top: 30px;
}
@media (max-width:1290px) {
    .logo-section {
        height: 20vh;
    }
    /*.hero-section{
        background-image: url(../image/avatar.jpg);
    }*/
}
/* Logo styling */
.logo-section img {
    transition: transform 0.3s ease;
    width: auto; 
    object-fit: contain; 
    margin: 0 auto; 
    display: block;
}
@media (max-width: 993px) { 
    .logo-section img {
        max-width: 100spx;
    }
}
.logo-section img:hover {
    transform: scale(1.1);
}

/* service styling */
.service{
    margin-top: -100px;
}
.service-card {
    text-align: center;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s;
    height: 260px;
    width: 102%;
}
.service-card:hover {
    transform: translateY(-10px);
}
.service-card img {
    width: 100%;
    height: 150px;
    border-radius: 8px;
}
.service-card h5 {
    margin-top: 15px;
    font-weight: bold;
}
.service-card p {
    color: #666;
}
.service-card .btn-custom {
    background-color: #00c2c7;
    color: #fff;
    border-radius: 20px;
    padding: 5px 20px;
}
.btn-custom:hover {
    background-color: #007c7f;
    color: #fff;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--MAIN-color);
    font-weight: bold;
}
.btn-learn-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--blue-color);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background-color: #0056b3;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/*testimonial section*/
.testimonial-section {
    position: relative;
    background: url('../image/landing.jpg') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    text-align: center;
    color: white;
}

.testimonial-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.testimonial-section .container {
    position: relative;
    z-index: 2;
}

/* Heading and subtitle */
.testimonial-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimonial-section p.subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #ccc;
}

/* Card styling */
.testimonial-card {
    background-color: rgba(0, 0, 0, 0.3); /* Transparent background by default */
    padding: 20px;
    border-radius: 8px;
    color: white;
    transition: background-color 0.3s ease;
}

.testimonial-card:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Dark background on hover */
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: -50px auto 15px auto;
    background-color: #ccc;
}

.testimonial-card h5 {
    font-size: 1rem;
    margin-top: 10px;
}

.testimonial-card p {
    font-size: 0.9rem;
    color: #ddd;
}
.clients-section {
    padding: 60px 0;
    background-color: #fff;
  }
  
/* Section Title */
.section-title {
    color: var(--MAIN-color);
    font-weight: bold;
    margin-bottom: 20px;
} 
/* Testimonial Styles */
.testimonial {
    font-style: italic;
    color: #555;
}
  
.testimonial footer {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}
  
/* Pagination Dots */
.testimonial-pagination {
    margin-top: 20px;
}
  
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}  
.dot.active {
    background-color: var(--MAIN-color);
}
/* Stats Numbers */
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
} 
.stat-number::before{
    content: "+";
}
.stat-label {
    color: #666;
    font-size: 0.9rem;
}
.testimonial-text {
    font-size: 1rem;
    color: #666;
}

.testimonial-author {
    color: #888;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Stats styling */
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #292929;
}

.stat-label {
    color: #777;
    font-size: 0.9rem;
}

/* Dot indicators styling */
.dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--MAIN-color);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
}

.dot.active {
    opacity: 1;
}
/*medical Section*/
.medical-services{
    background-color: #f4f4f4;
}
.services-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.services-content h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--MAIN-color);
    margin-bottom: 10px;
}

.services-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-content img {
    width: 100%;
    max-width: 450px;
    border-radius: 5px;
}

.arrow {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: var(--MAIN-color);
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    cursor: pointer;
    transform: translateY(-50%);
}

.arrow-left {
    left: -40px;
    transform: translateY(-50%) rotate(-90deg);
}

.arrow-right {
    right: -40px;
    transform: translateY(-50%) rotate(90deg);
}

.services-content p {
    color: #666;
    margin: 20px auto;
    font-size: 16px;
    line-height: 1.8;
    max-width: 450px;
    text-align: center;
    font-style: italic;
}

.btn-primary-custom {
    background-color: var(--MAIN-color);
    color: #fff;
    padding: 10px 25px;
    border: none;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background-color: #007c7f;
    color: #fff;
}
#extra-content {
    display: none; 
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin-top: 10px;
}
.image-wrapper {
    position: relative;
    width: 88%;
    height: auto;
    left: 0;
}
.background-image {
    position: absolute;
    top: -164%;
    right: 9%;
    z-index: 1;
    width: 95%;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}
.doctor-image {
    position: relative;
    z-index: 2;
    max-width: 90%;
    margin-left: -1%;
    display: block;
    height: auto;
}
@media (max-width:990px){
    .background-image{
        display: none;
    }
    .doctor-image{
        margin-left:15%;
    }
}
/* Background shape */
.background-shape {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 28%;
    background-color: var(--MAIN-color);
    z-index: 2;
}
.footer {
    background-color: #111;
    color: #ddd;
    padding: 40px 20px;
}
.footer a {
    color: #ddd;
    text-decoration: none;
}
.footer a:hover {
    color: var(--MAIN-color);
}
.footer .newsletter input {
    border: none;
    border-radius: 0;
}
.footer .newsletter button {
    border-radius: 0;
    background-color: var(--MAIN-color);
    border: none;
}
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 10px;
    text-align: center;
    margin-top: 20px;
}
.footer h5{
    color: #eee;
}
.footer h5::after{
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--MAIN-color); 
    margin: 0;
    margin-top: 10px;
}