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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e8f0fe;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2rem;
    color: #fff;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

nav a.active {
    background-color: rgba(255,255,255,0.3);
    font-weight: 600;
}

/* Mobile Navigation Responsive */
@media (max-width: 768px) {
    nav {
        gap: 15px;
        justify-content: center;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 8px 12px;
        font-weight: 500;
        flex: 1;
        text-align: center;
        min-width: 80px;
    }
}

@media (max-width: 600px) {
    nav {
        gap: 10px;
        justify-content: center;
    }
    
    nav a {
        font-size: 0.85rem;
        padding: 8px 10px;
        border-radius: 4px;
        flex: 1;
        text-align: center;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    nav {
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 8px 12px;
        border-radius: 4px;
        flex: 0 1 auto;
        min-width: 65px;
        text-align: center;
    }
}

@media (max-width: 360px) {
    nav {
        gap: 5px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav a {
        font-size: 0.75rem;
        padding: 6px 8px;
        border-radius: 3px;
        flex: 0 1 auto;
        min-width: 60px;
        text-align: center;
    }
}

/* Mobile Header Responsive */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .logo {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.8rem 0;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.3rem;
    }
    
    .logo {
        gap: 8px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 360px) {
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo i {
        font-size: 1.1rem;
    }
    
    .logo {
        gap: 5px;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* Main Content */
main {
    padding: 40px 0;
}

.scheduling-section {
    text-align: center;
    margin-bottom: 40px;
}

.scheduling-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.scheduling-section p {
    color: #b8c5d6;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.scheduling-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

/* High-visibility notice above calendar */
.calendar-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.arrival-time-notice {
    text-align: left;
    padding: 18px 20px;
    border-radius: 12px;
    border: 5px solid #d60000;
    background-color: #ffe600;
    color: #0d0d0d !important;
    font-size: 1.08rem;
    line-height: 1.5;
    box-shadow:
        0 0 0 3px #ffffff,
        0 6px 0 #8b0000,
        0 12px 28px rgba(0, 0, 0, 0.55);
    animation: arrival-notice-flash 0.75s ease-in-out infinite;
    will-change: transform, box-shadow, background-color;
}

.arrival-time-notice__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: #fff !important;
    background: #c40000;
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    animation: arrival-badge-pulse 0.75s ease-in-out infinite;
}

.scheduling-section .arrival-time-notice p.arrival-time-notice__text {
    color: #0d0d0d !important;
    margin-bottom: 0 !important;
}

.arrival-time-notice__text {
    margin: 0 !important;
    font-weight: 700 !important;
    color: #0d0d0d !important;
}

.arrival-time-notice__text strong {
    color: #8b0000 !important;
}

@keyframes arrival-notice-flash {
    0%, 100% {
        background-color: #ffe600;
        border-color: #d60000;
        transform: scale(1);
        box-shadow:
            0 0 0 3px #ffffff,
            0 6px 0 #8b0000,
            0 10px 24px rgba(0, 0, 0, 0.45),
            0 0 0 0 rgba(255, 0, 0, 0.55);
    }
    50% {
        background-color: #ff9f1c;
        border-color: #ff0000;
        transform: scale(1.015);
        box-shadow:
            0 0 0 4px #ffffff,
            0 8px 0 #5c0000,
            0 16px 36px rgba(0, 0, 0, 0.55),
            0 0 32px 6px rgba(255, 40, 0, 0.85);
    }
}

@keyframes arrival-badge-pulse {
    0%, 100% {
        transform: scale(1);
        background: #c40000;
    }
    50% {
        transform: scale(1.06);
        background: #ff0000;
    }
}

@media (prefers-reduced-motion: reduce) {
    .arrival-time-notice,
    .arrival-time-notice__badge {
        animation: none;
    }
    .arrival-time-notice {
        background-color: #ffe600;
        transform: none;
    }
}

/* Calendar Styles */
.calendar-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    border: 2px solid rgba(232, 240, 254, 0.2);
    backdrop-filter: blur(10px);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background: #1e3d6f;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: rgba(44, 90, 160, 0.2);
    border-radius: 10px;
    padding: 15px;
}

.day-header {
    background: #2c5aa0;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    border-radius: 5px;
    font-size: 0.9rem;
}

.calendar-day {
    background: white;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.calendar-day.available {
    background: #28a745;
    color: white;
    border: 2px solid #1e7e34;
    font-weight: 600;
}

.calendar-day.available:hover {
    border-color: #155724;
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.calendar-day.limited {
    background: #ffc107;
    color: #212529;
    border: 2px solid #d39e00;
    font-weight: 600;
}

.calendar-day.limited:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(255, 193, 7, 0.4);
}

.calendar-day.full {
    background: #dc3545;
    color: white;
    cursor: not-allowed;
    border: 2px solid #bd2130;
    font-weight: 600;
}

.calendar-day.full:hover {
    background: #c82333;
    transform: none;
    box-shadow: none;
}

.calendar-day.weekend {
    background: #6c757d;
    color: white;
    cursor: not-allowed;
    border: 2px solid #5a6268;
    font-weight: 600;
}

.calendar-day.weekend:hover {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

.calendar-day.past-date {
    background: #adb5bd;
    color: white;
    cursor: not-allowed;
    border: 2px solid #868e96;
    font-weight: 500;
}

.calendar-day.past-date:hover {
    background: #adb5bd;
    transform: none;
    box-shadow: none;
}

.calendar-day.other-month {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    border: 2px solid #ced4da;
    font-weight: 400;
}

.calendar-day.today {
    background: #ff9800;
    color: white;
    border: 2px solid #f57c00;
    font-weight: 600;
    position: relative;
}

.calendar-day.today:hover {
    background: #fb8c00;
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(255, 152, 0, 0.4);
}

.calendar-day.today::after {
    content: "TODAY";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.calendar-day.selected {
    background: #2c5aa0 !important;
    color: white !important;
    border-color: #1e3d6f !important;
}

/* Calendar Legend */
.legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #e8f0fe;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid;
}

.legend-color.available {
    background: #28a745;
    border-color: #1e7e34;
}

.legend-color.limited {
    background: #ffc107;
    border-color: #d39e00;
}

.legend-color.full {
    background: #dc3545;
    border-color: #bd2130;
}

.legend-color.today {
    background: #ff9800;
    border-color: #f57c00;
}

.legend-color.closed {
    background: #6c757d;
    border-color: #5a6268;
}

/* Booking Form Styles */
.booking-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    border: 2px solid rgba(232, 240, 254, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(232, 240, 254, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group input[readonly] {
    background-color: rgba(248, 249, 250, 0.7);
    color: #6c757d;
}

.form-row.form-row--city-state-zip {
    grid-template-columns: minmax(0, 1.45fr) minmax(4.25rem, 5.5rem) minmax(0, 1fr);
    gap: 16px;
    align-items: end;
}

.form-group--state input {
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #495057 !important;
}

@media (max-width: 600px) {
    .form-row.form-row--city-state-zip {
        grid-template-columns: 1fr;
    }
}

/* Time Slots */
.time-slots {
    display: grid;
    gap: 15px;
}

.time-slot {
    border: 2px solid rgba(232, 240, 254, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.time-slot:hover {
    border-color: #2c5aa0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.time-slot input[type="radio"] {
    display: none;
}

.time-slot label {
    display: block;
    padding: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.time-slot input[type="radio"]:checked + label {
    background: rgba(240, 247, 255, 0.2);
    border-color: #2c5aa0;
}

.time-slot.fully-booked {
    opacity: 0.6;
    cursor: not-allowed;
}

.time-slot.fully-booked label {
    cursor: not-allowed;
    background: rgba(248, 249, 250, 0.2);
}

.slot-info {
    text-align: left;
}

.slot-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slot-tech {
    color: #b8c5d6;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.slot-availability {
    font-size: 0.9rem;
    font-weight: 500;
}

.slot-availability.available {
    color: #28a745;
}

.slot-availability.limited {
    color: #ffc107;
}

.slot-availability.full {
    color: #dc3545;
}

/* Form Section Headers */
.booking-section h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(232, 240, 254, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.booking-section h3:first-child {
    margin-top: 0;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%);
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e8f0fe;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.modal h3 {
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.modal p {
    color: #ffffff;
}

.modal strong {
    color: #ffffff;
}

#confirmationDetails {
    color: #ffffff;
}

#confirmationDetails p {
    color: #ffffff;
    margin: 8px 0;
    line-height: 1.5;
}

#confirmationDetails strong {
    color: #e8f0fe;
}

/* Specific styling for confirmation modal */
#confirmationModal .modal-content {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

#confirmationModal h3 {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

#confirmationModal p {
    color: #ffffff !important;
}

#confirmationModal strong {
    color: #e8f0fe !important;
}

#confirmationModal .close {
    color: #ffffff !important;
}

#confirmationModal .close:hover {
    color: #e8f0fe !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

/* Specific styling for message modal */
#messageModal .modal-content {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

#messageModal h3 {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

#messageModal p {
    color: #ffffff !important;
}

#messageModal .close {
    color: #ffffff !important;
}

#messageModal .close:hover {
    color: #e8f0fe !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

.confirm-btn, .cancel-btn, .ok-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 10px 5px;
    transition: all 0.3s ease;
}

.confirm-btn, .ok-btn {
    background: #28a745;
    color: white;
}

.confirm-btn:hover, .ok-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.message {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message i {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .scheduling-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .arrival-time-notice {
        font-size: 0.98rem;
        padding: 14px 14px;
    }
    
    .calendar-section, .booking-section {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    header .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    nav {
        gap: 15px;
    }
    
    .legend {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .calendar-grid {
        gap: 1px;
        padding: 10px;
    }
    
    .calendar-day {
        padding: 10px;
        min-height: 40px;
        font-size: 0.9rem;
    }
    
    .day-header {
        padding: 8px;
        font-size: 0.8rem;
    }
    
    .scheduling-section h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
        width: 95%;
    }
    
    .legend {
        gap: 10px;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .time-slot label {
        padding: 15px;
    }
    
    .slot-time {
        font-size: 1rem;
    }
    
    .slot-tech, .slot-availability {
        font-size: 0.85rem;
    }
    
    nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
}

/* Additional Page Styles */
.page-section {
    text-align: center;
    margin-bottom: 40px;
}

.page-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-section p {
    color: #b8c5d6;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Services Page Styles */
.services-container {
    background: rgba(44, 90, 160, 0.05);
    border-radius: 25px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(74, 123, 200, 0.2);
    backdrop-filter: blur(10px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    border: 2px solid rgba(74, 123, 200, 0.2);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 123, 200, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(74, 123, 200, 0.3);
    border-color: rgba(74, 123, 200, 0.5);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

.service-icon {
    font-size: 3.5rem;
    color: #4a7bc8;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    transform-origin: center;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(360deg);
    color: #6bb6ff;
    text-shadow: 0 0 20px rgba(107, 182, 255, 0.5);
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
    font-weight: 600;
}

.service-card:hover h3 {
    color: #6bb6ff;
    text-shadow: 0 0 10px rgba(107, 182, 255, 0.3);
}

.service-card p {
    color: #b8c5d6;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: auto;
}

.service-card li {
    color: #e8f0fe;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 2px 0;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a7bc8;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.service-card:hover li {
    color: #ffffff;
    background: rgba(74, 123, 200, 0.1);
    padding-left: 30px;
}

.service-card:hover li:before {
    color: #6bb6ff;
    transform: scale(1.2);
}

/* Brands Section */
.brands-section {
    margin: 60px 0;
    background: rgba(74, 123, 200, 0.08);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(74, 123, 200, 0.2);
}

.brands-section h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    text-align: center;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.brand-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    padding: 20px 15px;
    border-radius: 15px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    border: 2px solid rgba(74, 123, 200, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 123, 200, 0.2);
    border-color: rgba(74, 123, 200, 0.6);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

/* Features Grid */
.service-features {
    margin: 60px 0;
    background: rgba(74, 123, 200, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(74, 123, 200, 0.2);
}

.service-features h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    padding: 30px 20px;
    border: 2px solid rgba(74, 123, 200, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(74, 123, 200, 0.2);
    border-color: rgba(74, 123, 200, 0.5);
}

.feature-item i {
    font-size: 3rem;
    color: #4a7bc8;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    color: #6bb6ff;
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(107, 182, 255, 0.5);
}

.feature-item h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
}

.feature-item:hover h4 {
    color: #6bb6ff;
}

.feature-item p {
    color: #b8c5d6;
    margin: 0;
    line-height: 1.5;
}

/* Virtual Terminal Section */
.virtual-terminal-section {
    margin: 40px 0 60px 0;
    display: flex;
    justify-content: center;
}

.virtual-terminal-card {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    border: 2px solid rgba(40, 167, 69, 0.5);
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.virtual-terminal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.virtual-terminal-card:hover::before {
    left: 100%;
}

.terminal-icon {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.virtual-terminal-card h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.virtual-terminal-card p {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.pay-online-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #28a745;
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-online-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background: #f8f9fa;
    color: #28a745;
    text-decoration: none;
}

.payment-note {
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0.9;
    font-style: italic;
}

/* Payment Page Styles */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.payment-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(232, 240, 254, 0.2);
    backdrop-filter: blur(10px);
}

.payment-icon {
    font-size: 3rem;
    color: #4a7bc8;
    margin-bottom: 20px;
}

.payment-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.payment-methods {
    list-style: none;
    padding: 0;
    text-align: left;
}

.payment-methods li {
    color: #e8f0fe;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-methods i {
    color: #4a7bc8;
    width: 20px;
}

.pricing-info {
    text-align: center;
}

.price-item {
    margin: 20px 0;
}

.price {
    font-size: 2.5rem;
    color: #4a7bc8;
    font-weight: bold;
    display: block;
}

.description {
    color: #ffffff;
    font-size: 1.1rem;
}

.price-note {
    color: #b8c5d6;
    font-style: italic;
    margin-top: 15px;
}

.warranty-info {
    text-align: left;
}

.warranty-item {
    margin: 15px 0;
}

.warranty-item h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.warranty-item p {
    color: #b8c5d6;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    margin: 60px 0;
}

.pricing-section h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.pricing-disclaimer {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 15px;
    color: #ffc107;
    margin-bottom: 30px;
    text-align: left;
}

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

.pricing-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(232, 240, 254, 0.2);
}

.pricing-category h4 {
    color: #ffffff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range {
    font-size: 1.3rem;
    color: #4a7bc8;
    font-weight: bold;
    margin-bottom: 15px;
}

.pricing-category ul {
    list-style: none;
    padding: 0;
}

.pricing-category li {
    color: #b8c5d6;
    padding: 3px 0;
    font-size: 0.9rem;
}

/* Pricing Benefits */
.pricing-benefits {
    margin-top: 40px;
    background: rgba(74, 123, 200, 0.08);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(74, 123, 200, 0.2);
}

.pricing-benefits h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(74, 123, 200, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 1.5rem;
    color: #4a7bc8;
    min-width: 30px;
}

.benefit-item span {
    color: #e8f0fe;
    font-weight: 500;
}

/* Process Steps */
.payment-process {
    margin: 60px 0;
}

.payment-process h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #4a7bc8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0 auto 15px;
}

.step h4 {
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.step p {
    color: #b8c5d6;
    margin: 0;
}

/* Policies Grid */
.payment-policies {
    margin: 60px 0;
}

.payment-policies h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

.policy-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(232, 240, 254, 0.2);
}

.policy-item i {
    font-size: 2rem;
    color: #4a7bc8;
    margin-bottom: 15px;
}

.policy-item h4 {
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.policy-item p {
    color: #b8c5d6;
    margin: 0;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-info {
    display: grid;
    gap: 25px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid rgba(232, 240, 254, 0.2);
    backdrop-filter: blur(10px);
}

.contact-icon {
    font-size: 2.5rem;
    color: #4a7bc8;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.contact-detail {
    color: #e8f0fe;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 5px 0;
}

.contact-note {
    color: #b8c5d6;
    font-size: 0.9rem;
    margin-top: 10px;
}

.hours-list {
    text-align: left;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    color: #e8f0fe;
    padding: 5px 0;
    border-bottom: 1px solid rgba(232, 240, 254, 0.1);
}

.contact-form-section {
    display: flex;
    flex-direction: column;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid rgba(232, 240, 254, 0.2);
    backdrop-filter: blur(10px);
    flex: 1;
}

.contact-form-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.contact-form {
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: #b8c5d6;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* CAPTCHA Styles */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(74, 123, 200, 0.1);
    border: 2px solid rgba(74, 123, 200, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
}

.captcha-question {
    background: rgba(255, 255, 255, 0.9);
    color: #2c5aa0;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 120px;
    text-align: center;
    border: 2px solid rgba(74, 123, 200, 0.3);
}

#captchaAnswer {
    max-width: 100px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.refresh-btn {
    background: #4a7bc8;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.refresh-btn:hover {
    background: #2c5aa0;
    transform: rotate(180deg);
}

.captcha-help {
    color: #b8c5d6;
    font-size: 0.9rem;
    margin: 5px 0 0 0;
    font-style: italic;
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #6c757d;
}

#submitBtn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Emergency Section */
.emergency-section {
    margin: 60px 0;
}

.emergency-card {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.emergency-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.emergency-card h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.emergency-card p {
    color: #b8c5d6;
    margin-bottom: 20px;
}

.emergency-info p {
    color: #e8f0fe;
    margin: 8px 0;
}

/* Service Areas */
.service-areas {
    margin: 60px 0;
}

.service-areas h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.area-column ul {
    list-style: none;
    padding: 0;
}

.area-column li {
    color: #e8f0fe;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.area-column li:before {
    content: "📍";
    position: absolute;
    left: 0;
}

.areas-note {
    color: #b8c5d6;
    font-style: italic;
    text-align: center;
    margin-top: 30px;
}

/* CTA Section */
.cta-section {
    background: rgba(44, 90, 160, 0.1);
    border: 2px solid rgba(44, 90, 160, 0.3);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin: 60px 0;
}

.cta-section h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-section p {
    color: #b8c5d6;
    margin-bottom: 25px;
}

.cta-button {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a7bc8 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
    text-decoration: none;
    color: white;
}

/* Responsive Updates for New Pages */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-container, .brands-section, .service-features {
        padding: 30px;
    }
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .services-container, .brands-section, .service-features {
        padding: 25px;
        margin: 30px 0;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-section h2 {
        font-size: 2rem;
    }
    
    .features-grid, .policies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
