/* ============================================
   MCR MULTISPECIALITY DENTAL HOSPITAL
   STYLESHEET - Premium Dental Website
   ============================================ */

/* CSS Variables for easy theming */
:root {
    --primary: #2563EB;
    --accent: #14B8A6;
    --white: #FFFFFF;
    --black: #111827;
    --gray-dark: #374151;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --gray-border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   REUSABLE CLASSES
   ============================================ */

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Padding */
.section-pad {
    padding: 80px 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
}

/* Card Styles */
.card-glass {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.card-glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-premium {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}


/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(20,184,166,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.875rem;
    align-items: center;
}

.btn-full {
    width: 100%;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-dark);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: none;
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 4px;
}

.form-error.show {
    display: block;
}

/* ============================================
   SPLASH SCREEN
   ============================================ */

.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: splashFade 1.5s ease forwards;
    animation-delay: 1s;
}

.splash-content {
    animation: splashIn 0.8s ease;
}

.splash-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

@keyframes splashIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes splashFade {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-border);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo-link {
    flex-shrink: 0;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header-title {
    font-size: 1rem;
    font-weight: 700;
    color: #163A70;
    text-align: center;
    flex: 1;
    padding: 0 12px;
    line-height: 1.3;
}

/* Hamburger Menu */
.menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.menu-btn:hover {
    background: var(--gray-light);
}

.menu-btn.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--white);
}

.mobile-menu.open {
    max-height: 300px;
    border-top: 1px solid var(--gray-border);
}

.menu-link {
    display: block;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--gray-dark);
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-light);
}

.menu-link:hover {
    color: var(--accent);
    background: var(--gray-light);
    padding-left: 28px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #F0F9FF 100%);
    padding: 60px 0 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.hero-text {
    text-align: center;
    max-width: 600px;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subhead {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-info {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: left;
}

.info-item {
    font-size: 0.9375rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
    align-items: center;
}

.info-item strong {
    color: var(--primary);
}

.hero-image-wrap {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.05);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.about-card {
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.about-card p {
    color: var(--gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   DOCTOR SECTION
   ============================================ */


.doctor-section{

    padding:100px 0;

    background:#f8fbff;

}

.doctor-section .container{

    max-width:1200px;

    margin:auto;

    padding:0 20px;

}

.section-header{

    text-align:center;

    margin-bottom:60px;

}

.section-tag{

    display:inline-block;

    background:#eaf2ff;

    color:#2563eb;

    padding:8px 20px;

    border-radius:50px;

    font-weight:600;

    margin-bottom:15px;

}

.section-header h2{

    font-size:48px;

    margin-bottom:15px;

    color:#0f172a;

}

.section-header p{

    color:#64748b;

    max-width:700px;

    margin:auto;

}

.doctor-wrapper{

    display:flex;

    align-items:center;

    gap:60px;

    background:white;

    border-radius:25px;

    padding:60px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

}

.doctor-image{

    flex:1;

    text-align:center;

}

.doctor-image img{

    width:340px;

    height:340px;

    border-radius:50%;

    object-fit:cover;

    border:8px solid #2563eb;

    box-shadow:0 15px 40px rgba(37,99,235,.25);

}

.doctor-content{

    flex:1.3;

}

.doctor-badge{

    display:inline-block;

    background:#dbeafe;

    color:#2563eb;

    padding:8px 18px;

    border-radius:50px;

    font-weight:700;

    margin-bottom:20px;

}

.doctor-content h2{

    font-size:44px;

    margin:0;

    color:#111827;

}

.doctor-content h4{

    color:#2563eb;

    margin:10px 0 25px;

}

.doctor-description{

    color:#555;

    line-height:1.9;

    margin-bottom:35px;

}

.doctor-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-bottom:35px;

}

.stat{

    background:#f8fbff;

    padding:25px;

    border-radius:18px;

    text-align:center;

}

.stat h3{

    color:#2563eb;

    font-size:36px;

    margin-bottom:10px;

}

.stat span{

    color:#555;

}

.doctor-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    list-style:none;

    padding:0;

    margin-bottom:40px;

}

.doctor-features li{

    font-weight:600;

    color:#374151;

}

.doctor-btn{

    display:inline-block;

    background:#2563eb;

    color:white;

    padding:16px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.doctor-btn:hover{

    background:#1d4ed8;

}

/*==========================
TABLET
===========================*/

@media(max-width:992px){

.doctor-wrapper{

    flex-direction:column;

    text-align:center;

}

.doctor-features{

    grid-template-columns:1fr;

}

}

/*==========================
MOBILE
===========================*/

@media(max-width:768px){

.doctor-section{

    padding:70px 0;

}

.section-header h2{

    font-size:34px;

}

.doctor-wrapper{

    padding:30px 20px;

    gap:30px;

}

.doctor-image img{

    width:200px;

    height:200px;

}

.doctor-content h2{

    font-size:32px;

}

.doctor-stats{

    grid-template-columns:1fr;

}

.stat{

    padding:20px;

}

.doctor-btn{

    width:100%;

    text-align:center;

}

}
.trait-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    color: var(--gray-dark);
}

.trait-check {
    color: var(--accent);
    font-weight: 700;
}

/* ============================================
   EQUIPMENT SECTION
   ============================================ */

.equipment {
    background: var(--white);
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.equip-card {
    text-align: center;
    overflow: hidden;
}

.equip-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    transition: var(--transition);
}

.equip-card:hover .equip-img {
    transform: scale(1.05);
}

.equip-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.equip-card p {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ============================================
   TREATMENTS SECTION
   ============================================ */

.treatments {
    background: linear-gradient(180deg, var(--white) 0%, #F0F9FF 100%);
}

.treatments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.treat-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.treat-img {
    width: 100%;
    height: 250px;          /* Keep the image area fixed */
    object-fit: contain;    /* Shows the whole image */
    object-position: center;
    display: block;
    background: #fff;       /* Optional: fills empty space */
}

.treat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}



.treat-card:hover .treat-img {
    transform: scale(1.05);
}

.treat-body {
    padding: 24px;
}

.treat-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.treat-body p {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ============================================
   LOCATION SECTION
   ============================================ */

.location{

    background:#f8fbff;

}

.location-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:35px;

    align-items:stretch;

}

.map-card{

    overflow:hidden;

    border-radius:22px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.map-card iframe{

    width:100%;

    height:100%;

    min-height:520px;

    border:none;

}

.location-info{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.timing-card,

.address-card{

    background:#fff;

    border-radius:22px;

    padding:30px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.timing-card h3,

.address-card h3{

    color:#2563eb;

    margin-bottom:25px;

}

.timing-row{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    padding:18px 0;

    border-bottom:1px solid #ececec;

}

.timing-row:last-child{

    border:none;

}

.timing-row span{

    font-weight:600;

    color:#222;

}

.timing-row strong{

    color:#666;

    text-align:right;

    font-weight:500;

}

.address-card p{

    line-height:1.8;

    color:#666;

    margin-bottom:25px;

}

.direction-btn{

    display:inline-block;

    background:#2563eb;

    color:#fff;

    padding:14px 28px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.direction-btn:hover{

    background:#174ecf;

    transform:translateY(-3px);

}

/*=========================
TABLET
=========================*/

@media(max-width:992px){

.location-grid{

    grid-template-columns:1fr;

}

.location-info{

    flex-direction:row;

}

.timing-card,

.address-card{

    flex:1;

}

}

/*=========================
MOBILE
=========================*/

@media(max-width:768px){

.location{

    padding:70px 0;

}

.location-info{

    flex-direction:column;

}

.map-card iframe{

    min-height:320px;

}

.timing-row{

    flex-direction:column;

    gap:8px;

}

.timing-row strong{

    text-align:left;

}

.direction-btn{

    display:block;

    width:100%;

    text-align:center;

}

}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    background: linear-gradient(180deg, #F0F9FF 0%, var(--white) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.testi-card {
    text-align: center;
}

.testi-stars {
    color: #FBBF24;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testi-text {
    font-style: italic;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 1rem;
}

.testi-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9375rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--black);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
}

.contact-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    width: 100%;
}

.contact-info {
    width: 100%;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.info-row {
    color: var(--gray-dark);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.info-row a {
    color: var(--primary);
    transition: var(--transition);
}

.info-row a:hover {
    color: var(--accent);
}


/* =========================================================
   FOOTER - PART 1
   CTA + GRID + BRAND + CONTACT
========================================================= */

.footer{
    background: linear-gradient(180deg,#07111f 0%,#0b1d35 100%);
    color:#ffffff;
    padding:90px 0 30px;
    position:relative;
    overflow:hidden;
}

/* Decorative Background */

.footer::before{
    content:"";
    position:absolute;
    top:-200px;
    right:-180px;
    width:450px;
    height:450px;
    border-radius:50%;
    background:rgba(0,123,255,.05);
}

.footer::after{
    content:"";
    position:absolute;
    bottom:-220px;
    left:-150px;
    width:420px;
    height:420px;
    border-radius:50%;
    background:rgba(0,123,255,.04);
}

.footer .container{
    position:relative;
    z-index:2;
}


/* =========================================================
   CTA
========================================================= */

.footer-cta{

    text-align:center;
    margin-bottom:60px;

}

.footer-cta h2{

    font-size:2.3rem;
    font-weight:700;
    margin-bottom:15px;
    color:#fff;

}

.footer-cta p{

    max-width:650px;
    margin:auto;
    color:#c6d0db;
    font-size:1.05rem;
    line-height:1.8;

}

.footer-cta-buttons{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin-top:35px;
    flex-wrap:wrap;

}

.footer-cta-buttons .btn{

    padding:14px 30px;
    border-radius:50px;
    transition:.35s;
    font-weight:600;

}

.footer-cta-buttons .btn-primary{

    background:#0d6efd;
    color:#fff;

}

.footer-cta-buttons .btn-primary:hover{

    transform:translateY(-4px);
    box-shadow:0 15px 30px rgba(13,110,253,.3);

}

.footer-cta-buttons .btn-secondary{

    background:transparent;
    color:#fff;
    border:2px solid rgba(255,255,255,.25);

}

.footer-cta-buttons .btn-secondary:hover{

    background:#ffffff;
    color:#111;

}


/* =========================================================
   DIVIDER
========================================================= */

.footer-divider{

    border:none;
    height:1px;
    background:rgba(255,255,255,.12);
    margin:55px 0;

}


/* =========================================================
   GRID
========================================================= */

.footer-grid{

    display:grid;
    grid-template-columns:2fr 1.3fr 1fr 1fr 1fr;
    gap:55px;
    align-items:flex-start;

}


/* =========================================================
   BRAND
========================================================= */

.footer-brand img{

    width:90px;
    margin-bottom:20px;

}

.footer-brand h3{

    font-size:1.45rem;
    margin-bottom:18px;
    color:#ffffff;

}

.footer-brand p{

    color:#b6c1cb;
    line-height:1.9;
    margin-bottom:25px;
    font-size:.95rem;

}

.footer-badge{

    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(255,255,255,.08);
    color:#ffffff;
    font-size:.88rem;

}

.footer-badge i{

    color:#27d3ff;
    font-size:1rem;

}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h4{

    font-size:1.1rem;
    margin-bottom:24px;
    color:#ffffff;
    position:relative;

}

.footer-column h4::after{

    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:40px;
    height:3px;
    border-radius:20px;
    background:#0d6efd;

}


/* =========================================================
   LISTS
========================================================= */

.footer-column ul{

    list-style:none;
    margin:0;
    padding:0;

}

.footer-column ul li{

    margin-bottom:15px;
    color:#bcc8d4;
    display:flex;
    align-items:flex-start;
    gap:12px;
    line-height:1.7;

}


/* =========================================================
   LINKS
========================================================= */

.footer-column ul li a{

    color:#bcc8d4;
    text-decoration:none;
    transition:.35s;

}

.footer-column ul li a:hover{

    color:#27d3ff;
    padding-left:8px;

}


/* =========================================================
   CONTACT ICONS
========================================================= */

.footer-column ul li i{

    color:#27d3ff;
    min-width:18px;
    margin-top:5px;

}

/* =========================================================
   FOOTER - PART 2
   EMERGENCY • SOCIAL • BOTTOM BAR
========================================================= */


/* =========================================================
   EMERGENCY SECTION
========================================================= */

.footer-emergency{

    margin:60px 0;
    padding:30px 40px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

}

.footer-emergency h4{

    font-size:1.45rem;
    margin-bottom:10px;
    color:#ffffff;

}

.footer-emergency p{

    color:#c5d0da;
    line-height:1.7;
    margin:0;

}

.footer-emergency .btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    padding:15px 34px;

    background:#0d6efd;

    color:#ffffff;

    border-radius:50px;

    font-weight:600;

    text-decoration:none;

    transition:.35s;

}

.footer-emergency .btn:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(13,110,253,.35);

}


/* =========================================================
   SOCIAL SECTION
========================================================= */

.footer-social{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    margin:60px 0 40px;

}

.footer-social a{

    width:52px;

    height:52px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(255,255,255,.08);

    color:#ffffff;

    text-decoration:none;

    font-size:1.15rem;

    transition:.35s;

    border:1px solid rgba(255,255,255,.08);

}

.footer-social a:hover{

    background:#0d6efd;

    color:#ffffff;

    transform:translateY(-8px);

    box-shadow:0 15px 30px rgba(13,110,253,.35);

}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.10);

    padding-top:28px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}

.footer-copy p{

    color:#aeb8c3;

    font-size:.92rem;

    margin:0;

}

.footer-credit p{

    color:#aeb8c3;

    margin:0;

    font-size:.92rem;

}

.footer-credit strong{

    color:#27d3ff;

    font-weight:700;

}


/* =========================================================
   HOVER ANIMATION
========================================================= */

.footer-column ul li{

    transition:.30s;

}

.footer-column ul li:hover{

    transform:translateX(6px);

}


/* =========================================================
   BRAND ANIMATION
========================================================= */

.footer-logo{

    transition:.40s;

}

.footer-logo:hover{

    transform:scale(1.08);

}


/* =========================================================
   LINK UNDERLINE EFFECT
========================================================= */

.footer-column ul li a{

    position:relative;

}

.footer-column ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-3px;

    width:0;

    height:2px;

    background:#27d3ff;

    transition:.35s;

}

.footer-column ul li a:hover::after{

    width:100%;

}


/* =========================================================
   SCROLL TO TOP BUTTON (Optional)
========================================================= */

.footer-top{

    position:absolute;

    right:40px;

    top:40px;

}

.footer-top a{

    width:48px;

    height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#0d6efd;

    color:#ffffff;

    text-decoration:none;

    transition:.35s;

}

.footer-top a:hover{

    transform:translateY(-6px);

    box-shadow:0 12px 25px rgba(13,110,253,.4);

}


/* =========================================================
   SMOOTH TRANSITIONS
========================================================= */

.footer *{

    transition:all .30s ease;

} 
/* =========================================================
   LARGE LAPTOPS
========================================================= */

@media (max-width:1200px){

.footer-grid{

grid-template-columns:repeat(3,1fr);

gap:45px;

}

}


/* =========================================================
   TABLETS
========================================================= */

@media (max-width:992px){

.footer{

padding:80px 0 30px;

}

.footer-grid{

grid-template-columns:repeat(2,1fr);

gap:40px;

}

.footer-brand{

grid-column:1/-1;

text-align:center;

}

.footer-brand img{

margin:auto;

display:block;

}

.footer-brand h3{

margin-top:20px;

}

.footer-brand p{

max-width:600px;

margin:20px auto;

}

.footer-badge{

justify-content:center;

margin:auto;

}

.footer-column{

text-align:left;

}

.footer-cta h2{

font-size:2rem;

}

.footer-emergency{

flex-direction:column;

text-align:center;

padding:35px;

}

.footer-bottom{

flex-direction:column;

text-align:center;

gap:15px;

}

.footer-social{

margin-top:40px;

}

}


/* =========================================================
   MOBILE DEVICES
========================================================= */

@media (max-width:768px){

.footer{

padding:70px 0 25px;

}

.footer-grid{

grid-template-columns:1fr;

gap:45px;

}

.footer-brand{

text-align:center;

}

.footer-brand img{

margin:auto;

display:block;

}

.footer-column{

text-align:center;

}

.footer-column h4::after{

left:50%;

transform:translateX(-50%);

}

.footer-column ul li{

justify-content:center;

text-align:center;

}

.footer-column ul li:hover{

transform:none;

}

.footer-column ul li a:hover{

padding-left:0;

}

.footer-cta h2{

font-size:1.8rem;

}

.footer-cta p{

font-size:1rem;

}

.footer-cta-buttons{

flex-direction:column;

}

.footer-cta-buttons .btn{

width:100%;

max-width:320px;

}

.footer-emergency{

padding:30px 20px;

}

.footer-emergency h4{

font-size:1.3rem;

}

.footer-emergency .btn{

width:100%;

justify-content:center;

}

.footer-social{

flex-wrap:wrap;

gap:14px;

}

.footer-social a{

width:48px;

height:48px;

font-size:1rem;

}

.footer-bottom{

gap:12px;

}

.footer-copy p,

.footer-credit p{

font-size:.85rem;

line-height:1.6;

}

.footer-top{

display:none;

}

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width:480px){

.footer{

padding:60px 0 20px;

}

.footer-cta h2{

font-size:1.55rem;

}

.footer-cta p{

font-size:.95rem;

}

.footer-brand h3{

font-size:1.25rem;

}

.footer-brand p{

font-size:.9rem;

}

.footer-badge{

font-size:.8rem;

padding:10px 15px;

}

.footer-column h4{

font-size:1rem;

}

.footer-column ul li{

font-size:.9rem;

}

.footer-emergency{

padding:25px 18px;

border-radius:14px;

}

.footer-emergency h4{

font-size:1.15rem;

}

.footer-emergency p{

font-size:.9rem;

}

.footer-social a{

width:44px;

height:44px;

}

.footer-divider{

margin:40px 0;

}

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.footer a:focus,

.footer button:focus{

outline:2px solid #27d3ff;

outline-offset:4px;

border-radius:8px;

}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion:reduce){

.footer *{

transition:none !important;

animation:none !important;

scroll-behavior:auto;

}

}


/* =========================================================
   SELECTION COLOR
========================================================= */

.footer ::selection{

background:#27d3ff;

color:#fff;

}




/* ============================================
   FLOATING BUTTONS
   ============================================ */

.float-btn {
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: var(--transition);
    animation: floatPulse 2s infinite;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-whatsapp {
    bottom: 24px;
    right: 24px;
    background: #25D366;
}

.float-call {
    bottom: 24px;
    left: 24px;
    background: var(--primary);
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(37,99,235,0); }
}

.float-whatsapp {
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-headline {
        font-size: 3.5rem;
    }

    .hero-container {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .hero-text {
        text-align: left;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-image {
        height: 400px;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrap {
        flex-direction: row;
    }

    .contact-form {
        flex: 1.5;
    }

    .contact-info {
        flex: 1;
    }

    .header-title {
        font-size: 1.25rem;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .section-pad {
        padding: 100px 0;
    }

    .section-title {
        font-size: 3rem;
    }

    .hero-headline {
        font-size: 4rem;
    }

    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .equipment-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .treatments-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .location-wrap {
        flex-direction: row;
    }

    .map-card {
        flex: 2;
    }

    .timing-card {
        flex: 1;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-brand .footer-logo {
        margin: 0 0 16px 0;
    }

    .footer-links {
        text-align: left;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .header-logo {
        height: 56px;
    }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
    .container {
        padding: 0 40px;
    }

    .header-container {
        padding: 16px 40px;
    }

    .hero-container {
        padding: 0 40px;
    }
}

/* Small Mobile (320px+) */
@media (max-width: 360px) {
    .hero-headline {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .header-title {
        font-size: 0.75rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }

    .float-whatsapp {
        right: 12px;
        bottom: 12px;
    }

    .float-call {
        left: 12px;
        bottom: 12px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
