/* Reset & Base Styles */
:root {
    --primary-color: #d35400;
    /* Deep Orange/Spicy Color */
    --secondary-color: #2c3e50;
    /* Dark Blue-Gray */
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-hover-bg: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('img/bg-1.jpg') no-repeat center center/cover;
    position: relative;
}

/* Dark Overlay for Readability */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Main Container - Glassmorphism */
.container {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    max-width: 900px;
    width: 90%;
    animation: fadeIn 1.2s ease-out;
}

/* Logo Styling */
.logo {
    max-width: 250px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

h1 {
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Branch Selection Grid */
.branches {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Branch Card Styling */
.branch-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    width: 300px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.branch-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.branch-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.branch-address {
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.select-btn {
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    transition: background 0.3s ease;
}

.branch-card:hover .select-btn {
    background: #e67e22;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .branches {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .branch-card {
        width: 100%;
        max-width: 350px;
    }

    body {
        overflow-y: auto;
        /* Allow scrolling on mobile if content overflows */
        height: auto;
        min-height: 100vh;
    }
}