@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

* {
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif; 
}
a {
    text-decoration: none;
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    color: #333; 
    text-align: center; 
}

.navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 20px 50px;
    width: 100%;
    box-sizing: border-box; 
}

.navbar .logo {
    font-weight: bold;
    font-size: 1.2em;
}

.navbar nav a {
    text-decoration: none;
    color: inherit;
    margin-left: 20px;
}

.hero-section, .info-section {
    max-width: 800px; 
    margin: 0 auto; 
    padding: 40px 20px;
}

.hero-section h1 {
    font-size: 2.5em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.form-container {
    display: flex; 
    justify-content: center; 
    margin-bottom: 10px;
}

.form-container input {
    padding: 10px;
    border: 1px solid #ccc;
    width: 300px; 
}

.form-container button {
    background-color: #5cb85c; 
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.image-placeholder {
    width: 250px;
    height: 400px;
    border: 1px dashed #ccc;
    background-color: #f0f0f0;
    margin: 40px auto; 
}

.info-section h2 {
    font-size: 2em;
    line-height: 1.4;
    margin-top: 50px;
}

.asteroid-block {
    max-width: 1200px;
    margin: 40px auto;
    padding: 10px;
    background-color: #fff;
}

.block-header h1 {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    color: #000;
}

.card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 50px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.card {
    flex: 1;
    padding: 30px 15px;
    text-align: left;
    min-height: 250px;
}

.card-icon {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    background-color: lightgrey;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    margin-right: auto;
    margin-left: 0;
}

.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.learn-more {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    display: inline-block;
}

.stats-container {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    padding: 20px;
}

.stat-item {
   text-align: left;
   margin-right: 80px;
   min-width: 150px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    font-weight: 400;
}

.stat-item:last-child {
    margin-right: 0;
}

.img {
    margin-bottom: 200px;
}

.impact-text-section {
    width: 100%;
    padding: 40px 0;
    text-align: center;
}

.impact-text-content {
    max-width: 500px;
    margin: 0 auto;
    font-size: 45px;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0;
}

.stats-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 0;
    text-align: center;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item:nth-child(4) {
    grid-column: 1 / span 1;
    justify-self: center;
}

.stat-item:nth-child(5) {
    grid-column: 2 / span 1; 
    justify-self: center; 
}

.stat-number {
    font-size: 40px; 
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 0;
    text-transform: uppercase;
}

.stats-group {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-container {
    display: flex;
    justify-content: space-between; 
    text-align: center;
}

.stats-container.top-row {
    margin-bottom: 60px; 
}

.stats-container.bottom-row {
    margin-top: 60px;
    max-width: 780px; 
    margin-left: 0;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}

.stats-container.bottom-row .stat-item {
    flex-basis: 48%; 
}

.stat-item {
    flex-basis: 30%;
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}

.main-footer {
    padding-top: 50px; 
}

.footer-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px 20px; 
}

.section-title {
    text-align: left;
    margin-right: auto;
    font-size: 24px;
    margin-bottom: 50px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 0.5fr; 
    gap: 20px;
}

.link-group, .social-links-group {
    display: flex;
    flex-direction: column;
}

.category-heading {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.link-group a, .social-links-group a {
    text-decoration: none;
    color: #555;
    margin-bottom: 8px;
    font-size: 14px;
}

.copyright-bar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    color: black;
    padding: 15px 20px; 
    max-width: 1200px;
    margin: 0 auto;
    background-color: lightgray;
}

.copyright-text {
    font-size: 12px;
    margin: 0;
    color: gray;
}

.legal-links a {
    text-decoration: none;
    font-size: 12px;
    margin-left: 15px;
    color: gray;
}

.section-logo-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.sections-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e0f7fa;
    border: 1px solid #00bcd4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sections-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.section-title {
    display: flex;
    align-items: center; 
    gap: 15px; 
    font-size: 28px; 
    font-weight: 700;
    color: #333;
    margin-top: 0; 
    margin-bottom: 40px; 
}

.section-title {
    display: flex; 
    align-items: center;
    gap: 15px; 
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-top: 0; 
    margin-bottom: 40px; 
}

.sections-logo-icon {
    background-image: url(Logo.png); 
    background-size: 24px 24px; 
    background-repeat: no-repeat; 
    background-position: center; 
}

.social-links-group {
    justify-self: end; 
    align-items: flex-start; 
    display: flex;
    flex-direction: column;
    margin-right: -330px;
}

.social-link {
    display: flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none;
    color: #555;
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 0; 
}

.social-link::before { 
    content: ''; 
    width: 16px; 
    height: 16px;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center; 
    position: static; 
}

.social-link.facebook::before {
    background-image: url(Face.png);
}

.social-link.youtube::before {
    background-image: url(youtube.png);
}

.social-link.instagram::before {
    background-image: url(Insta.png);
}

.social-link.twitter::before {
    background-image: url(Twitter.png);
}

header.navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
}

.logo {
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.sections-logo-text {
    font-size: 20px; 
    font-weight: 700;
    color: #333;
}

.sections-logo-icon1 {
    width: 48px; 
    height: 48px; 
    border-radius: 50%;
    background-color: #e0f7fa; 
    border: 1px solid #00bcd4;
    background-image: url(Logo.png); 
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center; 
}


html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}


@media screen and (max-width: 768px) {
    
    .content-wrapper {
        padding: 0 30px; 
    }
    
    .main-nav {
        display: none; 
    }
    header.navbar {
        padding: 15px 30px;
    }

    .large-impact-text {
        font-size: 26px; 
    }

    .features-columns {
        flex-direction: column; 
        gap: 50px; 
        margin-bottom: 50px; 
    }

    .stats-grid-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px 15px; 
    }
    .stat-item:nth-child(5) {
        grid-column: 1 / span 2; 
        grid-row: 3;
    }

    .links-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 30px;
    }
    .social-links-group {
        grid-column: 1 / span 3; 
        justify-self: start; 
        margin-right: 0; 
    }
}


@media screen and (max-width: 480px) {

    .content-wrapper {
        padding: 0 15px; 
    }
    section {
        padding: 40px 0; 
    }

    .sections-logo-icon {
        width: 32px; 
        height: 32px;
    }
    .sections-logo-text {
        font-size: 18px; 
    }

    .large-impact-text {
        font-size: 20px; 
    }

    .stats-grid-container {
        grid-template-columns: 1fr; 
    }

    .stat-item:nth-child(n) { 
        grid-column: auto;
        grid-row: auto;
    }

    .links-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .copyright-bar {
        flex-direction: column; 
        text-align: center;
    }
    .legal-links {
        margin-top: 10px;
    }
}

