/* Global Styles */
:root {
    --primary: #3f51b5;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
}

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

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header and Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/healthcare-hero.jpg') no-repeat center center;
    background-size: cover;
    padding: 120px 0;
    margin-bottom: 30px;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* Card Styling */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-body {
    padding: 2rem;
}

/* Features Icons */
.card .fa-3x {
    color: var(--primary);
}

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

section h2 {
    margin-bottom: 50px;
    font-weight: 700;
    color: #333;
    position: relative;
}

section h2:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
#about img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.form-control {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(63, 81, 181, 0.25);
    border-color: #3f51b5;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary);
}

/* Social Links */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: white !important;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    section {
        padding: 50px 0;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Custom Button Styles */
.btn {
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 15px 30px;
}

/* Doctor Card */
.doctor-card img {
    height: 200px;
    object-fit: cover;
}

.doctor-card .rating {
    color: var(--warning);
}

/* Appointment Form */
.appointment-form {
    background-color: var(--light);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* QR Code Style */
.qr-code {
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    display: inline-block;
    margin: 10px 0;
}

/* Portal Styles */
.portal-sidebar {
    background-color: var(--dark);
    color: white;
    min-height: calc(100vh - 56px);
    padding-top: 20px;
}

.portal-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    margin: 2px 0;
    border-radius: 5px;
}

.portal-sidebar .nav-link:hover, 
.portal-sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.portal-sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Queue Display */
.queue-display {
    font-size: 2.5rem;
    font-weight: bold;
    padding: 20px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
}

/* Prescription & Invoice */
.prescription, .invoice {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Video Consultation */
.video-container {
    background-color: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-controls {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.video-controls button {
    margin: 0 5px;
} 
