/* ===============================
   Datacenter Cards Container
   =============================== */
.datacenter-container {
    max-width: 100%; /* Full width of the parent */
    margin: 2rem;    /* Spacing around the container */
    display: grid;   /* Use CSS Grid for layout */
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); *//* Responsive columns */
   grid-template-columns: repeat(auto-fit,minmax(min(300px, 100%), 1fr));
    gap: 2.5rem;    /* Space between cards */
}

/* ===============================
   Card Wrapper (for 3D perspective)
   =============================== */
.datacenter-card-wrapper {
    position: relative;  /* Allow absolute positioning of child elements */
    perspective: 1000px; /* Enable 3D transforms for children */
}

/* ===============================
   Card Styles
   =============================== */
.datacenter-card {
    background: var(--card-bg);       /* Card background color */
    box-shadow: var(--card-shadow);   /* Shadow for depth */
    backdrop-filter: blur(10px);      /* Frosted glass effect */
    padding: 1.5rem 1rem 1rem 2rem;   /* Inner spacing (top, right, bottom, left) */
    height: 100%;                     /* Fill wrapper height */
}

/* Card heading */
.datacenter-card h4 {
    color: #3b6ea5; /* Heading color */
}

/* ===============================
   Icon Styles
   =============================== */
.icon {
    position: absolute;           /* Position relative to card wrapper */
    top: -2rem;                   /* Move above the card */
    left: -2rem;                  /* Move to the left of the card */
    width: 4rem;                  /* Icon width */
    height: 4rem;                 /* Icon height */
    background-image: var(--primary-gradient); /* Gradient background */
    border-radius: 1rem;          /* Rounded corners */
    color: var(--white);          /* Icon color */
    font-size: 2rem;              /* Icon size */
    display: flex;                /* Center content */
    align-items: center;          /* Vertical centering */
    justify-content: center;      /* Horizontal centering */
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4)); /* Glow effect */
}

/* ===============================
   List inside Card
   =============================== */
.datacenter-card ul {
    padding-left: 1.4rem; /* Indent list items */
}

.datacenter-card ul li::marker {
    color: #08a5d5; /* Bullet color */
}

.datacenter-card ul li {
    font-size: 0.95rem;  /* Font size for readability */
    line-height: 1.6;    /* Line spacing */
}
