@import url('./reset.css');
body {
    margin: 0;
    padding: 0;
    color: var(--primary-color);
    font-family: var(--font-cairo), serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: var(--primary-color);
    color: #fff;
    padding: 1em 0;
    text-align: center;
}
nav .main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2em;
}
nav .main-menu ul .nav-link {
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    color: var(--primary-color);
}
nav .main-menu ul .nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}
.language-selector {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}
.language-selector img {
    width: 24px;
    height: 16px;
    margin-right: 8px;
    border-radius: 2px;
}
.language-selector select {
    background: transparent;
    border: 0 solid var(--primary-color) !important;
    color: var(--primary-color);
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}
.language-selector select option {
    background: transparent;
    color: var(--primary-color);
    padding: 8px;
}
.language-selector select option:hover {
    background: var(--primary-color) !important;
    color: #fff;
}
main {
    max-width: 800px;
    margin: 2em auto;
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    flex-grow: 1;
}
section {
    margin-bottom: 2em;
}
.card {
    border: 0 solid var(--dark-gold);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: var(--primary-color);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.card .bi {
    color: var(--secondary-color);
}
.list-unstyled li {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.list-unstyled a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}
.list-unstyled a:hover {
    color: var(--light-text);
    text-decoration: underline;
}
footer {
    text-align: center;
    padding: 1em 0;
    background: #2c3e50;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}
form label {
    display: block;
    margin-top: 1em;
}
form input, form textarea {
    width: 100%;
    padding: 0.5em;
    margin-top: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.brand-logo {
    height: 60px;
    width: auto;
}
.main-menu {
    flex-grow: unset;
}
.hero-banner {
    background: var(--primary-color) url("../images/hero-bg.jpg") no-repeat center center;
    color: var(--light-text);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--banner-bg);
    opacity: 0.8;
    z-index: 1;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: white !important;
}

.hero-banner h1 {
    font-weight: 800;
    font-size: 2.7rem;
    margin-bottom: 1.5rem !important;
    display: inline-block;
}

.hero-banner .bi {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.cta-animate {
    background: var(--secondary-color);
    color: var(--light-text);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
.cta-animate:hover {
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.info {
    background: var(--secondary-color);
    border-left: 5px solid var(--secondary-color);
    margin-bottom: 2em;
    padding: 1.5em 2em;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(44,62,80,0.04);
}
.info h3 {
    margin-top: 0;
    color: var(--primary-color);
}
.info ul {
    margin: 1em 0 0 1.5em;
    padding: 0;
}
@media (max-width: 600px) {
    .main, .info, .hero {
        padding: 1em;
    }
    .hero h2 {
        font-size: 1.5em;
    }
}

.layout {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 240px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 1em 1em 1em;
    box-shadow: 2px 0 8px rgba(44,62,80,0.08);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}
.sidebar .logo {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 2em;
    color: var(--secondary-color);
    letter-spacing: 2px;
}
.sidebar nav ul {
    flex-direction: column;
    gap: 1.5em;
}
.sidebar nav a {
    color: #fff;
    font-size: 1.1em;
    padding: 0.5em 1em;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.sidebar nav a:hover, .sidebar nav a.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}
.main-content {
    margin-left: 240px;
    padding: 2em 2em 4em 2em;
    flex: 1;
}
@media (max-width: 800px) {
    .layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: static;
        padding: 1em;
        box-shadow: none;
    }
    .sidebar .logo {
        margin-bottom: 0;
        font-size: 1.3em;
    }
    .sidebar nav ul {
        flex-direction: row;
        gap: 1em;
    }
    .main-content {
        margin-left: 0;
        padding: 1em;
    }
}
.footer {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 25px 0;
    position: relative;
    overflow: hidden;
    /*margin-top: 3rem;*/
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
}
.footer h5 {
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.footer ul li {
    margin-bottom: 0.75rem;
}
.footer ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}
.footer ul li a:hover {
    color: var(--secondary-color);
    opacity: 1;
    transform: translateX(5px);
}
.footer .text-light-50 {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}
.footer .social-links a {
    color: var(--light-text);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}
.footer .social-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
    transform: translateY(-3px);
}
.footer-text {
    color: var(--light-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
}
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    .footer .text-md-end {
        margin-top: 1rem;
    }
    .brand-logo {
        height: 50px;
    }
}
@media (max-width: 600px) {
    .hero-banner {
        padding: 2.5rem 0.5rem 2rem 0.5rem;
        border-radius: 0 0 1rem 1rem;
    }
    .hero-banner h1 {
        font-size: 2rem;
    }
}
.contact-info-card {
    background: #f3f3f3;
}
.contact-info-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}
.navbar-light .navbar-toggler, .navbar-light .navbar-toggler:focus {
    border-color: transparent !important;
}
.navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
}
.card-text {
    font-size: 20px;
}
.page-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.page-banner h1 {
    line-height: 0.8;
    margin-bottom: 1rem;
}