@media (max-width: 640px) {
    .section:first-of-type {
        min-height: 0;
    }

    section:first-of-type .hero-inner {
        padding-top: 0;
        padding-bottom: 0;
    }

    section:first-of-type .hero-inner .split-item {
        padding: 0;
    }

    section:nth-of-type(2) {
        margin-top: 0;
    }

    section:nth-of-type(2) .section-inner {
        padding-top: 0;
        padding-bottom: 0;
    }

    section:nth-of-type(2) .section-inner .cta-slogan {
        margin-bottom: 1rem;
    }

    .meeting-options {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .room-divider {
        margin: 16px 0;
    }
    
    .consultation-wrapper {
        flex-direction: column;
        margin-top: 30px;
    }
    
    .consultation-card {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .features-sidebar {
        width: 100%;
    }
    
    .card-footer {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .security-badge {
        margin: 5px;
    }

    .hero.section {
        padding-top: 140px;
    }
}

/* Main Layout Styling */
.consultation-wrapper {
    display: flex;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 0;
    gap: 30px;
    justify-content: flex-start;
    align-items: flex-start;
}

.hero.section {
    padding-top: 180px;
    padding-bottom: 0;
    min-height: 0;
}

.hero-inner {
    padding-top: 0;
    padding-bottom: 0;
}

.cta.section {
    padding-top: 0;
}

.consultation-card {
    flex: 1;
    max-width: 650px;
    background: rgba(20, 20, 30, 0.7);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Schedule Card Styling */
.schedule-card {
    width: 350px;
    background: rgba(20, 20, 30, 0.7);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.schedule-card:hover, 
.consultation-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 239, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, rgba(0, 26, 87, 0.8) 0%, rgba(0, 51, 155, 0.8) 100%);
    padding: 22px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.card-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.card-content {
    padding: 25px;
    flex: 1;
}

.card-footer {
    display: flex;
    padding: 15px 25px;
    background: rgba(0, 26, 87, 0.2);
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.security-badge {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
}

.security-badge i {
    margin-right: 8px;
    color: #FFEF00;
    font-size: 14px;
}

/* Features Sidebar */
.features-sidebar {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    background: rgba(20, 20, 30, 0.7);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 239, 0, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #001A57 0%, #00339B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: #FFEF00;
    box-shadow: 0 5px 15px rgba(0, 26, 87, 0.3);
}

.feature-text h4 {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.feature-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.4;
}

/* Meeting options styling */
.meeting-options {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.meeting-option {
    flex: 1;
}

.meeting-button {
    display: flex;
    align-items: center;
    width: 100%;
    height: 75px;
    padding: 0 18px;
    border-radius: 12px;
    background-color: rgba(0, 26, 87, 0.1);
    border: 1px solid rgba(255, 239, 0, 0.15);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}

.meeting-button:hover {
    background-color: rgba(0, 26, 87, 0.2);
    border-color: rgba(255, 239, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.meeting-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #001A57 0%, #00339B 100%);
    margin-right: 15px;
    font-size: 18px;
    color: #FFEF00;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 26, 87, 0.3);
}

.meeting-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.meeting-text h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.meeting-text p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.action-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 239, 0, 0.15);
    color: #FFEF00;
    font-size: 12px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.meeting-button:hover .action-indicator {
    background-color: rgba(255, 239, 0, 0.3);
    transform: translateX(3px);
}

.room-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    width: 100%;
}

.room-divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.room-divider span {
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    white-space: nowrap;
}

/* Form styling enhancements */
.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group-desktop {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

.form-input {
    height: 50px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 0 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: rgba(255, 239, 0, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 239, 0, 0.1);
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.button-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

.button-group .button {
    flex: 1;
}

.button-group .button:first-child {
    flex: 0.2;
    min-width: 50px;
}

.button {
    height: 50px;
    min-height: 50px;
    border-radius: 12px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.button.button-primary {
    background: linear-gradient(135deg, #001A57 0%, #00339B 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 239, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 26, 87, 0.3);
}

.button.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 26, 87, 0.4);
}

.button.button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.button.button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.last-room {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: rgba(0, 26, 87, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 239, 0, 0.1);
}

.last-room span {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
    font-size: 13px;
}

.last-room a {
    color: #FFEF00;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.last-room a:hover {
    text-decoration: underline;
}

/* Site Footer Enhancements */
.site-footer {
    margin-top: 20px;
    background-color: rgba(10, 10, 15, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.site-footer-inner {
    padding-top: 30px;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 30px;
}

.footer-bottom {
    padding: 30px 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.world-map-footer-content {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .consultation-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .meeting-options {
        flex-direction: column;
        gap: 12px;
    }
    
    .meeting-button {
        padding: 0 15px;
        height: 70px;
    }
    
    .meeting-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .card-footer {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 15px;
    }
    
    .security-badge {
        margin: 5px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }

    .hero.section {
        padding-top: 160px;
    }
    
    .current-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .date-navigation {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-button {
        min-width: auto;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .button-group .button {
        width: 100%;
    }
    
    .button-group .button:first-child {
        flex: 1;
    }
    
    .date-navigation {
        gap: 5px;
    }
    
    .nav-button {
        padding: 0 10px;
        height: 36px;
        font-size: 14px;
    }
    
    #today {
        font-size: 12px;
    }
}

/* Current Date Display */
.current-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.date-display {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.month-year {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.day-number {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
}

.day-name {
    font-size: 16px;
    font-weight: 500;
    color: #FFEF00;
}

.date-navigation {
    display: flex;
    gap: 8px;
}

.nav-button {
    min-width: 40px;
    width: auto;
    height: 40px;
    padding: 0 15px;
    border-radius: 10px;
    background: rgba(0, 26, 87, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-button:hover {
    background: rgba(0, 26, 87, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 239, 0, 0.3);
}

.nav-button:hover::before {
    opacity: 1;
}

.nav-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-button i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.nav-button:hover i {
    transform: scale(1.2);
}

#prevDay:hover i {
    transform: translateX(-2px) scale(1.1);
}

#nextDay:hover i {
    transform: translateX(2px) scale(1.1);
}

.nav-button-primary {
    min-width: 140px;
    padding: 0 36px;
    height: 44px;
    font-size: 16px;
    font-weight: 600;
}

#today {
    width: auto;
    padding: 0 15px;
    font-size: 13px;
    background: rgba(255, 239, 0, 0.15);
    color: #FFEF00;
    border-color: rgba(255, 239, 0, 0.3);
}

#today:hover {
    background: rgba(255, 239, 0, 0.25);
}

/* Mini Calendar */
.mini-calendar {
    background: rgba(0, 26, 87, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.calendar-header button {
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.calendar-header button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

#calendarMonthYear {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.weekday {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 5px 0;
}

.calendar-day {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.15);
}

.calendar-day.today {
    background: rgba(255, 239, 0, 0.2);
    color: #FFEF00;
    font-weight: 600;
}

.calendar-day.selected {
    background: #FFEF00;
    color: #001A57;
    font-weight: 600;
}

.calendar-day.has-meetings {
    position: relative;
}

.calendar-day.has-meetings::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #FFEF00;
}

.calendar-day.other-month {
    color: rgba(255, 255, 255, 0.3);
}

/* Scheduled Meetings */
.scheduled-meetings {
    margin-top: 20px;
}

.scheduled-meetings h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.meetings-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.meetings-list::-webkit-scrollbar {
    width: 4px;
}

.meetings-list::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.meetings-list::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.meeting-item {
    display: flex;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 10px;
    background-color: rgba(0, 26, 87, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.meeting-item:hover {
    background-color: rgba(0, 26, 87, 0.2);
    transform: translateY(-2px);
}

.meeting-time {
    min-width: 75px;
    font-size: 13px;
    font-weight: 600;
    color: #FFEF00;
    display: flex;
    align-items: center;
}

.meeting-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meeting-title {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.3;
}

.meeting-actions {
    display: flex;
    gap: 5px;
}

.icon-button {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.icon-button:hover {
    transform: translateY(-2px);
}

.join-meeting {
    background: rgba(0, 153, 0, 0.2);
    color: #00dd00;
}

.join-meeting:hover {
    background: rgba(0, 153, 0, 0.3);
}

.edit-meeting {
    background: rgba(0, 102, 255, 0.2);
    color: #66b3ff;
}

.edit-meeting:hover {
    background: rgba(0, 102, 255, 0.3);
}

.delete-meeting {
    background: rgba(255, 51, 51, 0.2);
    color: #ff8080;
}

.delete-meeting:hover {
    background: rgba(255, 51, 51, 0.3);
}

.no-meetings {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.no-meetings i {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.no-meetings p {
    font-size: 14px;
}

.create-schedule {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
