:root {
    --blue: #2196f3;
    --light-blue: #e3f2fd;
    --text: #0a0a0a;
    --white: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Cairo", sans-serif;
}

body {
    background: var(--white);
    color: var(--text);
}

/* ===== Header ===== */
header {
    background: var(--blue);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    flex-wrap: wrap;
    position: relative;
}

#services h2 {
    font-size: 30px;
    color: #0a0a0a;
}

#services p {
    font-size: 22px;
    color: #007BFF;
    font-weight: bold;
    margin-top: 8px;
}


.btn.facebook-share {
    background: #4267B2;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
}

.btn.facebook-share:hover {
    background: #365899;
}

header .logo {
    font-size: 22px;
    font-weight: bold;
}

header .btn {
    background: var(--white);
    color: var(--blue);
    padding: 8px 14px;
    border-radius: 6px;
    margin-right: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

header .btn:hover {
    background: #1976d2;
    color: var(--white);
}

header .btn.green {
    background: #25d366;
    color: #fff;
}

/* ===== Hamburger Menu ===== */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--blue);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-item {
    padding: 12px 16px;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-item:nth-child(2) {
    background: #25d366;
    border-radius: 6px;
    margin: 5px 0;
}

.mobile-menu-item:nth-child(3) {
    background: #4267B2;
    border-radius: 6px;
}

/* ===== Hero ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 40px 10%;
    gap: 20px;
    background: linear-gradient(to right, #e3f2fd, #fff);
}

.hero-text {
    flex: 1 1 350px;
}

.hero h1 {
    font-size: 30px;
    color: var(--blue);
    margin-bottom: 10px;
}

.hero h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
}

.hero p {
    color: #555;
    margin-bottom: 20px;
}

.hero img {
    width: 400px;
    border-radius: 12px;
    animation: fadeIn 1.5s ease-in;
}

.cta {
    background: var(--blue);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.cta:hover {
    background: #1976d2;
}

/* ===== Services ===== */
.services {
    text-align: center;
    padding: 40px 10%;
    background: var(--light-blue);
}

.services h2 {
    margin-bottom: 25px;
    font-size: 26px;
    color: var(--blue);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service:hover {
    transform: translateY(-8px);
}

.service:hover h3 {
    color: var(--blue);
}

.service img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ===== About / Gallery ===== */
.about {
    text-align: center;
    padding: 40px 10%;
}

.about p {
    color: #555;
    margin-bottom: 25px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery video {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.4s;
}

.gallery video:hover {
    transform: scale(1.05);
}

.map-section h2 {
    color: #0d6efd;
    font-weight: 600;
    margin: 20px;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    background: var(--blue);
    color: var(--white);
    padding: 15px;
    margin-top: 30px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    header {
        padding: 15px 5%;
    }
    
    header .contact {
        gap: 8px;
    }
    
    header .btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    header .logo {
        font-size: 20px;
    }
    
    header .contact {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero {
        padding: 30px 20px;
    }
    
    .hero img {
        width: 100%;
    }
    
    .services {
        padding: 30px 20px;
    }
    
    .about {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 15px;
    }
    
    header .logo {
        font-size: 18px;
    }
    
    .hamburger span {
        width: 24px;
        height: 2.5px;
    }
    
    .mobile-menu {
        padding: 15px;
    }
    
    .mobile-menu-item {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero h2 {
        font-size: 18px;
    }
}