@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0A192F;
    /* Deep Navy Blue */
    --primary-dark: #020817;
    --primary-soft: rgba(10, 25, 47, 0.08);
    --accent: #F97316;
    /* Professional Orange */
    --accent-dark: #EA580C;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --bg-body: #FFFFFF;
    --bg-alt: #F8FAFC;
    --border: rgba(15, 23, 42, 0.08);
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 12px 24px -6px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Modern Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(255, 245, 245, 0.8) 0%, rgba(255, 245, 245, 0.7) 50%, rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.logo-text-secondary {
    color: var(--text-main);
    transition: var(--transition);
}

.logo:hover .logo-text-primary {
    color: var(--accent) !important;
}

.logo:hover .logo-text-secondary {
    color: var(--text-main) !important;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent) !important;
}

.header.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

.header.scrolled .nav-links a:hover {
    color: var(--accent) !important;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    /* Semi-transparent white */
    padding: 0.6rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

.header.scrolled .nav-links a {
    color: var(--text-main);
}

.header.scrolled .logo-text-primary {
    color: var(--primary) !important;
}

.header.scrolled .logo-text-secondary {
    color: var(--text-main) !important;
}

.header.scrolled .mobile-toggle {
    background: var(--primary-soft) !important;
}

.header.scrolled .mobile-toggle i {
    color: var(--primary) !important;
}

/* Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    padding: 15px 0;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.header.scrolled .dropdown {
    background: var(--primary);
    border-color: rgba(255, 255, 255, 0.1);
}

.dropdown li a {
    display: block;
    padding: 12px 25px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.header.scrolled .dropdown li a {
    color: rgba(255, 255, 255, 0.8);
}

.dropdown li a:hover {
    background: var(--bg-alt);
    color: var(--primary) !important;
}

.header.scrolled .dropdown li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
}

.mobile-only-link,
.drawer-logo,
.mobile-toggle {
    display: none !important;
}

.desktop-only {
    display: flex !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary);
    z-index: 2001;
}

.header.scrolled .mobile-toggle {
    color: #fff;
}

.header.scrolled .nav-links a {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

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

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

/* Trendy Hero */
.hero-slider {
    height: 100vh;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1541888946425-d81bb19480c5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    color: #fff;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 600px;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 10px 25px rgba(229, 45, 39, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(229, 45, 39, 0.4);
}

a.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.15);
    text-decoration: none;
}

a.btn-login:hover {
    background: var(--accent) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.btn-login i {
    font-size: 1.1rem;
}

.header.scrolled a.btn-login {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.2);
}

.header.scrolled a.btn-login:hover {
    background: var(--accent) !important;
}

/* Service Cards */
.section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 80px;
    text-align: center;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.section-title .underline {
    width: 60px;
    height: 6px;
    background: var(--primary);
    margin: 20px auto;
    border-radius: 3px;
}

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

.service-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: left;
}

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

/* Stats Section */
.stats-container {
    padding: 120px 0;
    background: var(--bg-alt);
}

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

.stat-item h3 {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 50%, rgba(10, 25, 47, 0) 100%);
    padding: 50px;
    color: #fff;
    transition: all 0.5s ease;
}

.project-cat {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.project-title {
    font-size: 2.5rem;
    margin: 10px 0 20px;
    color: #fff;
    font-family: 'Outfit';
    font-weight: 800;
}

.project-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #ffffff;
    color: var(--text-main);
    padding: 50px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--text-main);
    margin-bottom: 30px;
    font-size: 1.4rem;
    font-weight: 800;
}

.footer-links li {
    list-style: none;
    margin-bottom: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    display: block;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.copy {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card img {
    transition: transform 0.8s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 50%, rgba(10, 25, 47, 0.2) 100%);
}

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

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

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }

    .nav {
        display: flex;
        justify-content: space-between;
    }

    .logo-text-primary {
        font-size: 1.4rem !important;
    }

    .logo-text-secondary {
        font-size: 0.7rem !important;
        letter-spacing: 3px !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: 0.5s ease;
        z-index: 2000;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
        display: flex;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.3rem;
        color: #fff !important;
        display: block;
        padding: 15px 0;
    }

    .mobile-only-link,
    .drawer-logo,
    .mobile-toggle {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .header .btn-primary,
    .header .btn-login {
        display: none !important;
    }

    /* Global Responsive Grids */
    .grid-2, .grid-3, .stats-grid, .projects-grid, .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        width: 100% !important;
        overflow: hidden;
    }

    section {
        padding: 60px 0 !important;
    }

    .footer {
        padding: 60px 0 30px !important;
    }

    h2, .section-title h2 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content p {
        font-size: 1rem !important;
    }

    .about-image-container {
        order: -1;
    }

    .rvnl-badge {
        position: relative !important;
        bottom: 0 !important;
        right: 0 !important;
        margin-top: -30px;
        padding: 20px !important;
        border-radius: 20px !important;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .project-card {
        height: 350px !important;
    }

    .project-overlay {
        padding: 30px !important;
    }

    .project-title {
        font-size: 1.5rem !important;
        margin: 5px 0 10px !important;
    }

    .project-desc {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem !important;
    }

    .logo-text-primary {
        font-size: 1.2rem !important;
    }

    .btn {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
    }
}