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

:root {
    --primary-color: #0A2B4E;
    --secondary-color: #F5BC42;
    --gold-color: #C9A03D;
    --light-bg: #F8F9FA;
    --light-accent: #FFF9F0;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-image: url('images/header-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 43, 78, 0.92) 0%, rgba(201, 160, 61, 0.88) 100%);
    z-index: 1;
}

.header .container {
    position: relative;
    z-index: 2;
}

.header-content {
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

.decorative-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold-color), transparent);
    margin: 20px auto;
    border-radius: 2px;
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    position: relative;
}

.logo::before,
.logo::after {
    content: '✦';
    color: var(--gold-color);
    margin: 0 20px;
    font-size: 0.7em;
    opacity: 0.8;
}

.tagline {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gold-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-content p {
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Branches Section */
.branches {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--gold-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 50px;
    margin-top: 25px;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.branch-card {
    background: linear-gradient(to bottom, var(--white), var(--light-accent));
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--gold-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.branch-card:hover::before {
    transform: translateX(0);
}

.branch-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(10, 43, 78, 0.2);
    border-color: var(--gold-color);
}

.branch-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--gold-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(10, 43, 78, 0.3);
    transition: all 0.3s ease;
}

.branch-card:hover .branch-icon {
    transform: rotateY(360deg);
    box-shadow: 0 8px 25px rgba(201, 160, 61, 0.5);
}

.branch-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.branch-info {
    text-align: center;
}

.branch-info p {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.location {
    color: var(--text-dark);
    font-weight: 600;
}

.location i {
    color: var(--gold-color);
    margin-left: 8px;
}

.address {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: -5px;
}

.phone {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 15px;
}

.phone i {
    margin-left: 8px;
}

.phone a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone a:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-accent) 100%);
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.social-link i {
    font-size: 1.5rem;
}

.social-link.facebook {
    background-color: #1877f2;
    color: var(--white);
}

.social-link.facebook:hover {
    background-color: #0d65d9;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.social-link.instagram:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-link.email {
    background-color: var(--primary-color);
    color: var(--white);
}

.social-link.email:hover {
    background-color: var(--gold-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 80px 0;
        background-attachment: scroll;
    }

    .logo {
        font-size: 2.2rem;
    }

    .logo::before,
    .logo::after {
        margin: 0 10px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }

    .social-link {
        font-size: 1rem;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 60px 0;
    }

    .logo {
        font-size: 1.8rem;
    }

    .logo::before,
    .logo::after {
        content: '';
        margin: 0;
    }

    .tagline {
        font-size: 1rem;
    }

    .decorative-line {
        width: 60px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .branch-card {
        padding: 20px;
    }
}