
:root{
    --dark:#0f172a;
    --light:#f8fafc;
    --muted:#64748b;
    --accent:#ef4444;
    --glass:rgba(255,255,255,0.12);
}



body{
    /* background:#f1f5f9; */
    color:#0f172a;
    line-height:1.7;
}

  
.hero{
    min-height:55vh;
    background:

     url("../img/Web\ Baner-0007\ \(1\).png");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
}

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

.hero h1{
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);

    color:#fff;
    max-width:700px;
}

.hero p{
    margin-top:18px;
    max-width:600px;
    color:#e5e7eb;
    font-size:1.1rem;
}

.hero .line{
    width:90px;
    height:4px;
    background:var(--accent);
    margin:30px 0;
}


/* ================= MICROSERVICES SECTION ================= */
.microservices-section {
    /* background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); */
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.ms-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(239, 68, 68, 0.03) 0%, transparent 40%);
    animation: particleFloat 20s ease-in-out infinite alternate;
}

.ms-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.ms-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

/* ================= LEFT CONTENT ================= */
.ms-left {
    position: relative;
}

.ms-header {
    margin-bottom: 40px;
}

.ms-main-title {
 font-size: 1.9rem; 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    position: relative;
}

.ms-gradient-text {
    background: linear-gradient(90deg, #ef4444, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    position: relative;
}

.ms-gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: 2px;
}

.ms-tagline {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 15px;
    font-weight: 500;
}

.ms-intro-container {
    /* background: rgba(255, 255, 255, 0.7); */
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid #6366f1;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ms-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.ms-intro strong {
    color: #0f172a;
    font-weight: 700;
}

/* ================= WHY CHOOSE SECTION ================= */
.why-choose-ms {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.why-choose-ms::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(239, 68, 68, 0.05));
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.why-choose-title {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.why-choose-title i {
    color: #10b981;
    font-size: 1.5rem;
}

.why-choose-content {
    margin-bottom: 35px;
}

.why-choose-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 15px;
}

.key-reasons-title {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.key-reasons-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ef4444, #f97316);
}

/* ENHANCED REASONS GRID */
.reasons-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.reason-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: white;
    border-color: #6366f1;
}

.reason-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    flex-shrink: 0;
    min-width: 50px;
}

.reason-content h5 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 600;
}

.reason-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* ================= FUTURE SECTION ================= */
.future-ms {
    background: linear-gradient(135deg, #f8fafc, white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.future-ms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ef4444);
    animation: gradientShift 3s ease infinite;
}

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

.future-header {
    margin-bottom: 25px;
}

.future-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5); }
}

.future-title {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 15px;
}

.future-intro {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

/* FUTURE TRENDS */
.future-trends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.trend-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.trend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #ef4444);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease;
}

.trend-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.trend-card:hover::before {
    transform: scaleY(1);
}

.trend-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(239, 68, 68, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #6366f1;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.trend-card:hover .trend-icon {
    background: linear-gradient(135deg, #6366f1, #ef4444);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.trend-content h4 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 600;
}

.trend-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* ================= RIGHT VISUALIZATION ================= */
.ms-right {
    position: sticky;
    top: 100px;
    align-self: start;
}

.micro-visual {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    border-radius: 25px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* VISUAL HUB */
.visual-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 2;
}

.hub-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 
        0 0 40px rgba(239, 68, 68, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    animation: hubPulse 3s ease-in-out infinite;
}

.hub-core i {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    animation: rotateRing linear infinite;
}

.ring-1 {
    width: 180px;
    height: 180px;
    animation-duration: 25s;
}

.ring-2 {
    width: 260px;
    height: 260px;
    animation-duration: 35s;
    animation-direction: reverse;
}

.ring-3 {
    width: 340px;
    height: 340px;
    animation-duration: 45s;
}

/* SERVICE NODES */
.service-node {
    position: absolute;
    width: 70px;
    height: 70px;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.node-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #6366f1;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.service-node:hover .node-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.node-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    animation: pulseWave 2s linear infinite;
}

/* ARCHITECTURE BENEFITS */
.architecture-benefits {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border: 1px solid #f1f5f9;
}

.benefits-title {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #eef2ff;
    transform: translateX(5px);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 3px;
}

.benefit-desc {
    font-size: 0.8rem;
    color: #64748b;
}

/* STATS BAR */
.ms-stats-bar {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1200px) {
    .ms-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .ms-right {
        position: relative;
        top: 0;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .reasons-grid-enhanced {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .future-trends {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .microservices-section {
        padding: 80px 20px;
    }
    
    .ms-main-title {
        font-size: 2.8rem;
    }
    
    .micro-visual {
        height: 450px;
    }
    
    .ring-1 { width: 150px; height: 150px; }
    .ring-2 { width: 220px; height: 220px; }
    .ring-3 { width: 290px; height: 290px; }
}

@media (max-width: 768px) {
    .ms-container {
        gap: 40px;
    }
    
    .ms-main-title {
        font-size: 2.2rem;
    }
    
    .ms-tagline {
        font-size: 1.1rem;
    }
    
    .why-choose-ms,
    .future-ms {
        padding: 30px 25px;
    }
    
    .reasons-grid-enhanced {
        grid-template-columns: 1fr;
    }
    
    .future-trends {
        grid-template-columns: 1fr;
    }
    
    .micro-visual {
        height: 400px;
    }
    
    .architecture-benefits {
        padding: 20px;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .ms-stats-bar {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .microservices-section {
        padding: 60px 15px;
    }
    
    .ms-main-title {
        font-size: 1.8rem;
    }
    
    .ms-intro-container {
        padding: 25px 20px;
    }
    
    .why-choose-title,
    .future-title {
        font-size: 1.5rem;
    }
    
    .why-choose-ms,
    .future-ms {
        padding: 25px 20px;
    }
    
    .reason-item,
    .trend-card {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .micro-visual {
        height: 350px;
    }
    
    .service-node {
        width: 60px;
        height: 60px;
    }
    
    .node-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .node-label {
        font-size: 0.7rem;
    }
}