/* Offers Card Style Code Start */

/* Offers Card Style Code Start */

ul li {
transition: transform 0.3s ease, color 0.3s ease;
cursor: pointer;
}

ul li:hover {
transform: scale(1.05);
}

ul li i {
transition: transform 0.3s ease;
}

ul li:hover i {
transform: scale(1.15);
}

/* Offers Card Style Code Start */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body {
background: linear-gradient(135deg, #c1fff4, #a4fce0);
min-height: 100vh;
overflow-x: hidden;
}

/* Header & Navigation */
.header {
background: #fff;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}

.nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
}

.logo-container {
display: flex;
align-items: center;
gap: 10px;
}

.logo-icon {
background: #00c9b1;
color: #fff;
padding: 10px;
border-radius: 10px;
font-size: 20px;
}

.logo-text {
font-weight: 700;
font-size: 18px;
color: #1e293b;
}

.nav-links {
display: flex;
list-style: none;
gap: 25px;
}

.nav-links a {
text-decoration: none;
color: #475569;
font-weight: 600;
font-size: 14px;
transition: color 0.3s;
}

.nav-links a:hover {
color: #00c9b1;
}


/* nav-cta Section CSS (Rotating border + pulse glow) */

.emergency{
    position: relative;
    padding: 10px 20px;
    background: #00C1AB;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 0 rgba(0,193,171,0.6);
    animation: softPulse 2.5s ease-in-out infinite;
}

/* Animated border glow */
.emergency::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 2px solid transparent;
    background:
      linear-gradient(#00C1AB, #00C1AB) padding-box,
      linear-gradient(
        120deg,
        rgba(255,255,255,.2),
        #00ffe5,
        rgba(255,255,255,.2)
      ) border-box;
    animation: borderMove 3s linear infinite;
    z-index: -1;
}

/* Smooth glowing wave */
@keyframes softPulse{
    0%{
        box-shadow: 0 0 0 0 rgba(0,193,171,.6);
    }
    50%{
        box-shadow: 0 0 18px 6px rgba(0,193,171,.45);
    }
    100%{
        box-shadow: 0 0 0 0 rgba(0,193,171,.6);
    }
}

/* Border light movement */
@keyframes borderMove{
    0%{ background-position: 0% 50%; }
    100%{ background-position: 200% 50%; }
}

/* Hover = urgent but smooth */
.emergency:hover{
    transform: scale(1.06);
    box-shadow: 0 0 25px rgba(0,193,171,.8);
}


/* nav-cta Section CSS (Rotating border + pulse glow) */

.nav-cta {
background: linear-gradient(135deg, #00c9b1, #00a896);
color: #fff;
padding: 8px 18px;
border-radius: 8px;
font-weight: 600;
font-size: 14px;
text-decoration: none;
transition: all 0.3s;
}

.nav-cta:hover {
transform: translateY(-2px);
box-shadow: 0 5px 12px rgb(2, 255, 23);
}

.mobile-menu-btn {
display: none;
background: none;
border: none;
font-size: 22px;
color: #1e293b;
cursor: pointer;
}

/* Main Container */
.main-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 40px;
padding: 40px 15px;
}

/* Appointment Section */
.appointment-section {
display: flex;
flex-wrap: wrap;
gap: 25px;
justify-content: center;
align-items: flex-start;
animation: fadeIn 1s ease;
}

/* Card Base */
.card {
background: #fff;
border-radius: 25px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
padding: 25px 30px;
flex: 1 1 340px;
max-width: 370px;
animation: floatUp 0.8s ease;
transition: all 0.4s ease;
}

.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 201, 177, 0.2);
}

@keyframes fadeIn {
from {
opacity: 0;
}

to {
opacity: 1;
}
}

@keyframes floatUp {
from {
opacity: 0;
transform: translateY(30px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

/* Logo & Title */
.logo {
text-align: center;
margin-bottom: 10px;
}

.logo i {
background: #00c9b1;
color: #fff;
padding: 14px;
border-radius: 15px;
font-size: 25px;
box-shadow: 0 4px 8px rgba(0, 201, 177, 0.3);
}

.title {
text-align: center;
margin-bottom: 15px;
}

.title h1 {
font-size: 20px;
color: #1e293b;
font-weight: 700;
}

.title p {
font-size: 13px;
color: #475569;
}

/* Appointment Form */
.form-group {
margin-bottom: 15px;
}

.form-group label {
display: flex;
align-items: center;
font-weight: 600;
color: #1e293b;
font-size: 13px;
margin-bottom: 5px;
gap: 5px;
}

.form-group label i {
color: #00c9b1;
}

.form-control {
width: 100%;
padding: 10px 12px;
border: 2px solid #e2e8f0;
border-radius: 10px;
font-size: 13px;
transition: 0.3s;
}

.form-control:focus {
border-color: #00c9b1;
box-shadow: 0 0 0 4px rgba(0, 201, 177, 0.15);
outline: none;
}

.btn-submit {
background: linear-gradient(135deg, #00c9b1, #00a896);
border: none;
color: #fff;
width: 100%;
padding: 12px;
border-radius: 10px;
font-weight: 600;
font-size: 15px;
cursor: pointer;
transition: 0.3s;
}

.btn-submit:hover {
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(0, 201, 177, 0.25);
}

.success-message {
display: none;
margin-top: 10px;
background: #ecfdf5;
color: #047857;
padding: 10px;
border-radius: 8px;
text-align: center;
font-size: 14px;
animation: fadeIn 0.5s ease;
}

/* Info Card */
.info-card p {
color: #475569;
font-size: 13px;
margin-bottom: 10px;
text-align: justify;
}

.info-list {
list-style: none;
padding-left: 0;
}

.info-list li {
padding: 6px 0;
display: flex;
align-items: center;
font-size: 13px;
color: #1e293b;
}

.info-list li i {
color: #00c9b1;
margin-right: 8px;
}

/* Doctor Card */
.doctor-card {
text-align: center;
}

.doctor-img {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 12px;
border: 3px solid #00c9b1;
box-shadow: 0 4px 10px rgba(0, 201, 177, 0.3);
animation: pulse 2s infinite;
}

@keyframes pulse {
0% {
transform: scale(1);
}

50% {
transform: scale(1.05);
}

100% {
transform: scale(1);
}
}

.doctor-name {
font-weight: 700;
font-size: 16px;
color: #1e293b;
margin-bottom: 5px;
}

.doctor-title {
font-size: 13px;
color: #475569;
margin-bottom: 10px;
}

.doctor-details {
font-size: 13px;
color: #475569;
text-align: justify;
}

/* Contact Info */
.contact-info {
text-align: center;
margin-top: 20px;
font-size: 12px;
color: #475569;
}

.contact-info p {
margin: 5px 0;
}

.contact-info i {
color: #00c9b1;
margin-right: 6px;
}

/* Offers Section */
.offers-section {
width: 100%;
padding: 30px 20px;
background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 150, 136, 0.1);
}

.section-title {
text-align: center;
margin-bottom: 40px;
color: #00695c;
font-size: 2.2rem;
position: relative;
}

.section-title:after {
content: '';
display: block;
width: 80px;
height: 4px;
background: #4db6ac;
margin: 15px auto;
border-radius: 2px;
}

/* Slider Container */
.slider-container {
position: relative;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
width: 100%;
height: 400px;
}

.slider {
display: flex;
transition: transform 0.5s ease-in-out;
height: 100%;
}

/* Offer Cards */
.offer-card {
min-width: 100%;
display: flex;
background: white;
border-radius: 12px;
overflow: hidden;
height: 100%;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
position: relative;
}

.offer-image {
flex: 1;
background-size: cover;
background-position: center;
position: relative;
}

.offer-image::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/*background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 30%, transparent 100%);*/
}

.offer-content {
flex: 1;
padding: 30px;
display: flex;
flex-direction: column;
justify-content: center;
z-index: 2;
}

.offer-badge {
background: #e91e63;
color: white;
padding: 6px 15px;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 600;
align-self: flex-start;
margin-bottom: 15px;
animation: pulse 2s infinite;
}

.offer-title {
font-size: 1.8rem;
color: #00695c;
margin-bottom: 15px;
line-height: 1.3;
animation: fadeInUp 0.8s ease-out;
}

.offer-description {
color: #555;
margin-bottom: 20px;
line-height: 1.5;
animation: fadeInUp 0.8s ease-out 0.2s both;
}

.offer-price {
display: flex;
align-items: center;
margin-bottom: 20px;
animation: fadeInUp 0.8s ease-out 0.4s both;
}

.old-price {
text-decoration: line-through;
color: #999;
font-size: 1.2rem;
margin-right: 10px;
}

.new-price {
color: #e91e63;
font-size: 1.8rem;
font-weight: 700;
}

.offer-cta {
background: #009688;
color: white;
border: none;
padding: 12px 25px;
border-radius: 30px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
align-self: flex-start;
text-decoration: none;
display: inline-block;
text-align: center;
animation: fadeInUp 0.8s ease-out 0.6s both;
position: relative;
width: 100%;

}

.offer-cta:hover {
background: #00796b;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 150, 136, 0.3);
}

.offer-cta::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 5px;
height: 5px;
background: rgba(255, 255, 255, 0.5);
opacity: 0;
border-radius: 100%;
transform: scale(1, 1) translate(-50%);
transform-origin: 50% 50%;
}

.offer-cta:hover::after {
animation: ripple 1s ease-out;
}

@keyframes ripple {
0% {
transform: scale(0, 0);
opacity: 0.5;
}

100% {
transform: scale(20, 20);
opacity: 0;
}
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

/* Slider Controls */
.slider-controls {
display: flex;
justify-content: center;
margin-top: 25px;
}

.slider-dot {
width: 12px;
height: 12px;
background: #b2dfdb;
border-radius: 50%;
margin: 0 8px;
cursor: pointer;
transition: background 0.3s ease;
}

.slider-dot.active {
background: #009688;
}

.slider-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.8);
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 1.5rem;
color: #009688;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
z-index: 10;
}

.slider-nav:hover {
background: white;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.prev {
left: 15px;
}

.next {
right: 15px;
}

/* Partners Section */
.partners-section {
width: 100%;
padding: 40px 20px;
background: #fff;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.partners-title {
text-align: center;
margin-bottom: 30px;
color: #1e293b;
font-size: 1.8rem;
position: relative;
}

.partners-title:after {
content: '';
display: block;
width: 60px;
height: 3px;
background: #00c9b1;
margin: 10px auto;
border-radius: 2px;
}

.partners-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 25px;
align-items: center;
justify-items: center;
}

.partner-logo {
max-width: 150px;
height: 80px;
object-fit: contain;
filter: grayscale(100%);
opacity: 0.7;
transition: all 0.3s ease;
}

.partner-logo:hover {
filter: grayscale(0%);
opacity: 1;
transform: scale(1.05);
}

/*CSS (glow + elegant style) */
.partners-title{
font-size: 36px;
font-weight: 700;
text-align: center;
color: #00695c;
margin-bottom: 40px;
position: relative;
letter-spacing: 1px;
text-shadow:
0 0 5px rgb(3, 205, 255),
0 0 12px rgb(212, 0, 0);
animation: textGlow 2.5s ease-in-out infinite alternate;
}

/* Animated underline glow */
.partners-title::after{
content: "";
position: absolute;
left: 50%;
bottom: -12px;
transform: translateX(-50%);
width: 140px;
height: 4px;
background: linear-gradient(90deg, transparent, #00bcd4, transparent);
border-radius: 10px;
box-shadow: 0 0 10px #00bcd4;
animation: lineGlow 3s ease-in-out infinite;
}

/* Text glow animation */
@keyframes textGlow{
0%{
text-shadow:
0 0 4px rgba(0,188,212,.3),
0 0 8px rgba(0,188,212,.2);
}
100%{
text-shadow:
0 0 10px rgba(0,188,212,.6),
0 0 22px rgba(0,188,212,.4);
}
}

/* Underline moving glow */
@keyframes lineGlow{
0%{
width: 60px;
opacity: .4;
}
50%{
width: 160px;
opacity: 1;
}
100%{
width: 60px;
opacity: .4;
}
}

/* Mobile responsive */
@media (max-width:768px){
.partners-title{
font-size: 28px;
}
}

/* Footer */
.footer {
background: #1e293b;
color: #fff;
padding: 50px 20px 20px;
margin-top: 40px;
}

.footer-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
}

.footer-column h3 {
font-size: 18px;
margin-bottom: 20px;
color: #00c9b1;
position: relative;
}

.footer-column h3:after {
content: '';
position: absolute;
left: 0;
bottom: -8px;
width: 40px;
height: 2px;
background: #00c9b1;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 12px;
}

.footer-links a {
color: #cbd5e1;
text-decoration: none;
transition: color 0.3s;
display: flex;
align-items: center;
gap: 8px;
}

.footer-links a:hover {
color: #00c9b1;
}

.footer-contact p {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
color: #cbd5e1;
}

.footer-contact i {
color: #00c9b1;
width: 20px;
}

.social-links {
display: flex;
gap: 15px;
margin-top: 20px;
}

.social-link {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background: #334155;
border-radius: 50%;
color: #fff;
text-decoration: none;
transition: all 0.3s;
}

.social-link:hover {
background: #00c9b1;
transform: translateY(-3px);
}

.copyright {
text-align: center;
padding-top: 30px;
margin-top: 30px;
border-top: 1px solid #334155;
color: #94a3b8;
font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
.nav-links {
display: none;
position: absolute;
top: 70px;
left: 0;
width: 100%;
background: #fff;
flex-direction: column;
padding: 20px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
gap: 15px;
text-align: center;
}

.nav-links.active {
display: flex;
}

.mobile-menu-btn {
display: block;
}

.slider-container {
height: 500px;
}

.offer-card {
flex-direction: column;
}

.offer-image {
height: 40%;
}

.offer-content {
height: 60%;
padding: 20px;
}

.offer-title {
font-size: 1.5rem;
}

.section-title {
font-size: 1.8rem;
}

.appointment-section {
flex-direction: column;
align-items: center;
}
}

@media (max-width: 480px) {
.slider-container {
height: 550px;
}

.offer-content {
padding: 15px;
}

.offer-title {
font-size: 1.3rem;
}

.section-title {
font-size: 1.5rem;
}

.slider-nav {
width: 40px;
height: 40px;
font-size: 1.2rem;
}
}

/* Offers Card Style Code Start */