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

:root {
    --bg-dark: #ffffff;
    --bg-card: #f8fafc;
    --bg-nav: rgba(255, 255, 255, 0.9);
    --primary: #0052d4;
    --primary-grad: linear-gradient(135deg, #0052d4 0%, #4364f7 50%, #00d2ff 100%);
    --accent: #0052d4;
    --accent-grad: linear-gradient(135deg, #0052d4 0%, #00d2ff 100%);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-hover: rgba(0, 82, 212, 0.3);
    --glow-shadow: 0 10px 30px rgba(0, 82, 212, 0.08);
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 82, 212, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.04) 0%, transparent 45%);
    background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0f172a;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 82, 212, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

header.scrolled .nav-container {
    height: 65px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-header);
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 30%, #0052d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

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

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

.nav-btn {
    background: var(--primary-grad);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 82, 212, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 82, 212, 0.35);
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: #0f172a;
    font-size: 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 82, 212, 0.05);
    border: 1px solid rgba(0, 82, 212, 0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #0f172a;
}

.hero-title span {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-secondary {
    background: rgba(0, 82, 212, 0.03);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(0, 82, 212, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 400px;
    height: 400px;
    background: var(--primary-grad);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    opacity: 0.1;
    position: absolute;
    animation: blob-animate 12s infinite alternate ease-in-out;
}

.hero-img-container {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 82, 212, 0.06);
    background: #ffffff;
    padding: 16px;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stats Counter Section */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
}

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

.stat-item h3 {
    font-size: 40px;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 82, 212, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--glow-shadow);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 82, 212, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 24px;
    border: 1px solid rgba(0, 82, 212, 0.12);
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary-grad);
    color: #fff;
    border-color: transparent;
}

.card-title {
    font-size: 20px;
    margin-bottom: 14px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link i {
    transition: var(--transition);
}

.card:hover .card-link i {
    transform: translateX(4px);
}

/* Feature/Why Choose Us Section */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-item-icon {
    font-size: 20px;
    color: var(--primary);
    margin-top: 3px;
}

.feature-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item-desc {
    color: var(--text-muted);
    font-size: 14px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.testimonial-text {
    font-size: 15px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 24px;
    position: relative;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
}

.user-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* Sub-page Banner */
.page-banner {
    padding: 160px 0 100px 0;
    background: linear-gradient(180deg, rgba(0, 82, 212, 0.04) 0%, transparent 100%);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 48px;
    margin-bottom: 16px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

/* Clients Grid */
.clients-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.client-logo-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.client-logo-card:hover {
    border-color: var(--border-hover);
    transform: scale(1.05);
    box-shadow: var(--glow-shadow);
}

/* Case Study Section */
.case-studies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.case-study-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #ffffff;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.case-study-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--glow-shadow);
}

.case-study-img-wrapper {
    height: 240px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.case-study-content {
    padding: 32px;
}

.case-study-tag {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.case-study-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.case-study-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

/* Contact Details & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 82, 212, 0.05);
    border: 1px solid rgba(0, 82, 212, 0.15);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-info-details h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.contact-info-details p {
    color: var(--text-muted);
    font-size: 15px;
}

.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--glow-shadow);
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    color: #0f172a;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 82, 212, 0.1);
    background: #ffffff;
}

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

.btn-submit {
    width: 100%;
    background: var(--primary-grad);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 82, 212, 0.2);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 82, 212, 0.35);
}

/* Footer */
footer {
    background-color: #030a1e;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 80px 0 30px 0;
    color: #f8fafc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

footer .logo-wrapper {
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

footer .logo-img {
    height: 38px;
    width: auto;
    filter: none !important;
}

footer h4, footer a, footer p, footer .logo-text {
    color: #ffffff !important;
}

footer a {
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

.footer-desc {
    color: #94a3b8 !important;
    margin-top: 20px;
    margin-bottom: 24px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #94a3b8 !important;
}

.social-link:hover {
    background: var(--primary-grad);
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8 !important;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff !important;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8 !important;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #94a3b8 !important;
}
.footer-bottom-links a:hover {
    color: #ffffff !important;
}

/* Animations */
@keyframes blob-animate {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: scale(1);
    }
    50% {
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 60%;
        transform: scale(1.1);
    }
    100% {
        border-radius: 60% 40% 50% 50% / 40% 30% 70% 60%;
        transform: scale(1);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.25);
}

.whatsapp-float i {
    font-size: 22px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Pulsing micro-animation */
.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Service Card Buttons styling */
.service-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-card-whatsapp {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #25d366;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-card-whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: transparent;
}

.btn-card-contact {
    background: rgba(0, 82, 212, 0.06);
    border: 1px solid rgba(0, 82, 212, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-card-contact:hover {
    background: var(--primary-grad);
    color: #fff;
    border-color: transparent;
}

/* Workflow grid global style */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

/* FAQ grid global style */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

/* Mobile & Tablet Styles */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 40px auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .grid-3, .testimonials-grid, .workflow-grid {
        grid-template-columns: 1fr 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clients-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 767px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: 0.4s ease;
        border-top: 1px solid var(--border-color);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    header.scrolled .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
    }

    .hero-title {
        font-size: 40px;
    }

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

    .grid-3, .testimonials-grid, .clients-page-grid, .case-studies, .workflow-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
