/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Colors - Medical Blue Scheme (Maintained) */
    --primary-medical-blue: #2c5f8d;
    --dark-medical-blue: #1e4a6f;
    --light-medical-blue: #4a7ba7;
    --soft-blue: #6fa8b7;
    --sky-blue: #82b4ed;
    --white: #FFFFFF;
    --light-gray: #F6F9F8;
    --medium-gray: #E2E8E6;
    --dark-gray: #2c5f8d;
    --muted-blue: #527c88;
    --accent-blue: #6fa8b7;
    
    /* Typography */
    --font-ar-heading: "IBM Plex Sans Arabic", sans-serif;
    --font-ar-body: "IBM Plex Sans Arabic", sans-serif;
    --font-en-heading: "IBM Plex Sans Arabic", sans-serif;
    --font-en-body: "IBM Plex Sans Arabic", sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing System */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2rem;      /* 32px */
    --spacing-xl: 3rem;      /* 48px */
    --spacing-2xl: 4rem;     /* 64px */
    --spacing-3xl: 6rem;     /* 96px */
    
    /* Container & Layout */
    --container-max-width: 1400px;
    --container-padding: 0 4rem;
    --section-padding-desktop: 6rem 0;
    --section-padding-mobile: 4rem 0;
    
    /* Breakpoints (Two-breakpoint system) */
    --breakpoint-mobile: 768px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 15px 40px rgba(44, 95, 141, 0.15);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal: 2000;
    --z-tooltip: 3000;
}

/* ===================================
   CSS Reset
   =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-ar-body);
    color: var(--dark-gray);
    line-height: var(--line-height-base);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body[dir="ltr"] {
    font-family: var(--font-en-body);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-base);
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ===================================
   Responsive Breakpoint System
   Two breakpoints: mobile (< 768px) and desktop (>= 768px)
   =================================== */
/* Mobile-first approach: Base styles are for mobile, 
   then use @media (min-width: 768px) for desktop */

/* ===================================
   Container & Grid
   =================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding-mobile);
}

/* Desktop: >= 768px */
@media (min-width: 768px) {
    .section {
        padding: var(--section-padding-desktop);
    }
}

.section-alt {
    background-color: var(--light-gray);
}

/* ===================================
   Text Logo Styles
   =================================== */
.text-logo-link {
    display: block;
    text-decoration: none;
}

/* Logo container styles */
.logo-rtl, .logo-ltr {
    transition: var(--transition);
}

/* Show RTL logo only in RTL mode */
html[dir="rtl"] .logo-rtl {
    display: block;
}

html[dir="rtl"] .logo-ltr {
    display: none;
}

/* Show LTR logo only in LTR mode */
html[dir="ltr"] .logo-rtl {
    display: none;
}

html[dir="ltr"] .logo-ltr {
    display: block;
}

/* Base logo text styles */
.logo-text-main {
    margin: 0;
    line-height: 1.3;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-medical-blue);
    transition: var(--transition);
}

.logo-text-sub {
    margin: 0;
    line-height: 1.3;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted-blue);
    transition: var(--transition);
}

/* RTL logo uses Arabic fonts */
.logo-rtl .logo-text-main,
.logo-rtl .logo-text-sub {
    font-family: var(--font-ar-heading);
}

/* LTR logo uses English fonts for main, Arabic for sub */
.logo-ltr .logo-text-main {
    font-family: var(--font-en-heading);
}

.logo-ltr .logo-text-sub {
    font-family: var(--font-ar-heading);
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-ar-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-medical-blue);
}

body[dir="ltr"] h1,
body[dir="ltr"] h2,
body[dir="ltr"] h3,
body[dir="ltr"] h4,
body[dir="ltr"] h5,
body[dir="ltr"] h6 {
    font-family: var(--font-en-heading);
}

.text-center {
    text-align: center;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: 15px;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(44, 95, 141, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary-medical-blue);
    border: 2px solid var(--primary-medical-blue);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    font-size: 15px;
    transition: var(--transition-base);
}

.btn-secondary:hover {
    background: var(--primary-medical-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 30px;
    background: transparent;
    color: var(--light-medical-blue);
    border: 2px solid var(--light-medical-blue);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    font-size: 15px;
    transition: var(--transition-base);
}

.btn-outline:hover {
    background: var(--light-medical-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: var(--z-fixed);
    transition: var(--transition-base);
}

.navbar {
    width: 100%;
}

.navbar-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

body[dir="ltr"] .navbar-container {
    flex-direction: row;
}

.navbar-logo {
    text-decoration: none;
}

.navbar-logo .logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--dark-gray);
    margin: 0;
}

/* Show/hide logo based on language direction */
.logo-rtl {
    display: block;
}

.logo-ltr {
    display: none;
}

body[dir="ltr"] .logo-rtl {
    display: none;
}

body[dir="ltr"] .logo-ltr {
    display: block;
}

.navbar-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.navbar-link {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    text-decoration: none;
}

.navbar-link:hover {
    color: var(--primary-medical-blue);
}

.navbar-link.active {
    color: var(--primary-medical-blue);
}

.navbar-button {
    background: var(--primary-medical-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    transition: background 0.3s;
    text-decoration: none;
}

.navbar-button:hover {
    background: var(--dark-medical-blue);
}

.navbar-button.active {
    background: var(--dark-medical-blue);
}

/* Floating Language Toggle */
.lang-toggle-floating {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--muted-blue);
    transition: var(--transition-base);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body[dir="rtl"] .lang-toggle-floating {
    left: auto;
    right: 20px;
}

.lang-toggle-floating:hover {
    background: var(--light-gray);
    color: var(--primary-medical-blue);
    border-color: var(--primary-medical-blue);
    box-shadow: 0 4px 15px rgba(44, 95, 141, 0.2);
}

.lang-toggle-floating i {
    font-size: 16px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-medical-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation: < 768px */
@media (max-width: 767px) {
    .lang-toggle-floating {
        left: 10px;
    }
    .navbar-container {
        padding: 1rem !important;
        flex-direction: row;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
        align-items: stretch;
    }
    
    body[dir="ltr"] .navbar-menu {
        right: auto;
        left: -100%;
        transition: left 0.3s ease;
    }
    
    .navbar-menu.active {
        right: 0;
    }
    
    body[dir="ltr"] .navbar-menu.active {
        left: 0;
    }
    
    .navbar-link,
    .navbar-button {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 6px;
    }
    
    .navbar-link {
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-gray);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark-medical-blue);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--muted-blue);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-buttons .btn-secondary {
    background: var(--white);
    border-color: var(--light-medical-blue);
    color: var(--light-medical-blue);
    box-shadow: 0 4px 15px rgba(74, 123, 167, 0.2);
}

.hero-buttons .btn-secondary:hover {
    background: var(--light-medical-blue);
    color: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-medical-blue);
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Fade In Animation */
.fade-in {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-lg {
        max-width: 300px;
    }
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-medical-blue);
}

.section-subtitle {
    font-size: 18px;
    color: var(--muted-blue);
    max-width: 700px;
    margin: 0 auto;
}

/* Mobile: < 768px */
@media (max-width: 767px) {
    .section-header {
        margin-bottom: var(--spacing-2xl);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

/* ===================================
   About Preview Section
   =================================== */
.about-sparkle-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.about-sparkle {
    font-size: 4.5rem;
    background: linear-gradient(135deg, #4a7ba7 0%, #2c5f8d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    gap: 60px;
    align-items: center;
}

.about-text {
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--muted-blue);
    margin-bottom: 2.5rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 95, 141, 0.2);
}

.about-image-wrapper img {
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    top: 20px;
    right: 10px;
    background: linear-gradient(135deg, var(--light-medical-blue), var(--primary-medical-blue));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body[dir="ltr"] .about-badge {
    right: auto;
    left: 20px;
}

.about-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted-blue);
    margin-bottom: 30px;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.credential-item {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    gap: 12px;
    font-size: 16px;
    color: var(--dark-gray);
}

.credential-item i {
    color: var(--light-medical-blue);
    font-size: 20px;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text {
        text-align: right;
    }
    
    body[dir="ltr"] .about-text {
        text-align: left;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-sparkle {
        font-size: 3.5rem;
    }
}

/* ===================================
   Services Preview Section
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 95, 141, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--light-medical-blue), var(--primary-medical-blue));
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-medical-blue);
}

.service-description {
    font-size: 15px;
    color: var(--muted-blue);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    text-align: center;
    padding: 40px 30px;
}

.why-image {
    width: 100%;
    height: 240px;
    margin: 0 auto 25px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.why-card:hover .why-image img {
    transform: scale(1.1);
}

.why-card:hover .why-image {
    box-shadow: 0 15px 40px rgba(44, 95, 141, 0.2);
}

.why-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-medical-blue);
}

.why-description {
    font-size: 16px;
    color: var(--muted-blue);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===================================
   Page Header Section
   =================================== */
.page-header {
    padding: 140px 0 30px;
}

.page-header .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

body[dir="rtl"] .page-header .container {
    align-items: flex-end;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

body[dir="rtl"] .header-icon {
    justify-content: flex-end;
}

.header-icon i {
    font-size: 32px;
    color: var(--primary-medical-blue);
}

.header-tagline {
    font-size: 1rem;
    color: var(--dark-gray);
    max-width: 100%;
    margin: 0;
    line-height: 1.6;
    text-align: left;
    font-weight: 600;
}

body[dir="rtl"] .header-tagline {
    text-align: right;
}

/* ===================================
   Category Filter Section
   =================================== */
.category-filter {
    padding: 1rem 0;
}

.category-filter .container {
    display: flex;
    justify-content: flex-start;
}

body[dir="rtl"] .category-filter .container {
    justify-content: flex-end;
}

.filter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
}

body[dir="rtl"] .filter-form {
    flex-direction: row-reverse;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.4rem 1rem;
    background: var(--light-gray);
    border: 1px solid #eee;
    border-radius: 10px;
    transition: var(--transition);
    flex-direction: row;
}

body[dir="rtl"] .filter-option {
    flex-direction: row-reverse;
}

.filter-option:hover {
    background: var(--medium-gray);
}

.filter-option input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--medium-gray);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    margin: 0;
}

.filter-option input[type="radio"]:checked {
    border-color: var(--primary-medical-blue);
    background: var(--white);
}

.filter-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-medical-blue);
    border-radius: 50%;
}

.filter-option span {
    font-size: 0.75rem;
    color: var(--dark-gray);
    font-weight: 500;
    white-space: nowrap;
}

.filter-option input[type="radio"]:checked ~ span {
    color: var(--primary-medical-blue);
    font-weight: 600;
}

/* ===================================
   Blog Grid Section
   =================================== */
.blog-grid {
    padding: 3rem 0 6rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3.5rem;
}

.blog-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 450px;
    transition: transform 0.3s ease;
    border: 1px solid var(--medium-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient background for cards without images */
.card-image-gradient {
    background: linear-gradient(to bottom, rgba(44, 95, 141, 0.2), rgba(44, 95, 141, 0.95));
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    transition: opacity 0.3s ease;
    z-index: 2;
}

.blog-card:hover .card-overlay {
    opacity: 0.9;
}

.card-category {
    position: absolute;
    top: 1.5rem;
    right: 0;
    z-index: 3;
}

body[dir="ltr"] .card-category {
    right: auto;
    left: 0;
}

.card-category span {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 10px 0 0 10px;
    background: var(--primary-medical-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
}

body[dir="ltr"] .card-category span {
    border-radius: 0 20px 20px 0;
}

.card-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    text-decoration: none;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--white);
    transition: all 0.3s ease;
}

.blog-card:hover .card-title {
    margin-bottom: 1rem;
    transform: translateY(-20px);
}

.card-bottom {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover .card-bottom {
    max-height: 200px;
    opacity: 1;
}

.card-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--white);
}

.card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--white);
}

.card-link i {
    transition: transform 0.3s ease;
}

.blog-card:hover .card-link i {
    transform: translateX(-5px);
}

body[dir="ltr"] .blog-card:hover .card-link i {
    transform: translateX(5px);
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--muted-blue);
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    /* Container padding reduction for mobile */
    .container {
        padding: 0 1rem;
    }
    
    /* Blog grid adjustments */
    .blog-grid {
        padding: 2rem 0 4rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-card {
        height: 380px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .card-excerpt {
        font-size: 0.85rem;
    }
    
    .card-link {
        font-size: 0.7rem;
    }
    
    .card-bottom {
        max-height: 200px;
        opacity: 1;
    }
    
    /* Page header - keep text aligned to side (not centered) */
    .page-header {
        padding: 100px 0 20px;
    }
    
    .page-header .container {
        align-items: flex-start;
    }
    
    body[dir="rtl"] .page-header .container {
        align-items: flex-end;
    }
    
    .header-icon {
        justify-content: flex-start;
    }
    
    body[dir="rtl"] .header-icon {
        justify-content: flex-end;
    }
    
    .header-tagline {
        font-size: 0.95rem;
        text-align: right;
    }
    
    body[dir="ltr"] .header-tagline {
        text-align: left;
    }
    
    /* Category filter - keep aligned to side */
    .category-filter {
        padding: 1.5rem 0;
    }
    
    .category-filter .container {
        justify-content: flex-start;
    }
    
    body[dir="rtl"] .category-filter .container {
        justify-content: flex-end;
    }
    
    .filter-form {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    body[dir="rtl"] .filter-form {
        justify-content: flex-end;
    }
    
    .filter-option {
        flex-direction: row;
    }
    
    .filter-option span {
        font-size: 0.8rem;
        padding: 0.1rem 0.5rem;
    }
    
    .filter-option input[type="radio"] {
        width: 14px;
        height: 14px;
    }
    
    .filter-option input[type="radio"]:checked::after {
        width: 6px;
        height: 6px;
    }
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: 100px 0;
    background: var(--soft-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 25px rgba(44, 95, 141, 0.1);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-medical-blue);
    text-align: right;
    transition: var(--transition);
}

body[dir="ltr"] .faq-question {
    text-align: left;
}

.faq-question:hover {
    color: var(--primary-medical-blue);
}

.faq-question span {
    flex: 1;
    padding-left: 20px;
}

body[dir="ltr"] .faq-question span {
    padding-left: 0;
    padding-right: 20px;
}

.faq-question i {
    color: var(--light-medical-blue);
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted-blue);
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }
    
    .faq-question span {
        padding-left: 15px;
    }
    
    body[dir="ltr"] .faq-question span {
        padding-left: 0;
        padding-right: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 123, 167, 0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--light-medical-blue), var(--primary-medical-blue));
    box-shadow: 0 4px 15px rgba(74, 123, 167, 0.3);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 26px;
    }
    
    .cta-text {
        font-size: 16px;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.5rem 0 3rem;
    border-top: 1px solid var(--medium-gray);
}

.footer .container {
    display: flex;
    justify-content: flex-start;
}

body[dir="rtl"] .footer .container {
    justify-content: flex-end;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

body[dir="rtl"] .footer-content {
    align-items: flex-end;
}

/* Sparkle Icon */
.footer-sparkle {
    font-size: 2.5rem;
    color: var(--primary-medical-blue);
}

/* Certificate Icon */
.footer-icon {
    font-size: 1.5rem;
    color: var(--primary-medical-blue);
}

/* Navigation Links */
.footer-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-direction: row;
}

body[dir="rtl"] .footer-nav {
    flex-direction: row-reverse;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--primary-medical-blue);
}

/* Contact Button and Social Icons Row */
.footer-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
    width: 100%;
    flex-direction: row;
}

body[dir="rtl"] .footer-actions {
    flex-direction: row-reverse;
}

/* Contact Button */
.footer-contact-btn {
    background: var(--primary-medical-blue);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.footer-contact-btn:hover {
    background: var(--dark-medical-blue);
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-direction: row;
}

body[dir="rtl"] .footer-social {
    flex-direction: row-reverse;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--dark-gray);
    font-size: 1.25rem;
}

.footer-social a:hover {
    color: var(--primary-medical-blue);
    transform: scale(1.1);
}

.footer-social a img {
    width: 24px;
    height: 24px;
    filter: none;
    transition: var(--transition);
}

.footer-social a:hover img {
    filter: brightness(0.5);
}

/* Copyright */
.footer-copyright {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-blue);
    margin: 0;
    text-align: right;
}

body[dir="ltr"] .footer-copyright {
    text-align: left;
}

/* Language Toggle in Footer */
.footer-lang-toggle {
    margin-top: 0.5rem;
}

.lang-toggle-btn {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    color: var(--muted-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.lang-toggle-btn:hover {
    color: var(--primary-medical-blue);
}

.lang-toggle-btn span {
    transition: var(--transition);
}

.lang-separator {
    color: var(--medium-gray);
}

/* Highlight active language */
html[dir="rtl"] .lang-toggle-btn span:first-child {
    color: var(--primary-medical-blue);
    font-weight: 600;
}

html[dir="ltr"] .lang-toggle-btn span:last-child {
    color: var(--primary-medical-blue);
    font-weight: 600;
}

/* Arabic Comma Image Styles */
.arabic-comma-img {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(32%) sepia(45%) saturate(1000%) hue-rotate(170deg) brightness(90%) contrast(90%);
    /* This filter converts the image to the primary-medical-blue color #2c5f8d */
}

.arabic-comma-img-large {
    margin: 0 auto;
    width: 80px;
    height: 80px;
    filter: brightness(0) saturate(100%) invert(32%) sepia(45%) saturate(1000%) hue-rotate(170deg) brightness(90%) contrast(90%);
    /* This filter converts the image to the primary-medical-blue color #2c5f8d */
}

.header-icon .arabic-comma-img {
    width: 40px;
    height: 40px;
}

.footer-icon .arabic-comma-img {
    width: 40px;
    height: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .arabic-comma-img-large {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer .container {
        justify-content: center;
    }
    
    body[dir="rtl"] .footer .container {
        justify-content: center;
    }
    
    .footer-content {
        align-items: center;
        gap: 1.5rem;
    }
    
    body[dir="rtl"] .footer-content {
        align-items: center;
    }
    
    .footer-sparkle {
        font-size: 2rem;
    }
    
    .footer-icon {
        font-size: 1.25rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    body[dir="rtl"] .footer-nav {
        align-items: center;
    }
    
    .footer-actions {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1.5rem;
        align-items: center;
    }
    
    body[dir="rtl"] .footer-actions {
        align-items: center;
    }
    
    .footer-social {
        flex-direction: row;
    }
    
    .footer-copyright {
        display: block;
        text-align: center;
    }
    
    body[dir="ltr"] .footer-copyright {
        text-align: center;
    }
    
    .footer-lang-toggle {
        margin-top: 0.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--light-medical-blue), var(--primary-medical-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(74, 123, 167, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

body[dir="ltr"] .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 123, 167, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    body[dir="ltr"] .back-to-top {
        right: auto;
        left: 20px;
    }
}

/* ===================================
   Scroll Animations
   =================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}



/* ===================================
   About Detail Page
   =================================== */
.about-detail .section-badge {
    background: linear-gradient(135deg, var(--light-medical-blue), var(--primary-medical-blue));
    margin-bottom: 20px;
}

/* ===================================
   Qualifications Section
   =================================== */
.qualifications-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.qualification-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.qualification-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(44, 95, 141, 0.15);
}

body[dir="ltr"] .qualification-item:hover {
    transform: translateX(10px);
}

.qualification-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.qualification-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-medical-blue);
}

.qualification-description {
    font-size: 15px;
    color: var(--muted-blue);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .qualification-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }
    
    .qualification-item:hover {
        transform: translateY(-5px);
    }
}

/* ===================================
   Experience/Expertise Section
   =================================== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 95, 141, 0.15);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--light-medical-blue), var(--primary-medical-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    transition: var(--transition);
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
}

.expertise-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-medical-blue);
}

.expertise-description {
    font-size: 14px;
    color: var(--muted-blue);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===================================
   Values Section
   =================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    opacity: 0.05;
    border-radius: 0 0 0 100%;
    transition: var(--transition);
}

body[dir="ltr"] .value-card::before {
    right: auto;
    left: 0;
    border-radius: 0 0 100% 0;
}

.value-card:hover::before {
    opacity: 0.1;
    transform: scale(1.2);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 95, 141, 0.15);
}

.value-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--light-medical-blue);
    opacity: 0.3;
    margin-bottom: 15px;
    font-family: var(--font-ar-heading);
}

.value-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark-medical-blue);
}

.value-description {
    font-size: 15px;
    color: var(--muted-blue);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===================================
   Services Detail Page
   =================================== */
.services-grid-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-card-detail {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card-detail:hover {
    box-shadow: 0 15px 40px rgba(44, 95, 141, 0.15);
    transform: translateY(-5px);
}

.service-icon-large {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--white);
    margin-bottom: 25px;
}

.service-title-large {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--dark-medical-blue);
}

.service-description-large {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted-blue);
    margin-bottom: 25px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--dark-gray);
}

.service-features i {
    color: var(--light-medical-blue);
    font-size: 18px;
}

@media (max-width: 768px) {
    .service-card-detail {
        padding: 30px 20px;
    }
    
    .service-icon-large {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .service-title-large {
        font-size: 22px;
    }
    
    .service-description-large {
        font-size: 15px;
    }
}

/* ===================================
   Contact Page
   =================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 95, 141, 0.15);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.contact-info-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.contact-info-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-medical-blue);
}

.contact-info-text {
    font-size: 15px;
    color: var(--muted-blue);
    line-height: 1.6;
}

.social-links-large {
    margin-top: 40px;
}

.social-title {
    font-size: 20px;
    color: var(--dark-medical-blue);
    margin-bottom: 15px;
}

.social-icons-large {
    display: flex;
    gap: 15px;
}

.social-icons-large a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--light-medical-blue), var(--primary-medical-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    transition: var(--transition);
}

.social-icons-large a img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.social-icons-large a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 123, 167, 0.3);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--dark-gray);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-medical-blue);
    box-shadow: 0 0 0 4px rgba(44, 95, 141, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Map Section */
.map-section {
    margin-top: -2px;
}

.map-placeholder {
    height: 400px;
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--muted-blue);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary-medical-blue);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .map-placeholder {
        height: 300px;
    }
}

/* ===================================
   Blog Page
   =================================== */
.blog-notice {
    max-width: 800px;
    margin: 0 auto 80px;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.notice-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.notice-title {
    font-size: 32px;
    color: var(--dark-medical-blue);
    margin-bottom: 20px;
}

.notice-text {
    font-size: 17px;
    color: var(--muted-blue);
    line-height: 1.8;
    margin-bottom: 15px;
}

.notice-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Blog Topics */
.blog-topics {
    margin-top: 60px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.topic-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 95, 141, 0.15);
}

.topic-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--light-medical-blue), var(--primary-medical-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
}

.topic-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-medical-blue);
}

.topic-description {
    font-size: 14px;
    color: var(--muted-blue);
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 123, 167, 0.1) 0%, transparent 50%);
}

.newsletter-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-title {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn-primary {
    background: linear-gradient(135deg, var(--light-medical-blue), var(--primary-medical-blue));
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .blog-notice {
        padding: 40px 25px;
    }
    
    .notice-title {
        font-size: 24px;
    }
    
    .notice-text {
        font-size: 15px;
    }
    
    .notice-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }
    
    .newsletter-form .btn-primary {
        width: 100%;
    }
}

/* ===================================
   Blog Hero Section
   =================================== */
.blog-hero-section {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
}

.blog-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-gray);
    z-index: 0;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
}

.blog-hero-text {
    text-align: center;
    margin: 0 auto;
}

.blog-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark-medical-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 18px;
    color: var(--muted-blue);
    margin-bottom: 40px;
    line-height: 1.6;
}

.blog-search-box {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 8px 10px 8px 25px;
    box-shadow: 0 10px 40px rgba(44, 95, 141, 0.1);
    transition: var(--transition);
}

.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
    box-shadow: 0 15px 50px rgba(44, 95, 141, 0.15);
}

.search-icon {
    color: var(--primary-medical-blue);
    font-size: 18px;
    margin-left: 15px;
    margin-right: 15px;
}

body[dir="ltr"] .search-icon {
    margin-left: 15px;
    margin-right: 15px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 0;
    color: var(--dark-medical-blue);
}

.search-input::placeholder {
    color: var(--muted-blue);
}

.search-btn {
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 95, 141, 0.3);
}

.blog-section {
    padding: 80px 0 100px;
}

/* Blog Categories Filter */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 50px;
    color: var(--muted-blue);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.category-tag:hover {
    border-color: var(--primary-medical-blue);
    color: var(--primary-medical-blue);
    transform: translateY(-2px);
}

.category-tag.active {
    background: linear-gradient(135deg, var(--primary-medical-blue), var(--dark-medical-blue));
    border-color: var(--primary-medical-blue);
    color: var(--white);
}

.category-tag .count {
    font-size: 12px;
    opacity: 0.8;
}

/* ===================================
   Blog Post Content Styling
   =================================== */
.post-content {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-dark);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--dark-medical-blue);
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-content h1 {
    font-size: 36px;
    margin-top: 50px;
}

.post-content h2 {
    font-size: 30px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-medical-blue);
}

.post-content h3 {
    font-size: 24px;
}

.post-content h4 {
    font-size: 20px;
}

.post-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.post-content ul,
.post-content ol {
    margin: 25px 0;
    padding-right: 30px;
    padding-left: 0;
}

body[dir="ltr"] .post-content ul,
body[dir="ltr"] .post-content ol {
    padding-right: 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 15px;
    line-height: 1.8;
    position: relative;
}

.post-content ul li::marker {
    color: var(--primary-medical-blue);
    font-size: 1.2em;
}

.post-content ol li::marker {
    color: var(--primary-medical-blue);
    font-weight: 700;
}

.post-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.05), rgba(44, 95, 141, 0.02));
    border-right: 5px solid var(--primary-medical-blue);
    border-left: none;
    border-radius: 10px;
    font-style: italic;
    color: var(--muted-blue);
}

body[dir="ltr"] .post-content blockquote {
    border-right: none;
    border-left: 5px solid var(--primary-medical-blue);
}

.post-content strong,
.post-content b {
    color: var(--dark-medical-blue);
    font-weight: 700;
}

.post-content a {
    color: var(--primary-medical-blue);
    text-decoration: underline;
    transition: var(--transition);
}

.post-content a:hover {
    color: var(--dark-medical-blue);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-content code {
    background: var(--light-gray);
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: var(--dark-medical-blue);
}

.post-content pre {
    background: var(--dark-medical-blue);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 25px 0;
}

.post-content pre code {
    background: transparent;
    padding: 0;
    color: var(--white);
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.post-content th,
.post-content td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid var(--medium-gray);
}

body[dir="ltr"] .post-content th,
body[dir="ltr"] .post-content td {
    text-align: left;
}

.post-content th {
    background: var(--primary-medical-blue);
    color: var(--white);
    font-weight: 700;
}

.post-content tr:hover {
    background: var(--soft-white);
}

/* Post Body Container */
.post-body {
    padding: 60px 0;
    background: var(--white);
}

.post-body .container {
    max-width: 850px;
}

/* Post Share Section */
.post-share {
    margin: 50px 0 30px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    flex-direction: row-reverse !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.share-title {
    font-size: 16px;
    color: var(--dark-medical-blue);
    margin: 0 !important;
    font-weight: 600;
    white-space: nowrap;
    order: 2;
}

.share-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    order: 1;
}

.share-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--white);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    flex-shrink: 0;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-facebook {
    background: #1877f2;
}

.share-facebook:hover {
    background: #145dbf;
}

.share-twitter {
    background: #000000;
}

.share-twitter:hover {
    background: #333333;
}

.share-linkedin {
    background: #0a66c2;
}

.share-linkedin:hover {
    background: #004182;
}

.share-copy {
    background: var(--primary-medical-blue);
}

.share-copy:hover {
    background: var(--dark-medical-blue);
}

.share-whatsapp {
    background: #25D366;
}

.share-whatsapp:hover {
    background: #1da851;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    font-size: 14px;
    color: var(--muted-blue);
}

.breadcrumb a {
    color: var(--muted-blue);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-medical-blue);
}

.breadcrumb i {
    font-size: 12px;
    color: var(--medium-gray);
}

/* Post Header */
.post-header {
    padding: 40px 0 30px;
    text-align: center;
}

.post-header .container {
    max-width: 850px;
}

.post-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--white);
    background: white !important;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: var(--transition);
}

.post-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.post-title {
    font-size: 42px;
    color: var(--dark-medical-blue);
    line-height: 1.3;
    margin: 0;
    font-weight: 800;
}

/* Post Featured Image */
.post-featured-image {
    margin-bottom: 40px;
}

.post-featured-image .container {
    max-width: 1200px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: var(--light-gray);
}

.related-posts h2 {
    text-align: center;
    font-size: 32px;
    color: var(--dark-medical-blue);
    margin-bottom: 50px;
    font-weight: 700;
}

.related-posts .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3.5rem;
}

@media (max-width: 767px) {
    .related-posts {
        padding: 60px 0;
    }
    
    .related-posts h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .related-posts .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 30px 0;
    border-top: 2px solid var(--medium-gray);
    margin-top: 40px;
}

.post-tags i {
    color: var(--primary-medical-blue);
    font-size: 18px;
}

.post-tags .tag {
    background: var(--light-gray);
    color: var(--dark-medical-blue);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.post-tags .tag:hover {
    background: var(--primary-medical-blue);
    color: var(--white);
}

/* Post Share */
.post-share {
    padding: 30px 0;
    border-top: 2px solid var(--medium-gray);
}

.post-share h3 {
    font-size: 20px;
    color: var(--dark-medical-blue);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.linkedin {
    background: #0A66C2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-section {
        padding: 120px 0 60px;
    }
    
    .blog-hero-title {
        font-size: 32px;
    }
    
    .blog-hero-subtitle {
        font-size: 16px;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        padding: 15px;
        border-radius: 25px;
    }
    
    .search-btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .blog-categories {
        gap: 10px;
    }
    
    .category-tag {
        font-size: 13px;
        padding: 8px 15px;
    }
    
    .post-title {
        font-size: 28px;
    }
    
    .post-content {
        font-size: 16px;
    }
    
    .post-content h1 {
        font-size: 28px;
    }
    
    .post-content h2 {
        font-size: 24px;
    }
    
    .post-content h3 {
        font-size: 20px;
    }
    
    .post-share {
        padding: 15px 5px;
        margin: 30px 0 20px;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 15px;
    }
    
    .share-title {
        font-size: 14px;
        margin: 0;
        order: 2;
    }
    
    .share-buttons {
        gap: 6px;
        order: 1;
    }
    
    .share-btn {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
}

/* ===================================
   About Page Styles
   =================================== */

/* About page - first section needs extra top padding for fixed navbar */
body .about-preview.section {
    padding-top: 140px;
}

/* About Hero */
.about-hero {
    padding: 120px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.hero-subtitle {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.hero-text {
    line-height: 1.8;
    color: var(--muted-blue);
    font-size: 1rem;
}

.hero-images {
    position: relative;
    height: 500px;
}

.image-wrapper-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 80%;
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-wrapper-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-wrapper-1 img,
.image-wrapper-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.heading-icon {
    width: 30px;
    height: 30px;
    color: var(--primary-medical-blue);
    font-size: 1.5rem;
}

.section-heading h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.list-item i {
    color: var(--primary-medical-blue);
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.list-item p {
    flex: 1;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-medical-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1rem;
}

/* Mobile Responsive - About Page */
@media (max-width: 767px) {
    /* About page - first section needs extra top padding for fixed navbar on mobile */
    body .about-preview.section {
        padding-top: 100px;
    }
    
    .about-hero {
        padding: 100px 0 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-text {
        font-size: 0.95rem;
    }
    
    .hero-images {
        height: 400px;
    }
    
    .image-wrapper-1 {
        width: 75%;
        height: 70%;
    }
    
    .image-wrapper-2 {
        width: 55%;
        height: 45%;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .section-heading h2 {
        font-size: 1.5rem;
    }
    
    .list-item {
        padding: 1.25rem;
    }
    
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
}

/* ===================================
   Contact Page Styles
   =================================== */

/* Contact page - first section needs extra top padding for fixed navbar */
.contact-form-section.section {
    padding-top: 140px;
}

.contact-sparkle-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.contact-sparkle {
    font-size: 4.5rem;
    background: linear-gradient(135deg, #4a7ba7 0%, #2c5f8d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark-gray);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-medical-blue);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-medical-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: var(--dark-medical-blue);
}

/* Mobile Responsive - Contact Page */
@media (max-width: 767px) {
    .contact-form-section.section {
        padding-top: 100px;
    }
    
    .contact-sparkle {
        font-size: 3.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .form-wrapper {
        padding: 0 1rem;
    }
    .submit-button {
        padding: 0.7rem;
        font-size: 0.8;
    }
}
