.location {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,800 1000,1000"/><polygon fill="rgba(255,255,255,0.03)" points="0,800 1000,600 1000,800 0,1000"/></svg>');
    pointer-events: none;
}

/* Remove the decorative emoji as it doesn't match the clean design */
.location::after {
    display: none;
}

.location .section-title {
    text-align: center;
    color: #09B7E3;
    font-size: 3rem;
    margin-bottom: 60px;
    text-shadow: none;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
}

.location .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #09B7E3;
    border-radius: 2px;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

/* Map Section */
.map {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    height: 450px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.map:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.map:hover iframe {
    filter: grayscale(0%) contrast(1.2);
}

.map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

/* Location Info Section */
.location-info {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.location-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    bottom: 0;
    background: #09B7E3;
}

.location-info h3 {
    color: #09B7E3;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.location-info h3::before {
    display: none;
}

/* Contact Info List */
.location-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.location-info ul li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-info ul li:hover {
    background: rgba(9, 183, 227, 0.05);
    padding-left: 10px;
    border-radius: 8px;
}

.location-info ul li:last-child {
    border-bottom: none;
}

.location-info ul li i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #09B7E3;
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.location-info ul li:hover i {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(9, 183, 227, 0.3);
}

.location-info ul li span {
    color: #2d3436;
    font-weight: 500;
    font-size: 1rem;
}

/* Directions Section */
.location-info p {
    color: #636e72;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1rem;
}

.location-info p:last-child {
    margin-bottom: 0;
}

/* Contact Action Buttons */
.contact-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    flex: 1;
    min-width: 120px;
    padding: 14px 25px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-btn.primary {
    background: #09B7E3;
    color: white;
    box-shadow: 0 4px 15px rgba(9, 183, 227, 0.3);
}

.contact-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(9, 183, 227, 0.4);
}

.contact-btn.secondary {
    background: white;
    color: #09B7E3;
    border: 2px solid #09B7E3;
}

.contact-btn.secondary:hover {
    background: rgba(9, 183, 227, 0.1);
    transform: translateY(-3px);
}

/* Mobile Responsive Design */
@media (max-width: 968px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .location {
        padding: 60px 0;
    }
    
    .location-container {
        padding: 0 15px;
        gap: 25px;
    }
    
    .location .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .map {
        height: 300px;
        border-radius: 15px;
    }
    
    .location-info {
        padding: 30px 25px;
        border-radius: 15px;
    }
    
    .location-info h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .contact-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .location .section-title {
        font-size: 1.8rem;
    }
    
    .map {
        height: 250px;
        border-radius: 12px;
    }
    
    .location-info {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .location-info h3 {
        font-size: 1.3rem;
        padding-left: 15px;
    }
    
    .location-info ul li {
        padding: 12px 0;
    }
    
    .location-info ul li i {
        width: 20px;
        height: 20px;
    }
    
    .location-info p {
        font-size: 0.95rem;
    }
}

/* Animation for loading */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-container > * {
    animation: slideInUp 0.6s ease-out;
}

.location-container .location-info {
    animation-delay: 0.2s;
}

/* Floating animation for contact items */
.location-info ul li {
    animation: float 6s ease-in-out infinite;
}

.location-info ul li:nth-child(2) {
    animation-delay: -2s;
}

.location-info ul li:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}
