:root {
    --primary: #6366f1;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-color: #f8fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }



/* --- BACKGROUND BLOBS (Kept for ambience) --- */
.blob-cont { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; animation: blobMove 20s infinite alternate; }
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: rgba(99, 102, 241, 0.25); animation-duration: 25s; }
.blob-2 { bottom: -10%; right: -10%; width: 400px; height: 400px; background: rgba(245, 158, 11, 0.2); animation-duration: 30s; }
@keyframes blobMove { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.1); } }


/* --- MAIN LAYOUT --- */
.myContainer {
    max-width: 1200px;
    width: 90%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 3rem;
    align-items: start;
    padding: 4rem 0;
    z-index: 2;
}

.content-col { animation: slideInLeft 1s ease forwards; }

.badge {
    display: inline-block; background: rgba(99, 102, 241, 0.1); color: #6366f1; padding: 6px 14px;
    border-radius: 30px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 1.5rem; border: 1px solid rgba(99, 102, 241, 0.2);
}

#h1_new {
    font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.1; margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #4338ca 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;font-weight:bold;
}

.subtitle { font-size: 1.1rem; color: #64748b; line-height: 1.6; margin-bottom: 3rem; }


/* --- NEW SQUARE GLOSSY CARDS --- */
.cards-wrapper {
    display: grid;
    /* Auto-fit squares, minimum 200px wide */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.feature-card {
    /* Square Shape & Centering */
/*    height:100%!important;*/
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border-radius: 24px;

    /* Glossy Dynamic Background (Idle State) */
    background: linear-gradient(-45deg, rgba(99, 102, 241, 0.15), rgba(245, 158, 11, 0.15), rgba(236, 72, 153, 0.15), rgba(34, 211, 238, 0.15));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite; /* Slow moving subtle gradient */
    
    /* Glassmorphism properties */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3), 0 4px 20px rgba(0, 0, 0, 0.05);
    
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Snappy bouncy transition */
    cursor: pointer;
}

/* Keyframes for moving gradient */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- COOL MODERN HOVER EFFECT --- */
.feature-card:hover {
    transform: translateY(-15px) scale(1.05) rotateX(5deg); /* 3D lift */
    
    /* Vivid Color Burst */
    background: linear-gradient(-45deg, #6366f1, #f59e0b, #ec4899, #22d3ee);
    background-size: 300% 300%;
    animation: gradientBG 3s ease infinite; /* Faster movement */
    
    /* Strong Glow Shadow */
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.5);
    border-color: rgba(255,255,255,0.8);
}

/* Change Text Color on Hover for contrast against vivid bg */
.feature-card:hover h3, 
.feature-card:hover p {
    color: white;
    transition: color 0.2s ease;
}
.feature-card:hover .icon-illustration {
     background: rgba(255,255,255,0.25); /* Subtle icon bg on hover */
}
.feature-card:hover .icon-illustration i {
    color: white;
}


/* --- Card Content Styling --- */
.icon-illustration {
    width: 70px; height: 70px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 1.5rem; transition: all 0.3s ease;
}
.icon-1 { background: rgba(99, 102, 241, 0.2); color: #6366f1; }
.icon-2 { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.icon-3 { background: rgba(16, 185, 129, 0.2); color: #10b981; }

.card-text h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #1e293b; transition: color 0.3s ease;font-weight:bold; }
.card-text p { font-size: 0.9rem; color: #64748b; line-height: 1.4; transition: color 0.3s ease;}

/* Animation delays */
.feature-card:nth-child(1) { animation: fadeUp 0.8s ease forwards 0.2s; opacity: 0; }
.feature-card:nth-child(2) { animation: fadeUp 0.8s ease forwards 0.4s; opacity: 0; }
.feature-card:nth-child(3) { animation: fadeUp 0.8s ease forwards 0.6s; opacity: 0; }


/* --- IMAGE COLUMN --- */
.image-col {
    position: relative; display: flex; justify-content: center; align-items: center;
    animation: fadeIn 1.5s ease forwards; height: 100%;
}
.pulse-circle {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 350px; height: 350px;
    border-radius: 50%; background: rgba(99, 102, 241, 0.05); z-index: -1;
}
.pulse-circle::before, .pulse-circle::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.2); animation: pulseWave 3s linear infinite;
}
.pulse-circle::after { animation-delay: 1.5s; }
.main-image {
    width: 100%; max-width: 400px; animation: floatImage 7s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.2));
}

/* --- Keyframes --- */
@keyframes floatImage { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-25px); } }
@keyframes pulseWave { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {

    .content-col{
        margin-top: -119%!important;
    }



    .myContainer { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .cards-wrapper { 
        margin-top: 100%!important;
        justify-content: center;
        /* On smaller screens, limit width so squares don't get too huge */
        grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    }
    .image-col { order: -1; top:61%; }
    .main-image { max-width: 280px; }
    .pulse-circle { width: 280px; height: 280px; }

}