/* Branches Page Specific Styles */

.branches-hero {
    height: 40vh;
    min-height: 300px;
}

.branches-hero .hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 15px;
}

/* Branches Section */
.branches-section {
    padding: 80px 0;
    background: #ffffff;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.branch-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(62, 128, 66, 0.2);
    border-color: var(--primary-green);
}

.branch-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.branch-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.branch-card:hover .branch-image img {
    transform: scale(1.05);
}

.branch-info {
    padding: 30px;
}

.branch-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 700;
    background-image: linear-gradient(to right, #3E8042, #8CF557);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.branch-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .branches-hero {
        height: 35vh;
        min-height: 250px;
    }

    .branches-section {
        padding: 60px 0;
    }

    .branches-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .branch-image {
        height: 200px;
        padding: 20px;
    }

    .branch-info {
        padding: 25px;
    }

    .branch-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .branches-hero .hero-subtitle {
        font-size: 1rem;
    }

    .branch-image {
        height: 180px;
        padding: 15px;
    }

    .branch-info {
        padding: 20px;
    }

    .branch-info h3 {
        font-size: 1.2rem;
    }

    .branch-info p {
        font-size: 0.95rem;
    }
}
