:root {
    --primary-color: #023f81;
    --primary-dark: #011c3a;
    --primary-light: #0d5bb3;
    --secondary-color: #f39c12;
    --secondary-dark: #d35400;
    --text-color: #2c3e50;
    --text-light: #5a6c7f;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.15rem;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    background: rgba(2, 63, 129, 0.6); /* Semi-dark blue for white logo visibility */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.sticky {
    background: var(--primary-color);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

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

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.header.sticky .logo img {
    height: 55px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color) !important;
    padding: 12px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.header.sticky .btn-primary {
    background: var(--secondary-color);
    color: var(--white) !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(2, 63, 129, 0.35);
}

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

.header.sticky .mobile-menu-btn {
    color: var(--white);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #fdfdfd 0%, #f0f4f8 100%);
    padding: 200px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1.2;
    z-index: 5;
}

.glass-content {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 63, 129, 0.08);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 900;
}

.hero-content .description {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 45px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-main {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 12px 30px rgba(2, 63, 129, 0.3);
}

.btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(2, 63, 129, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 60px;
    padding-right: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 5;
}

.image-container {
    position: relative;
    padding: 20px;
}

.main-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 10px solid white;
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: var(--transition);
}

.main-img:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.floating-label {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 1);
    animation: float 5s ease-in-out infinite;
}

.floating-label .icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-label .text {
    display: flex;
    flex-direction: column;
}

.floating-label .text strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.floating-label .text span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.floating-label.l1 { top: 15%; left: -40px; }
.floating-label.l2 { bottom: 10%; right: -20px; animation-delay: 2.5s; }

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

.hero-bg-elements .circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(100px);
}

.circle.c1 {
    width: 500px;
    height: 500px;
    background: rgba(2, 63, 129, 0.07);
    top: -100px;
    right: -100px;
}

.circle.c2 {
    width: 600px;
    height: 600px;
    background: rgba(243, 156, 18, 0.07);
    bottom: -200px;
    left: -200px;
}

/* Trusted By */
.trusted-by {
    padding: 50px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.1);
}

.trusted-by p {
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Features */
.features {
    background: var(--bg-light);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.feature-card {
    background: var(--white);
    padding: 45px;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
    margin-bottom: 30px;
    transition: var(--transition);
}

.feature-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(10deg);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--primary-color);
    font-weight: 800;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Benefits */
.benefits-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.benefits-img {
    flex: 1;
    position: relative;
}

.benefits-img img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    border: 12px solid white;
}

.benefits-content {
    flex: 1.2;
}

.align-right {
    text-align: right;
    margin-left: 0;
}

.benefits-list {
    list-style: none;
    margin-top: 45px;
}

.benefits-list li {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    padding: 20px;
    border-radius: 20px;
    transition: var(--transition);
    background: transparent;
}

.benefits-list li:hover {
    background: var(--bg-light);
    transform: translateX(-10px);
}

.benefits-list li i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.benefits-list h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 800;
}

.benefits-list p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Video */
.video-section {
    background: var(--bg-light);
}

.video-container {
    max-width: 950px;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 15px solid white;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gallery */
.gallery {
    background: linear-gradient(135deg, #01162d 0%, #023f81 100%);
    position: relative;
    padding: 120px 0;
}

.gallery .section-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 80px;
}

.gallery .section-header h2 {
    color: var(--white);
}

.gallery .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.gallery-item {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Browser Frame Effect */
.browser-frame {
    background: #f1f3f5;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 6px;
    border-bottom: 1px solid #ddd;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.browser-dots .red { background: #ff5f56; }
.browser-dots .yellow { background: #ffbd2e; }
.browser-dots .green { background: #27c93f; }

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 63, 129, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 5;
    backdrop-filter: blur(4px);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay span {
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .overlay span {
    transform: translateY(0);
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA Final */
.cta-final .cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(2, 63, 129, 0.3);
}

.cta-card h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-card p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: #01162d;
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-info img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-info p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-wrapper { gap: 30px; }
    .benefits-wrapper { flex-direction: column; text-align: center; }
    .align-right { text-align: center; }
    .benefits-list li { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    
    .hero-wrapper { flex-direction: column; text-align: center; }
    .hero-btns { justify-content: center; flex-direction: column; }
    .hero-stats { justify-content: center; }
    .hero-content .description { margin-left: auto; margin-right: auto; }
    
    .section-header h2 { font-size: 2rem; }
    .cta-card h2 { font-size: 2rem; }
    .cta-btns { flex-direction: column; }
}
