/* ========================================
   Services Page - Section 1: Introduction
   PREMIUM WITH ELEGANT CONNECTION LINES
   ======================================== */

#services-intro {
    background: linear-gradient(180deg, var(--bg-light) 0%, rgb(245, 250, 255) 100%);
}

/* Main Heading Style */
#services-intro h2 {
    color: var(--primary-color);
    font-size: 48px;
    line-height: 1.3;
    font-weight: 700;
}

#services-intro h2 .shastra-thin {
    color: rgb(15, 23, 42);
    font-weight: 300;
}

/* Paragraph Style */
#services-intro p {
    color: rgb(50, 50, 50);
    font-size: 16px;
    line-height: 1.7;
}

#services-intro p .shastra-thin {
    color: var(--primary-color);
    font-weight: 600;
}

/* Philosophy Heading */
#services-intro h4 {
    color: rgb(15, 23, 42);
    font-size: 24px;
    font-weight: 600;
}

#services-intro h4 .shastra-thin {
    color: var(--primary-color);
    font-weight: 300;
}

/* Divider Line */
#services-intro .shastra-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
    width: 60px;
    opacity: 0.5;
}

/* Button Styling */
#services-intro .shastra-button {
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    transition: all 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

#services-intro .shastra-button:hover {
    background-color: var(--accent-color);
}

/* ========== PREMIUM HERO VISUAL ========== */
.shastra-hero-visual {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.shastra-floating-modules {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SVG Connection Lines */
.shastra-connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(var(--primary-color-rgb), 0.1));
}

.shastra-connection-line {
    stroke: url(#lineGradient);
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.6;
    animation: drawLine 3s ease-in-out infinite;
}

@keyframes drawLine {
    0% {
        stroke-dasharray: 0, 500;
        opacity: 0.3;
    }

    50% {
        stroke-dasharray: 250, 250;
        opacity: 0.8;
    }

    100% {
        stroke-dasharray: 500, 0;
        opacity: 0.3;
    }
}

.shastra-connection-line:nth-child(2) {
    animation-delay: 0.5s;
}

.shastra-connection-line:nth-child(3) {
    animation-delay: 1s;
}

.shastra-connection-line:nth-child(4) {
    animation-delay: 1.5s;
}

/* Central Hub - Premium */
.shastra-hub {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: rgb(255, 255, 255);
    box-shadow:
        0 0 30px rgba(var(--primary-color-rgb), 0.3),
        0 15px 50px rgba(var(--primary-color-rgb), 0.25),
        inset 0 2px 5px rgba(255, 255, 255, 0.2);
    z-index: 10;
    animation: pulseHubPremium 2.5s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulseHubPremium {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow:
            0 0 30px rgba(var(--primary-color-rgb), 0.3),
            0 15px 50px rgba(var(--primary-color-rgb), 0.25),
            inset 0 2px 5px rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow:
            0 0 40px rgba(var(--primary-color-rgb), 0.4),
            0 25px 70px rgba(var(--primary-color-rgb), 0.35),
            inset 0 2px 5px rgba(255, 255, 255, 0.3);
    }
}

/* Floating Modules - Premium Style */
.shastra-module {
    position: absolute;
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(var(--primary-color-rgb), 0.12);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 8px 25px rgba(var(--primary-color-rgb), 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index: 5;
    text-decoration: none;
}

.shastra-module i {
    font-size: 36px;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shastra-module span {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
}

/* Module Positions - Circle Layout */
.shastra-module-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: floatModule1 5s ease-in-out infinite;
}

.shastra-module-2 {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: floatModule2 5s ease-in-out infinite;
    animation-delay: 1.25s;
}

.shastra-module-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: floatModule3 5s ease-in-out infinite;
    animation-delay: 2.5s;
}

.shastra-module-4 {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: floatModule4 5s ease-in-out infinite;
    animation-delay: 3.75s;
}

/* Precise Hover Overrides (Fixing original jumpiness bug) */
.shastra-module:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(var(--accent-color-rgb), 0.25);
}

.shastra-module:hover i {
    color: var(--accent-color);
    transform: scale(1.2) rotate(15deg);
}

.shastra-module:hover span {
    color: var(--accent-color);
}

.shastra-module-1:hover {
    transform: translateX(-50%) translateY(-15px) scale(1.1) !important;
}

.shastra-module-2:hover {
    transform: translateY(-50%) translateX(15px) scale(1.1) !important;
}

.shastra-module-3:hover {
    transform: translateX(-50%) translateY(15px) scale(1.1) !important;
}

.shastra-module-4:hover {
    transform: translateY(-50%) translateX(-15px) scale(1.1) !important;
}

@keyframes floatModule1 {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-18px);
    }
}

@keyframes floatModule2 {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(18px);
    }
}

@keyframes floatModule3 {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(18px);
    }
}

@keyframes floatModule4 {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-18px);
    }
}

/* ========================================
   Section 2: Business Process Automation
   ======================================== */
#services-automation {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Service Tag */
.shastra-service-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    background: rgba(var(--accent-color-rgb), 0.1);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 25px;
    border: 1px solid rgba(var(--accent-color-rgb), 0.15);
}

/* Service Intro Title & Paragraph */
#services-automation h2 {
    color: var(--primary-color);
    font-size: 48px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.5px;
}

#services-automation h2 .shastra-thin {
    color: rgb(15, 23, 42);
    font-weight: 300;
}

.shastra-service-intro {
    color: #475569;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.shastra-service-intro .shastra-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Offer Heading */
.shastra-offer-heading {
    color: rgb(15, 23, 42);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 50px;
}

/* Automation Grid - Premium Redesign */
.shastra-automation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.shastra-automation-grid > *:nth-child(4),
.shastra-automation-grid > *:nth-child(5) {
    grid-column: span 1.5;
}

@media (min-width: 992px) {
    .shastra-automation-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
    }
    .shastra-automation-grid > *:nth-child(1),
    .shastra-automation-grid > *:nth-child(2),
    .shastra-automation-grid > *:nth-child(3) {
        grid-column: span 2;
    }
    .shastra-automation-grid > *:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .shastra-automation-grid > *:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

/* New Premium Card Style */
.shastra-automation-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--primary-color-rgb), 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
}

.shastra-automation-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.04), rgba(var(--accent-color-rgb), 0.04));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.shastra-automation-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--accent-color-rgb), 0.3);
    box-shadow: 0 25px 50px rgba(var(--primary-color-rgb), 0.08);
}

.shastra-automation-card:hover::before {
    opacity: 1;
}

.shastra-card-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.shastra-card-icon-wrapper i {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.shastra-automation-card:hover .shastra-card-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scale(1.1) rotate(5deg);
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(var(--accent-color-rgb), 0.3);
}

.shastra-automation-card:hover .shastra-card-icon-wrapper i {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

.shastra-automation-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: rgb(15, 23, 42);
    margin: 0 0 15px 0;
    transition: color 0.3s ease;
    letter-spacing: -0.3px;
}

.shastra-automation-card:hover h3 {
    color: var(--primary-color);
}

.shastra-automation-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* Premium Mini CTA */
.shastra-mini-cta-premium {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    border-radius: 24px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.5s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
}

.shastra-mini-cta-premium:hover {
    border-color: rgba(var(--accent-color-rgb), 0.3);
    box-shadow: 0 20px 50px rgba(var(--primary-color-rgb), 0.1);
    transform: translateY(-5px);
}

.shastra-cta-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: rgb(255, 255, 255);
    flex-shrink: 0;
    transition: all 0.5s ease;
    box-shadow: 0 10px 25px rgba(var(--primary-color-rgb), 0.25);
}

.shastra-mini-cta-premium:hover .shastra-cta-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(var(--accent-color-rgb), 0.4);
}

.shastra-cta-content-box {
    flex: 1;
}

.shastra-cta-tagline {
    color: rgb(15, 23, 42);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.shastra-cta-link-premium {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.shastra-cta-link-premium:hover {
    color: var(--accent-color);
    gap: 15px;
}

.shastra-cta-link-premium i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.shastra-cta-link-premium:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 991px) {
    #services-automation { padding: 80px 0; }
    #services-automation h2 { font-size: 38px; }
    .shastra-automation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .shastra-automation-grid > *:nth-child(4),
    .shastra-automation-grid > *:nth-child(5) {
        grid-column: span 1;
    }
    .shastra-automation-card { padding: 30px 20px; }
}
@media (max-width: 768px) {
    #services-automation { padding: 60px 0; }
    #services-automation h2 { font-size: 32px; }
    .shastra-service-intro { font-size: 16px; }
    .shastra-automation-grid { grid-template-columns: 1fr; }
    .shastra-mini-cta-premium {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

/* ========================================
   Section 3: AI & Data Intelligence (Light Theme + Responsive CSS Core)
   ======================================== */
.shastra-ai-premium-section {
    background: linear-gradient(180deg, rgb(246, 251, 255) 0%, var(--bg-light) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* ========== AI CORE CSS ANIMATION (SMOOTH & RESPONSIVE) ========== */
.shastra-ai-creative {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    perspective: 1000px;
}

.shastra-ai-core-wrapper {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: coreFloat 6s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes coreFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-20px); }
}

.shastra-ai-core {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateZ(0deg);
    animation: coreRotate 35s linear infinite;
}

@keyframes coreRotate {
    0% { transform: rotateX(60deg) rotateZ(0deg); }
    100% { transform: rotateX(60deg) rotateZ(360deg); }
}

.shastra-core-ring {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(var(--primary-color-rgb), 0.2);
    box-shadow: 
        0 2px 5px rgba(0,0,0,0.05), 
        inset 0 2px 5px rgba(0,0,0,0.05),
        0 0 30px rgba(var(--primary-color-rgb), 0.08), 
        inset 0 0 30px rgba(var(--primary-color-rgb), 0.08);
    transform-style: preserve-3d;
}

.shastra-ring-1 { 
    border: 3px solid rgba(var(--primary-color-rgb), 0.4);
    border-top-color: rgba(var(--primary-color-rgb), 0.7);
    border-bottom-color: rgba(var(--primary-color-rgb), 0.1);
    animation: ringPulse 3s ease-in-out infinite alternate; 
}
.shastra-ring-2 { 
    border: 2.5px solid rgba(var(--accent-color-rgb), 0.4); 
    border-right-color: rgba(var(--accent-color-rgb), 0.7);
    border-left-color: rgba(var(--accent-color-rgb), 0.1);
    transform: rotateX(70deg) rotateY(45deg); 
    width: 80%; height: 80%; top: 10%; left: 10%; 
}
.shastra-ring-3 { 
    border: 2px solid rgba(var(--primary-color-rgb), 0.3);
    border-bottom-color: rgba(var(--primary-color-rgb), 0.6);
    border-top-color: rgba(var(--primary-color-rgb), 0.1);
    transform: rotateX(-70deg) rotateY(45deg); 
    width: 60%; height: 60%; top: 20%; left: 20%; 
}

@keyframes ringPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.05); }
    100% { transform: scale(1.02); box-shadow: 0 0 40px rgba(var(--primary-color-rgb), 0.15); }
}

.shastra-core-center {
    position: absolute;
    top: 50%; left: 50%;
    width: 28%; height: 28%; /* Larger for volumetric 3D effect */
    transform: translate(-50%, -50%) rotateX(-90deg);
    
    /* 3D Volumetric Sphere styling */
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9) 0%, var(--primary-color) 40%, var(--accent-color) 80%, #0a2540 100%);
    border-radius: 50%;
    
    /* Layered 3D shadows and glowing effects */
    box-shadow: 
        inset -8px -8px 16px rgba(0, 0, 0, 0.4), /* Inner shadow */
        inset 8px 8px 16px rgba(255, 255, 255, 0.4), /* Inner highlight */
        0 15px 35px rgba(var(--primary-color-rgb), 0.4), /* Drop glow */
        0 0 50px rgba(var(--accent-color-rgb), 0.3); /* Ambient glow */
        
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(22px, 7vw, 36px);
    color: #ffffff;
    
    /* Pulsing orb effect */
    animation: coreBrainPulse 4s ease-in-out infinite alternate;
}

/* Floating 3D embedded icon */
.shastra-core-center i {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
    animation: brainFloat 3s ease-in-out infinite alternate;
}

@keyframes coreBrainPulse {
    0% {
        transform: translate(-50%, -50%) rotateX(-90deg) scale(0.96);
        box-shadow: 
            inset -8px -8px 16px rgba(0, 0, 0, 0.3),
            inset 8px 8px 16px rgba(255, 255, 255, 0.3),
            0 10px 25px rgba(var(--primary-color-rgb), 0.2),
            0 0 35px rgba(var(--accent-color-rgb), 0.2);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(-90deg) scale(1.04);
        box-shadow: 
            inset -12px -12px 20px rgba(0, 0, 0, 0.5),
            inset 12px 12px 20px rgba(255, 255, 255, 0.5),
            0 20px 45px rgba(var(--primary-color-rgb), 0.5),
            0 0 65px rgba(var(--accent-color-rgb), 0.4);
    }
}

@keyframes brainFloat {
    0% { transform: translateY(2px); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); }
    100% { transform: translateY(-2px); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5)); }
}

/* Orbiting Particle Wrappers */
.shastra-particle-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    transform-style: preserve-3d;
}

.shastra-pw-1 {
    animation: orbitRing1 4s linear infinite;
}
@keyframes orbitRing1 {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}

.shastra-pw-2 {
    width: 80%; height: 80%; top: 10%; left: 10%;
    animation: orbitRing2 6s linear infinite reverse;
}
@keyframes orbitRing2 {
    0% { transform: rotateX(70deg) rotateY(45deg) rotateZ(0deg); }
    100% { transform: rotateX(70deg) rotateY(45deg) rotateZ(360deg); }
}

.shastra-pw-3 {
    width: 60%; height: 60%; top: 20%; left: 20%;
    animation: orbitRing3 5s linear infinite;
}
@keyframes orbitRing3 {
    0% { transform: rotateX(-70deg) rotateY(45deg) rotateZ(0deg); }
    100% { transform: rotateX(-70deg) rotateY(45deg) rotateZ(360deg); }
}

.shastra-core-particle {
    position: absolute;
    width: 12px; height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
    top: -6px; left: calc(50% - 6px);
}

/* ========== CONTENT STYLES ========== */
.shastra-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(var(--primary-color-rgb), 0.06);
    border: 1px solid rgba(var(--primary-color-rgb), 0.12);
    border-radius: 100px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.shastra-ai-badge i {
    color: var(--accent-color);
}

/* Feature Cards (Light Theme Glassmorphism) */
.shastra-ai-feature-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgba(var(--primary-color-rgb), 0.05);
}
.shastra-ai-feature-card:hover {
    background: #ffffff;
    border-color: rgba(var(--primary-color-rgb), 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.1);
}
.shastra-ai-feature-icon {
    width: 45px; height: 45px;
    border-radius: 12px;
    background: rgba(var(--primary-color-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}
.shastra-ai-feature-card:hover .shastra-ai-feature-icon {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
}
.shastra-ai-feature-card span {
    color: rgb(51, 65, 85);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.shastra-ai-feature-card:hover span {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .shastra-ai-premium-section { padding: 80px 0; }
    .shastra-ai-core-wrapper { max-width: 280px; }
}
@media (max-width: 768px) {
    .shastra-ai-premium-section { padding: 60px 0; }
    .shastra-ai-creative { margin-bottom: 50px; }
    .shastra-ai-core-wrapper { max-width: 240px; }
    .shastra-ai-feature-card { padding: 16px; }
}


/* ========================================
   Section 4: Custom SaaS Development (Light Premium + CSS Dashboard)
   ======================================== */
.shastra-saas-premium-section {
    background: #ffffff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Ambient Glow */
.shastra-saas-premium-section::before {
    content: "";
    position: absolute;
    bottom: -200px; right: -200px; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

/* Left Content Styles */
.shastra-saas-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(var(--primary-color-rgb), 0.08);
    border: 1px solid rgba(var(--primary-color-rgb), 0.15);
    border-radius: 100px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.shastra-saas-badge i {
    color: var(--accent-color);
}

.shastra-saas-heading {
    color: var(--primary-color);
    font-size: 48px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.shastra-saas-gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.shastra-saas-intro {
    color: #475569;
    font-size: 18px;
    line-height: 1.8;
}

/* Premium Feature Cards (Light) */
.shastra-saas-feature-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
}
.shastra-saas-feature-card:hover {
    border-color: rgba(var(--primary-color-rgb), 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.08);
}
.shastra-saas-feature-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}
.shastra-saas-feature-card:hover .shastra-saas-feature-icon {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}
.shastra-saas-feature-card span {
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* ========== Dashboard Mockup (Light Pure CSS) ========== */
.shastra-saas-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    perspective: 1000px;
}
.shastra-saas-mockup-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 60%);
    filter: blur(40px);
}
.shastra-saas-window {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatDash 6s ease-in-out infinite alternate;
}
.shastra-saas-mockup-wrapper:hover .shastra-saas-window {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}
@keyframes floatDash {
    0% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    100% { transform: rotateY(-10deg) rotateX(5deg) translateY(-15px); }
}

.shastra-saas-window-header {
    background: rgba(241, 245, 249, 0.8);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.shastra-saas-dots {
    display: flex;
    gap: 6px;
}
.shastra-saas-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.shastra-saas-dots span:nth-child(1) { background: #ff5f56; }
.shastra-saas-dots span:nth-child(2) { background: #ffbd2e; }
.shastra-saas-dots span:nth-child(3) { background: #27c93f; }
.shastra-saas-title {
    flex: 1;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    padding-right: 40px;
}

.shastra-saas-window-body {
    display: flex;
    height: 300px;
}
.shastra-saas-sidebar {
    width: 60px;
    background: #f8fafc;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    gap: 15px;
}
.shastra-saas-nav {
    width: 24px; height: 24px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.05);
}
.shastra-saas-nav.active {
    background: var(--primary-color);
    box-shadow: 0 3px 10px rgba(var(--primary-color-rgb), 0.3);
}

.shastra-saas-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.shastra-saas-metrics {
    display: flex;
    gap: 15px;
}
.shastra-saas-metric-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.shastra-saas-mc-active {
    background: rgba(var(--primary-color-rgb), 0.05);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}
.shastra-saas-mc-title {
    width: 40%; height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin-bottom: 8px;
}
.shastra-saas-mc-val {
    width: 70%; height: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}
.shastra-saas-mc-active .shastra-saas-mc-title { background: rgba(var(--primary-color-rgb), 0.3); }
.shastra-saas-mc-active .shastra-saas-mc-val { background: var(--primary-color); }

.shastra-saas-chart {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.shastra-saas-chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.shastra-saas-chart-title {
    width: 30%; height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.shastra-saas-chart-tabs span {
    display: inline-block;
    width: 20px; height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    margin-left: 5px;
}
.shastra-saas-chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.shastra-saas-bar {
    flex: 1;
    background: rgba(var(--primary-color-rgb), 0.15);
    border-radius: 4px 4px 0 0;
    animation: barGrow 1.5s ease-out forwards;
    transform-origin: bottom;
}
.shastra-saas-bar-active {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.3);
}
@keyframes barGrow {
    0% { transform: scaleY(0.1); opacity: 0; }
    100% { transform: scaleY(1); opacity: 1; }
}

/* Floating overlay panel */
.shastra-saas-floating-panel {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(15px);
    animation: panelFloat 4s ease-in-out infinite alternate 1s;
}
@keyframes panelFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}
.shastra-saas-fp-icon {
    width: 35px; height: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.2);
}
.shastra-saas-fp-text h4 {
    color: #1e293b;
    font-size: 13px;
    margin: 0 0 4px;
    font-weight: 600;
}
.shastra-saas-fp-text p {
    color: #64748b;
    font-size: 11px;
    margin: 0;
}

/* CTA */
.shastra-saas-cta-full {
    background: #ffffff;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    border-radius: 24px;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}
.shastra-saas-cta-full:hover {
    border-color: rgba(var(--primary-color-rgb), 0.3);
    box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.1);
    transform: translateY(-3px);
}
.shastra-saas-cta-bg-anim {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}
.shastra-saas-cta-full:hover .shastra-saas-cta-bg-anim {
    opacity: 1;
    animation: rotateGradient 6s linear infinite;
}
.shastra-saas-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 30px;
}
.shastra-saas-cta-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(var(--primary-color-rgb), 0.3);
}
.shastra-saas-cta-text {
    flex: 1;
}
.shastra-saas-cta-tagline {
    color: #1e293b;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.shastra-saas-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.shastra-saas-cta-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(var(--accent-color-rgb), 0.4);
}

@media (max-width: 991px) {
    .shastra-saas-premium-section { padding: 80px 0; }
    .shastra-saas-heading { font-size: 38px; }
    .shastra-saas-mockup-wrapper { margin-top: 30px; }
    .shastra-saas-cta-content { flex-direction: column; text-align: center; gap: 20px; }
    .shastra-saas-cta-full { padding: 40px 30px; }
}
@media (max-width: 768px) {
    .shastra-saas-heading { font-size: 32px; }
    .shastra-saas-floating-panel { right: 0; bottom: -30px; }
}


/* ========== CONTENT HEADINGS ========== */
.shastra-section-heading {
    color: var(--primary-color);
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.shastra-section-heading .shastra-thin {
    color: rgb(30, 41, 59);
    font-weight: 300;
}

.shastra-section-intro {
    color: rgb(51, 65, 85);
    font-size: 16px;
    line-height: 1.8;
}

.shastra-section-intro .shastra-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.shastra-content-heading {
    color: rgb(15, 23, 42);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* ========== OFFER LIST ========== */
.shastra-offer-list-premium {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shastra-offer-list-premium li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.08);
    transition: all 0.3s ease;
}

.shastra-offer-list-premium li:last-child {
    border-bottom: none;
}

.shastra-offer-list-premium li:hover {
    padding-left: 8px;
    background: rgba(var(--primary-color-rgb), 0.02);
}

.shastra-check-icon {
    font-size: 22px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.shastra-offer-list-premium li:hover .shastra-check-icon {
    color: var(--accent-color);
    transform: scale(1.15);
}

.shastra-offer-text {
    color: rgb(51, 65, 85);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: 3px;
}

.shastra-offer-list-premium li:hover .shastra-offer-text {
    color: var(--primary-color);
}

/* ========== FULL WIDTH CTA ========== */
.shastra-mini-cta-full {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.08), rgba(var(--accent-color-rgb), 0.05));
    border: 1.5px solid rgba(var(--primary-color-rgb), 0.15);
    border-radius: 18px;
    padding: 48px 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(var(--primary-color-rgb), 0.08);
}

.shastra-mini-cta-full:hover {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.12), rgba(var(--accent-color-rgb), 0.08));
    border-color: rgba(var(--primary-color-rgb), 0.25);
    box-shadow: 0 15px 50px rgba(var(--primary-color-rgb), 0.15);
    transform: translateY(-5px);
}

.shastra-mini-cta-full .shastra-cta-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgb(255, 255, 255);
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.25);
}

.shastra-mini-cta-full:hover .shastra-cta-icon {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.35);
}

.shastra-cta-content-full {
    flex: 1;
}

.shastra-mini-cta-full .shastra-cta-tagline {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px 0;
    letter-spacing: -0.3px;
}

.shastra-cta-link-premium {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.shastra-cta-link-premium:hover {
    color: var(--accent-color);
    gap: 14px;
}

.shastra-cta-link-premium i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.shastra-cta-link-premium:hover i {
    transform: translateX(4px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .shastra-section-heading {
        font-size: 36px;
    }

    .shastra-section-intro {
        font-size: 15px;
    }

    .shastra-dashboard-svg {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    #services-saas {
        padding: 80px 0 60px;
    }

    .shastra-section-heading {
        font-size: 28px;
    }

    .shastra-section-intro {
        font-size: 14px;
    }

    .shastra-saas-creative {
        margin-bottom: 50px;
    }

    .shastra-dashboard-svg {
        max-width: 280px;
    }

    .shastra-content-heading {
        text-align: center;
    }

    .shastra-offer-list-premium li {
        padding: 14px 0;
        gap: 14px;
    }

    .shastra-offer-text {
        font-size: 14px;
    }

    .shastra-mini-cta-full {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
        margin-top: 30px;
    }

    .shastra-mini-cta-full .shastra-cta-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .shastra-mini-cta-full .shastra-cta-tagline {
        font-size: 18px;
    }
}


/* ========================================
   Section 5: Integration & Cloud Systems
   CONTENT ONLY (NO CREATIVE)
   ======================================== */

#services-cloud {
    background: linear-gradient(180deg, rgb(246, 251, 255) 0%, var(--bg-light) 100%);
    padding: 90px 0 90px;
}

/* ========== SERVICE TAG ========== */
.shastra-service-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.shastra-service-tag:hover {
    background: rgba(var(--primary-color-rgb), 0.15);
}

/* ========== CONTENT STYLES ========== */
.shastra-section-heading {
    color: var(--primary-color);
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.shastra-section-heading .shastra-thin {
    color: rgb(30, 41, 59);
    font-weight: 300;
}

.shastra-section-intro {
    color: rgb(51, 65, 85);
    font-size: 16px;
    line-height: 1.8;
}

.shastra-section-intro .shastra-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.shastra-content-heading {
    color: rgb(15, 23, 42);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* ========== OFFER LIST ========== */
.shastra-offer-list-premium {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shastra-offer-list-premium li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.08);
    transition: all 0.3s ease;
}

.shastra-offer-list-premium li:last-child {
    border-bottom: none;
}

.shastra-offer-list-premium li:hover {
    padding-left: 8px;
    background: rgba(var(--primary-color-rgb), 0.02);
}

.shastra-check-icon {
    font-size: 22px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.shastra-offer-list-premium li:hover .shastra-check-icon {
    color: var(--accent-color);
    transform: scale(1.15);
}

.shastra-offer-text {
    color: rgb(51, 65, 85);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: 3px;
}

.shastra-offer-list-premium li:hover .shastra-offer-text {
    color: var(--primary-color);
}

/* ========== FULL WIDTH CTA ========== */
.shastra-mini-cta-full {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.08), rgba(var(--accent-color-rgb), 0.05));
    border: 1.5px solid rgba(var(--primary-color-rgb), 0.15);
    border-radius: 18px;
    padding: 48px 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(var(--primary-color-rgb), 0.08);
    /* margin-top: 60px; */
}

.shastra-mini-cta-full:hover {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.12), rgba(var(--accent-color-rgb), 0.08));
    border-color: rgba(var(--primary-color-rgb), 0.25);
    box-shadow: 0 15px 50px rgba(var(--primary-color-rgb), 0.15);
    transform: translateY(-5px);
}

.shastra-mini-cta-full .shastra-cta-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgb(255, 255, 255);
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.25);
}

.shastra-mini-cta-full:hover .shastra-cta-icon {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.35);
}

.shastra-cta-content-full {
    flex: 1;
}

.shastra-mini-cta-full .shastra-cta-tagline {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px 0;
    letter-spacing: -0.3px;
}

.shastra-cta-link-premium {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.shastra-cta-link-premium:hover {
    color: var(--accent-color);
    gap: 14px;
}

.shastra-cta-link-premium i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.shastra-cta-link-premium:hover i {
    transform: translateX(4px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .shastra-section-heading {
        font-size: 36px;
    }

    .shastra-section-intro {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    #services-cloud {
        padding: 80px 0 60px;
    }

    .shastra-section-heading {
        font-size: 28px;
    }

    .shastra-section-intro {
        font-size: 14px;
    }

    .shastra-content-heading {
        text-align: center;
    }

    .shastra-offer-list-premium li {
        padding: 14px 0;
        gap: 14px;
    }

    .shastra-offer-text {
        font-size: 14px;
    }

    .shastra-mini-cta-full {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
        margin-top: 30px;
    }

    .shastra-mini-cta-full .shastra-cta-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .shastra-mini-cta-full .shastra-cta-tagline {
        font-size: 18px;
    }
}


/* ========================================
   Section 6: The Shastra Advantage
   IMPROVED CREATIVE DESIGN - 6 CARDS
   ======================================== */

#shastra-advantage {
    background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(246, 251, 255) 100%);
    padding: 90px 0 90px;
    position: relative;
    overflow: hidden;
}

/* ========== HEADER BOX ========== */
.advantage-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    animation: labelFloat 2s ease-in-out infinite;
}

@keyframes labelFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ========== HEADING STYLES ========== */
.shastra-section-heading {
    color: var(--primary-color);
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.shastra-section-heading .shastra-thin {
    color: rgb(30, 41, 59);
    font-weight: 300;
}

.shastra-section-intro {
    color: rgb(55, 65, 81);
    font-size: 16px;
    line-height: 1.8;
}

.shastra-section-intro .shastra-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.shastra-content-heading {
    color: rgb(15, 23, 42);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.shastra-content-heading .shastra-thin {
    color: var(--primary-color);
    font-weight: 300;
}

/* ========================================
   Section 6: Architectural Grid (No Boxes)
   ======================================== */
.advantage-architectural-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
    border-left: 1px solid rgba(var(--primary-color-rgb), 0.1);
    position: relative;
    z-index: 1;
}
.adv-grid-item {
    position: relative;
    padding: 60px 40px;
    border-right: 1px solid rgba(var(--primary-color-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.adv-grid-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    color: rgba(var(--primary-color-rgb), 0.03);
    z-index: -1;
}

.adv-grid-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.adv-grid-content {
    margin-top: auto;
}

.adv-grid-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.adv-grid-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* ========== BOTTOM BOX ========== */
.advantage-bottom-box {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.06), rgba(var(--accent-color-rgb), 0.03));
    border: 1px solid rgba(var(--primary-color-rgb), 0.12);
    border-radius: 16px;
    padding: 40px 50px;
    transition: all 0.5s ease;
}

.advantage-bottom-box:hover {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.08), rgba(var(--accent-color-rgb), 0.05));
    border-color: rgba(var(--primary-color-rgb), 0.2);
    box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .shastra-section-heading { font-size: 36px; }
    .adv-grid-item { padding: 40px 30px; }
    .adv-grid-title { font-size: 20px; }
}

@media (max-width: 768px) {
    #shastra-advantage { padding: 80px 0 60px; }
    .shastra-section-heading { font-size: 28px; }
    
    .advantage-architectural-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .adv-grid-item { padding: 30px 20px; }
    .adv-grid-number { font-size: 60px; }
    .advantage-bottom-box { padding: 30px 25px; }
}

@media (max-width: 576px) {
    .advantage-architectural-grid {
        grid-template-columns: 1fr;
        border-left: none;
    }
    .adv-grid-item {
        border-left: 1px solid rgba(var(--primary-color-rgb), 0.1);
    }
}


/* ========================================
   Section 7: CTA / Conversion
   FULL-WIDTH GRADIENT + ANIMATIONS
   ======================================== */

#shastra-cta-final {
    position: relative;
    overflow: hidden;
}

/* CTA Background with Enhanced Gradient and Image Overlay */
.shastra-cta-background {
    background-image: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.88) 0%, rgba(15, 23, 42, 0.95) 100%), url('../img/cta-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced Decorative Motion Lines */
.shastra-motion-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.15;
    overflow: hidden;
}

.shastra-motion-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
    width: 200%;
}

.shastra-line-1 {
    top: 15%;
    animation: slideRightSmooth 10s linear infinite;
    transform: skewY(-2deg);
}

.shastra-line-2 {
    top: 50%;
    animation: slideRightSmooth 12s linear infinite;
    animation-delay: 3s;
}

.shastra-line-3 {
    top: 85%;
    animation: slideRightSmooth 14s linear infinite;
    animation-delay: 6s;
    transform: skewY(2deg);
}

@keyframes slideRightSmooth {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(50%);
    }
}

/* Floating Particles */
.shastra-motion-lines::before,
.shastra-motion-lines::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: floatParticle 20s ease-in-out infinite;
}

.shastra-motion-lines::before {
    top: 20%;
    left: 10%;
}

.shastra-motion-lines::after {
    bottom: 20%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -50px) scale(1.2);
    }
}

/* CTA Content */
.shastra-cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* CTA Heading */
.shastra-cta-heading {
    color: rgb(255, 255, 255);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: headingSlideUp 0.8s ease-out 0.2s both;
}

.shastra-cta-heading .shastra-thin {
    font-weight: 300;
}

@keyframes headingSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Text */
.shastra-cta-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
    /* margin: 0 auto; */
    margin-left: auto;
    margin-right: auto;
    animation: textSlideUp 0.8s ease-out 0.4s both;
}

.shastra-cta-text .shastra-accent {
    color: rgb(255, 255, 255);
    font-weight: 700;
}

@keyframes textSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Buttons - FLEX ROW */
.shastra-cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: buttonsSlideUp 0.8s ease-out 0.6s both;
}

@keyframes buttonsSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button Base */
.shastra-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 45px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.shastra-cta-btn i {
    font-size: 18px;
    transition: all 0.4s ease;
}

/* Primary Button */
.shastra-cta-primary {
    background-color: rgb(255, 255, 255);
    color: var(--primary-color);
    border-color: rgb(255, 255, 255);
}

.shastra-cta-primary:hover {
    background-color: transparent;
    color: rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.shastra-cta-primary:hover i {
    transform: translateX(3px);
}

/* Secondary Button */
.shastra-cta-secondary {
    background-color: transparent;
    color: rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
}

.shastra-cta-secondary:hover {
    background-color: rgb(255, 255, 255);
    color: var(--primary-color);
    border-color: rgb(255, 255, 255);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.shastra-cta-secondary:hover i {
    transform: translateX(3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .shastra-cta-heading {
        font-size: 40px;
    }

    .shastra-cta-text {
        font-size: 16px;
    }

    .shastra-cta-btn {
        padding: 16px 40px;
        font-size: 15px;
    }

    .shastra-cta-buttons {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #shastra-cta-final {
        padding: 0;
    }

    .shastra-cta-heading {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .shastra-cta-text {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .shastra-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .shastra-cta-btn {
        padding: 16px 40px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }

    .shastra-motion-lines::before,
    .shastra-motion-lines::after {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .shastra-cta-heading {
        font-size: 24px;
    }

    .shastra-cta-text {
        font-size: 14px;
    }

    .shastra-cta-btn {
        padding: 14px 30px;
        font-size: 14px;
        max-width: 100%;
    }

    .shastra-cta-btn i {
        font-size: 16px;
    }

    .shastra-motion-lines {
        opacity: 0.08;
    }
}
