* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero-section {
    background: url('../img/home/hero_background.png') no-repeat bottom center,
        linear-gradient(to top, rgba(255, 250, 106, 22%), rgba(255, 250, 106, 22%));
    background-size: cover;
    min-height: 500px;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3rem;
    color: #051769;
    margin-top: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.2rem;
    color: #051769;
    max-width: 700px;
    margin: 0 auto;
}

/* Branch Cards Section */
.branches-section {
    padding: clamp(5rem, 9vw, 4.5rem) 2.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.branches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: clamp(1.8rem, 4vw, 2.5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.branch-card {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 38px -12px rgba(5,23,105,0.09),
                0 4px 25px -8px rgba(5,23,105,0.06);
    transition: all 0.38s cubic-bezier(0.19,1,0.22,1);
    border: 1px solid #e2e8f0;
}

.branch-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 48px -16px rgba(19,183,193,0.22),
                0 8px 32px -12px rgba(5,23,105,0.14);
    border-color: rgba(19,183,193,0.3);
}

.branch-header {
     background: rgba(19,183,193,0.08);
    padding: 2.2rem 2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: #051769
}

.branch-icon {
    width: 64px;
    height: 64px;
    background: rgba(107, 156, 165, 0.24);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.branch-icon svg {
    width: 32px;
    height: 32px;
    fill: #051769;
}

.branch-title h3 {
    color: #051769;
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0;
}

.branch-badge {
    display: inline-block;
    background: rgba(86, 174, 196, 0.32);
    color: #051769;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.28rem 0.85rem;
    border-radius: 2rem;
    margin-top: 0.35rem;
}

.branch-details {
    padding: 1.8rem 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.detail-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.detail-icon {
    width: 42px;
    height: 42px;
    background: rgba(19,183,193,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 22px;
    height: 22px;
    fill: #051769;
}

.detail-content .detail-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.35rem;
}

.detail-text {
    font-size: 1.02rem;
    color: #1e293b;
    line-height: 1.5;
}

.detail-text a {
    color: #051769;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.detail-text a:hover {
    color: #0ea5b8;
    text-decoration: underline;
}
/* Map and Form Section */
.contact-container {
    max-width: 90%;
    margin: 0 auto;
    background-color: #051769;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    min-height: 500px;
    margin-top: 20px;
    margin-bottom: 60px;
}

.map-section {
    flex: 1;
    position: relative;
    background: #051769;
    padding: 40px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px 0 0 20px;
}

.form-section {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 20px;
}

.form-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2596be 0%, #2596be 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 150, 190, 0.3);
    background: linear-gradient(135deg, #2596be 0%, #2596be 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .branches-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .branches-section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .branches-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .branch-card {
        padding: 30px 20px;
    }

    .branch-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .branch-icon {
        width: 60px;
        height: 60px;
    }

    .branch-icon svg {
        width: 30px;
        height: 30px;
    }

    .branch-title h3 {
        font-size: 1.4rem;
    }

    .detail-item {
        padding: 12px;
    }

    .email-section {
        padding: 40px 15px;
    }

    .email-container {
        padding: 30px 20px;
    }

    .email-title {
        font-size: 1.5rem;
    }

    .email-link {
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    .contact-container {
        flex-direction: column;
        margin: 10px;
    }

    .map-section {
        height: 300px;
    }

    .map-iframe {
        border-radius: 20px 20px 0 0;
    }

    .form-section {
        padding: 40px 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-title {
        font-size: 1.8rem;
    }
}

