/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #fff;
    color: #ffffff;
    overflow-x: hidden;
}

/* --- Dark Background & Animated Shapes --- */
.container-section {
    padding: 100px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #001d3d 0%, #000814 100%);
}

.shape-square {
    position: absolute; width: 150px; height: 150px;
    border: 15px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px; transform: rotate(45deg);
    bottom: 10%; left: 5%; z-index: 0;
    animation: float 6s infinite ease-in-out;
}

.shape-circle {
    position: absolute; width: 100px; height: 100px;
    border: 2px solid rgba(230, 30, 37, 0.3);
    border-radius: 50%;
    top: 15%; right: 15%; z-index: 0;
    animation: float 8s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(50deg); }
}

/* --- Titles --- */
.red-subtitle { color: #ff3131; font-weight: 800; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 10px; display: block; }
.main-title { font-size: 2rem; font-weight:700 ; color: #fff; }
.red-line { width: 80px; height: 5px; background: #e61e25; margin: 20px auto 60px; border-radius: 10px; box-shadow: 0 0 20px rgba(230, 30, 37, 0.6); }

/* --- Card Styles --- */
.grid-layout { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; max-width: 1300px; margin: 0 auto; position: relative; z-index: 1; }

.info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.five-cols .info-card { width: 230px; }
.two-cols .info-card { width: 48%; min-width: 340px; }

/* --- HOVER EFFECT: MAIN LOGIC --- */
.info-card:hover {
    background: #e61e25; /* Hover karte hi background Red ho jayega */
    border-color: #ffffff;
    transform: translateY(-15px) scale(1.03); /* Card upar uthega */
    box-shadow: 0 20px 40px rgba(230, 30, 37, 0.4);
}

.info-card:hover h3, 
.info-card:hover p {
    color: #ffffff; /* Text color change */
}

.info-card:hover .icon-box {
    background: #ffffff; /* Icon box white ho jayega */
    color: #e61e25; /* Icon red ho jayega */
}

.info-card:hover .red-icon {
    color: #ffffff; /* Vision/Mission icon white ho jayega */
}

/* --- Elements --- */
.icon-box {
    width: 60px; height: 60px; background: #e61e25; color: #fff;
    border-radius: 15px; display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 25px; transition: 0.3s;
}

.info-card h3 { font-size: 24px; color: #fff; margin-bottom: 10px; transition: 0.3s; }
.info-card p { font-size: 15px; color: #a0a0a0; line-height: 1.6; transition: 0.3s; }
.header-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.red-icon { font-size: 30px; color: #e61e25; transition: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .info-card { width: 100% !important; }
}