﻿:root {
    --primary: #0A9396;
    --secondary: #041C2C;
    --accent: #ECA400;
    --accent-glow: rgba(236, 164, 0, 0.4);
    --primary-glow: rgba(10, 147, 150, 0.4);
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --text-dark: #1A202C;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(10, 147, 150, 0.15);
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { box-shadow: 0 0 0 20px rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

@keyframes pulse-glow-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------------ Buttons ------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateY(-100%);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #066d6f 100%);
    color: var(--white);
    box-shadow: 0 4px 15px var(--primary-glow);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover::before { transform: translateY(0); }

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #D69500 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
    border: 1px solid rgba(255,255,255,0.2);
    animation: pulse-glow 3s infinite;
}

.btn-accent:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px var(--accent-glow);
    animation: none;
}

/* ------------------ Sections ------------------ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------ Navbar ------------------ */
header.navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

header.navbar.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

header.navbar.scrolled .nav-container {
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a.active::after, .nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
}

/* ------------------ Mobile Nav ------------------ */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}

/* ------------------ Footer ------------------ */
footer {
    background-color: #0b1120;
    color: var(--text-muted);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about .logo {
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-about p {
    margin-bottom: 24px;
    max-width: 400px;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* ------------------ WhatsApp Float ------------------ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-glow-whatsapp 2s infinite;
}
.whatsapp-float::before {
    content: 'ØªÙˆØ§ØµÙ„ Ø¹Ø¨Ø± Ø§Ù„ÙˆØ§ØªØ³Ø§Ø¨';
    position: absolute;
    right: 100%;
    margin-right: 15px;
    background: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background: #128c7e;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.whatsapp-float svg { 
    width: 35px; 
    height: 35px; 
    flex-shrink: 0; 
}
@media (max-width: 768px) {
    .whatsapp-float::before {
        display: none;
    }
}

/* ------------------ Responsive ------------------ */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons { display: none; }
    .mobile-toggle { display: block; font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact li { justify-content: center; }
    .section-header h2 { font-size: 2rem; }
}
/* ------------------ WhatsApp Mockup ------------------ */
.wa-demo-section {
    padding: 100px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}
.wa-demo-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.wa-demo-content { flex: 1; }
.wa-demo-content h2 { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; font-weight: 800; }
.wa-demo-content p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; margin-bottom: 30px; }

.wa-mockup-wrapper {
    flex: 0 0 auto;
    width: 320px;
    margin: 0 auto;
    background: #e5ddd5;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25), inset 0 0 0 2px #333;
    overflow: hidden;
    position: relative;
    border: 10px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    height: 570px;
    direction: rtl;
}
.wa-mockup-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: #1a1a1a;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 15;
}
.wa-header {
    background: #075E54;
    color: white;
    padding: 24px 10px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.wa-avatar {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #075E54;
    flex-shrink: 0;
}
.wa-info h4 { margin: 0; font-size: 0.85rem; color: #fff; font-weight: bold; line-height: 1.2; }
.wa-info p { margin: 0; font-size: 0.65rem; color: rgba(255,255,255,0.8); margin-top: 1px; }

.wa-body {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0,0h100v100H0V0z" fill="%23e5ddd5"/><circle cx="50" cy="50" r="2" fill="%23d1c8c1"/></svg>');
}

.wa-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.wa-msg.show {
    opacity: 1;
    transform: translateY(0);
}

.wa-msg.ai {
    background: #fff;
    color: #303030;
    align-self: flex-start;
    border-top-right-radius: 0;
}
.wa-msg.ai::after {
    content: ''; position: absolute; top: 0; right: -8px;
    border-top: 10px solid #fff; border-right: 10px solid transparent;
}

.wa-msg.user {
    background: #dcf8c6;
    color: #303030;
    align-self: flex-end;
    border-top-left-radius: 0;
}
.wa-msg.user::after {
    content: ''; position: absolute; top: 0; left: -8px;
    border-top: 10px solid #dcf8c6; border-left: 10px solid transparent;
}

.wa-msg-time {
    display: block;
    font-size: 0.7rem;
    color: #999;
    text-align: left;
    margin-top: 5px;
}

.typing-indicator {
    display: none;
    align-self: flex-start;
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    border-top-right-radius: 0;
    margin-bottom: 15px;
    gap: 5px;
    align-items: center;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.typing-indicator::after {
    content: ''; position: absolute; top: 0; right: -8px;
    border-top: 10px solid #fff; border-right: 10px solid transparent;
}
.typing-indicator.active { display: flex; }
.typing-dot {
    width: 8px; height: 8px; background: #bbb; border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 992px) {
    .wa-demo-container { flex-direction: column; text-align: center; }
    .wa-mockup-wrapper { width: 100%; height: 500px; }
}





