:root {
    --bg-color: #050508;
    --text-color: #e0e0e0;
    --accent-color: #0088ff;
    --accent-glow: rgba(0, 136, 255, 0.4);
    --secondary-accent: #00d2ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
    --card-hover-bg: rgba(255, 255, 255, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    background-image: radial-gradient(circle at 15% 50%, rgba(0, 136, 255, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.02), transparent 25%);
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
}

header.scrolled {
    padding: 15px 5%;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    text-shadow: 0 0 15px var(--accent-glow);
}

.logo span {
    color: #0088ff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #ccc;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--accent-glow);
}

nav a:hover::after {
    width: 100%;
}

/* AI Chatbot Button */
/* AI Chatbot Button */
.chatbot-trigger {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.chatbot-trigger:hover {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.chatbot-trigger .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    animation: pulse-animation 2s infinite;
    pointer-events: none;
    left: 0;
    top: 0;
    opacity: 0;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--accent-color), #00a8a3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: #8892b0;
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-block;
    padding: 14px 35px;
    background: rgba(0, 242, 234, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--accent-glow);
}

.hero-cta:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

/* Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    height: 380px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.slide[style*="background-image"]::before {
    opacity: 1;
}

.slide>* {
    position: relative;
    z-index: 1;
}

.slide[style*="background-image"] h2,
.slide[style*="background-image"] p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.slide h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.slide p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Robot Traveler Animation */
.robot-traveler {
    position: absolute;
    width: 70px;
    height: 70px;
    z-index: 10;
    pointer-events: none;
    animation: travelPath 25s linear infinite;
}

.robot-traveler img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--accent-glow));
    animation: hoverFloat 3s ease-in-out infinite;
}

.rocket-trail {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 40px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 80%);
    filter: blur(4px);
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: trailPulse 0.4s ease-in-out infinite alternate;
}

@keyframes travelPath {
    0% {
        top: 5%;
        left: 5%;
        transform: rotate(90deg);
    }

    24% {
        top: 5%;
        left: 85%;
        transform: rotate(90deg);
    }

    /* Move right */
    25% {
        transform: rotate(180deg);
    }

    /* Turn down */
    49% {
        top: 75%;
        left: 85%;
        transform: rotate(180deg);
    }

    /* Move down */
    50% {
        transform: rotate(270deg);
    }

    /* Turn left */
    74% {
        top: 75%;
        left: 5%;
        transform: rotate(270deg);
    }

    /* Move left */
    75% {
        transform: rotate(360deg);
    }

    /* Turn up */
    99% {
        top: 5%;
        left: 5%;
        transform: rotate(360deg);
    }

    /* Move up */
    100% {
        top: 5%;
        left: 5%;
        transform: rotate(450deg);
    }
}

@keyframes hoverFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes trailPulse {
    from {
        height: 30px;
        opacity: 0.5;
        transform: translateX(-50%) scaleX(0.8);
    }

    to {
        height: 50px;
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2);
    }
}

/* Services Section */
#services {
    padding: 120px 5%;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 50px 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-15px);
    background: var(--card-hover-bg);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 1px solid var(--glass-border);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: #aaa;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Section */
#contact {
    padding: 100px 5% 40px;
    /* Top 100px, Sides 5%, Bottom 40px */
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 2;
    min-height: 60vh;
    /* Reduced from 80vh */
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1000px;
    /* Reduced max-width */
    margin: 0 auto;
    width: 100%;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* Reduced from 50px */
    align-items: center;
}

.section-header-left {
    text-align: left;
    margin-bottom: 5px;
    /* Reduced from 20px */
}

.section-header-left h2 {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    margin-bottom: 5px;
}

.section-header-left p {
    color: #888;
    font-size: 0.9rem;
}

.contact-form {
    background: rgba(10, 10, 15, 0.6);
    padding: 25px;
    /* Reduced from 30px */
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-right h1 {
    font-size: 3.5rem;
    /* Reduced from 4rem */
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    transition: all 0.5s ease;
    cursor: default;
    margin-bottom: 0;
}

.contact-right h1 span {
    color: var(--accent-color);
}

.contact-right h1:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(10px);
    text-shadow: 0 0 20px var(--accent-glow);
}

.form-group {
    margin-bottom: 10px;
    /* Reduced from 15px */
}

.form-group label {
    display: block;
    margin-bottom: 3px;
    /* Reduced from 5px */
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    /* Reduced from 12px 15px */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

textarea {
    height: 80px;
    /* Force height reduction */
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 242, 234, 0.1);
}

option {
    background: #050508;
    color: #fff;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    /* Reduced from 14px */
    background: var(--accent-color);
    color: #0b0b12;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 5px;
    text-transform: uppercase;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--accent-glow);
    background: var(--accent-color);
    filter: brightness(1.1);
}

/* Philosophy Section */
#philosophy {
    padding: 100px 5%;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-color) 0%, #0d0d1a 100%);
    position: relative;
    z-index: 2;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

#philosophy h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

#philosophy h2 .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

#philosophy p {
    font-size: 1.3rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 60px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0 !important;
}

/* Testimonials Section */
#testimonials {
    padding: 100px 5%;
    position: relative;
    z-index: 2;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--secondary-accent);
    position: absolute;
    top: 20px;
    left: 20px;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e0e0e0;
    position: relative;
    z-index: 1;
}

.testimonial-card h4 {
    color: var(--accent-color);
    font-size: 1rem;
    text-align: right;
}

/* Footer (Global Standard) */
footer {
    padding: 80px 5% 30px;
    background: #020205;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-column p {
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-column p i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 80px;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 8, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    nav a {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        gap: 40px;
    }

    #philosophy h2 {
        font-size: 2.5rem;
    }
}


/* Scroll Buttons */
.scroll-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-btn:hover {
    background: var(--accent-color);
    color: #000;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 20px var(--accent-glow);
}

@media (max-width: 768px) {
    .scroll-buttons {
        right: 20px;
        bottom: 20px;
    }

    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-accent));
    z-index: 2005;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--accent-glow);
}