/* CSS Variables */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8f9fa;
    --accent-color: #6eb5d1;
    --text-dark: #333;
    --text-light: #666;
    --border-light: #e8ecef;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
}

.navbar-brand .logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 1.2rem;
}

.navbar-brand .logo-img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    flex-shrink: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 15px;
    transition: color 0.3s ease;
}

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

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 90, 160, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.3);
}

.hero-logo-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: block;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
}

.hero-section .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 400;
}

.hero-section .doctor-name {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
}

/* Hero Section for Pricing Page */
.hero-section.pricing-hero {
    padding: 40px 0;
}

.hero-section.pricing-hero h1 {
    font-size: 3rem;
}

.hero-section.pricing-hero .subtitle {
    font-size: 1.2rem;
}

/* Alert in Hero Section */
.hero-section .alert {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    color: #856404;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.hero-section .alert h5 {
    color: #856404;
    margin-bottom: 10px;
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
}

.hero-section .alert p {
    color: #856404;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.8rem;
}

.service-card h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Ambulancia Cards */
.ambulancia-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.ambulancia-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.15);
}

.ambulancia-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ambulancia-card:hover .ambulancia-img {
    transform: scale(1.05);
}

.ambulancia-content {
    padding: 25px;
}

.ambulancia-content h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
}

.ambulancia-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Price Table */
.price-table {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}

.price-table-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 25px;
    text-align: center;
}

.price-table-header h4 {
    margin: 0;
    font-weight: 600;
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
}

.price-item {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item .service-name {
    font-weight: 500;
    color: var(--text-dark);
}

.price-item .service-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
    margin-right: 20px;
}

.price-item .price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    white-space: nowrap;
    text-align: right;
    min-width: fit-content;
}

/* Contact Section */
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    height: 100%;
}

.contact-card h4 {
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    flex-shrink: 0;
}

.contact-info h6 {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
}

.contact-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-info a {
    color: var(--text-dark);
    text-decoration: none;
}

/* Info Cards (for pricing page) */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    height: 100%;
}

.info-card h5 {
    color: var(--primary-color);
    font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
    margin-bottom: 20px;
}

.info-card ul {
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Info Icon for improved info cards */
.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.info-card .list-unstyled {
    text-align: left;
}

.info-card .list-unstyled li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
    background: linear-gradient(135deg, #244a87, #5ba3c4);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

footer p {
    margin: 0;
    color: var(--text-light);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
        font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .hero-logo-img {
        width: 80px;
        height: 80px;
    }
    
    .hero-section .doctor-name {
        font-size: 1.4rem;
        font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
    }
    
    .section-title {
        font-size: 2rem;
        font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .price-item .price {
        margin-top: 10px;
        font-size: 1.2rem;
        align-self: flex-end;
        text-align: right;
    }
    
    /* Pricing page specific responsive */
    .hero-section.pricing-hero h1 {
        font-size: 2.2rem;
        font-family: 'Libre Baskerville', 'Baskerville Old Face', 'Times New Roman', serif;
    }
    
    .hero-section.pricing-hero .hero-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
