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

:root {
    /* Eduvalt-inspired color scheme */
    --primary-blue: #007AFF;
    --secondary-blue: #5856D6;
    --accent-green: #34C759;
    --accent-purple: #AF52DE;
    --accent-yellow: #FF9500;
    --accent-pink: #FF2D92;
    --accent-teal: #5AC8FA;
    
    /* Text colors */
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --text-light: #FFFFFF;
    
    /* Background colors */
    --background-primary: #FFFFFF;
    --background-secondary: #F5F5F7;
    --background-dark: #1D1D1F;
    --background-glass: rgba(255, 255, 255, 0.9);
    
    /* Border and shadow */
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 16px 40px rgba(0, 0, 0, 0.15);
    
    /* Border radius */
    --border-radius: 12px;
    --border-radius-small: 8px;
    --border-radius-large: 20px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-primary);
    overflow-x: hidden;
}

/* Navigation - Eduvalt style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    background: var(--background-primary);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 80px;
}

.navbar a {
    text-decoration: none;
    color: inherit;
}

.navbar * {
    z-index: 10000 !important;
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
    z-index: 10000;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10001;
    position: relative;
    flex-shrink: 0;
    min-width: 0;
    margin-right: 2rem;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    z-index: 10002;
    position: relative;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
    z-index: 10003;
    position: relative;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    z-index: 10003;
    position: relative;
    min-width: 0;
    flex-shrink: 0;
}

.nav-logo-text h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
}

.nav-logo-text p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-shrink: 0;
    z-index: 1002;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--primary-blue);
    color: var(--text-light) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.nav-cta:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
}

/* Hero Section - Eduvalt style */
.hero {
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(88, 86, 214, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(52, 199, 89, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero h1 .highlight {
    color: var(--primary-blue);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

/* Heading styles without animations */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

/* Center align all section headers and descriptions vertically */
.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh;
}

.section-header {
    text-align: center;
    margin: auto 0;
}

.section-title {
    text-align: center;
}

.section-subtitle {
    text-align: center;
}

/* Animation keyframes removed */

/* High Energy Underlines */
.highlight-underline {
    position: relative;
    display: inline-block;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 8px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path fill="none" stroke="%23FFD700" stroke-width="3" stroke-linecap="round" d="M2 5c10-3 20 3 30 0s20-3 30 0s20 3 36 0"/></svg>') no-repeat center bottom / 100% 100%;
}

.highlight-underline.blue::after {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path fill="none" stroke="%23007AFF" stroke-width="3" stroke-linecap="round" d="M2 5c10-3 20 3 30 0s20-3 30 0s20 3 36 0"/></svg>') no-repeat center bottom / 100% 100%;
}

.highlight-underline.green::after {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path fill="none" stroke="%2334C759" stroke-width="3" stroke-linecap="round" d="M2 5c10-3 20 3 30 0s20-3 30 0s20 3 36 0"/></svg>') no-repeat center bottom / 100% 100%;
}

.highlight-underline.purple::after {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path fill="none" stroke="%23AF52DE" stroke-width="3" stroke-linecap="round" d="M2 5c10-3 20 3 30 0s20-3 30 0s20 3 36 0"/></svg>') no-repeat center bottom / 100% 100%;
}

.highlight-underline.pink::after {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path fill="none" stroke="%23FF2D92" stroke-width="3" stroke-linecap="round" d="M2 5c10-3 20 3 30 0s20-3 30 0s20 3 36 0"/></svg>') no-repeat center bottom / 100% 100%;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--text-light);
    transform: translateY(-2px);
}

.hero-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hero-contact i {
    color: var(--primary-blue);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    margin-top: 2rem;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

/* Decorative Elements - Simple shapes */
.decorative-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.7;
    z-index: 5;
}

/* Abstract Elements - High energy complex shapes */
.abstract-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
    z-index: 6;
}

.decorative-element.globe {
    top: 5%;
    left: 15%;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.8;
}

.decorative-element.papers {
    top: 8%;
    right: 20%;
    width: 30px;
    height: 30px;
    background: var(--accent-purple);
    border-radius: 4px;
    opacity: 0.8;
}

.decorative-element.ruler {
    top: 12%;
    right: 15%;
    width: 35px;
    height: 35px;
    background: var(--accent-teal);
    border-radius: 4px;
    opacity: 0.8;
}

.decorative-element.starburst {
    top: 6%;
    left: 25%;
    width: 25px;
    height: 25px;
    background: var(--accent-yellow);
    border-radius: 50%;
    opacity: 0.8;
}

/* High Energy Abstract Elements */
.abstract-element.red-dashes {
    top: 3%;
    left: 30%;
    width: 60px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 20"><path fill="none" stroke="%23FF2D55" stroke-width="2" stroke-linecap="round" d="M2 10h8M15 10h8M28 10h8M41 10h8M54 10h4"/></svg>') no-repeat center center / contain;
    transform: rotate(15deg);
}

.abstract-element.squiggly-arrow {
    top: 8%;
    left: 40%;
    width: 80px;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 40"><path fill="none" stroke="%23007AFF" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M5 20c10-10 20 10 30 0s20-10 30 0l10-10"/></svg>') no-repeat center center / contain;
    transform: rotate(-10deg);
}

.abstract-element.yellow-star {
    top: 4%;
    right: 25%;
    width: 50px;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><polygon fill="%23FFD700" points="25,2 31,19 49,19 34,30 40,48 25,37 10,48 16,30 1,19 19,19"/></svg>') no-repeat center center / contain;
    transform: rotate(25deg);
}

.abstract-element.blue-blob {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.4;
    filter: blur(40px);
    z-index: 0;
}

.abstract-element.green-wave {
    top: 2%;
    left: 50%;
    width: 100px;
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30"><path fill="none" stroke="%2334C759" stroke-width="3" stroke-linecap="round" d="M2 15c10-10 20 10 30 0s20-10 30 0s20 10 36 0"/></svg>') no-repeat center center / contain;
    transform: rotate(5deg);
}

.abstract-element.pink-circle {
    top: 6%;
    right: 5%;
    width: 70px;
    height: 70px;
    background: var(--accent-pink);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(20px);
}

.abstract-element.rotated-square {
    top: 8%;
    left: 5%;
    width: 45px;
    height: 45px;
    background: var(--secondary-blue);
    transform: rotate(45deg);
    opacity: 0.7;
}

.abstract-element.zigzag {
    top: 4%;
    right: 10%;
    width: 80px;
    height: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 40"><path fill="none" stroke="%23AF52DE" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M5 20l10-10l10 10l10-10l10 10l10-10l10 10l10-10"/></svg>') no-repeat center center / contain;
    transform: rotate(-20deg);
}

.abstract-element.energy-burst {
    top: 10%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><path fill="%23FF9500" d="M30 5l8 20l20 8l-20 8l-8 20l-8-20l-20-8l20-8z"/></svg>') no-repeat center center / contain;
    transform: rotate(45deg);
}

.abstract-element.flowing-line {
    top: 7%;
    left: 10%;
    width: 120px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 20"><path fill="none" stroke="%235AC8FA" stroke-width="4" stroke-linecap="round" d="M5 10c15-8 25 8 35 0s20-8 30 0s20 8 30 0s20-8 30 0"/></svg>') no-repeat center center / contain;
    transform: rotate(10deg);
}

/* Statistics Cards */
.stats-card {
    background: var(--background-primary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 10;
    margin-top: 100px;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stats-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-light);
}

.stats-card .icon.green {
    background: var(--accent-green);
}

.stats-card .icon.purple {
    background: var(--accent-purple);
}

.stats-card .icon.blue {
    background: var(--primary-blue);
}

.stats-card .icon.orange {
    background: var(--accent-yellow);
}

.stats-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stats-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Glass Cards */
.glass-card {
    background: var(--background-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-4x3 {
    grid-template-columns: repeat(4, 1fr);
}

/* Hospital Cards */
.hospital-card {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.hospital-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: var(--transition);
}

.hospital-card:hover::before {
    transform: scaleX(1);
}

.hospital-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.hospital-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hospital-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Professional Cards */
.professional-card {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.professional-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--background-primary);
    box-shadow: var(--shadow-light);
}

.professional-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-align: center;
    color: var(--text-primary);
}

.professional-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.professional-hospital {
    color: var(--primary-blue);
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.professional-bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-primary);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

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

/* Filters */
.filters {
    background: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: end;
    box-shadow: var(--shadow-light);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 1001;
}

.flash-message {
    background: var(--accent-green);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-small);
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-medium);
    animation: slideIn 0.3s ease-out;
    font-weight: 500;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Curved Image Styling */
.curved-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    object-fit: cover;
}

.curved-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-large);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    opacity: 0.8;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.3);
    will-change: transform;
}

/* Hide default cursor on interactive elements */
a, button, input, textarea, select, [role="button"], [tabindex] {
    cursor: none !important;
}

/* Ensure custom cursor appears above all content */
.custom-cursor {
    z-index: 99999 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo {
        margin-right: 1rem;
    }
    
    .nav-logo-text h2 {
        font-size: 1.1rem;
    }
    
    .nav-logo-text p {
        font-size: 0.65rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--background-primary);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .grid-4x3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    .flash-messages {
        right: 1rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .nav-logo {
        margin-right: 0.5rem;
    }
    
    .nav-logo-img {
        height: 35px;
    }
    
    .nav-logo-text h2 {
        font-size: 1rem;
    }
    
    .nav-logo-text p {
        font-size: 0.6rem;
    }

    .hero {
        padding: 4rem 0 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .hospital-card {
        padding: 1rem;
    }

    .grid-4x3 {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

/* Mobile Responsive Styles for screens below 768px */
@media screen and (max-width: 768px) {
    /* Hide the logo on mobile view */
    .hero-visual {
        display: none !important;
    }
    
    /* Adjustments for main content block with "Healthcare Professional Directory" */
    .hero .hero-content {
        padding: 1rem;  /* Reduced horizontal padding */
        margin: 0 0.5rem;  /* Reduced horizontal margin */
    }
    
    .hero h1 {
        font-size: 1.8rem;  /* Reduced font size by ~35% */
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        width: 100%;  /* Fluid width */
    }
    
    /* Ensure text elements stack neatly */
    .hero .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
}