.bliss-location-container{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 2rem 0;
    position: relative;
}

.location-pin{
    z-index: 3000;
    padding: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 
        0 8px 25px rgba(220, 53, 69, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 15px;            
    right: 15px;          
    transform: rotate(0deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.9);
    pointer-events: auto;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-pin i {
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.location-pin:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 
        0 12px 35px rgba(220, 53, 69, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.location-container {
    margin: 3rem auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0rem;
    width: 85vw;
    max-width: 1200px;
    min-height: 500px; /* Ensures consistent minimum height */
    border-radius: 20px;
    /* box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.05); */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.location-container:hover {
    transform: translateY(-5px);
    /* box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.08); */
}

.location-left, .location-right {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    height: 100%;
    min-height: 530px; /* Increased for better content space */
    margin: 0;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-self: stretch; /* Ensures full height usage from parent */
}

.location-left {
    flex: 0 0 60%; /* 60% width */
    max-width: 60%;
    min-width: 400px; /* Minimum width for map visibility */
    overflow: hidden;
}

.location-right {
    flex: 0 0 35%; /* 35% width */
    max-width: 35%;
    min-width: 250px; /* Minimum width for content readability */
    overflow: hidden;
}

.location-left {
    border-radius: 20px 0 0 20px;
    position: relative;
    overflow: hidden;
}

.location-right {
    border-radius: 0 20px 20px 0;
}

.location-left:hover, .location-right:hover {
    transform: translateY(-2px);
}

.location-left {
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-right {
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
}

.address-header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0;
    padding: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dumaguete-container, .siquijor-container {
    z-index: 1000;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: none;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dumaguete-container::before, .siquijor-container::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.5s ease;
}

.dumaguete-container:hover::before, .siquijor-container:hover::before {
    left: 100%;
}

.dumaguete-container:hover, .siquijor-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.dumaguete-container:active, .siquijor-container:active {
    transform: translateY(0);
}

/* Active state for location buttons */
.dumaguete-container.active, .siquijor-container.active {
    background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);  
}

.dumaguete-container.active:hover, .siquijor-container.active:hover {
    background: linear-gradient(135deg, #5c7cfa 0%, #4c6ef5 100%) !important;
}

/* Inactive state for location buttons */
.dumaguete-container, .siquijor-container {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dumaguete-container:hover, .siquijor-container:hover {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Override hover when active */
.dumaguete-container.active:hover, .siquijor-container.active:hover {
    background: linear-gradient(135deg, #5c7cfa 0%, #4c6ef5 100%) !important;
}


.address-info-dumaguete, .address-info-siquijor {
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Better content distribution */
    border-radius: 0;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem 1.5rem;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    flex: 1; /* Takes remaining height after header */
    min-height: 420px; /* Adjusted to match parent min-height minus header */
    height: 100%; /* Use full available height */
}

.address-info-dumaguete::before, .address-info-siquijor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4c6ef5, #364fc7);
}

.address-info-siquijor::before {
    background: linear-gradient(90deg, #495057, #343a40);
}

.address-info-dumaguete p, .address-info-siquijor p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.address-info-dumaguete .d-flex, .address-info-siquijor .d-flex {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(76, 110, 245, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.address-info-dumaguete .d-flex:hover, .address-info-siquijor .d-flex:hover {
    background: rgba(76, 110, 245, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(76, 110, 245, 0.2);
}

.address-info-dumaguete .d-grid, .address-info-siquijor .d-grid {
    margin-top: auto;
    padding-top: 1rem;
}

.address-info-dumaguete .btn, .address-info-siquijor .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.address-info-dumaguete .btn:hover, .address-info-siquijor .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.address-info-dumaguete .bi, .address-info-siquijor .bi {
    color: #4c6ef5;
    font-size: 1.2rem;
}

.address-info-siquijor .bi {
    color: #495057;
}

.bliss-map{
    width: 100%;
    height: 100%;
    min-height: 500px; /* Increased to match container min-height */
    border-radius: 20px 0 0 20px;
    border: none;
    filter: grayscale(20%) contrast(1.1) brightness(1.05);
    transition: all 0.3s ease;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bliss-map:hover {
    filter: grayscale(0%) contrast(1.2) brightness(1.1);
}

/* Smooth transitions for location switching */
.address-info-dumaguete, .address-info-siquijor {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(0);
}

.address-info-dumaguete[style*="display: none"], 
.address-info-siquijor[style*="display: none"] {
    opacity: 0;
    transform: translateY(10px);
}

/* Enhanced iframe loading state */
.bliss-map {
    background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%), 
                linear-gradient(-45deg, #f8f9fa 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f8f9fa 75%), 
                linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: loading-bg 2s linear infinite;
}

@keyframes loading-bg {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}

/* Enhanced feature icon in section header */
.feature.bg-primary {
    position: relative;
    overflow: hidden;
}

.feature.bg-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Interactive hover effects for business hours indicator */
.container .d-inline-flex.bg-white {
    position: relative;
    overflow: hidden;
}

.container .d-inline-flex.bg-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 110, 245, 0.1), transparent);
    transition: left 0.6s ease;
}

.container .d-inline-flex.bg-white:hover::before {
    left: 100%;
}

/* Enhanced section background with subtle pattern */
.bg-gradient-light {
    position: relative;
}

.bg-gradient-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(76, 110, 245, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(220, 53, 69, 0.03) 0%, transparent 25%);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 1;
}

.bg-gradient-light > * {
    position: relative;
    z-index: 2;
}

/* Enhanced animations and micro-interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.location-container {
    animation: fadeInUp 0.8s ease-out;
}

.location-left {
    animation: slideInFromLeft 0.8s ease-out 0.2s both;
}

.location-right {
    animation: slideInFromRight 0.8s ease-out 0.4s both;
}

.contact-details {
    animation: slideInFromBottom 0.6s ease-out 0.2s both;
}

.action-buttons {
    animation: slideInFromBottom 0.6s ease-out 0.4s both;
}

/* Enhanced button focus states */
.dumaguete-container:focus, .siquijor-container:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(76, 110, 245, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Loading state for map */
.bliss-map {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .location-container,
    .location-left,
    .location-right,
    .location-pin,
    .dumaguete-container,
    .siquijor-container,
    .bliss-map {
        animation: none;
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .location-container {
        border: 2px solid #000;
    }
    
    .dumaguete-container, .siquijor-container {
        border: 1px solid #000;
    }
}

@media screen and (max-width: 1023px) {
    .location-container {
        margin: 2rem 1rem;
        flex-direction: column;
        width: 90vw;
        gap: 0;
        /* box-shadow: 
            0 15px 45px rgba(0, 0, 0, 0.1),
            0 6px 20px rgba(0, 0, 0, 0.05); */
    }

    .location-left, .location-right {
        flex: none; /* Reset flex for mobile/tablet */
        max-width: 100%; /* Full width for stacked layout */
        min-width: 100%;
        height: 100%;
        min-height: 400px; /* Maintained minimum height for tablet */
        border-radius: 20px 20px 0 0;
        margin-bottom: 0;
    }

    .location-right {
        border-radius: 0 0 20px 20px;
    }

    .bliss-map {
        min-height: 300px;
        border-radius: 20px 20px 0 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .address-info-dumaguete, .address-info-siquijor {
        min-height: 300px;
        padding: 2rem 1.5rem;
        border-radius: 0 0 20px 20px;
    }

    .address-header-container {
        border-radius: 0;
    }

    .dumaguete-container, .siquijor-container {
        border-radius: 0;
    }
}

@media screen and (max-width: 600px) {
    .bliss-location-container {
        padding: 1rem 0;
    }

    .location-container {
        width: 95vw;
        flex-direction: column;
        margin: 1rem auto;
        border-radius: 16px;
    }

    .location-left, .location-right {
        flex: none; /* Reset flex for mobile */
        max-width: 100%; /* Full width for stacked layout */
        min-width: 100%;
        height: 100%;
        border-radius: 16px 16px 0 0;
    }

    .location-right {
        border-radius: 0 0 16px 16px;
    }

    .address-info-dumaguete, .address-info-siquijor {
        font-size: 1rem;
        min-height: 300px; /* Adequate height for mobile content */
        padding: 1.2rem;
        border-radius: 0 0 16px 16px;
        justify-content: space-between; /* Maintain proper spacing */
    }

    .dumaguete-container, .siquijor-container {
        font-size: 1rem;
        height: 50px;
        border-radius: 0;
    }

    .bliss-map {
        min-height: 300px; /* Increased for better mobile experience */
        border-radius: 16px 16px 0 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .location-pin {
        padding: 0.75rem;
        top: 10px;
        right: 10px;
        transform: rotate(0deg);
        z-index: 3000;
    }

    .address-header-container {
        border-radius: 0;
    }
}

/* Enhanced action buttons styling */
.address-container .d-grid {
    padding: 1rem;
    background: rgba(76, 110, 245, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(76, 110, 245, 0.1);
}

.address-container .btn {
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.address-container .btn::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.5s ease;
}

.address-container .btn:hover::before {
    left: 100%;
}

.address-container .btn-primary {
    background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(76, 110, 245, 0.3);
}

.address-container .btn-primary:hover {
    background: linear-gradient(135deg, #5c7cfa 0%, #4c6ef5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 110, 245, 0.4);
}

.address-container .btn-outline-primary {
    border: 2px solid #4c6ef5;
    color: #4c6ef5;
    background: transparent;
}

.address-container .btn-outline-primary:hover {
    background: #4c6ef5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 110, 245, 0.3);
}

.address-container .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.9);
}

.address-container .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

/* Enhanced Address Info Styling */
.address-info-dumaguete > div, .address-info-siquijor > div {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.address-info-dumaguete .d-flex div, .address-info-siquijor .d-flex div {
    flex: 1;
}

.address-info-dumaguete .d-flex p, .address-info-siquijor .d-flex p {
    font-size: 1rem;
    font-weight: 500;
}

.address-info-dumaguete .d-flex small, .address-info-siquijor .d-flex small {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Fade transition for location switching */
.address-info-dumaguete, .address-info-siquijor {
    opacity: 0;
    animation: fadeInLocation 0.5s ease-in-out forwards;
}

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

/* Icon enhancement */
.address-info-dumaguete .bi, .address-info-siquijor .bi {
    font-size: 1.3rem;
    min-width: 24px;
}

/* Enhanced Office Locations Section Styles */

/* Background gradient for the section */
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
}

/* Office header styling */
.office-header {
    border-bottom: 2px solid rgba(76, 110, 245, 0.1);
    padding-bottom: 0.75rem;
}

.office-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Contact details styling */
.contact-details {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(76, 110, 245, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.contact-details .d-flex {
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-details .d-flex:hover {
    background: rgba(76, 110, 245, 0.05);
    border-color: rgba(76, 110, 245, 0.2);
    transform: translateX(5px);
}

.contact-details .bi {
    font-size: 1.1rem;
    min-width: 20px;
}

/* Action buttons container */
.action-buttons {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(76, 110, 245, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.action-buttons .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.action-buttons .btn::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.5s ease;
}

.action-buttons .btn:hover::before {
    left: 100%;
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.action-buttons .btn-primary {
    background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(76, 110, 245, 0.3);
}

.action-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #5c7cfa 0%, #4c6ef5 100%);
    box-shadow: 0 6px 20px rgba(76, 110, 245, 0.4);
}

.action-buttons .btn-outline-primary {
    border: 2px solid #4c6ef5;
    color: #4c6ef5;
    background: rgba(255, 255, 255, 0.9);
}

.action-buttons .btn-outline-primary:hover {
    background: #4c6ef5;
    color: white;
    border-color: #4c6ef5;
    box-shadow: 0 6px 20px rgba(76, 110, 245, 0.3);
}

.action-buttons .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.9);
}

.action-buttons .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

/* Compact Contact Grid Layout */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(76, 110, 245, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: rgba(76, 110, 245, 0.05);
    border-color: rgba(76, 110, 245, 0.2);
    transform: translateX(3px);
}

.contact-item i {
    font-size: 1.1rem;
    min-width: 20px;
    color: #4c6ef5;
}

.contact-item div {
    flex: 1;
    line-height: 1.3;
}

.contact-item strong {
    font-weight: 600;
    color: #212529;
    font-size: 0.95rem;
}

.contact-item small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Compact Action Buttons */
.action-buttons-compact {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(76, 110, 245, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.action-buttons-compact .btn {
    flex: 1;
    min-width: calc(33.333% - 0.34rem);
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.75rem;
}

.action-buttons-compact .btn::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.5s ease;
}

.action-buttons-compact .btn:hover::before {
    left: 100%;
}

.action-buttons-compact .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.action-buttons-compact .btn-primary {
    background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(76, 110, 245, 0.3);
}

.action-buttons-compact .btn-primary:hover {
    background: linear-gradient(135deg, #5c7cfa 0%, #4c6ef5 100%);
    box-shadow: 0 4px 12px rgba(76, 110, 245, 0.4);
}

.action-buttons-compact .btn-outline-primary {
    border: 1px solid #4c6ef5;
    color: #4c6ef5;
    background: rgba(255, 255, 255, 0.9);
}

.action-buttons-compact .btn-outline-primary:hover {
    background: #4c6ef5;
    color: white;
    border-color: #4c6ef5;
    box-shadow: 0 4px 12px rgba(76, 110, 245, 0.3);
}

.action-buttons-compact .btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.9);
}

.action-buttons-compact .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Enhanced office header for compact layout */
.office-header {
    border-bottom: 2px solid rgba(76, 110, 245, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem !important;
}

.office-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem !important;
}

.office-header small {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Adjust address info containers for compact layout */
.address-info-dumaguete, .address-info-siquijor {
    padding: 1.5rem 1.25rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Responsive adjustments for compact layout */
@media screen and (max-width: 1023px) {
    .contact-grid {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .contact-item {
        padding: 0.4rem;
    }
    
    .action-buttons-compact {
        padding: 0.75rem;
        gap: 0.4rem;
    }
    
    .action-buttons-compact .btn {
        min-width: calc(50% - 0.2rem);
        padding: 0.45rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .office-header h4 {
        font-size: 1.1rem;
    }
    
    .address-info-dumaguete, .address-info-siquijor {
        padding: 1.25rem 1rem;
        min-height: 350px;
    }
}

@media screen and (max-width: 600px) {
    .contact-grid {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .contact-item {
        padding: 0.3rem;
        gap: 0.5rem;
    }
    
    .contact-item i {
        font-size: 1rem;
    }
    
    .contact-item strong {
        font-size: 0.9rem;
    }
    
    .contact-item small {
        font-size: 0.75rem;
    }
    
    .action-buttons-compact {
        flex-direction: column;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .action-buttons-compact .btn {
        min-width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .office-header h4 {
        font-size: 1rem;
    }
    
    .office-header small {
        font-size: 0.75rem;
    }
    
    .address-info-dumaguete, .address-info-siquijor {
        padding: 1rem 0.75rem;
        min-height: 300px;
    }
}

/* Enhanced animations for compact layout */
@keyframes slideInCompact {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-grid {
    animation: slideInCompact 0.5s ease-out 0.2s both;
}

.action-buttons-compact {
    animation: slideInCompact 0.5s ease-out 0.4s both;
}

/* Focus improvements for compact layout */
.action-buttons-compact .btn:focus {
    outline: 2px solid rgba(76, 110, 245, 0.5);
    outline-offset: 2px;
}

.contact-item:focus-within {
    background: rgba(76, 110, 245, 0.1);
    border-color: rgba(76, 110, 245, 0.3);
}

/* Address container styling to ensure full height usage */
.address-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1; /* Takes remaining space after header */
}

/* Intermediate breakpoint for better width handling */
@media screen and (max-width: 1200px) and (min-width: 1024px) {
    .location-left {
        min-width: 350px; /* Slightly smaller minimum for intermediate screens */
    }
    
    .location-right {
        min-width: 200px; /* Smaller minimum for intermediate screens */
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .location-container {
        border: 2px solid #000;
    }
    
    .dumaguete-container, .siquijor-container {
        border: 1px solid #000;
    }
}


