:root {
    --primary-color: #4a6cf7;
    --secondary-color: #0c1636;
    --accent-color: #0ea5e9;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #0c1636;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    margin-bottom: 0;
    padding-top: 0;
    color: var(--text-primary);
    line-height: 1.7;
}

/* Navbar styling */
.navbar {
    box-shadow: none;
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: rgba(12, 22, 54, 0.95);
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(12, 22, 54, 0.95) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 400;
}

.logo-text {
    font-weight: 700;
    color: #fff;
}

.logo-highlight {
    color: var(--primary-color);
    font-weight: 800;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 0.7rem;
    transition: all 0.3s;
    position: relative;
    font-size: 0.9rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 70%;
    left: 15%;
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-contact {
    background-color: var(--primary-color);
    border: none;
    color: white;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-contact:hover {
    background-color: #3a56d4;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 108, 247, 0.3);
}

/* Hero section */
.hero-section {
    background: linear-gradient(rgba(12, 22, 54, 0.9), rgba(12, 22, 54, 0.85)), url('/images/figma/video-bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 120px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(74, 108, 247, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-right: 30px;
}

.hero-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-section h1 .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-section h1 .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    /* background-color: var(--primary-color); */
    bottom: 5px;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    margin-bottom: 3rem;
    display: flex;
    gap: 16px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.2) 0%, rgba(14, 165, 233, 0.1) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Services section */
.services-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-light);
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 12px;
    margin-bottom: 25px;
}

.service-icon img {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link img {
    margin-left: 8px;
    transition: all 0.3s;
}

.service-link:hover img {
    transform: translateX(5px);
}

.service-link.mt-auto {
    margin-top: auto;
}

/* Trusted by section */
.trusted-by {
    padding: 60px 0;
    background-color: var(--bg-gray);
    text-align: center;
}

.trusted-by h3 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 500;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-logo {
    opacity: 0.7;
    transition: all 0.3s;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* How it works section */
.how-it-works {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-light);
}

.process-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.process-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    margin-bottom: 25px;
    position: relative;
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.process-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.process-card p {
    color: var(--text-secondary);
}

/* Case studies section */
.case-studies {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
    position: relative;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    transition: all 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--bg-light);
    padding: 25px;
}

.case-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.case-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.case-tag {
    display: inline-block;
    background-color: rgba(74, 108, 247, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
    position: relative;
    margin-bottom: 0;
}

.footer-logo {
    font-size: 1.6rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer p {
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icon img {
    width: 16px;
    height: 16px;
}

.footer-subscribe .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    border-radius: 8px 0 0 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.footer-subscribe .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe .btn {
    border-radius: 0 8px 8px 0;
    background-color: var(--primary-color);
    border: none;
    padding: 10px 16px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: white;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 108, 247, 0.3);
    background-color: var(--primary-color);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    transition: all 0.3s;
    z-index: -1;
}

.btn-outline-light:hover {
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover::before {
    width: 100%;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* Play button */
.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(74, 108, 247, 0.5);
    transition: all 0.3s;
}

.video-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #3a56d4;
}

.video-play img {
    width: 20px;
    height: 20px;
}

/* Blog section */
.blog-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    background-color: white;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.blog-author {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.blog-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.blog-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.blog-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.blog-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .service-card, .process-card, .blog-card {
        margin-bottom: 30px;
    }
    
    .case-card {
        min-height: 400px;
    }
    
    .navbar-dark .navbar-nav .nav-link::after {
        left: 0;
        width: 0;
    }
    .navbar-dark .navbar-nav .nav-link:hover::after,
    .navbar-dark .navbar-nav .nav-link.active::after {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .client-logos {
        gap: 20px;
    }
    
    .client-logo img {
        max-width: 100px;
    }
    
    .case-card {
        min-height: 320px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(12, 22, 54, 0.9), rgba(12, 22, 54, 0.95)), url('/images/figma/video-bg.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    position: relative;
    text-align: center;
    margin-bottom: 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.animated-bg-shape {
    animation: floatShape 8s ease-in-out infinite alternate;
}
@keyframes floatShape {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(18px) scale(1.04); }
}
