/* ===== Global Styles ===== */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}


/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('salah-darwish-rfcUPkJfMIs-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



/* ============================== */

/* ===== Utility Classes ===== */
.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-outline-primary:hover {
    transform: translateY(-3px);
}

.shadow-sm {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

 /* Section Padding */
 section {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================== */


/* ===== Navigation ===== */
.navbar {
    
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--white);
    bottom: 0;
    left: 15px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 30px);
}




/* =========================================================================================== */


/* Testimonial Styles */
.testimonial-carousel .carousel-item {
    padding: 20px;
}

.testimonial-carousel img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    padding: 15px;
}

/* Newsletter Styles */
#newsletterForm input {
    height: 50px;
}

#newsletterForm .btn {
    height: 50px;
}




/* ===== Page Headers ===== */
.page-header,
.contact-header,
.gallery-header,
.notice-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}



/* ========================CONTACT===================================================== */

.contact-header {
    background-image: linear-gradient(rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.9)), url('../images/contact-bg.jpg');
}

/* ===== Contact Page Styles ===== */
.contact-section {
    padding: 80px 0;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.map-section {
    margin-top: 40px;
}

#map {
    width: 100%;
    height: 400px;
    border: none;
}

/* Contact Form Styles */
#contactForm .form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ced4da;
}

#contactForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

#contactForm .invalid-feedback {
    display: none;
    color: #dc3545;
}

#contactForm .was-validated .form-control:invalid~.invalid-feedback {
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section .accordion-button {
    font-weight: 600;
    padding: 15px 20px;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.05);
    color: var(--primary-color);
}

/* ===== Footer ===== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {

    .page-header,
    .contact-header,
    .gallery-header,
    .notice-header {
        min-height: 30vh;
    }

    .section-title::after {
        width: 60px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        padding-top: 20px;
    }

    .nav-link::after {
        display: none;
    }

    .page-header h1,
    .contact-header h1,
    .gallery-header h1,
    .notice-header h1 {
        font-size: 2.2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

@media (max-width: 576px) {

    .page-header,
    .contact-header,
    .gallery-header,
    .notice-header {
        min-height: 25vh;
        padding: 60px 0;
    }

    .page-header h1,
    .contact-header h1,
    .gallery-header h1,
    .notice-header h1 {
        font-size: 2rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animated {
    animation: fadeIn 0.6s ease forwards;
}




  /* Card Styles */
  .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

/* Counter Styles */
.counter {
    padding: 20px;
}

.counter i {
    margin-bottom: 15px;
}

.counter h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}


 /* Animation for counter */
 @keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.count {
    display: inline-block;
    animation: countUp 1s ease forwards;
}
