/* MyMediQ Public Website Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    padding: 100px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/medical-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

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

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

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.section-title {
    position: relative;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.appointment-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar {
    padding: 1rem 0;
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 30px 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.alert-custom {
    border: none;
    border-radius: 15px;
    padding: 20px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .appointment-form {
        padding: 30px 20px;
    }
}

/* Homepage specific styles */
.hero-logo {
    max-width: 400px;
    filter: brightness(0) invert(1);
}

.doctor-profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #f0f0f0;
}

.doctor-profile-placeholder {
    width: 120px;
    height: 120px;
    font-size: 3rem;
}

.why-choose-icon {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
}

/* Text visibility improvements */
.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-dark {
    color: #212529 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Ensure proper contrast */
.card-custom h5,
.card-custom h4,
.card-custom h3 {
    color: #212529;
}

.card-custom p {
    color: #6c757d;
}

.hero-section h1,
.hero-section h3,
.hero-section p,
.hero-section small {
    color: #ffffff !important;
}

/* Feature icon improvements */
.feature-icon.bg-primary {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.feature-icon.bg-success {
    background-color: var(--success-color) !important;
    color: white !important;
}

.feature-icon.bg-info {
    background-color: var(--info-color) !important;
    color: white !important;
}

.feature-icon.bg-danger {
    background-color: var(--danger-color) !important;
    color: white !important;
}