/* Hero Section */
.page-hero {
    position: relative;
    min-height: 40vh;
    width: 100%;
    background: url('../images/hero-bg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 80px 0;
    text-align: right;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, 
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0.65) 100%
    );
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero .hero-content {
    color: #1B3B8C;
    width: 100%;
    max-width: 800px;
    margin-right: 0;
    position: relative;
    text-align: right;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}

.page-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FF4081, #1B3B8C);
    border-radius: 2px;
}

.page-hero p {
    font-size: 1.6rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #2c3e50;
    font-weight: 500;
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-top: 30px;
}

.page-hero .breadcrumb a {
    color: #1B3B8C;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-hero .breadcrumb a:hover {
    opacity: 1;
    transform: translateX(-3px);
}

.page-hero .breadcrumb .separator {
    color: #1B3B8C;
    opacity: 0.5;
}

.page-hero .breadcrumb .current {
    color: #1B3B8C;
    opacity: 0.7;
    font-weight: 500;
}

.hero-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 2;
}

@media (max-width: 992px) {
    .page-hero {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 3rem;
    }

    .page-hero p {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 35vh;
        padding: 50px 0;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero p {
        font-size: 1.2rem;
    }

    .page-hero .breadcrumb {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        min-height: 30vh;
        padding: 40px 0;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .page-hero .breadcrumb {
        font-size: 0.9rem;
    }
}

/* Branches Content */
.branches-content {
    padding: 80px 0;
    background-color: #f8f9fa;
    direction: rtl;
}

.branches-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.branch-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    direction: rtl;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.branch-header {
    background: #1B3B8C;
    padding: 20px;
    text-align: right;
}

.branch-header h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.branch-info {
    padding: 20px;
    text-align: right;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    text-align: right;
    flex-direction: row;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #1B3B8C;
    font-size: 1.2rem;
    margin-top: 4px;
    margin-left: 10px;
}

.info-item p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.phone-link {
    color: #1B3B8C;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #2850B8;
}

.branch-map {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-top: 1px solid #eee;
}

.branch-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Add Font Awesome Icons */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/fa-solid-900.woff2') format('woff2');
}

.fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.fa-map-marker-alt:before {
    content: '\f3c5';
}

.fa-phone:before {
    content: '\f095';
}

.fa-phone-square:before {
    content: '\f098';
}

/* Responsive Design */
@media (max-width: 1200px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .branches-grid {
        grid-template-columns: 1fr;
    }

    .branch-header h2 {
        font-size: 1.3rem;
    }

    .info-item p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        min-height: 30vh;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .branch-map {
        height: 200px;
    }
} 