:root {
    --primary: #00509d; 
    --accent: #f48c06; 
    --dark: #001233;
    --light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cairo', sans-serif; scroll-behavior: smooth; }
body { background: var(--white); color: #333; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.highlight { color: var(--accent); }

.navbar {
    background: var(--white); padding: 15px 0;
    position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--primary); }
.logo i { font-size: 2.2rem; }
.main-brand { font-weight: 900; font-size: 1.4rem; display: block; line-height: 1.2; }
.sub-brand { font-size: 0.9rem; font-weight: 600; color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 700; transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-btn { background: var(--primary); color: white !important; padding: 10px 25px; border-radius: 50px; }

.menu-btn { display: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    position: relative; display: flex; align-items: center; padding-top: 80px; text-align: right;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 18, 51, 0.7); }
.hero-content { position: relative; z-index: 2; color: white; max-width: 800px; }

.hero-badge { background: var(--accent); padding: 6px 20px; border-radius: 50px; font-weight: 700; font-size: 0.85rem; margin-bottom: 20px; display: inline-block; }
.hero h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; line-height: 1.8; margin-bottom: 40px; color: #ddd; }

.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.btn { padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.call-btn { background: var(--accent); color: white; box-shadow: 0 10px 20px rgba(244, 140, 6, 0.3); }
.wa-btn { background: #25d366; color: white; }
.btn:hover { transform: translateY(-5px); }

/* --- Services --- */
.services { padding: 100px 0; background: #fdfdfd; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; font-weight: 900; color: var(--primary); }
.underline { width: 80px; height: 5px; background: var(--accent); margin: 15px auto 0; border-radius: 50px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card {
    background-color: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    
    border-top: 5px solid transparent; 
    
    position: relative;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-15px); 
    border-top-color: var(--primary); 
    
    box-shadow: 0 20px 40px rgba(0, 80, 157, 0.1); 
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: 0.3s;
}

.service-card:hover i {
    transform: scale(1.1); 
}
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--dark); }

/* --- Features --- */
.features-sec { padding: 80px 0; background: #f4f7f6; }
.flex-features { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.feat-text, .feat-img { flex: 1; min-width: 300px; }
.feat-img img { width: 100%; border-radius: 20px; box-shadow: 20px 20px 0 var(--primary); }
.feat-list { list-style: none; margin-top: 30px; }
.feat-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; font-weight: 700; font-size: 1.1rem; }
.feat-list i { color: var(--accent); font-size: 1.3rem; }

/* --- Footer --- */
footer { background: var(--dark); color: white; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; padding-bottom: 40px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0; color: #777; }

/* --- Floating --- */
.floating-btns { position: fixed; bottom: 30px; left: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
.floating-btns a { width: 60px; height: 60px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-decoration: none; }
.f-wa { background: #25d366; }
.f-call { background: var(--accent); }

/* --- Animations --- */
.pulse-glow { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 140, 6, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(244, 140, 6, 0); }
    100% { transform: scale(1); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .menu-btn { display: block; }
    .nav-links {
        position: fixed; top: 75px; right: -100%; width: 100%; height: 100vh;
        background: white; flex-direction: column; padding: 50px; transition: 0.4s;
    }
    .nav-links.active { right: 0; }
    .hero { text-align: center; height: auto; padding: 140px 15px 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-btns { justify-content: center; }
    .btn { width: 100%; justify-content: center; }
}


.hero {
    position: relative;
    height: 100vh;
    overflow: hidden; 
    display: flex;
    align-items: center;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image-bg {
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    animation: kenBurns 20s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.water-particles .dot {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 1;
    bottom: -20px;
    animation: floatUp 8s infinite ease-in;
}

.dot:nth-child(1) { left: 10%; width: 40px; height: 40px; animation-delay: 0s; }
.dot:nth-child(2) { left: 30%; width: 20px; height: 20px; animation-delay: 2s; }
.dot:nth-child(3) { left: 50%; width: 50px; height: 50px; animation-delay: 4s; }
.dot:nth-child(4) { left: 70%; width: 15px; height: 15px; animation-delay: 1s; }
.dot:nth-child(5) { left: 90%; width: 30px; height: 30px; animation-delay: 3s; }

@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.video-showcase { padding: 80px 0; background: #fff; }
.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: var(--dark);
}

.work-video { width: 100%; display: block; }

.video-info {
    padding: 30px;
    background: linear-gradient(to top, var(--secondary-color), transparent);
    color: white;
    position: absolute;
    bottom: 0; width: 100%;
    text-align: right;
}

.work-gallery { padding: 80px 0; background: #f9f9f9; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item.h-2 { grid-row: span 2; } 

.gallery-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 150, 199, 0.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.5s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay p { color: white; font-weight: 700; font-size: 1.1rem; }

.locations-sec { padding: 40px 0; }
.locations-card {
    background: var(--primary-color);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 150, 199, 0.3);
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

.location-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .locations-card { padding: 30px 15px; }
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000; 
    line-height: 0;
}

.work-video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.video-overlay-text {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    width: 100%;
    pointer-events: none; 
}


.main-footer {
    background-color: #001233;
    color: #ffffff;
    padding: 80px 0 0;
    font-family: 'Cairo', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr; 
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i { color: #00b4d8; }
.footer-logo span span { color: #f48c06; }

.about-col p {
    color: #adb5bd;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.social-icons { display: flex; gap: 15px; }
.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}
.social-icons a:hover {
    background: #f48c06;
    transform: translateY(-5px);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: #f48c06;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-col ul li a:hover { color: #f48c06; padding-right: 8px; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #adb5bd;
}

.contact-item i {
    color: #f48c06;
    font-size: 1.1rem;
    margin-top: 5px;
}

.contact-item a { color: inherit; text-decoration: none; transition: 0.3s; }
.contact-item a:hover { color: #fff; }

.footer-bottom {
    background-color: #000814;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 50px;
    }

    .footer-logo, .social-icons { justify-content: center; }
    
    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%); 
    }

    .footer-col ul li a, .contact-item {
        justify-content: center;
    }
}

.developer-credit a {
    color: var(--accent); 
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.developer-credit a:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--accent);
}