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

/* ===== CSS Variables ===== */
:root {
    --primary: #1a3a8f;
    --primary-dark: #0f2461;
    --primary-light: #2b5dd6;
    --accent: #00c6ff;
    --accent2: #0072ff;
    --dark: #0a0e1a;
    --dark2: #111827;
    --light: #f0f4ff;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --gradient1: linear-gradient(135deg, #1a3a8f 0%, #00c6ff 100%);
    --gradient2: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
    --gradient3: linear-gradient(135deg, #0a0e1a 0%, #1a3a8f 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 198, 255, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    overflow-x: hidden;
    background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

/* ===== LOADING SCREEN ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 80px;
    height: 80px;
    animation: pulse-logo 1.5s ease-in-out infinite;
    margin-bottom: 24px;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.loader-bar-track {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient2);
    border-radius: 4px;
    animation: load-bar 1.8s ease-in-out forwards;
}

.loader-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Outfit';
}

@keyframes pulse-logo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8
    }

    50% {
        transform: scale(1.08);
        opacity: 1
    }
}

@keyframes load-bar {
    0% {
        width: 0
    }

    40% {
        width: 60%
    }

    80% {
        width: 90%
    }

    100% {
        width: 100%
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

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

.navbar.scrolled .nav-link {
    color: #374151 !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary) !important;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-logo-text {
    font-family: 'Outfit';
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    transition: color 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient2);
    transition: width 0.3s;
    border-radius: 2px;
}

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

.nav-cta {
    background: var(--gradient2);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 100;
}

.mobile-toggle span {
    width: 28px;
    height: 2.5px;
    background: #fff;
    border-radius: 4px;
    transition: all 0.3s;
}

.navbar.scrolled .mobile-toggle span {
    background: var(--primary);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media(max-width:768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

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

    .nav-link {
        color: #fff !important;
        font-size: 1.1rem;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.75) 0%, rgba(26, 58, 143, 0.55) 100%);
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #b3d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient2);
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 114, 255, 0.35);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.hero-dot.active {
    width: 32px;
    background: #fff;
}

@media(max-width:768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

/* ===== SECTION STYLES ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--dark);
    color: #fff;
}

.section-light {
    background: var(--light);
}

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

.section-badge {
    display: inline-block;
    background: rgba(26, 58, 143, 0.08);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-dark .section-badge {
    background: rgba(0, 198, 255, 0.1);
    color: var(--accent);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-dark .section-title {
    color: #fff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.about-image-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 28px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

.about-image-overlay .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit';
}

.about-image-overlay .stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.about-feature .check {
    width: 24px;
    height: 24px;
    background: var(--gradient2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}

@media(max-width:768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient2);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s;
}

.service-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.service-card:hover .service-icon {
    background: var(--gradient2);
}

.service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== WHY US ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(0, 198, 255, 0.3);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* ===== PRODUCTS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card-top {
    background: var(--gradient3);
    padding: 40px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-card-top::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: #fff;
    border-radius: 40px 40px 0 0;
}

.product-chip {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.product-chip span {
    font-size: 1.8rem;
}

.product-card-top h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.product-card-top p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

.product-card-body {
    padding: 24px 28px 28px;
}

.product-card-body ul {
    list-style: none;
}

.product-card-body li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card-body li:last-child {
    border: none;
}

.product-card-body li::before {
    content: '✦';
    color: var(--primary);
    font-size: 10px;
}

/* ===== CONTACT ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    background: var(--light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-item h4 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--gray);
    font-size: 0.9rem;
    text-decoration: none;
}

.contact-form {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    outline: none;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 58, 143, 0.08);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media(max-width:768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background: url("https://i.pinimg.com/1200x/af/a4/aa/afa4aa8bfa8dc949adcc83f5df708cef.jpg") no-repeat center center/cover;
    color: #fff;
    /* Rounded Top Corners */
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    overflow: hidden;
    /* Ensures image respects the border radius */
    margin-top: -40px;
    /* Optional: creates an overlap effect if desired, or can be 0 */
}

/* Dark Blue Overlay - Color Removed as requested */
.footer-overlay {
    /* background: transparent; */
    background: linear-gradient(rgba(14, 34, 78, 0.60),
            rgba(31, 48, 88, 0.65));

    /* Removed blue gradient */
    padding: 80px 0 40px;
    /* Padding moved here */
    width: 100%;
}

/* Container */
.footer .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    /* Slightly wider min-width */
    gap: 40px;
    align-items: start;
}

/* Headings */
.footer h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    letter-spacing: 0.5px;
}

.footer h4::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #4da6ff;
    display: block;
    margin-top: 8px;
    border-radius: 2px;
}

/* Links */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer ul li a {
    color: #e0e6ed;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer ul li a:hover {
    color: #4da6ff;
    transform: translateX(5px);
}

/* Brand Section */
.footer-brand p {
    margin-top: 20px;
    line-height: 1.8;
    color: #cbd5e1;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-logo {
    max-width: 160px;
    height: auto;
    display: block;
}

/* Social Icons */
.social-icons {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: #4da6ff;
    color: #fff;
    transform: translateY(-3px);
    border-color: #4da6ff;
    box-shadow: 0 5px 15px rgba(77, 166, 255, 0.3);
}

/* Contact Info */
.footer ul li {
    color: #e0e6ed;
    font-size: 0.95rem;
}

/* Reduce gap for Legal section in Contact column */
.footer h4[style*="margin-top"] {
    margin-top: 30px !important;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: center;
    /* Center align overall */
    align-items: center;
    gap: 80px;
    /* Control distance */
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-bottom a {
    color: #4da6ff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* Optional: Make right side subtle */
.footer-bottom-right {
    opacity: 0.8;
}

.footer-bottom-right:hover {
    opacity: 1;
}

/* --- Responsive Version (Mobile) --- */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Link style */
.footer-bottom a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: #4da6ff;
}


.social-icons {
    margin-top: 20px;
}

.social-icons a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-right: 10px;
    margin-bottom: 15px;
    background: #fff;
    color: #0b2d5c;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    background: #4da6ff;
    color: #fff;
}

/* Tooltip Style */
.tooltip-text {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    background: #0b2d5c;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

/* Arrow */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #0b2d5c transparent transparent transparent;
}

/* Show on Hover */
.tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}


/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger-children .reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.stagger-children .reveal:nth-child(5) {
    transition-delay: 0.35s;
}

.stagger-children .reveal:nth-child(6) {
    transition-delay: 0.4s;
}

.stagger-children .reveal:nth-child(7) {
    transition-delay: 0.45s;
}

/* ===== PARTICLES ===== */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0
    }

    10% {
        opacity: 1
    }

    90% {
        opacity: 1
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0
    }
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

/* Dark overlay for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 25, 60, 0.75),
            rgba(20, 40, 80, 0.85));
    z-index: -1;
}


/* ===== COUNTER ANIMATION ===== */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.counter-card {
    text-align: center;
    padding: 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.counter-num {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit';
    background: var(--gradient2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 4px;
}

@media(max-width:768px) {
    .counter-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient2);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 114, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #fff;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== TECHNOLOGY EXPERTISE ===== */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all 0.4s;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 198, 255, 0.2);
    transform: translateY(-4px);
}

.tech-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-card ul {
    list-style: none;
}

.tech-card li {
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-card li::before {
    content: '▸';
    color: var(--accent);
    font-weight: bold;
}

@media(max-width:768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ROADMAP TIMELINE ===== */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.roadmap-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.4s;
}

.roadmap-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.roadmap-num {
    width: 48px;
    height: 48px;
    background: var(--gradient2);
    color: #fff;
    font-weight: 800;
    font-family: 'Outfit';
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.roadmap-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.roadmap-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== INDUSTRY FOCUS ===== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.4s;
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(0, 198, 255, 0.3);
}

.industry-card .ind-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.industry-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

/* ===== ENGAGEMENT MODEL ===== */
.engage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.engage-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 32px 28px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.engage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient2);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.engage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.engage-card:hover::before {
    transform: scaleX(1);
}

.engage-icon {
    width: 56px;
    height: 56px;
    background: var(--light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.engage-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.engage-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== METHODOLOGY STEPS ===== */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.method-step {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.method-step-num {
    width: 40px;
    height: 40px;
    background: var(--gradient2);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-family: 'Outfit';
}

.method-step p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ============================================
   RESPONSIVE — TABLETS, MOBILE & SMALL DEVICES
   Desktop styles are NOT modified above.
   ============================================ */

/* --- TABLET (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 28px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-text h2 {
        font-size: 1.9rem;
    }

    .counter-num {
        font-size: 2.2rem;
    }

    .nav-logo-text {
        font-size: 1.1rem;
    }
}

/* --- MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Hero — push content below the fixed navbar */
    .hero {
        padding-top: 80px;
        min-height: 100vh;
        min-height: 100dvh;
        /* dynamic viewport height for mobile browsers */
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
        margin-bottom: 16px;
        letter-spacing: 0.5px;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero #heroTyping {
        font-size: 1.05rem !important;
        min-height: 1.3em !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-indicators {
        bottom: 20px;
    }

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

    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 16px;
    }

    /* About */
    .about-text h2 {
        font-size: 1.6rem;
    }

    .about-image img {
        height: 260px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Services */
    .service-card {
        padding: 28px 20px;
    }

    /* Why Us grid */
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .why-card {
        padding: 20px 12px;
    }

    .why-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .why-card h4 {
        font-size: 0.85rem;
    }

    /* Counters */
    .counter-grid {
        gap: 12px;
        margin-top: 40px;
    }

    .counter-card {
        padding: 20px 12px;
    }

    .counter-num {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.75rem;
    }

    /* Contact */
    .contact-info h2 {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer {
        padding: 50px 0 0;
    }

    .footer-brand img {
        max-width: 160px;
        height: auto;
    }

    /* WhatsApp — make smaller on mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    /* Back to top — make smaller on mobile */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
        border-radius: 10px;
    }

    /* Roadmap */
    .roadmap-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Industry */
    .industry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .industry-card {
        padding: 20px 14px;
    }

    /* Engagement */
    .engage-grid {
        grid-template-columns: 1fr;
    }

    /* Methodology */
    .method-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .method-step {
        padding: 16px 10px;
    }

    /* Navbar logo */
    .nav-logo img {
        height: 36px;
    }

    .nav-logo-text {
        font-size: 1rem;
    }
}

/* --- VERY SMALL DEVICES (max-width: 480px) --- */
@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero h1 {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .hero #heroTyping {
        font-size: 0.9rem !important;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        max-width: 100%;
        padding: 11px 20px;
        font-size: 0.85rem;
    }

    .section {
        padding: 45px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .about-text h2 {
        font-size: 1.4rem;
    }

    .about-image img {
        height: 200px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .why-card {
        padding: 16px 8px;
    }

    .why-icon {
        font-size: 1.6rem;
    }

    .why-card h4 {
        font-size: 0.78rem;
    }

    .counter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .counter-num {
        font-size: 1.7rem;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .method-grid {
        grid-template-columns: 1fr;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-logo-text {
        font-size: 0.9rem;
    }

    .whatsapp-float {
        width: 46px;
        height: 46px;
        bottom: 16px;
        left: 16px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .back-to-top {
        width: 36px;
        height: 36px;
        bottom: 16px;
        right: 16px;
        font-size: 0.9rem;
    }
}

/* privacy polycies and term navbar  */
/* Default Transparent Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    transition: all 0.3s ease;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
}

/* Scroll Active Navbar */
.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
