/* ====================== Modern Light Theme - Units & Measurements ====================== */

:root {
    --primary: #0284c8;
    --secondary: #7c3aed;
    --accent: #14b8a6;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e2937;
    --light-text: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
    background: linear-gradient(135deg, #f1f5f9 0%, #e0f2fe 100%);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Container */
.container-science {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
    text-align: justify;
}

/* Heading */
.container-science h1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 55px;
    position: relative;
}

.container-science h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 4px;
}

/* Fact List */
.fact-list {
    list-style: none;
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 26px;
    padding: 0; */
  
}

.fact-list li {
    background: var(--card-bg);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 34px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: box-shadow 0.3s ease;
      margin-bottom: 1rem;
}

/* Subtle 3D Card Look */
.fact-list li {
    border-left: 6px solid var(--primary);
}

.fact-list li:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 12px rgba(0, 0, 0, 0.08);
}

/* Icon */
.fact-list li i.fa-check-circle {
    color: var(--accent);
    font-size: 2.4rem;
    margin-right: 18px;
    vertical-align: middle;
}

.fact-list li strong {
    color: var(--primary);
    font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(2, 132, 200, 0.3);
    cursor: pointer;
    z-index: 1000;
}

/* ====================== Responsive Design ====================== */

@media (max-width: 992px) {
    .fact-list {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 800px) {
   .container-science h1 {
        font-size: 1.8rem;
    }
 
    .fact-list li {
        padding: 28px 30px;
    }
}

@media (max-width: 480px) {
   .container-science h1 {
        font-size: 1.5rem;
    }
    .container-science {
        margin: 25px auto;
        padding: 15px;
    }
    .container-science h1::after{
        width: 200px;
    }
    .back-to-top {
        bottom: 25px;
        right: 25px;
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
}