:root {
    --bg-body: #ffffff; --bg-header: #ffffff; --bg-card: #ffffff; --bg-input: #ffffff;
    --bg-light-section: #f8f9fc; --text-main: #1a1a1a; --text-muted: #555555;
    --text-heading: #0a0ab5; --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05); --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --primary-blue: #0a0ab5; --accent-orange: #ffa200; --white: #ffffff; --transition: all 0.3s ease;
}
body.dark-mode {
    --bg-body: #0b1120; --bg-header: #0b1120; --bg-card: #151f32; --bg-input: #1e293b;
    --bg-light-section: #0f172a; --text-main: #e2e8f0; --text-muted: #94a3b8;
    --text-heading: #ffffff; --border-color: #1e293b;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.3); --shadow-md: 0 10px 20px rgba(0,0,0,0.4);
}
body, .site-header, .btn, .service-card, .tech-card, .feature-card, .client-logo, input, textarea, .theme-toggle {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--text-heading); line-height: 1.2; margin-bottom: 1rem; }
p, .section-subtitle { color: var(--text-muted); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; max-width: 800px; margin: 0 auto 60px; font-size: 1.1rem; }

.site-header { background: var(--bg-header); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; cursor: pointer; }
.site-logo { height: 50px; width: auto; object-fit: contain; }
.nav-menu { display: flex; gap: 25px; }
.nav-menu a { font-weight: 500; font-size: 0.95rem; color: var(--text-main); position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--accent-orange); }
.nav-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background: var(--accent-orange); transition: var(--transition); }
.nav-menu a:hover::after { width: 100%; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-main); background: none; border: none; margin-right: 15px; }
.theme-toggle { background: transparent; border: 2px solid var(--border-color); color: var(--text-main); cursor: pointer; padding: 8px 12px; border-radius: 50px; font-size: 1.2rem; margin-right: 15px; display: flex; align-items: center; justify-content: center; }
.theme-toggle:hover { background: var(--bg-card); transform: scale(1.1); }

.btn { display: inline-block; padding: 12px 30px; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; text-align: center; border: 2px solid transparent; }
.btn-primary { background: linear-gradient(135deg, var(--primary-blue), #1e1ee0); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(10, 10, 181, 0.3); }
.btn-enquire { background-color: var(--primary-blue); color: var(--white); border: 2px solid #000000; }
.btn-enquire:hover { background-color: var(--accent-orange); color: #000; transform: translateY(-2px); }
.btn-large { padding: 1rem 3rem; font-size: 1.1rem; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 120px 0; }
.hero-video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); object-fit: cover; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent !important; z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 900px; margin: 0 auto; padding: 0 20px; }
.hero h1 { color: var(--white); font-size: 3.5rem; margin-bottom: 20px; animation: fadeInUp 0.8s ease; }
.hero-subtitle { color: rgba(255,255,255,0.95); font-size: 1.25rem; margin-bottom: 40px; line-height: 1.6; animation: fadeInUp 0.8s ease 0.2s backwards; }
.hero-cta { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.4s backwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-card { background: var(--bg-card); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--border-color); }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: var(--accent-orange); }
.feature-icon { font-size: 2.5rem; color: var(--accent-orange); margin-bottom: 20px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-card); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-left: 4px solid var(--accent-orange); }
.service-icon { width: 60px; height: 60px; background: rgba(10, 10, 181, 0.1); color: var(--primary-blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
body.dark-mode .service-icon { background: rgba(255,255,255,0.1); color: var(--accent-orange); }

.technologies-section { background: var(--bg-body); overflow: hidden; }
.tech-slider { overflow: hidden; width: 100%; position: relative; margin-top: 40px; }
.tech-slider::before, .tech-slider::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none; }
.tech-slider::before { left: 0; background: linear-gradient(to right, var(--bg-body), transparent); }
.tech-slider::after { right: 0; background: linear-gradient(to left, var(--bg-body), transparent); }
.tech-track { display: flex; gap: 20px; animation: scrollTech 40s linear infinite; width: fit-content; }
.tech-track:hover { animation-play-state: paused; }
.tech-card { background: var(--bg-card); padding: 15px 25px; border-radius: 50px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-main); border: 1px solid var(--border-color); white-space: nowrap; flex-shrink: 0; }
.tech-card i { color: var(--primary-blue); font-size: 1.1rem; }
.tech-card:hover { background: var(--primary-blue); color: var(--white); transform: scale(1.05); }
.tech-card:hover i { color: var(--white); }
@keyframes scrollTech { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.clients-section { background: var(--bg-light-section); text-align: center; }
.clients-slider { overflow: hidden; width: 100%; position: relative; margin-top: 40px; }
.clients-slider::before, .clients-slider::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none; }
.clients-slider::before { left: 0; background: linear-gradient(to right, var(--bg-light-section), transparent); }
.clients-slider::after { right: 0; background: linear-gradient(to left, var(--bg-light-section), transparent); }
.clients-track { display: flex; gap: 60px; animation: scrollLogos 30s linear infinite; width: fit-content; }
.clients-track:hover { animation-play-state: paused; }
.client-logo { flex-shrink: 0; width: 180px; height: 100px; background: var(--bg-card); padding: 20px; border-radius: 8px; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); }
.client-logo:hover { transform: scale(1.05); box-shadow: var(--shadow-md); }
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%); opacity: 0.7; }
.client-logo:hover img { filter: grayscale(0%); opacity: 1; }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.cta-section { background: var(--primary-blue); color: var(--white); text-align: center; }
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.9); margin-bottom: 30px; }
.contact-form { max-width: 600px; margin: 0 auto; background: var(--white); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 1rem; background: var(--bg-input); color: var(--text-main); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(10, 10, 181, 0.2); }
.contact-form button { margin-top: 10px; }

.site-footer { background: #020617; color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo-link { display: inline-block; margin-bottom: 15px; }
.footer-logo { height: 40px; }
.footer-brand p, .footer-links a, .footer-contact p { color: #94a3b8; font-size: 0.9rem; }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; border-bottom: 2px solid var(--accent-orange); display: inline-block; padding-bottom: 5px; }
.footer-links a:hover { color: var(--accent-orange); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; color: #64748b; font-size: 0.85rem; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; }
.social-icons a:hover { background: var(--accent-orange); transform: translateY(-3px); }

.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.whatsapp-float:hover { transform: scale(1.1); background-color: #128C7E; color: #FFF; }

/* Responsive */
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--bg-header); flex-direction: column; padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); gap: 15px; border-bottom: 1px solid var(--border-color); z-index: 999;
    }
    .nav-menu.active { display: flex; }
    .nav-menu a { text-align: center; padding: 10px 0; }
    .theme-toggle { margin-right: 0; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.8rem; }
    .cards-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    .clients-slider::before, .clients-slider::after, .tech-slider::before, .tech-slider::after { width: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 20px; margin: 0 15px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .btn-large { padding: 12px 25px; }
    .tech-card { padding: 10px 15px; font-size: 0.8rem; }
    .tech-card i { font-size: 1rem; }
}