:root {
    --primary: #007a7f;
    --primary-dark: #07484b;
    --primary-light: #e6f2f2;
    --secondary: #a3bac6;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f8fafb;
    --accent: #00c2cb;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Header */
.main-header {
    display: none;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    max-height: none;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    background-image: url('assets/images/664859_1_667b110ba2aa0.png');
    background-position: 60% 100%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 0;
}



.hero-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-content {
    padding: 30px 0;
    z-index: 10;
    position: relative;
    max-width: 550px;
}

/* Institute header (logo + text) */
.hero-institute {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-institute-logo {
    height: 62px;
    width: auto;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.hero-institute-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.hero-institute-text span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.hero-institute-text span:first-child {
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 0.92;
    margin-bottom: 18px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 26px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-btn {
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
    padding: 12px 24px;
    font-size: 15px;
    border: none;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(7, 72, 75, 0.3);
}

.hero-badge {
    position: absolute;
    bottom: -230px;
    left: 520px;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
    z-index: 15;
}

.hero-badge-img {
    width: 312px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    image-rendering: auto;
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Section Generic Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: block;
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 48px;
    color: var(--primary-dark);
}

/* Procedures Section */
.procedures {
    background: linear-gradient(rgba(7, 72, 75, 0.92), rgba(7, 72, 75, 0.92)), url('assets/images/664859_1_171934488265238688.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

.procedures .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.procedures .section-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.procedures .section-title {
    color: var(--white);
    font-size: 48px;
    font-weight: 800;
    margin-top: 5px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.procedure-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 30px 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.procedure-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.procedure-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
    min-height: auto;
    display: block;
    font-weight: 700;
    line-height: 1.3;
}

.procedure-card p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* About Section */
.about {
    background: linear-gradient(rgba(255, 255, 255, 0.50), rgba(255, 255, 255, 0.50)), url('assets/images/664859_1_171934810366134062.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 0;
}

.about-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    max-height: 450px;
    margin: 0 auto 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-text-card {
    background: var(--primary-dark);
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.about-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.about-text-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-text-card p {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 14px;
    color: var(--white);
}

.about-text-card p:last-child {
    margin-bottom: 0;
}

.about-text-card strong {
    color: var(--accent);
}

.about-facade {
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.about-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.about-gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-gallery-item:hover img {
    transform: scale(1.08);
}

/* Specializations Section */
.specialties {
    background: linear-gradient(rgba(7, 72, 75, 0.88), rgba(7, 72, 75, 0.88)), url('assets/images/664859_1_171941582015768066.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}

.specialties-header-card {
    background: var(--white);
    border-radius: var(--radius-md);
    max-width: 880px;
    margin: 0 auto 50px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.specialties-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.specialties-header-text h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 6px;
}

.specialties-header-text p {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

.specialties-stethoscope img {
    height: 200px;
    width: auto;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 50px;
    max-width: 900px;
    margin: 0 auto;
}

.specialty-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.specialty-check {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(0, 122, 127, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.specialty-name h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 700;
}

.specialty-name p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Testimonials */
.testimonials {
    background-color: #ffffff;
    background: linear-gradient(rgba(255, 255, 255, 0.50), rgba(255, 255, 255, 0.50)), url('assets/images/664859_1_171934810366134062.jpg');
    background-position: center;
    background-size: cover;
    padding: 80px 0;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-header span {
    display: block;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.testimonials-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-dark);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-card::before {
    display: none;
}

.testimonial-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: normal;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 13px;
}

/* Professionals Section */
.professionals {
    background: linear-gradient(rgba(7, 72, 75, 0.90), rgba(7, 72, 75, 0.90)), url('assets/images/664859_1_171942029847515544.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
    color: var(--white);
}

.professionals-header {
    text-align: center;
    margin-bottom: 40px;
}

.professionals-header span {
    display: block;
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.professionals-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}

.professionals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.professional-card {
    display: flex;
    flex-direction: column;
}

.professional-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.professional-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.professional-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.professional-line {
    width: 60px;
    height: 3px;
    background: var(--white);
    margin-top: 20px;
    border-radius: 2px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(rgba(255, 255, 255, 0.50), rgba(255, 255, 255, 0.50)), url('assets/images/664859_1_171934810366134062.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header span {
    display: block;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.contact-header .section-divider {
    background: var(--primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
    align-items: center;
    max-width: 950px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 22px;
    color: var(--primary);
    margin-top: 4px;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-dark);
}

.contact-photo {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 225px;
}

.contact-map iframe {
    display: block;
}

/* Footer */
footer {
    background: #2a2a2a;
    color: var(--white);
    padding: 35px 0 40px;
}

.footer-top {
    text-align: center;
    margin-bottom: 15px;
}

.footer-top p {
    font-size: 13px;
    opacity: 0.8;
}

.footer-dev {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.footer-dev span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.groven-link {
    display: inline-flex;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    padding-right: 80px;
}

.groven-logo {
    height: 45px;
    width: auto;
    max-width: none !important;
    opacity: 0.8;
    transition: all 0.4s ease;
    filter: brightness(1.2);
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.groven-link:hover .groven-logo {
    opacity: 1;
    transform: scale(1.08);
    filter: brightness(1.5) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        background-position: 68% 100%;
    }

    .hero-content h1 {
        font-size: 60px;
    }

    .hero-container {
        padding: 0 40px;
    }

    .hero-badge {
        left: 450px;
        bottom: -200px;
    }
}

@media (max-width: 768px) {

    /* Hero Section */
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding: 40px 20px;
        background-position: 58% center;
        /* Shows doctor on the right */
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        height: 100%;
        width: 100%;
    }

    .hero-content {
        max-width: 100%;
        background: none;
        padding: 20px 0;
        backdrop-filter: none;
        box-shadow: none;
        text-align: left;
        margin-top: 20px;
    }

    .hero-institute {
        justify-content: flex-start;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .mobile-block {
        display: block;
    }

    .hero-badge {
        position: absolute;
        left: 0 !important;
        right: 0 !important;
        bottom: 40px !important;
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        z-index: 15;
    }

    .hero-badge-img {
        width: 250px;
        /* Restored size for better visibility */
        height: auto;
    }

    /* About Section */
    .about-card {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .about-facade {
        height: 250px;
    }

    .about-gallery-row {
        grid-template-columns: 1fr;
    }

    /* Specializations */
    .specialties-header-card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        max-width: 100%;
    }

    .specialties-stethoscope img {
        height: 100px;
        margin-top: 15px;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Procedures */
    .procedures-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    /* Testimonials & Professionals */
    .testimonial-grid,
    .professionals-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .testimonials-header h2 {
        font-size: 28px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-map {
        height: 250px;
    }

    /* Footer */
    .footer-dev {
        flex-direction: column;
        white-space: normal;
        gap: 15px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .groven-link {
        padding-right: 0;
    }

    .groven-logo {
        height: 32px;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}