/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f7e;
    --secondary-color: #4a9eba;
    --accent-color: #f0a500;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --whatsapp-color: #25d366;
    --call-color: #3b82f6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.fab-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-button {
    background-color: var(--whatsapp-color);
}

.call-button {
    background-color: var(--call-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
    padding: 10px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 1001;
}

.brand-logo {
    max-width: 100px;
    height: auto;
}

.brand-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-menu a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.nav-menu a:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Mobile Navigation */
.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile styles */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        width: 20px;
        height: 20px;
    }
    
    .menu-toggle span {
        height: 2.0px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        max-width: 200px;
        height: 50%;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 70px 20px 10px;
        gap: 0px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
    }
    
    .nav-menu.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 0.75rem;
        color: #333;
        width: 100%;
        transition: all 0.2s ease;
    }
    
    .nav-menu a:hover {
        color: var(--primary-color);
    }
    
    .brand-logo {
        max-width: 80px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('shahdi\'s\ in\ image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 180px 20px 80px;
    text-align: center;
    margin-bottom: 25px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 48px; /* Minimum touch target size */
}

/* Mobile-specific button styles */
@media (max-width: 767px) {
    .btn {
        padding: 10px 22px;
        font-size: 0.95rem;
        min-height: 44px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        max-width: 100%;
    }
    
    /* Adjust specific button styles if needed */
    .btn-primary {
        padding: 10px 24px;
    }
    
    .btn-secondary {
        padding: 10px 24px;
    }
    
    .cta-button {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white !important;
    border: none;
}

.btn-primary:hover {
    background-color: #1e4a6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        padding: 150px 15px 60px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        padding: 8px 18px;
        font-size: 0.9rem;
        min-height: 44px;
        width: 100%;
        margin: 0;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

.hero-header {
    position: relative;
    z-index: 2;
}

/* Doctor Profile Section */
.doctor-profile {
    padding: 60px 0;
    background-color: #fff;
}

.profile-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

.profile-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.doctor-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hospital-name {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hospital-name span {
    color: var(--primary-color);
    font-weight: 700;
}

.hospital-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Responsive Doctor Profile */
@media (max-width: 768px) {
    .profile-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hospital-name {
        font-size: 1.8rem;
    }
    
    .profile-text, .profile-image {
        min-width: 100%;
    }
    
    .doctor-img {
        max-width: 100%;
    }
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    margin-top: -60px;
}

.profile-text {
    flex: 1;
}

.welcome-text {
    color: #2c5f7e;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.hospital-name {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.15;
}

.hospital-name span {
    color: #2c5f7e;
    font-weight: 700;
}

.hospital-description {
    color: #4b5563;
    font-size: 0.45rem;
    line-height: 1.4;
    margin-bottom: 4px;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-color: #2c5f7e;
    color: white;
    padding: 6px 16px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #1e4a63;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.profile-image {
    flex: 1;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 15px;
}

.doctor-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.doctor-img:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .hospital-description {
        margin: 0 auto 30px;
    }
    
    .hospital-name {
        font-size: 2rem;
    }
    
    .profile-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .welcome-text {
        font-size: 0.9rem;
    }
    
    .hospital-name {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .hospital-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 18px;
        font-weight: 400;
    }
    
    .cta-button {
        padding: 8px 18px;
        font-size: 0.75rem;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: #fff;
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: #fff;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.6s forwards;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.9s forwards;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #06598d;
    color: white;
    border: 2px solid #06598d;
}

.btn-primary:hover {
    background-color: #06598d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.doctor-content {
    position: relative;
    z-index: 2;
    margin-top: -60px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.doctor-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.doctor-text {
    flex: 1;
    animation: fadeInUp 1s ease-out;
}

.welcome-text {
    color: #2c5f7e;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

.hospital-name {
    font-size: 2.8rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hospital-name span {
    color: #2c5f7e;
    font-weight: 700;
}

.hospital-description {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.7s forwards;
}

.cta-button {
    display: inline-block;
    background-color: #2c5f7e;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.9s forwards;
}

.cta-button:hover {
    background-color: #1e4a63;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button:active {
    transform: translateY(0);
}

.doctor-image {
    flex: 1;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.5s forwards;
}

.doctor-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.doctor-img:hover {
    transform: scale(1.02);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .doctor-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hospital-description {
        margin: 0 auto 30px;
    }
    
    .hospital-name {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .doctor-hero {
        padding: 60px 0;
    }
    
    .hospital-name {
        font-size: 1.8rem;
    }
    
    .hospital-description {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c5f7e 0%, #4a9eba 100%);
    color: white;
    text-align: center;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect fill="url(%23grid)" width="100%" height="100%"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent-color);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #06598d;
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #1e4a6b;
    transform: translateY(-2px);
    color: white !important;
    box-shadow: 0 8px 20px rgba(240, 165, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Section Styling */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background-color: var(--bg-white);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 25px;
    margin: 40px 0;
    line-height: 1.6;
}

/* Homeopathy Info Section */
.homeopathy-info {
    background-color: var(--bg-light);
    padding-top: 60px; /* reduce top spacing for this section */
}

.info-card {
    max-width: 1100px; /* increased width */
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 15px;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
}

.info-card em {
    color: var(--primary-color);
    font-weight: 600;
}

.info-grid {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: row-reverse;
}

.info-text {
    flex: 1;
}

.info-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.info-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

@media (max-width: 992px) {
    .info-grid {
        flex-direction: column; /* stack on mobile */
    }
    .info-image {
        margin-top: 20px;
    }
}

/* Services Section */
.services {
    background-color: var(--bg-white);
    padding-top: 60px; /* reduce top spacing before services */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    padding: 24px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(44, 95, 126, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Telemedicine Section */
.telemedicine {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.telemedicine-body {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.telemedicine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-bottom: 50px;
}

.telemedicine-visual {
    display: flex;
    justify-content: flex-start;
    flex: 0 0 38%; /* left column width */
    margin: 0; /* handled by body gap */
}

.telemedicine-visual img {
    width: 100%;
    max-width: 480px; /* reduce image size */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.telemedicine-content {
    flex: 1; /* right column */
}

@media (max-width: 992px) {
    .telemedicine-body {
        flex-direction: column;
    }
    .telemedicine-visual {
        flex: 1 1 auto;
        margin-bottom: 20px;
    }
    .telemedicine-visual img {
        max-width: 100%;
    }
}

.telemedicine-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.telemedicine-feature p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

.telemedicine-cta {
    text-align: center;
}

/* Contact Section */
.contact {
    background-color: #1167b1;
    padding: 60px 0;
}

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

.contact .section-header h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.contact-form-panel {
    background: #0d5a9e;
    padding: 30px;
    border-radius: 8px;
    color: white;
}

.contact-form-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 126, 0.2);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #e09a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.contact-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Contact Section */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 40px 0;
    }
    
    .contact .section-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-panel {
        padding: 20px 15px;
    }
}

.contact .section-header {
    margin-bottom: 30px; /* tighter spacing inside contact */
}

/* Contact section headings color overrides */
.contact .section-header h2 {
    color: #ffffff;
}

.contact .section-subtitle {
    color: #ffffff;
}

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-width: 1100px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.contact-form-panel {
    background: #1669b3; /* blue panel */
    border-radius: 6px;
    padding: 24px;
    color: #fff;
}

.contact-form-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.5);
    background: #f2f4f7;
    color: #111;
    font-size: 0.95rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    margin-top: 12px;
}

.submit-btn {
    margin-top: 12px;
    padding: 10px 18px;
    font-size: 0.9rem;
    border: 2px solid #ffffff;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contact-card {
        padding: 20px;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-4px);
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    margin-right: 12px;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .footer-col {
        margin-bottom: 20px;
    }
    
    .footer-col h4 {
        margin-bottom: 15px;
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col p,
.footer-col address {
    color: #d1d5db;
    font-style: normal;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.footer-links li a {
    color: #e5e7eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-links li a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #2c9bf0;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1f2937;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 20px;
    padding-top: 16px;
    color: #9ca3af;
    text-align: center;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid,
    .telemedicine-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 30px 25px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .fab-button {
        width: 55px;
        height: 55px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        min-height: 42px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
