/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Global Styles */
:root {
    --primary-color: #0F1A3D;
    --secondary-color: #00F5FF;
    --accent-color: #FF6D3A;
    --dark-color: #050A15;
    --light-color: #E8EDF2;
    --purple-accent: #7B2BFF;
    --gradient-blue: linear-gradient(135deg, #083ae0 0%, #7B2BFF 100%);
    --gradient-orange: linear-gradient(to right, #FF6D3A, #FF9A3F);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.text-gradient {
    background: var(--accent-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    color: var(--secondary-color);
}

.section-header p {
    color: #666;
    font-size: 18px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-blue);
    color: #fff;
    box-shadow: 0 5px 15px rgba(11, 26, 61, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-orange);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 109, 58, 0.3);
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: var(--secondary-color);
    animation: spin 1s linear infinite;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(15, 26, 61, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.logo-subtext {
    font-size: 12px;
    color: var(--secondary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 10px 15px;
    margin: 0 5px;
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
}

.navbar-nav .cta-button {
    background: var(--gradient-orange);
    border-radius: 50px;
    padding: 10px 20px;
    margin-left: 15px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 109, 58, 0.3);
}

.navbar-nav .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 109, 58, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-blue);
    color: #fff;
    padding: 150px 0 100px;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.tech-orb {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    background: radial-gradient(circle at center, rgba(0, 245, 255, 0.2) 0%, rgba(123, 43, 255, 0) 70%);
    border-radius: 50%;
    position: relative;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: #fff;
    font-size: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: #f9f9f9;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 30px 15px;
}

.stat-item .counter {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-orange);
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(255, 109, 58, 0.3);
}

.experience-badge span {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge p {
    font-size: 14px;
    margin-bottom: 0;
    text-align: center;
}

.about-content {
    padding-left: 30px;
}

.about-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    color: #666;
}

.mission-vision {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
}

.mv-item {
    flex: 0 0 calc(50% - 15px);
    margin-right: 10px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mv-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mv-item i {
    font-size: 30px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: inline-block;
}

.mv-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.mv-item p {
    font-size: 14px;
    margin-bottom: 0;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 18px;
}

.feature-item span {
    font-size: 16px;
    color: #444;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-card ul {
    margin-bottom: 25px;
}

.service-card ul li {
    margin-bottom: 8px;
    color: #666;
    font-size: 15px;
}

.service-card ul li i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
}

.read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Technology Section */
.tech-section {
    padding: 100px 0;
}

.tech-tabs .nav-pills {
    border-bottom: none;
}

.tech-tabs .nav-pills .nav-link {
    padding: 12px 25px;
    font-weight: 600;
    color: #666;
    border-radius: 50px;
    margin: 0 5px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.tech-tabs .nav-pills .nav-link.active,
.tech-tabs .nav-pills .nav-link:hover {
    background: var(--gradient-blue);
    color: #fff;
    border-color: transparent;
}

.tech-item {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tech-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.tech-item span {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.team-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background: rgba(15, 26, 61, 0.8);
    padding: 15px;
    transition: all 0.3s ease;
}

.team-card:hover .social-links {
    bottom: 0;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info p {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.skills span {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 50px;
    margin: 3px;
}

/* Clients Section */
.clients-section {
    padding: 100px 0;
}

.client-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.client-slider-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.client-slide {
    flex: 0 0 16.6666%;
    min-width: 16.6666%;
    padding: 15px;
    text-align: center;
}

.client-slide img {
    max-width: 100%;
    max-height: 40px;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.client-slide:hover img {
    opacity: 1;
    filter: grayscale(0);
}

.testimonials {
    margin-top: 60px;
}

.testimonials-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-nav {
    text-align: center;
    margin-top: 20px;
}

.testimonial-nav button {
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav button:hover {
    background: var(--gradient-orange);
}

.testimonial-content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    padding-top: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h5 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info span {
    font-size: 14px;
    color: #666;
}

@media (min-width: 992px) {
    .testimonial-card {
        flex: 0 0 50%;
        min-width: 50%;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 0 0;
    position: relative;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-text p, .contact-text a {
    color: #666;
    margin-bottom: 0;
}

.social-media h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-blue);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #eee;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 245, 255, 0.25);
}

textarea.form-control {
    height: auto;
    resize: none;
}

.map-container {
    margin-top: 60px;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background: var(--gradient-blue);
    color: #fff;
}

.newsletter-section h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-section p {
    opacity: 0.8;
    margin-bottom: 0;
}

.newsletter-form {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    width: 100%;
    height: 50px;
    border-radius: 50px;
    border: none;
    padding: 0 20px;
    font-size: 16px;
}

.newsletter-form button {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    padding: 0 30px;
    background: var(--gradient-orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 80px 0 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 28px;
    color: #fff;
}

.footer-logo .logo-subtext {
    font-size: 12px;
    color: var(--secondary-color);
}

.footer p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    color: #fff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #aaa;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 18px;
    line-height: 1.5;
}

.contact-info li span {
    color: #aaa;
    line-height: 1.5;
}

.copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
}

.copyright p {
    color: #aaa;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
}

.footer-links a {
    color: #aaa;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(11, 26, 61, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-orange);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 50px;
    }
    
    .client-slide {
        flex: 0 0 20%;
        min-width: 20%;
    }
}

@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-image {
        margin-top: 50px;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 50px;
    }
    
    .client-slide {
        flex: 0 0 25%;
        min-width: 25%;
    }
    
    .footer-links {
        justify-content: flex-start;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 32px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .stat-item .counter {
        font-size: 36px;
    }
    
    .mv-item {
        flex: 0 0 100%;
    }
    
    .client-slide {
        flex: 0 0 33.333%;
        min-width: 33.333%;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .navbar-nav .cta-button {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .client-slide {
        flex: 0 0 50%;
        min-width: 50%;
    }
    
    .newsletter-form button {
        position: relative;
        width: 100%;
        margin-top: 15px;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}