/* Base Styles from Theme */
:root {
    --primary-color: #0066cc;
    --secondary-color: #ff6600;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --text-color: #444;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --gray: #e9ecef;
    --dark-gray: #6c757d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-demo:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

.btn-large {
    padding: 15px 35px;
    font-size: 16px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    text-align: center;
    padding-bottom: 15px;
}

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

.section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-light);
}

/* Top Bar */
.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotline i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.social-icons a {
    color: var(--white);
    margin-left: 15px;
    font-size: 16px;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

/* Main Navigation */
.main-nav {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-links {
    display: flex;
}

.nav-links li {
    position: relative;
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.nav-links a i {
    margin-left: 5px;
    font-size: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    width: 220px;
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    color: var(--text-color);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--gray);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #0066cc 0%, #004080 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../t4.ftcdn.net/jpg/09/00/65/37/360_F_900653724_MPXCtoE2xAi5ME5BRQrriIIKTv0X9dkV.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.service-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-hero .breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.service-hero .breadcrumb span {
    color: #fff;
    font-weight: 600;
}

.service-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.service-hero .hero-text {
    flex: 1;
    max-width: 600px;
}

.service-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-hero h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-hero .hero-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.service-hero .hero-image {
    flex: 1;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-hero .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    transform: translateZ(20px);
}

.service-hero .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.3) 0%, rgba(255, 102, 0, 0.2) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-hero .hero-image:hover::before {
    opacity: 1;
}

.service-hero .hero-image:hover img {
    transform: scale(1.05) translateZ(20px);
}

.btn-demo {
    background: #ff6600;
    border-color: #ff6600;
    position: relative;
    overflow: hidden;
}

.btn-demo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-demo:hover::after {
    left: 100%;
}

.btn-brochure {
    background: transparent;
    border-color: #fff;
    color: #fff;
    position: relative;
}

.btn-brochure:hover {
    background: #fff;
    color: #0066cc;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Service Introduction Section */
.service-intro {
    padding: 80px 0;
    background: #fff;
}

.service-intro .intro-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.service-intro .intro-text {
    flex: 1;
}

.service-intro .intro-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-intro .intro-text p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.service-intro .intro-video {
    flex: 1;
    max-width: 500px;
}

.service-intro .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.service-intro .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.feature-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #0066cc;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Core Services Section */
.core-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: transparent;
    color: #333;
}

.service-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.service-header i {
    transition: transform 0.3s ease;
    color: #777;
}

.service-card.active .service-header i {
    transform: rotate(180deg);
}

.service-content {
    /* max-height: 0; */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.service-card.active .service-content {
    max-height: 500px;
}

.service-content ul {
    padding: 0 20px 20px;
    margin: 0;
}

.service-content li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.service-content li:last-child {
    border-bottom: none;
}

.service-content li:hover::before {
    content: "→";
    position: absolute;
    left: -15px;
    color: #0066cc;
}

/* Key Advantages Section */
.key-advantages {
    padding: 80px 0;
    background: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.advantage-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #0066cc;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background: #0066cc;
    color: #fff;
    transform: rotateY(180deg);
}

.advantage-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.advantage-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* Technology Stack */
.tech-stack {
    padding: 80px 0;
    background: var(--white);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.tech-item {
    background: var(--white);
    border-radius: 8px;
    padding: 15px 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 30px;
    height: 30px;
}

.tech-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 16px;
}


/* Process Section */
.process-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: #0066cc;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #0066cc;
    margin-bottom: 10px;
}

.step-content p {
    color: #555;
    margin: 0;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066cc 0%, #004080 100%);
    color: #fff;
}

.contact-cta .cta-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-cta .cta-text {
    flex: 1;
}

.contact-cta .cta-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-cta .cta-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0.9;
}

.cta-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ff6600;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.contact-cta .cta-form {
    flex: 1;
    max-width: 500px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-cta .cta-form h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact-item i {
    margin-right: 10px;
    color: var(--secondary-color);
}

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

.footer-links a {
    color: var(--gray);
    transition: var(--transition);
}

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

.footer-newsletter h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
}

.footer-newsletter button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: var(--secondary-color);
}

.footer-certificates {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-certificates img {
    border-radius: 5px;
    transition: var(--transition);
}

.footer-certificates img:hover {
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--gray);
}

.footer-bottom a {
    color: var(--gray);
    margin: 0 10px;
    font-size: 18px;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* Fixed side bar for Social Media */
.fixedsocial-icons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.social-icon:hover::before {
    transform: translateX(100%);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Individual icon colors */
.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.youtube {
    background-color: #ff0000;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-hero .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .service-hero .hero-btns {
        justify-content: center;
    }

    .service-intro .intro-content {
        flex-direction: column;
    }

    .contact-cta .cta-content {
        flex-direction: column;
    }

    .contact-cta .cta-form {
        max-width: 100%;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
        z-index: 999;
    }

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

    .nav-links li {
        margin: 15px 0;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 0;
        margin-top: 10px;
    }

    .dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .service-hero h1 {
        font-size: 36px;
    }

    .service-hero h2 {
        font-size: 20px;
    }

    .service-hero .hero-btns {
        flex-direction: column;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        text-align: left;
    }

    .tech-stack-logos {
        gap: 15px;
    }

    .tech-logo {
        width: 80px;
        height: 60px;
    }

    .process-step {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .service-hero {
        padding: 80px 0 60px;
    }

    .service-hero h1 {
        font-size: 30px;
    }

    .service-intro .intro-text h2 {
        font-size: 26px;
    }

    .contact-cta .cta-text h2 {
        font-size: 28px;
    }
}

/* Hide social media buttons on mobile devices */
@media (max-width: 768px) {
    .fixedsocial-icons {
        right: -60px;
        transition: right 0.3s ease;
    }

    .fixedsocial-icons:hover {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.tech-item {
    text-align: center;
}

.tech-item i {
    font-size: 4rem;
}

/* Loader styles */
.loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-text {
    display: inline-block;
}

.loading .btn-text {
    opacity: 0.7;
}