:root {
    --primary: #009eff;
    --primary-dark: #2f61e6;
    --secondary: #1a3a6c;
    --accent: #57daff;
    --dark: #0f1724;
    --light: #f7f9fc;
    --text: #1f2937;
    --text-muted: #6b7280;
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

.py-6 { padding-top: 6rem; padding-bottom: 6rem; }

/* ===== Navbar ===== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}
.navbar-custom.scrolled {
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}
.navbar-custom .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
    position: relative;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary);
}
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 50%;
}

/* ===== Buttons ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 158, 255, 0.3);
}
.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 158, 255, 0.4);
}
.btn-outline-light {
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-width: 2px;
}

/* ===== Hero ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 180, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 158, 255, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #0f1724 0%, #1a3a6c 50%, #2c1810 100%);
    z-index: 0;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 40px 40px;
}
.hero-content { position: relative; z-index: 2; padding-top: 80px; }

.hero-section .badge-pill-custom {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(135deg, #57daff 0%, #009eff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}
.hero-wave svg {
    width: 100%;
    height: 100px;
    display: block;
}

.hero-card-wrap {
    position: relative;
    height: 500px;
}
.hero-card {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: var(--text);
    min-width: 220px;
    animation: float 6s ease-in-out infinite;
}
.hero-card:nth-child(1) { top: 20px; right: 60px; }
.hero-card-2 { top: 180px; right: -20px; animation-delay: 2s !important; }
.hero-card-3 { top: 340px; right: 80px; animation-delay: 4s !important; }

.hero-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

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

/* ===== Gradients ===== */
.bg-gradient-primary { background: linear-gradient(135deg, #009eff 0%, #2f61e6 100%); }
.bg-gradient-secondary { background: linear-gradient(135deg, #1a3a6c 0%, #0f1724 100%); }
.bg-gradient-accent { background: linear-gradient(135deg, #57daff 0%, #009eff 100%); }
.bg-gradient-warm { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%); }
.bg-gradient-dark {
    background: linear-gradient(135deg, #0f1724 0%, #1a3a6c 100%);
    position: relative;
}
.bg-gradient-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
}
.bg-gradient-dark > .container { position: relative; z-index: 1; }

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

/* ===== Sections ===== */
.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.section-label-light {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.text-muted-2 {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.letter-spacing { letter-spacing: 3px; }

/* ===== Partners ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    align-items: center;
}
.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0.5rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}
.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== About ===== */
.pill-tag {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.text-primary-custom { color: var(--primary); }

.stat-box {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-number span {
    font-size: 1.5rem;
    color: var(--accent);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

.about-image-wrap {
    position: relative;
}
.floating-badge {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.floating-badge i {
    font-size: 2rem;
    color: var(--primary);
}
.floating-badge strong { display: block; font-size: 1.1rem; }
.floating-badge small { color: var(--text-muted); }

/* ===== Service cards ===== */
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}
.service-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ===== Why us ===== */
.why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.why-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
}
.why-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
}
.why-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}
.why-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.why-card p {
    opacity: 0.8;
    margin: 0;
    line-height: 1.6;
}

/* ===== Team ===== */
.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #f7f9fc;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.team-card h5 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark);
}
.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Contact ===== */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-list small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.contact-list a,
.contact-list span {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
}
.contact-list a:hover { color: var(--primary); }

.contact-form-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
}
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 158, 255, 0.08);
}
.contact-form-wrap .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

/* ===== Footer ===== */
.footer-custom {
    background: linear-gradient(135deg, #0f1724 0%, #1a1a2e 100%);
}
.footer-custom h6 {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85rem;
}
.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .section-title { font-size: 2rem; }
    .py-6 { padding-top: 4rem; padding-bottom: 4rem; }
    .hero-section h1 { font-size: 2.5rem; }
    .navbar-custom { background: #fff; }
    .navbar-custom .navbar-collapse {
        padding-top: 1rem;
    }
    .floating-badge { left: 10px; }
}
@media (max-width: 576px) {
    .section-title { font-size: 1.75rem; }
    .hero-section h1 { font-size: 2rem; }
    .stat-number { font-size: 1.75rem; }
    .contact-form-wrap { padding: 1.5rem; }
}
