@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root{
    --maincolor:#2ec8a6;
    --secondcolor:#f8a803;
    --thirdcolor:#f4ab01;
    --textcolor:#4A5764;
}
*{
    margin:0; 
    padding:0;
    box-sizing: border-box;
    outline: none; 
    border:none;
    text-decoration: none;
    text-transform: capitalize;
    transition:all .2s linear;
    font-family: "Inter", sans-serif;
    
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 7%;
    width: 100%;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    z-index: 1000;
    background-color: white !important;

}
  .navbar {
    background-color: #fff;
    color: #27252594;
     padding: 1rem 1.5rem;
 }

 .navbar-brand {
     font-size: 1.8rem;
     font-weight: bold;
     color: #27252594;
     animation: slideIn 1s ease-in-out;
 }

 .navbar-brand:hover {
     color: #ffc107;
 }

 .nav-link {
   color: #27252594;
     transition: color 0.3s, transform 0.3s;
     font-size: 1.5rem;
     font-weight: bold;
 }

 .nav-link:hover {
     color: #ffc107;
     transform: translateY(-3px);
 }

 .btn-primary {
     background: #ffc107;
     color: #33313194;
     border: none;
     transition: background-color 0.3s, transform 0.3s;
     padding: 0.5rem 1rem;
     font-size: 1.5rem;
 }

 .btn-primary:hover {
     background-color: #e0a800;
     transform: scale(1.1);
 }

 @keyframes slideIn {
     from {
         opacity: 0;
         transform: translateX(-50px);
     }
     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @media (max-width: 992px) {
     .navbar {
         padding: 1rem;
     }
     .nav-link {
         margin: 5px 0;
         font-size: 2.2rem;
     }
     .btn-primary {
         width: 100%;
         text-align: center;
         font-size: 1.2rem;
     }
 }

 @media (max-width: 576px) {
     .navbar-brand {
         font-size: 1.5rem;
     }
     .nav-link {
         font-size: 1rem;
     }
     .btn-primary {
         font-size: 1rem;
     }
 }

/* header section ended */


.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    transition: transform 0.3s ease;
}

.card-img-top:hover {
    transform: scale(1.1);
}

.portfolio-item img {
    transition: transform 0.3s ease;
}

.portfolio-item img:hover {
    transform: scale(1.1);
}
 /* Service Section */
 #services{
    font-size: 1.5rem;
 }
 .service-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform}
    /* Home section started */
    .main-home{
        padding: 2rem 7%;
        background-image: url(images/blurbg1.jpg);
        width: 100%;
        min-height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .home{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 6rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .home .home-left-content{
        flex: 1 1 40rem;
    }
    .home-left-content span{
        font-size: 2rem;
        color: var(--maincolor);
        padding: 1rem 0;
        font-weight: bolder;
    }
    .home-left-content h2{
        font-size: 48px;
        margin: 1rem 0;
    }
    .home-left-content p {
        font-size: 1.7rem;
        color: var(--textcolor);
        line-height: 3rem;
    }
    .home-btn{
        display: flex;
        align-items: center;
        gap: 2rem;
        margin-top: 2rem;
    }
    .home-btn a{
        display: inline-block;
        padding: 1.5rem 3rem ;
        background-color: var(--maincolor);
        font-size: 1.7rem;
        color: white;
        transition: 0.5s ease;
    }
    .home-btn a:hover{
        padding: 1.5rem 2.5rem;
    }
    .homebtnsec{
    background-color: transparent !important;
    color: var(--textcolor) !important;
    border: 1px solid var(--maincolor);
    }
    .homebtnsec:hover{
        background-color: var(--secondcolor)  !important;
        color: wheat !important;
    }
    .home .home-right-content{
        flex: 1 1 50rem;
    }
    .home .home-right-content img{
        width: 100%;
        margin-top: 4rem;
    }
    .technology{
        padding: 3rem 7%;
    }
    .main-technology{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 3rem;
        margin-top: -100px;
    }
    .inner-technology{
        flex: 1 1 300px;
        padding: 3rem 3rem;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        background-image: url(images/backgroung-pattern-1.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        background-color: white;
        position: relative;
        z-index: 1;
    }
    .inner-technology span{
        width: 0;
        height: 100%;
        background-color: var(--maincolor);
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        transition: 0.5s;
    }
    .inner-technology:hover span{
        width: 100%;
    } .inner-technology:hover i{
        color: white;
    }
    .inner-technology:hover h2{
        color: white;
    }
    .inner-technology:hover p{
        color: white;
    }
    .inner-technology i{
        font-size: 48px;
        color: var(--maincolor);
    }
    .inner-technology h2{
        font-size: 2.5rem;
        padding: 1rem 0;
    }
    .inner-technology p{
        font-size: 1.5rem;
        line-height: 2.5rem;
        padding: 1rem 0;
    }
    /* home section will end */ 


.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-box h3 {
    color: #3e2723;
    margin-bottom: 20px;
}

.service-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #777;
}



.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    gap: 15px;
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .social-icons {
    opacity: 1;
}

.social-icon {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #007bff;
}
.font{
    font-size: 1.5rem;
  
}


.about-section {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeIn 1s ease-in-out;
}

.about-section img {
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.about-section img:hover {
    transform: scale(1.05);
}

#home {
    background: url('home-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
}

footer {
    background-color: #343a40;
    color: white;
    padding: 30px 0;
    position: relative;
}

footer p {
    margin: 0;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

footer .social-icon {
    color: #f8f9fa;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer .social-icon:hover {
    color: #007bff;
    transform: scale(1.2);
}

footer .social-icons a {
    text-decoration: none;
}

footer .social-icons a:hover {
    color: #007bff;
}

/* Animations */
footer {
    animation: slideIn 1s ease-out;
}

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

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

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

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

/* FAQ Section Styles */
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px;
    cursor: pointer;
}

.faq-item:hover {
    background-color: #f1f1f1;
}

.faq-item h5 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer {
    display: none;
    margin-top: 10px;
    color: #555;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Animation */
.card {
opacity: 0;
transform: translateY(20px);
transition: transform 0.5s ease, opacity 0.5s ease;
}

.card.visible {
opacity: 1;
transform: translateY(0);
}

.card-body img {
transition: transform 0.3s ease;
}

.card-body img:hover {
transform: scale(1.1);
}
/* partners section */
#partners {
padding: 60px 0;
background-color: #f8f9fa;
}

#partners h2 {
font-size: 2.5rem;
font-weight: bold;
}

.partner-card {
position: relative;
overflow: hidden;
border-radius: 15px;
background-color: #fff;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.4s, box-shadow 0.4s;
}

.partner-card:hover {
transform: scale(1.05) rotate(1deg); /* بزرگ‌نمایی و چرخش جزئی */
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.partner-img {
overflow: hidden;
position: relative;
}

.partner-img img {
width: 100%;
transition: transform 0.6s ease, filter 0.6s ease;
}

.partner-card:hover .partner-img img {
transform: scale(1.2) rotate(-3deg); 
filter: brightness(70%);
}

.partner-info {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.7);
color: white;
text-align: center;
padding: 20px;
transform: translateY(100%);
opacity: 0;
transition: transform 0.5s ease, opacity 0.5s ease;
}

.partner-card:hover .partner-info {
transform: translateY(0);
opacity: 1; 
}

.partner-info h5 {
font-size: 1.5rem;
margin-bottom: 10px;
animation: textFadeIn 0.6s forwards;
}

.partner-info p {
font-size: 1rem;
animation: textSlideUp 0.8s forwards ease-in-out;
}


@keyframes textFadeIn {
0% {
    opacity: 0;
    transform: translateY(20px);
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes textSlideUp {
0% {
    opacity: 0;
    transform: translateY(30px);
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}
/* pricing */
#pricing {
padding: 60px 0;
background-color: #f8f9fa;
}

#pricing h2 {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 40px;
}

.pricing-card {
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.4s, box-shadow 0.4s, background-color 0.4s;
padding: 20px;
text-align: center;
}

.pricing-card:hover {
transform: scale(1.05);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
background-color: #f5f5f5;
}

.pricing-card.recommended {
border: 2px solid #2ec8a6;
position: relative;
margin-top: -20px;
}

.pricing-card.recommended::before {
content: "Recommended";
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
background-color: #2ec8a6;
color: #fff;
font-size: 0.9rem;
font-weight: bold;
padding: 5px 15px;
border-radius: 20px;
}

.pricing-header h3 {
font-size: 1.8rem;
font-weight: bold;
margin-bottom: 10px;
color: #333;
}

.pricing-header p {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 20px;
color: #2ec8a6;
}

.pricing-features {
list-style: none;
padding: 0;
margin: 0 0 20px;
}

.pricing-features li {
font-size: 1rem;
color: #555;
margin-bottom: 10px;
}

.pricing-footer button {
padding: 10px 25px;
font-size: 1rem;
border: none;
border-radius: 25px;
transition: background-color 0.3s, transform 0.3s;
}

.pricing-footer button:hover {
background-color: #2ec8a6;
transform: scale(1.1);
}

/* Animation on Page Load */
.pricing-card {
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.6s ease-in-out forwards;
}

.pricing-card:nth-child(1) {
animation-delay: 0.2s;
}

.pricing-card:nth-child(2) {
animation-delay: 0.4s;
}

.pricing-card:nth-child(3) {
animation-delay: 0.6s;
}

@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}
/* New page */
.doctor-team-section {
background: #f0f8ff; /* Light blue background */
border-radius: 15px;
overflow: hidden;
}

.icon-badge {
position: absolute;
top: 20%;
left: 15%;
width: 60px;
height: 60px;
border-radius: 50%;
font-size: 24px;
}

.info-badge {
position: absolute;
bottom: 10%;
right: 5%;
border-radius: 10px;
max-width: 250px;
}

.info-badge h5 {
color: #007bff; /* Blue text color */
}

.info-badge p {
font-size: 0.9rem;
}


.doctor-profile-section {
background: #f9f9f9;
border-radius: 15px;
}

.operation-badge {
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
width: 80%;
border-radius: 10px;
text-align: center;
}

.rating-badge h4 {
font-size: 1.5rem;
font-weight: bold;
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .portfolio-overlay h4 {
    color: #fff;
    font-size: 1.5rem;
}
  /* Contact Section */
.contact-form {
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}

.contact-form input,
.contact-form textarea {
transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
border-color: #ffb74d;
outline: none;
}

.contact-form .form-control {
padding: 15px;
font-size: 16px;
border-radius: 5px;
border: 1px solid #ddd;
}

.btn-send {
background-color: #3e2723;
color: white;
padding: 15px 30px;
border-radius: 5px;
font-size: 16px;
width: 100%;
transition: background-color 0.3s ease;
}

.btn-send:hover {
background-color: #ffb74d;
color: #3e2723;
}

.map-container {
margin-top: 30px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Animation for contact form */
.contact-form:hover {
transform: scale(1.05);
}