/* Corporate Branding Colors */
:root {
    --primary: #007BFF; /* ResMed Blue */
    --secondary: #28A745; /* Success Green */
    --accent: #FFC107; /* Warning Yellow */
    --light: #F8F9FA;
    --dark: #343A40;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navbar */
.navbar {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Booking Form */
.booking-container {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.resmed-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.resmed-form .form-group {
    margin: 0.5rem 0;
}

.resmed-form input,
.resmed-form select,
.resmed-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.datetime-group {
    grid-column: span 2;
    display: flex;
    gap: 1rem;
}

.datetime-group input,
.datetime-group select {
    flex: 1;
}

.resmed-btn {
    background: var(--primary);
    border: none;
    padding: 14px 30px;
    color: white;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resmed-btn:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resmed-form {
        grid-template-columns: 1fr;
    }
    
    .datetime-group {
        flex-direction: column;
    }
}


/* Alerts */
.alert-info {
    background: #D1ECF1;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}
.developer-credit {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 1rem;
    display: block;
}

.developer-link {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s;
}

.developer-link:hover {
    color: var(--primary);
}
.confirmation-container {
    text-align: center;
    padding: 4rem 2rem;
}

.success-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #d4edda;
    border-radius: 8px;
    color: #155724;
}

.appointment-summary {
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.policy-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.policy-container h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.policy-container ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
/* Footer Styles */
.main-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 20px;
}

.footer-column {
    padding: 15px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.footer-column p {
    margin: 8px 0;
    line-height: 1.5;
}

.footer-column a {
    color: #3498db;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}

.footer-column li {
    margin: 10px 0;
}

.certification-logo {
    max-width: 150px;
    height: auto;
    margin-top: 10px;
}

.footer-copyright {
    border-top: 1px solid #34495e;
    padding: 15px 0;
    text-align: center;
}

.footer-developer {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #34495e;
    margin-top: 10px;
}

.developer-link {
    color: #3498db !important;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-copyright,
    .footer-developer {
        padding: 10px 0;
    }
}
/* Navbar Styles */
.navbar-brand {
    padding: 0.5rem 1rem;
}

.logo-img {
    max-height: 40px;
    width: auto;
}

.navbar-light .navbar-nav .nav-link {
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #3498db;
}

.navbar-toggler {
    border-color: #ddd;
}

.whatsapp-btn {
    background-color: #25D366;
    border-color: #25D366;
    margin-left: 10px;
}

.whatsapp-btn:hover {
    background-color: #1DA14C;
    border-color: #1DA14C;
}

.cookie-banner {
    border-radius: 0.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

@media (max-width: 992px) {
    .whatsapp-btn {
        display: none !important;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }
}
/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #3498db;
    bottom: 0;
    left: 0;
}

.contact-details {
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item i {
    color: #3498db;
    font-size: 1.5rem;
    margin-top: 5px;
}

.detail-item div p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.detail-item a {
    color: #25D366;
    text-decoration: none;
}

.detail-item a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Form Styles */
.needs-validation {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.25);
}

.btn-primary {
    background: #3498db;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #2980b9;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-section {
        padding: 40px 0;
    }
}
/* Loading state for time dropdown */
#appointmentTime.loading {
    position: relative;
}

#appointmentTime.loading::after {
    content: 'Loading times...';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.875em;
    pointer-events: none;
}