:root {
    --primary-color: #007bff; /* A professional blue */
    --secondary-color: #6c757d; /* A soft gray */
    --light-color: #f8f9fa; /* A light gray for backgrounds */
    --dark-color: #343a40; /* A dark color for text */
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--dark-color);
}

.navbar {
    transition: background-color 0.3s;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/9c698bcd-986f-4dbf-8aa5-773301b278d8.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    height: 100vh;
    min-height: 700px;
    position: relative; /* Needed for z-index to work */
    animation: ken-burns 20s infinite;
}

@keyframes ken-burns {
    0% {
        background-size: 100% 100%;
    }
    50% {
        background-size: 120% 120%;
    }
    100% {
        background-size: 100% 100%;
    }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: background-color .3s, transform .3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

#about img {
    max-width: 100%;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform .3s, box-shadow .3s;
}

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

.service-card .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s;
}

.service-card:hover .icon-circle {
    background-color: #0056b3;
}

.gallery-img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform .3s, box-shadow .3s;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

#contact {
    background-color: var(--light-color);
}

footer {
    background-color: var(--dark-color);
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform .3s, box-shadow .3s;
}

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

.testimonial-card .text-warning {
    font-size: 0.9rem;
}

.testimonial-hidden {
    display: none;
}

.typed-cursor {
    color: var(--primary-color);
    font-weight: bold;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
.rounded-circle {
    width: 40px;
    height: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section .display-3 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1.2rem;
    }
    .display-5 {
        font-size: 2rem;
    }
}
.ratio  {
    height: 700px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 100px 0;
    }

    .hero-section .display-3 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    #about .text-center {
        text-align: center !important;
    }

    #about .mx-auto {
        margin-right: auto !important;
        margin-left: auto !important;
    }
}
