:root {
    --primary: #4A90E2;
    --dark-bg: #101827;
    --card-bg: #1f2937;
    --text-light: #f3f4f6;
    --text-dim: #9ca3af;
}

.menu-toggle {
    font-size: 35px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body { background-color: var(--dark-bg); color: var(--text-light); line-height: 1.6; overflow-x: hidden; }

/* Navigation */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 5%;
    background: rgba(16, 24, 39, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
}

.logo { 
    font-weight: bold; 
    font-size: 2.5rem; 
    color: var(--primary);
    position: absolute;
    left: 5%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo img {
    height: 70px;
    vertical-align: middle;
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo span {
    white-space: nowrap;
    margin-left: 10px;
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
    justify-content: center;
}

.nav-links a { 
    text-decoration: none; 
    color: white; 
    font-size: 1.5rem; 
    font-weight: 600; 
    transition: 0.3s; 
    white-space: nowrap;
}

.menu-toggle, .burger {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #101827 0%, #1a2844 100%);
    border-top: 2px solid var(--primary);
    z-index: 999;
}

.dropdown-menu.active {
    display: flex;
    flex-direction: column;
}

.dropdown-menu ul {
    list-style: none;
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
}

.dropdown-menu li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    text-align: center;
    font-size: 1.1rem;
}

.dropdown-menu a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-centered {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at top left, #1e293b, #101827);
    padding: 80px 5%;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 { 
    font-size: clamp(3rem, 5vw, 4.5rem); 
    margin: 30px 0; 
    line-height: 1.05; 
}

.hero-content h1 span { 
    color: var(--primary); 
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-top: 20px;
}

/* Client Grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 5%;
    max-width: 1800px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    background: white;
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 15px;
    padding: 40px;
    transition: 0.3s ease;
}

.logo-box:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.logo-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Footer */
.socials { 
    text-align: center; 
    padding: 60px 5%; 
    background: #0b0f1a; 
    border-top: 1px solid #1f2937; 
}

.socials p {
    font-size: larger;
}

.socials a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: bold;
    font-size: x-large;
}

.social { 
    margin-top: 25px; 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    align-items: center; 
}

.social i { 
    color: var(--primary); 
    font-size: 2rem; 
}

#backToTop { 
    background: var(--primary); 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: large;
}

/* Responsive */
@media (min-width: 768px) {
    .menu-toggle {
        display: none !important;
    }
    
    .dropdown-menu {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        background: none !important;
        flex: none !important;
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        padding: 60px 5%;
    }
}

@media (max-width: 767px) {
    .nav-links { display: none; }
    .client-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        padding: 40px 5%;
    }
    .logo-box {
        padding: 20px;
    }
}
