:root {
    --primary-color: #1a2a6c; 
    --accent-color: #f1c40f;  
    --text-light: #ffffff;
    --text-dark: #333;
    --transition: all 0.4s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden; 
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-logo {
    width: 50px;
    height: auto;
    border-radius: 8px;
}

.company-name {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--accent-color);
}

.btn-call {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-call:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/bg.png') center/cover;
    filter: blur(3px);
    z-index: -2;
    animation: zoomAnimation 20s infinite alternate ease-in-out;
}

@keyframes zoomAnimation {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 42, 108, 0.7), rgba(0, 0, 0, 0.8));
    z-index: -1;
}
.hero-content {
    color: white;
    z-index: 1;
    max-width: 800px;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.4;
    animation: fadeInUp 1s ease forwards;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.9;
    animation: fadeInUp 1s 0.3s ease forwards;
}
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}
.btn-primary { background: var(--accent-color); color: var(--primary-color); }
.btn-secondary { border: 2px solid white; color: white; }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4); }
.btn-secondary:hover { background: white; color: var(--primary-color); }
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}
.side-menu {
    position: fixed;
    top: -100%; 
    left: 0;
    width: 100%;
    background: white;
    transition: 0.5s ease;
    z-index: 999;
    padding: 80px 20px 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.side-menu.active {
    top: 0;
}
.mobile-nav-links {
    list-style: none;
    text-align: center;
}
.mobile-nav-links li { margin: 20px 0; }
.mobile-nav-links a {
    text-decoration: none;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: bold;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 992px) {
    .desktop-nav, .hide-mobile { display: none; }
    .menu-toggle { display: flex; }
    .hero-content h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; }
    .company-name { font-size: 1.2rem; }
    body { width: 100vw; } 
}
.desktop-nav a.active {
    color: var(--accent-color) !important;
}

.desktop-nav a.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -5px;
    border-radius: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn { from { width: 0; } to { width: 100%; } }
.about-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
    border-bottom: 2px solid;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #f8faff;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 4px solid var(--primary-color);
    transition: var(--transition);
}

.feature-item i { color: var(--accent-color); font-size: 1.4rem; }
.feature-item span { font-weight: 700; color: var(--primary-color); }

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.about-image-grid {
    position: relative;
}

.main-img-box {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 30px 30px 0px var(--primary-color);
}

.main-img-box img {
    width: 100%;
    display: block;
    transition: 0.6s;
}

.main-img-box:hover img { transform: scale(1.1); }

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.experience-badge .num { font-size: 2rem; font-weight: 900; display: block; }
.experience-badge .txt { font-size: 0.9rem; font-weight: 700; }

.floating-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(var(--accent-color), transparent);
    border-radius: 50%;
    z-index: 1;
    filter: blur(20px);
    animation: float 4s infinite alternate;
}

@keyframes float { from { transform: translate(0,0); } to { transform: translate(20px, 20px); } }
@media (max-width: 992px) {
    .about-wrapper { grid-template-columns: 1fr; text-align: center; }
    .about-text p { text-align: center; }
    .about-features { justify-content: center; }
    .main-img-box { box-shadow: 15px 15px 0px var(--primary-color); margin-top: 40px; }
}
.animate-on-scroll { opacity: 0; transition: 1s all ease-out; }
.animate-on-scroll[data-anim="fade-right"] { transform: translateX(50px); }
.animate-on-scroll[data-anim="fade-left"] { transform: translateX(-50px); }
.animate-on-scroll.appear { opacity: 1; transform: translateX(0); }
.desktop-nav ul li {
    position: relative;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 5px 0; 
    position: relative;
    transition: var(--transition);
    display: inline-block; 
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 50%; 
    width: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%); 
}
.desktop-nav a:hover::after {
    width: 100%;
}
.desktop-nav a.active {
    color: var(--primary-color) !important;
    font-weight: 900;
}

.desktop-nav a.active::after {
    width: 100%; 
    background: var(--accent-color);
}
.services-section {
    padding: 100px 0;
    background: #c4c1c1;
    position: relative;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(var(--accent-color), transparent 70%);
    opacity: 0.05;
    z-index: 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.sub-title {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.header-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.service-card {
    height: 380px;
    background: transparent;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 25px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.card-front {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
}

.card-back {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: #f8faff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.icon-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.service-card:hover .icon-box {
    background: var(--accent-color);
    transform: scale(1.1) rotate(10deg);
}
.card-front h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-back h4 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.card-back ul {
    list-style: none;
    text-align: right;
    margin-bottom: 25px;
}
.card-back ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.card-back ul li::before {
    content: '✔';
    color: var(--accent-color);
    margin-left: 10px;
}

.btn-mini {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-mini:hover {
    background: white;
}
.animate-on-scroll[data-anim="fade-up"] { transform: translateY(50px); }
.animate-on-scroll.appear { opacity: 1; transform: translateY(0); }
@media (max-width: 992px) {
    .main-title { font-size: 2rem; }
    .service-card { height: 420px; }
    .services-grid {
    grid-template-columns: repeat(1, minmax(280px, 1fr));
}
}
.gallery-section {
    padding: 100px 0;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.text-white { color: white !important; }
.text-light { color: #ccc !important; opacity: 0.8; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-item {
    border-radius: 25px; 
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.video-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border-color: var(--accent-color);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.5s;
    pointer-events: none;
}
.video-item:hover .video-overlay {
    opacity: 0;
}

.video-overlay i {
    font-size: 4.5rem;
    color: var(--accent-color);
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.5));
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}
.why-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: radial-gradient(#1a2a6c05 2px, transparent 2px);
    background-size: 30px 30px; 
}
.why-path {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.why-path::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    transform: translateX(-50%);
}

.why-item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.why-item.reverse {
    flex-direction: row-reverse;
}

.why-icon {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.why-item.reverse .why-icon {
    justify-content: flex-start;
}
.hex {
    width: 80px;
    height: 90px;
    background: var(--primary-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.why-item:hover .hex {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(360deg) scale(1.1);
}

.why-text {
    flex: 1;
    background: #f8faff;
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.why-item:hover .why-text {
    background: white;
    box-shadow: 0 15px 30px rgba(26, 42, 108, 0.1);
    transform: translateY(-5px);
}

.why-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.why-text p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
}
@media (max-width: 992px) {
    .why-path::before { left: 20px; transform: none; }
    
    .why-item, .why-item.reverse {
        flex-direction: row;
        gap: 20px;
    }

    .why-icon {
        flex: 0 0 80px;
        justify-content: center;
    }

    .why-text {
        flex: 1;
        padding: 20px;
    }
}
.contact-section {
    padding: 100px 0;
    background: #f4f7f6;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: block;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: 0.5s;
}
.contact-card h3 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.5rem; }
.contact-card p { color: #777; margin-bottom: 15px; }
.contact-value { display: block; font-size: 1.6rem; font-weight: 900; color: var(--primary-color); margin-bottom: 20px; }

.card-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
}

.whatsapp-card .card-icon { background: #25d366; }
.whatsapp-card .card-btn { background: #25d366; }
.whatsapp-card:hover { border-color: #25d366; }

.contact-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.contact-card:hover .card-icon { transform: rotateY(360deg); }
footer {
    background: var(--primary-color);
    color: white;
    padding: 80px 0 0;
}

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

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 40px; height: 2px;
    background: var(--accent-color);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--accent-color); padding-right: 10px; }

.footer-desc-short { color: #ccc; line-height: 1.7; margin-top: 15px; }

.contact-info-footer p { margin-bottom: 15px; color: #ccc; display: flex; gap: 10px; }
.contact-info-footer i { color: var(--accent-color); }

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.dev-tag { margin-top: 10px; font-size: 0.9rem; color: #888; }
.dev-tag a { color: var(--accent-color); text-decoration: none; font-weight: bold; }
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: 0.3s;
    animation: pulse 2s infinite;
}
.float-call { background: var(--primary-color); }
.float-whatsapp { background: #25d366; animation-delay: 1s; }
.floating-btn:hover { transform: scale(1.1) rotate(15deg); }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(26, 42, 108, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(26, 42, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 42, 108, 0); }
}
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h3::after { right: 50%; transform: translateX(50%); }
    .contact-info-footer p { justify-content: center; }
}
footer .footer-logo .company-name {
    color: var(--accent-color) !important; 
    font-size: 1.8rem;
    font-weight: 900;
}
.floating-btn {
    text-decoration: none !important; 
    outline: none;
}
.floating-btn i {
    text-decoration: none !important;
}
.footer-logo {
    margin-bottom: 15px;
    display: block;
}