:root {
    --primary-blue: #0f172a;
    --accent-gold: #d4af37;
    --gold-light: #f1c40f;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
   

    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

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

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

/* Navigation */
.nav {
    background-color: var(--primary-blue);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    flex-wrap: wrap;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;

}

.nav-logo {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo i {
    color: var(--accent-gold);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.nav-btns {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--accent-gold);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-outline-sm {
    background: transparent;
    color: var(--primary-blue);
    border: 1.5px solid var(--accent-gold);
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: inline-block;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Search Bar */
.search-bar {
    background: var(--white);
    padding: 8px;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
}

.search-input-wrapper i {
    color: var(--text-muted);
}

    .search-input-wrapper input {
        width: 100%;
        border: none;
        outline: none;
        font-size: 19px;
        padding: 10px 100PX;
    }


.search-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
}

.tag:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 40px;
}

.stat-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-lbl {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual & Animation */
.hero-visual {
    position: relative;
}

.image-stack {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 30px;
    overflow: hidden;
    transform: rotate(-5deg);
    border: 4px solid rgba(212, 175, 55, 0.2);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.4);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 2;
}

.card-top {
    top: 10%;
    right: 10px;
}

.card-bottom {
    bottom: 10%;
    left: 10px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.gold-bg {
    background: var(--accent-gold);
}

.card-title {
    font-weight: 700;
    font-size: 14px;
}

.card-sub {
    font-size: 12px;
    opacity: 0.7;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 4s ease-in-out infinite 2s;
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-bg); }

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

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Content Cards */
.content-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--accent-gold);
}

.card-tag {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

.content-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.content-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

/* Profile Cards */
.profile-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.profile-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating {
    color: #f1c40f;
    font-weight: 700;
    margin: 10px 0 20px;
}

/* Workflow Steps */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 60px;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    color: var(--accent-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    margin: 20px 0;
}

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

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

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
    padding-right: 5px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 10px;
}

.newsletter-form input {
    background: none;
    border: none;
    padding: 12px;
    color: var(--white);
    flex: 1;
    outline: none;
}

.newsletter-form button {
    background: var(--accent-gold);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* Mobile Drawer & Responsive */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: var(--primary-blue);
    z-index: 2000;
    padding: 30px;
    transition: 0.5s ease;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-drawer {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.drawer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.drawer-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}

.nav-overlay.active {
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero p { margin: 0 auto 40px; }
    .stats-bar { justify-content: center; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-btns { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 32px; }
    .search-bar { flex-direction: column; padding: 15px; }
    .search-btn { width: 100%; }
    .grid-3, .grid-4, .workflow-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .stats-bar { flex-wrap: wrap; gap: 20px; }
    .stat-item { width: 45%; }
}



img, video {
    max-width: 100%;
}

.hero-visual {
    overflow: hidden;
}

html, body {
    overflow-x: hidden;
}



.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

@media (max-width:768px) {
    .mobile-menu-btn {
        display: block !important;
    }
}