﻿/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Londrina+Shadow&family=Alegreya+Sans+SC&family=Chango&family=Caladea&family=Rubik+Moonrocks&family=Bungee+Inline&family=Alegreya+Sans+SC&family=Rammetto+One&family=Michroma&family=Nosifer&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Londrina+Shadow&family=Alegreya+Sans+SC&family=Chango&family=Caladea&family=Rubik+Moonrocks&family=Bungee+Inline&family=Alegreya+Sans+SC&family=Rammetto+One&family=Michroma&family=Nosifer&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap');

body {
    font-family: "Open Sans", sans-serif;
    background: #2e1a5c;
}

a {
    color: #000000;
    text-decoration: none;
}

    a:hover {
        color: #5faee3;
        text-decoration: none;
    }

h1,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

h2,
h3 {
    font-family: "Playfair Display", serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
/* Back to Top Button */
/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    left: 20px;
    /* On the left side */
    bottom: 20px;
    z-index: 996;
    width: 50px;
    height: 50px;
    background: #00ffcc;
    /* Neon cyan from theme */
    border: 2px solid #1a0b3d;
    /* Dark purple border */
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    /* Minimal shadow */
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatPulse 3s infinite ease-in-out;
    /* Simple continuous animation */
}

    .back-to-top i {
        font-size: 24px;
        color: #1a0b3d;
        /* Dark purple */
        line-height: 0;
        transition: transform 0.4s ease;
    }

    .back-to-top:hover {
        background: #00e6b8;
        /* Darker neon cyan */
        transform: translateY(-5px);
        /* Quick lift */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
        /* Subtle shadow */
    }

        .back-to-top:hover i {
            transform: rotate(360deg) scale(1.2);
            color: #2e1a5c;
            /* Gradient purple */
        }

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

/* Animations */
@keyframes floatPulse {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
        /* Gentle float */
    }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        left: 15px;
        bottom: 15px;
    }

        .back-to-top i {
            font-size: 20px;
        }
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
    z-index: 997;
    transition: all 0.5s ease;
    padding: 16px 0;
    background: linear-gradient(135deg, rgb(168 54 45), rgb(199 73 46));
    width: 100%;
    margin: 0px auto 0;
}


    #header .logo h1 {
        font-size: 30px;
        margin: 0;
        padding: 0;
        line-height: 1;
        font-weight: 700;
        letter-spacing: 1px;
        color: #ffffff;
        /* White logo text */
    }

        #header .logo h1 a,
        #header .logo h1 a:hover {
            color: #ffffff;
            text-decoration: none;
        }

    #header .logo img {
        padding: 0;
        margin: 0;
        max-height: 50px;
    }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Header/Navbar Section */
.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

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

#header {
    background: rgb(29 13 66);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    padding: 15px 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-block;
}

.logo img {
    max-height: 50px;
    /* Adjust based on your logo size */
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
    transition: transform 0.3s ease;
}

    .logo img:hover {
        transform: scale(1.1);
    }

.logo h1 {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
}

    .logo h1 a {
        color: #00d4ff;
        text-decoration: none;
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
        transition: all 0.3s ease;
    }

        .logo h1 a:hover {
            text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
            transform: scale(1.05);
        }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nav-menu li {
        margin: 0 20px;
        /* Balanced spacing for desktop */
        position: relative;
    }

.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #ccd6f6;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    padding: 8px 12px;
    position: relative;
    display: block;
    transition: all 0.3s ease;
}

    .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: #00ffcc;
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.7);
        transition: width 0.3s ease, left 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::before {
        width: 100%;
        left: 0;
        transform: translateX(0);
    }

    .nav-link:hover,
    .nav-link.active {
        color: #00ffcc;
        text-shadow: 0 0 8px rgb(51 255 214 / 46%);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(0, 212, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav-link:hover::after {
        width: 40px;
        height: 40px;
    }

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1100;
}

    .mobile-nav-toggle:hover {
        color: #e0e1dd;
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
    }

/* Responsive Adjustments */
@media (max-width: 968px) {
    #header {
        padding: 10px 0;
    }

    .container {
        position: relative;
    }

    .logo {
        order: 1;
    }

    .navbar {
        order: 2;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 100vh;
        /* Ensures the container takes full height of the viewport */
        height: 100%;
        /* Let the height be 100% of the available space */
        background: rgba(13, 27, 42, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        /* Align items from the top */
        align-items: center;
        padding: 70px 0 20px;
        border-top: 1px solid rgba(0, 212, 255, 0.3);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        opacity: 0;
        overflow-y: auto;
        /* Makes the content scrollable vertically */
        overflow-x: hidden;
        /* Prevents horizontal scrolling */
        transform: translateY(-100%);
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

        .nav-menu.active {
            display: flex;
            opacity: 1;
            transform: translateY(0);
        }

        .nav-menu li {
            margin: 25px 0;
        }

    .nav-link {
        font-size: 20px;
        padding: 15px 30px;
        color: #e0e1dd;
    }

        .nav-link:hover,
        .nav-link.active {
            color: #00ffcc;
            transform: none;
        }

        .nav-link::before {
            bottom: 5px;
        }

        .nav-link::after {
            width: 0;
            height: 0;
        }

        .nav-link:hover::after {
            width: 60px;
            height: 60px;
        }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .logo img {
        max-height: 40px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .nav-menu {
        padding: 60px 0 20px;
    }

        .nav-menu li {
            margin: 20px 0;
        }

    .nav-link {
        font-size: 18px;
        padding: 12px 25px;
    }

    .mobile-nav-toggle {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        max-height: 35px;
    }

    .nav-link {
        font-size: 16px;
    }

    .mobile-nav-toggle {
        font-size: 22px;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

/* Hero Section */
.ai-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0b3d, #2e1a5c);
    padding: 0;
}

.ai-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#aiCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.7;
    background: transparent;
}

.ai-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: pulseWave 8s infinite ease-in-out;
}

.hero-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.ai-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    color: #f0f0ff;
    max-width: 650px;
    z-index: 3;
}

.ai-title {
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #00ffcc;
    text-shadow: 0 0 15px rgb(0 255 204 / 0%);
    margin-bottom: 20px;
    animation: neonFlicker 4s infinite alternate;
}

.ai-tagline {
    font-size: 28px;
    font-weight: 400;
    color: #b0b0ff;
    margin-bottom: 25px;
    animation: fadeSlide 2s ease-out;
}

.ai-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #d8d8ff;
    margin-bottom: 35px;
    animation: fadeSlide 2.5s ease-out;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
}

    .hero-buttons .btn {
        position: relative;
        border-radius: 50px;
        text-transform: uppercase;
        font-weight: 700;
        padding: 14px 40px;
        font-size: 16px;
        transition: all 0.4s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        z-index: 1;
    }

.btn-icon {
    margin-right: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ai-btn-primary {
    background: #00ffcc;
    color: #1a0b3d;
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.4);
}

    .ai-btn-primary::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        z-index: -1;
    }

    .ai-btn-primary:hover::before {
        width: 300px;
        height: 300px;
    }

    .ai-btn-primary:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 255, 204, 0.7);
    }

        .ai-btn-primary:hover .btn-icon {
            transform: rotate(360deg);
        }

.ai-btn-secondary {
    background: transparent;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    position: relative;
}

    .ai-btn-secondary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(0, 255, 204, 0.3), transparent);
        transition: all 0.6s ease;
        z-index: -1;
    }

    .ai-btn-secondary:hover::before {
        left: 100%;
    }

    .ai-btn-secondary:hover {
        color: #1a0b3d;
        background: #00ffcc;
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 255, 204, 0.6);
    }

        .ai-btn-secondary:hover .btn-icon {
            transform: scale(1.2) translateX(5px);
        }

/* Hero Visual (Network) */
.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.ai-network {
    width: 100%;
    height: 100%;
    position: relative;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.05) 0%, transparent 70%);
}

.network-node {
    position: absolute;
    background: #00ffcc;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.node-main {
    width: 65px;
    height: 65px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: rotatePulse 6s infinite ease-in-out;
    /* New animation */
}

.node-secondary {
    width: 40px;
    height: 40px;
    animation: orbitSecondary 8s infinite ease-in-out;
}

.node-tertiary {
    width: 30px;
    height: 30px;
    animation: orbitTertiary 6s infinite ease-in-out;
}

.network-line {
    position: absolute;
    background: linear-gradient(to right, rgba(0, 255, 204, 0.5), rgba(0, 255, 204, 0.2));
    height: 2px;
    transform-origin: center;
    z-index: 1;
}

.line-1 {
    width: 155px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.line-2 {
    width: 135px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
}

.line-3 {
    width: 115px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
}

.line-4 {
    width: 125px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-120deg);
}

.network-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 255, 204, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: networkPulse 4s infinite ease-in-out;
    z-index: 0;
}

.ai-network:hover .network-node {
    box-shadow: 0 0 20px rgba(0, 255, 204, 1);
}

.ai-network:hover .node-secondary,
.ai-network:hover .node-tertiary {
    transform: scale(1.1);
}


@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseWave {

    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

@keyframes orbitSecondary {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

@keyframes orbitTertiary {

    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-35px, 35px);
    }
}

@keyframes networkPulse {

    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

@keyframes rotatePulse {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(-50%, -50%) rotate(90deg) scale(1.2);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1);
    }

    75% {
        transform: translate(-50%, -50%) rotate(270deg) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

/* Responsive Adjustments for Hero */
@media (max-width: 1024px) {
    #hero {
        height: 100%;
        min-height: 100vh;
    }

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

    .hero-content {
        margin-top: 200px;
    }

    .hero-buttons .btn {
        font-weight: 700;
        padding: 16px 80px;
        font-size: 19px;
    }

    .ai-hero .container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .ai-title {
        font-size: 90px;
    }

    .ai-tagline {
        font-size: 28px;
    }

    .ai-desc {
        font-size: 19px;
    }

    .hero-visual {
        width: 450px;
        height: 450px;
        margin-top: 40px;
    }

    .node-main {
        width: 85px;
        height: 80px;
    }

    .node-secondary {
        width: 60px;
        height: 60px;
    }

    .node-tertiary {
        width: 45px;
        height: 45px;
    }

    .line-1 {
        width: 160px;
    }

    .line-2 {
        width: 160px;
    }

    .line-3 {
        width: 130px;
    }

    .line-4 {
        width: 130px;
    }

    .network-glow {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 786px) {
    .hero-content {
        margin-top: 150px;
    }

    .hero-visual {
        margin-top: 30px;
    }

    .hero-buttons .btn {
        padding: 10px 35px;
        font-size: 14px;
        margin: 0px 20px;
    }
}

@media (max-width: 576px) {

    #hero {
        height: 100%;
        min-height: 100vh;
        align-content: center;
    }

    .hero-content {
        margin-top: 140px;
    }

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

    .ai-tagline {
        font-size: 18px;
    }

    .ai-desc {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

        .hero-buttons .btn {
            padding: 11px 35px;
            font-size: 14px;
        }

    .btn-icon {
        font-size: 15px;
    }

    .hero-visual {
        width: 250px;
        height: 250px;
    }

    .node-main {
        width: 40px;
        height: 40px;
    }

    .node-secondary {
        width: 25px;
        height: 25px;
    }

    .node-tertiary {
        width: 15px;
        height: 15px;
    }

    .line-1 {
        width: 100px;
    }

    .line-2 {
        width: 80px;
    }

    .line-3 {
        width: 70px;
    }

    .line-4 {
        width: 80px;
    }

    .network-glow {
        width: 120px;
        height: 120px;
    }
}

/* ------------------------------------ */
/* Overview Section */
/* ------------------------------------ */
.overview-section {
    background: linear-gradient(135deg, #1f0f47 0%, #2e1a5c 100%);
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 18px;
    color: #d0d0ff;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.overview-card {
    background: rgba(40, 20, 80, 0.9);
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 204, 0.1);
}

    .overview-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 255, 204, 0.2);
    }

    .overview-card i {
        font-size: 32px;
        color: #00ffcc;
        margin-bottom: 15px;
        transition: transform 0.3s ease;
    }

    .overview-card:hover i {
        transform: scale(1.1);
    }

    .overview-card h3 {
        font-size: 20px;
        /* Cleaner size */
        font-weight: 600;
        color: #f5f5ff;
        margin-bottom: 10px;
    }

    .overview-card p {
        font-size: 14px;
        color: #e0e0ff;
        line-height: 1.4;
    }

/* Overview Responsive Styles */
@media (max-width: 968px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .overview-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .overview-section {
        padding: 40px 0;
    }

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

    .section-desc {
        font-size: 16px;
    }

    .overview-card i {
        font-size: 28px;
    }

    .overview-card h3 {
        font-size: 18px;
    }

    .overview-card p {
        font-size: 13px;
    }
}

/* ------------------------------------ */
/* About Section */
/* ------------------------------------ */
.about-section {
    background: #1a0b3d;
    padding: 80px 0;
    overflow: hidden;
}

    .about-section .container {
        display: flex;
        align-items-center;
        gap: 50px;
    }

.about-content {
    max-width: 600px;
}

.about-text {
    font-size: 16px;
    color: #d8d8ff;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-visual {
    width: 300px;
    height: 300px;
    margin: auto;
    position: relative;
    /* overflow: hidden; */
}

.ai-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
}

.orbit-node {
    position: absolute;
    width: 25px;
    height: 25px;
    background: #00e6b8;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 230, 184, 0.9);
    animation: orbitMove linear infinite;
}

    .orbit-node:nth-child(1) {
        top: 10%;
        left: 50%;
        animation-duration: 6s;
    }

    .orbit-node:nth-child(2) {
        top: 40%;
        left: 80%;
        animation-duration: 8s;
    }

    .orbit-node:nth-child(3) {
        top: 40%;
        left: 20%;
        animation-duration: 5s;
    }

/* Animations */
@keyframes orbitMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(100px, -100px) scale(1.2);
    }

    50% {
        transform: translate(150px, 0) scale(1);
    }

    75% {
        transform: translate(100px, 100px) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* About Responsive Styles */
@media (max-width: 1034px) {

    .about-content {
        max-width: 500px;
    }
}

@media (max-width: 968px) {
    .about-section .container {
        flex-direction: column;
        text-align: center;
    }

    .about-visual {
        display: none;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 50px 0;
        /* Reduced padding for mobile */
    }

    .about-content {
        max-width: 100%;
    }

    .about-text {
        font-size: 14px;
    }
}

/* ------------------------------------ */
/* Services Section */
/* ------------------------------------ */

.services-section {
    background: #2e1a5c;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hex-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hex-item {
    position: relative;
    width: 300px;
    height: 260px;
    clip-path: polygon(25% 0%, 75% 0%, 99% 50%, 75% 100%, 25% 100%, 1% 50%);
    background: rgb(0 0 0 / 0%);
    border: 2px solid #00e6b8;
    box-shadow: 0 5px 15px rgba(0, 230, 184, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.hex-inner {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: linear-gradient(135deg, rgb(26 3 77 / 96%), rgba(26, 11, 61, 0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: #f0f0ff;
    /* Light text */
    box-shadow: inset 0 0 12px rgba(0, 230, 184, 0.4);
}

.hex-item:hover {
    transform: translateY(-10px) rotateX(10deg) rotateY(10deg);
    box-shadow: 0 15px 30px rgba(0, 230, 184, 0.6);
    border-color: #04ab89;
}

.hex-item i {
    font-size: 40px;
    color: #00e6b8;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.hex-item:hover i {
    transform: scale(1.2) rotate(15deg);
}

.hex-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #f0f0ff;
    margin-bottom: 10px;
    text-align: center;
}

.hex-text {
    width: 100%;
    padding: 0 10px;
}

    .hex-text p {
        font-size: 14px;
        color: #d8d8ff;
        line-height: 1.4;
        margin: 0;
        padding: 2px;
        text-align: center;
        word-wrap: break-word;
    }

/* Services Responsive Styles */
@media (max-width: 968px) {
    .services-hex-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .hex-item {
        width: 330px;
        height: 290px;
        box-shadow: 0 5px 12px rgba(0, 230, 184, 0.3);
    }

        .hex-item:hover {
            box-shadow: 0 12px 25px rgba(0, 230, 184, 0.6);
        }
}

@media (max-width: 576px) {
    .services-section {
        padding: 50px 0;
    }

    .hex-item {
        width: 290px;
        height: 258px;
        box-shadow: 0 4px 10px rgba(0, 230, 184, 0.3);
        border: 2px solid #00e6b8;
    }

    .hex-inner {
        padding: 20px;
    }

    .hex-item:hover {
        box-shadow: 0 10px 20px rgba(0, 230, 184, 0.6);
    }

    .hex-item i {
        font-size: 35px;
    }

    .hex-item h3 {
        font-size: 20px;
    }

    .hex-text p {
        font-size: 13px;
    }
}

/* ------------------------------------ */
/* Quantum Portfolio Section */
/* ------------------------------------ */
.quantum-portfolio {
    background: linear-gradient(135deg, #1a0b3d 0%, #2e1a5c 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Contains portals */
}

.quantum-filters {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.quantum-btn {
    background: transparent;
    border: 2px solid #00e6b8;
    border-radius: 50px;
    padding: 12px 30px;
    color: #00e6b8;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

    .quantum-btn::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 140, 0, 0.3), transparent);
        opacity: 0;
        transition: opacity 0.4s ease, transform 0.6s ease;
        transform: rotate(0deg);
        z-index: 0;
    }

    .quantum-btn:hover,
    .quantum-btn.active {
        color: #ffffff;
        background: #07ac98;
        border-color: #07ab98;
        box-shadow: 0 0 20px rgb(7 171 151 / 9%);
    }

        .quantum-btn:hover::after,
        .quantum-btn.active::after {
            opacity: 1;
            transform: rotate(180deg);
            /* Sweeping effect */
        }

    .quantum-btn span {
        position: relative;
        z-index: 1;
        /* Text above effect */
    }

.quantum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portal-item {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .portal-item.hidden {
        display: none;
    }

.portal-ring {
    width: 100%;
    height: 100%;
    background: rgba(26, 11, 61, 0.9);
    border-radius: 50%;
    border: 3px solid #00e6b8;
    box-shadow: 0 0 15px rgba(0, 230, 184, 0.5), inset 0 0 10px rgba(0, 230, 184, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

    .portal-ring::before {
        content: '';
        position: absolute;
        width: 120%;
        height: 120%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: radial-gradient(circle, rgba(0, 230, 184, 0.2) 0%, transparent 70%);
        animation: quantumPulse 3s infinite ease-in-out;
        z-index: 0;
    }

.portal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: #f0f0ff;
    opacity: 0.7;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portal-item:hover .portal-ring {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 25px rgb(7 170 151);
    border-color: #07aa97;
}

.portal-item:hover .portal-content {
    opacity: 1;
}

.portal-content i {
    font-size: 40px;
    color: #00e6b8;
    margin-bottom: 15px;
    transition: transform 0.5s ease, color 0.5s ease;
}

.portal-item:hover .portal-content i {
    transform: rotate(360deg);
    color: #07aa97;
}

.portal-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.portal-content p {
    font-size: 14px;
    color: #d8d8ff;
    line-height: 1.5;
    text-align: center;
    padding: 0 15px;
    word-wrap: break-word;
}

/* Animations */
@keyframes quantumPulse {

    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.9;
    }
}

/* Quantum Portfolio Responsive Styles */
@media (max-width: 968px) {
    .quantum-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
    }

    .portal-item {
        width: 240px;
        height: 240px;
        /* Smaller size */
    }
}

@media (max-width: 576px) {
    .quantum-portfolio {
        padding: 50px 0;
    }

    .quantum-filters {
        flex-wrap: wrap;
        gap: 15px;
    }

    .quantum-btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .quantum-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .portal-item {
        width: 220px;
        height: 220px;
    }

    .portal-content {
        padding: 20px;
    }

        .portal-content i {
            font-size: 36px;
        }

        .portal-content h3 {
            font-size: 20px;
        }

        .portal-content p {
            font-size: 14px;
        }
}

/* ------------------------------------ */
/* Testimonials Section */
/* ------------------------------------ */
.testimonials-section {
    background: linear-gradient(135deg, #1a0b3d 0%, #2a1a5e 100%);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

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

.section-title {
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-desc {
    color: #d8d8ff;
    font-size: 18px;
    margin-bottom: 40px;
}

.testimonials-carousel {
    display: flex;
    gap: 30px;
    animation: slide 15s infinite linear;
    width: max-content;
}

.testimonial-card {
    background: rgba(26, 11, 61, 0.85);
    padding: 30px;
    border-radius: 15px;
    min-width: 350px;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 204, 0.2);
}

    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 255, 204, 0.4);
    }

.quote {
    font-size: 18px;
    color: #d8d8ff;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.5;
}

.author {
    font-size: 16px;
    color: #00ffcc;
    font-weight: 600;
}

/* Carousel Animation */
@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonials-carousel:hover {
    animation-play-state: paused;
}

/* Responsive Styles */
@media (max-width: 1034px) {
    .testimonial-card {
        max-width: 400px;
    }
}


@media (max-width: 968px) {
    .testimonial-card {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 50px 0;
    }

    .testimonial-card {
        padding: 20px;
        max-width: 280px;
    }

    .quote {
        font-size: 16px;
    }

    .author {
        font-size: 14px;
    }

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

    .section-desc {
        font-size: 16px;
    }
}


/* ------------------------------------ */
/* FAQ Section */
/* ------------------------------------ */
.faq-section {
    background: #2e1a5c;
    padding: 80px 0;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 20px;
    background: rgba(26, 11, 61, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgb(0 255 204 / 41%);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #f0f0ff;
    background: rgba(0, 255, 204, 0.1);
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

    .faq-question::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 20px;
        color: #00ffcc;
        transition: transform 0.3s ease;
    }

.faq-toggle:checked + .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px;
    font-size: 16px;
    color: #d8d8ff;
    line-height: 1.7;
}

.faq-question:hover {
    background: rgba(0, 255, 204, 0.2);
}

/* FAQ Responsive Styles */
@media (max-width: 968px) {
    .faq-list {
        max-width: 100%;
        padding: 0 20px;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 50px 0;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px 40px 15px 15px;
    }

        .faq-question::after {
            right: 14px;
        }

    .faq-answer p {
        font-size: 14px;
        padding: 15px;
    }

    .faq-toggle:checked + .faq-question + .faq-answer {
        max-height: 300px;
    }
}


/* ------------------------------------ */
/* Contact Section */
/* ------------------------------------ */
/* Contact Section */
.contact-section {
    background: #2e1a5c;
    padding: 80px 0;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #00ffcc;
    border-radius: 10px;
    background: rgba(26, 11, 61, 0.8);
    color: #f0f0ff;
    font-size: 16px;
    transition: all 0.3s ease;
    flex: 1;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
        border-color: #00e6b8;
    }

.contact-form textarea {
    resize: vertical;
}

/* Enhanced Button Styles */
.contact-form .ai-btn-primary {
    position: relative;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 14px 40px;
    font-size: 16px;
    background: #00ffcc;
    color: #1a0b3d;
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.4);
    overflow: hidden;
    transition: all 0.4s ease;
}

    .contact-form .ai-btn-primary .btn-icon {
        margin-right: 10px;
        font-size: 18px;
        transition: transform 0.4s ease;
    }

    .contact-form .ai-btn-primary::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        z-index: 0;
    }

    .contact-form .ai-btn-primary::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(0, 255, 204, 0.2), transparent);
        opacity: 0;
        transition: opacity 0.4s ease, transform 0.6s ease;
        transform: rotate(0deg);
        z-index: 0;
    }

    .contact-form .ai-btn-primary:hover::before {
        width: 300px;
        height: 300px;
    }

    .contact-form .ai-btn-primary:hover::after {
        opacity: 1;
        transform: rotate(180deg);
    }

    .contact-form .ai-btn-primary:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 255, 204, 0.7);
        background: #00e6b8;
    }

        .contact-form .ai-btn-primary:hover .btn-icon {
            transform: scale(1.2) rotate(20deg);
        }

    .contact-form .ai-btn-primary span,
    .contact-form .ai-btn-primary i {
        position: relative;
        z-index: 1;
    }

.status-message {
    display: none;
    font-size: 16px;
    font-weight: 500;
}

.contact-form.disabled .ai-btn-primary {
    opacity: 0.6;
    pointer-events: none;
}

/* Contact Responsive Styles */
@media (max-width: 968px) {
    .contact-form {
        max-width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 50px 0;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 14px;
    }

    .contact-form .ai-btn-primary {
        padding: 12px 35px;
        font-size: 14px;
    }

        .contact-form .ai-btn-primary .btn-icon {
            font-size: 16px;
        }

    .status-message {
        font-size: 14px;
    }
}

/* ------------------------------------ */
/* Footer Section */
/* ------------------------------------ */
.footer-section {
    background: #1a0b3d;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    text-align: left;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-brand p {
    color: #e0e0e0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-disclaimer {
    color: #d0d0d0;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-column a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: left;
}

.footer-links-column a:hover {
    color: var(--ai-primary);
    transform: translateX(5px);
}

.footer-contact {
    text-align: left;
}

.contact-info p {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--ai-primary);
    width: 16px;
}

.footer-social a {
    color: #00ffcc;
    font-size: 20px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

    .footer-social a:hover {
        transform: scale(1.2);
    }

.footer-copy {
    font-size: 14px;
    color: #b0b0ff;
}

/* Footer Responsive Styles */
@media (max-width: 968px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-brand p {
        font-size: 16px;
    }

    .footer-brand h3 {
        font-size: 27px;
    }

    .footer-links a {
        font-size: 17px;
        margin: 0 10px;
    }

    .footer-social a {
        font-size: 20px;
    }
}


/*--------------------------------------------------------------
# PAGES
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Page Header
--------------------------------------------------------------*/
.page-header {
    padding: 130px 0;
    background: linear-gradient(135deg, #1a0b3d, #2e1a5c);
    color: #f0f0ff;
    text-align: center;
    position: relative;
    overflow: hidden;
}


    .page-header h1 {
        font-size: 40px;
        font-weight: 900;
        margin-bottom: 15px;
        color: #00ffcc;
        letter-spacing: 3px;
        text-transform: uppercase;
        position: relative;
        z-index: 1;
        text-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
    }

    .page-header .tagline {
        font-family: 'Roboto', sans-serif;
        font-size: 24px;
        font-weight: 400;
        opacity: 0.9;
        margin: auto;
        margin-bottom: 20px;
        width: 80%;
        max-width: 750px;
        line-height: 1.7;
        color: #b0b0ff;
        position: relative;
        z-index: 1;
        animation: fadeSlide 2s ease-out;
    }

        .page-header .tagline span {
            font-weight: 700;
            color: #00ffcc;
            text-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
        }

    .page-header .icon {
        font-size: 48px;
        margin-top: 20px;
        color: #00ffcc;
        opacity: 0.8;
        transition: transform 0.3s ease, color 0.3s ease;
        animation: networkPulse 4s infinite ease-in-out;
        position: relative;
        z-index: 1;
    }

        .page-header .icon:hover {
            color: #00e6b8;
            transform: scale(1.1) rotate(15deg);
            text-shadow: 0 0 20px rgb(0 255 204 / 41%);
        }

.page-breadcrumb {
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

    .page-breadcrumb a {
        color: #d8d8ff;
        text-decoration: none;
        transition: all 0.3s ease;
        margin: 5px;
        position: relative;
    }

        .page-breadcrumb a:hover {
            color: #00ffcc;
            text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
        }


    .page-breadcrumb span {
        color: #b0b0ff;
        margin: 5px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0;
    }

        .page-header h1 {
            margin-top: 50px;
            font-size: 28px;
        }

        .page-header .tagline {
            font-size: 20px;
            width: 90%;
        }

        .page-header .icon {
            font-size: 36px;
        }

    .page-breadcrumb {
        font-size: 16px;
    }
}


/* ------------------------------------ */
/* Animations */
/* ------------------------------------ */

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseWave {

    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

@keyframes networkPulse {

    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

@keyframes neonFlicker {

    0%, 100% {
        text-shadow: 0 0 4px rgb(0 255 204 / 48%);
    }

    50% {
        text-shadow: 0 0 8px rgb(0 255 204 / 67%), 0 0 5px #00ffccad;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a0b3d, #2e1a5c);
    margin: 15% auto;
    padding: 0;
    border: 2px solid #00ffcc;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    padding: 20px 25px 10px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #00ffcc;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close {
    color: #b0b0ff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #00ffcc;
}

.modal-body {
    padding: 30px 25px;
    text-align: center;
}

.success-icon {
    font-size: 60px;
    color: #00ffcc;
    margin-bottom: 20px;
    animation: successPulse 2s infinite;
}

.modal-body p {
    color: #d8d8ff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    padding: 15px 25px 25px;
    text-align: center;
}

.modal-footer .btn {
    min-width: 120px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .success-icon {
        font-size: 50px;
    }
    
    .modal-body p {
        font-size: 14px;
    }
}

/* Blog Section Styles */
.blog-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.blog-section .section-title {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-section .section-desc {
    text-align: center;
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card:nth-child(1) .blog-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card:nth-child(2) .blog-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.blog-card:nth-child(3) .blog-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-overlay i {
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.blog-content p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.read-more:hover {
    color: var(--ai-secondary);
    transform: translateX(5px);
}

/* Article Section Styles */
.article-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-text {
    color: #ffffff;
    line-height: 1.8;
}

.article-text h2 {
    color: var(--ai-primary);
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.article-text h3 {
    color: var(--ai-secondary);
    font-size: 1.6rem;
    margin: 35px 0 20px 0;
    font-weight: 500;
}

.article-text h4 {
    color: var(--ai-primary);
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    font-weight: 500;
}

.article-text p {
    margin-bottom: 20px;
    color: #e0e0e0;
}

.article-text ul, .article-text ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-text li {
    margin-bottom: 10px;
    color: #e0e0e0;
}

.article-text strong {
    color: var(--ai-primary);
}

.article-navigation {
    margin-top: 50px;
    text-align: center;
}

/* Responsive Blog Styles */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .article-text h2 {
        font-size: 1.8rem;
    }
    
    .article-text h3 {
        font-size: 1.4rem;
    }
    
    .article-text h4 {
        font-size: 1.2rem;
    }
    
    .article-image img {
        height: 250px;
    }
}

/* Legal Pages Styles */
.privacy-section,
.terms-section,
.impressum-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.privacy-content,
.terms-content,
.impressum-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.privacy-content h2,
.terms-content h2,
.impressum-content h2 {
    color: #e0e0e0;
    font-size: 1.8rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.privacy-content h3,
.terms-content h3,
.impressum-content h3 {
    color: #e0e0e0;
    font-size: 1.4rem;
    margin: 25px 0 10px 0;
    font-weight: 500;
}

.privacy-content p,
.terms-content p,
.impressum-content p {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 15px;
}

.privacy-content ul,
.terms-content ul,
.impressum-content ul {
    color: #e0e0e0;
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-content li,
.terms-content li,
.impressum-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #e0e0e0;
}

.privacy-content strong,
.terms-content strong,
.impressum-content strong {
    color: #ffffff;
    font-weight: 600;
}

.privacy-navigation,
.terms-navigation,
.impressum-navigation {
    margin-top: 40px;
    text-align: center;
}

/* Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-top: 2px solid var(--ai-primary);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text strong {
    color: #ffffff;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--ai-primary);
    color: #ffffff;
}

.cookie-btn.accept:hover {
    background: var(--ai-secondary);
    transform: translateY(-2px);
}

.cookie-btn.decline {
    background: transparent;
    color: #b0b0b0;
    border: 1px solid #b0b0b0;
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .privacy-content,
    .terms-content,
    .impressum-content {
        padding: 25px;
    }
    
    .privacy-content h2,
    .terms-content h2,
    .impressum-content h2 {
        font-size: 1.5rem;
    }
    
    .privacy-content h3,
    .terms-content h3,
    .impressum-content h3 {
        font-size: 1.2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}
