/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
    color: #333;
    padding-top: 70px;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    background-color: #fff !important;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
}

.navbar-nav .nav-link {
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s;
    color: #2c3e50 !important;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

.navbar-toggler {
    border-color: #2c3e50;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Cover Section */
.cover-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: -70px;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.cover-subtitle {
    font-size: 1.8rem;
    color: #ffc107;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #ffc107, #ff9800);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* About Section */
.about-content {
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-content h3 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: #fff;
    transition: transform 0.3s;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-card h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Image Gallery */
.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 2rem;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.image-card:hover img {
    transform: scale(1.1);
}

.overlay-content {
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.image-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffc107;
    font-weight: 700;
}

.overlay-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* Services Section */
.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #ffc107;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #fff;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-card h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
#contact {
    position: relative;
    z-index: 1;
    padding-bottom: 3rem;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    color: #2c3e50;
    font-weight: 700;
    border-right: 4px solid #ffc107;
    padding-right: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateX(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: #ffc107;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.contact-item h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #ffc107;
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    margin-bottom: 3rem;
    margin-top: 2rem;
    z-index: 1;
}

.map-container iframe {
    border-radius: 10px;
    width: 100%;
    height: 400px;
    display: block;
    position: relative;
    z-index: 1;
}

.map-link-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.map-link-overlay .btn {
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 600;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #2c3e50;
    font-weight: 700;
    border-right: 4px solid #ffc107;
    padding-right: 1rem;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #ff9800, #ffc107);
}

/* Footer */
.footer-custom {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    margin-top: 4rem;
    clear: both;
    position: relative;
    z-index: 10;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand {
    text-align: right;
}

.footer-title {
    color: #ffc107;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-text {
    color: #ecf0f1;
    margin: 0;
}

.footer-heading {
    color: #ffc107;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-right: 3px solid #ffc107;
    padding-right: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 1rem;
    color: #ecf0f1;
    transition: transform 0.3s, color 0.3s;
}

.footer-list li:hover {
    transform: translateX(-5px);
    color: #ffc107;
}

.footer-list li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list li a:hover {
    color: #ffc107;
}

.footer-list li i {
    color: #ffc107;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cover-title {
        font-size: 2rem;
    }
    
    .cover-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .cover-section {
        height: 50vh;
        min-height: 400px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-heading {
        text-align: center;
        border-right: none;
        border-bottom: 3px solid #ffc107;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .footer-custom {
        margin-top: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

