:root {
    /* Core Branding Colors */
    --primary: #84bcdd;
    --primary-dark: #2c7bac;
    --primary-light: #A3D4EE;
    --secondary: #00E5D4;
    --accent: #FFC107;
    --dark: #000000;
    --light: #FFFFFF;
    --bg-light: #f1f2f4;
    --bg-white: #ffffff;

    /* Text Colors */
    --text-dark: #212121;
    --text-main: #424242;
    --text-medium: #555555;
    --text-light: #757575;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-white: #ffffff;
    --heading-color: var(--text-white);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #84bcdd 0%, #6BA4C5 100%);
    --gradient-secondary: linear-gradient(90deg, #212121 0%, #424242 100%);
    --gradient-hero: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-cta: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-blue: linear-gradient(135deg, #3949ab, #5c6bc0);

    /* Layout & Spacing */
    --container-max-width: 1400px;
    --section-padding-large: 100px 0;
    --section-padding-medium: 80px 0;
    --section-padding-small: 50px 0;

    /* UI Elements */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-full: 50px;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* GENERATIVE AI SERVICE PAGE STYLES - UPDATED TO MATCH SECOND CSS */

/* ===== MODERN HERO SECTION ===== */
.generative-ai-hero {
    position: relative;
    background: url('/static/assets/hero.jpeg') center 40% / cover no-repeat;
    color: var(--text-white);
    overflow: hidden;
    padding: 5rem 0 0 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.generative-ai-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Dark overlay for better text readability */
.generative-ai-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.generative-ai-hero .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.generative-ai-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    animation: fadeInDown 0.8s ease-out;
}

.generative-ai-hero p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-white);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Animated Background Elements */
.hero-bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(38, 208, 206, 0.1));
    filter: blur(40px);
    animation: float 15s infinite ease-in-out;
}

.float-element.el-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.float-element.el-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

.float-element.el-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    animation-delay: 10s;
}

.float-element.el-4 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 15%;
    animation-delay: 7s;
}

/* Hero Content */
.hero-content {
    padding-top: 50px;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1.2rem 1.2rem;
    margin: 3rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-highlight {
    color: var(--text-white);
    position: relative;
    display: inline-block;
}

.vision {
    color: var(--text-white);
}

/* Stats Bar */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: fit-content;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #0c83b1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 200px;
}

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

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

.primary-btn {
    background: #5a92b2;
    color: white;
    border: none;
}

.primary-btn:hover {
    transform: translateY(-5px);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    transform: translateY(-5px);
}

/* Hero Visual/Image */
.hero-visual {
    position: relative;
    z-index: 3;
}

.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(38, 208, 206, 0.08), rgba(255, 107, 53, 0.08));
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: float-card 6s ease-in-out infinite;
    z-index: 5;
    text-align: center;
}

.floating-card i {
    font-size: 1.8rem;
    color: #84bcdd;
}

.floating-card span {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-25px) rotate(5deg) scale(1.05);
    }
}

/* ===== GENERATIVE AI SERVICES SECTION ===== */
.generative-ai-services {
    padding: 5rem 0;
    background: #f1f2f4;
}

.generative-ai-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.generative-ai-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a2980;
}

.gen-ai-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gen-ai-service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 5px solid #84bcdd;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.gen-ai-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #00D4AA, #2E5096);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gen-ai-service-card:hover::before {
    opacity: 1;
}

.gen-ai-service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.gen-ai-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #84bcdd, #2E5096);
    color: white;
    box-shadow: 0 10px 20px rgba(132, 188, 221, 0.2);
}

.gen-ai-service-card:nth-child(2) .gen-ai-icon {
    background: linear-gradient(135deg, #00D4AA, #2E5096);
}

.gen-ai-service-card:nth-child(3) .gen-ai-icon {
    background: linear-gradient(135deg, #1E3A5F, #4A76B8);
}

.gen-ai-service-card:nth-child(4) .gen-ai-icon {
    background: linear-gradient(135deg, #0A1929, #2E5096);
}

.gen-ai-service-card:nth-child(5) .gen-ai-icon {
    background: linear-gradient(135deg, #406e8e, #5dade2);
}

.gen-ai-service-card:nth-child(6) .gen-ai-icon {
    background: linear-gradient(135deg, #23395d, #406e8e);
}

.gen-ai-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a2980;
}

.gen-ai-service-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #eee;
}

.service-features span {
    background: #eef7ff;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #1a2980;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.service-features i {
    font-size: 0.8rem;
}

/* ===== GENERATIVE AI FEATURES SECTION ===== */
.generative-ai-features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.generative-ai-features .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.generative-ai-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a2980;
}

.gen-ai-features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gen-ai-features-list {
    list-style: none;
    padding: 0;
}

.gen-ai-features-list li {
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.gen-ai-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #84bcdd;
    font-weight: bold;
    font-size: 20px;
}

.gen-ai-features-image {
    text-align: center;
}

.gen-ai-features-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 212, 170, 0.2);
}

/* ===== GENERATIVE AI BENEFITS SECTION ===== */
.generative-ai-benefits {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.generative-ai-benefits .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.generative-ai-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a2980;
}

.gen-ai-benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.gen-ai-benefit-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #f1f5f9;
}

.gen-ai-benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #84bcdd;
}

.gen-ai-benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2E5096;
}

.gen-ai-benefit-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a2980;
}

.gen-ai-benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* ===== GENERATIVE AI CTA SECTION ===== */
.generative-ai-cta {
    text-align: center;
    padding: 6rem 1rem;
    background: linear-gradient(110deg, #2c7bac96 20%, #84bcdd 100%);
    color: white;
}

.generative-ai-cta .container {
    max-width: 800px;
    margin: 0 auto;
}

.gen-ai-cta h2 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.gen-ai-cta p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gen-ai-cta-btn {
    padding: 1.5rem 4rem;
    background: #123e58;
    color: white;
    border: 2px solid #84bcdd;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.gen-ai-cta-btn:hover {
    background: #84bcdd;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

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

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

/* Container for all sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Responsive Design */


/* CTA Section */
.generative-ai-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    text-align: center;
}

.generative-ai-cta h2 {
    color: #ffffff;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
}

.generative-ai-cta p {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #84bcdd;
    font-size: 16px;
    margin: 0 10px;
}

.cta-btn.primary {
    background: #84bcdd;
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    color: #84bcdd;
}

.cta-btn.primary:hover {
    background: transparent;
    color: #84bcdd;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.3);
}

.cta-btn.secondary:hover {
    background: #84bcdd;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.3);
}



/* Floating Cards Positioning */
.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    background: rgba(132, 188, 221, 0.15);
    border-color: rgba(132, 188, 221, 0.3);
}

.card-2 {
    top: 65%;
    left: 8%;
    animation-delay: 1s;
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.3);
}

.card-3 {
    top: 25%;
    right: 8%;
    animation-delay: 2s;
    background: rgba(46, 80, 150, 0.15);
    border-color: rgba(46, 80, 150, 0.3);
}

.card-4 {
    top: 70%;
    right: 5%;
    animation-delay: 3s;
    background: rgba(30, 58, 95, 0.15);
    border-color: rgba(30, 58, 95, 0.3);
}

.card-5 {
    top: 45%;
    left: 2%;
    animation-delay: 4s;
    background: rgba(74, 118, 184, 0.15);
    border-color: rgba(74, 118, 184, 0.3);
}

.card-6 {
    top: 50%;
    right: 2%;
    animation-delay: 5s;
    background: rgba(10, 25, 41, 0.15);
    border-color: rgba(10, 25, 41, 0.3);
}

/* Responsive adjustments for floating cards */


@media (max-width: 768px) {
    .generative-ai-hero {
        background: url('/static/assets/Snapchat-1933929992.jpeg') center 40% / cover no-repeat;
        overflow: hidden;
        padding: 5rem 0 0 0;
        min-height: 95vh;
        align-items: center;
    }

    .generative-ai-hero h1 {
        font-size: 2.5rem;
    }

    .generative-ai-hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-btn {
        min-width: 100%;
        padding: 1rem 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-image-placeholder {
        height: 300px;
    }

    .gen-ai-services-grid {
        grid-template-columns: 1fr;
    }

    .gen-ai-benefits-grid {
        flex-direction: column;
        align-items: center;
    }

    .gen-ai-cta h2 {
        font-size: 2rem;
    }

    .gen-ai-cta-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }

    .generative-ai-services,
    .generative-ai-features,
    .generative-ai-benefits {
        padding: 50px 0;
    }

    .floating-card {
        min-width: 90px;
        padding: 0.6rem 0.8rem;
    }

    .card-1 {
        top: 10%;
        left: 5%;
    }

    .card-2 {
        top: 75%;
        left: 5%;
    }

    .card-3 {
        top: 15%;
        right: 5%;
    }

    .card-4 {
        top: 80%;
        right: 5%;
    }

    .card-5 {
        top: 45%;
        left: 2%;
    }

    .card-6 {
        top: 55%;
        right: 2%;
    }

    .floating-card i {
        font-size: 1.3rem;
    }
}

@media (max-width: 1100px) {
    .generative-ai-hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .generative-ai-hero h1 {
        font-size: 3rem;
    }

    .hero-stats {
        margin: 2.5rem auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .gen-ai-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gen-ai-features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .floating-card {
        min-width: 110px;
        padding: 0.8rem 1rem;
    }

    .floating-card i {
        font-size: 1.5rem;
    }

    .floating-card span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .floating-card {
        min-width: 80px;
        padding: 0.5rem 0.7rem;
    }

    .card-1 {
        top: 5%;
        left: 3%;
    }

    .card-2 {
        top: 80%;
        left: 3%;
    }

    .card-3 {
        top: 10%;
        right: 3%;
    }

    .card-4 {
        top: 85%;
        right: 3%;
    }

    .card-5 {
        top: 40%;
        left: 1%;
    }

    .card-6 {
        top: 60%;
        right: 1%;
    }
}