.hero {
    background: linear-gradient(rgba(5, 116, 220, 0.8), rgba(252, 133, 31, 0.7)), url('../../../public/images/backgrounds/hero-background.jpg'), var(--science-blue);
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 40px;
    padding-bottom: 40px;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    animation: fadeIn 1s ease-in-out;
    position: relative;
    z-index: 5;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    margin-right: 15px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.impact-stats {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--science-blue);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

/* Mission Section */
.mission {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
}

.mission::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(5, 116, 220, 0.1);
    top: -150px;
    right: -100px;
    z-index: 0;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mission h2 {
    color: var(--science-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.mission h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--ecstasy);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.mission p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Why It Matters Section */
.why-matters {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--science-blue);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    color: var(--science-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}                                                                                                       

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Quick Links Styles */
.quick-link-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--science-blue);
}

.quick-link-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quick-link-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.quick-link-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: var(--science-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-image {
    background-color: var(--ecstasy);
}

.quick-link-image i {
    font-size: 4rem;
    color: #ffffff;
}

.quick-link-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.quick-link-content h3 {
    font-size: 1.5rem;
    color: var(--science-blue);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-content h3 {
    color: var(--ecstasy);
}

.quick-link-content p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.quick-link-content .btn {
    align-self: flex-start;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .quick-link-image {
        height: 180px;
    }
}

@media screen and (max-width: 480px) {
    .quick-link-content {
        padding: 20px;
    }

    .quick-link-content h3 {
        font-size: 1.3rem;
    }
}

/* Work Areas Section */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f9fafc;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.section-title h2 {
    color: var(--science-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--ecstasy);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--science-blue) 0%, var(--picton-blue) 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cta-buttons .btn i {
    margin-left: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

.quick-link-content .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
  
.btn-primary {
    background-color: var(--science-blue);
    color: var(--text-light);
    border: 2px solid var(--science-blue);
}
  
.btn-primary:hover {
    background-color: transparent;
    color: var(--science-blue);
}
  
.btn-secondary {
    background-color: var(--ecstasy);
    color: var(--text-light);
    border: 2px solid var(--ecstasy);
}
  
.btn-secondary:hover {
    background-color: transparent;
    color: var(--ecstasy);
}

/* Responsive Adjustments */
@media (max-width: 592px) {
    .quick-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 268px) {

    .hero {
        height: 50vh;
        padding-top: 40px;
      }
      
      .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
      }
      
      .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
      }
      
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 376px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: 50vh;
        padding-top: 40px;
      }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
      }
    
    .focus-areas {
        text-align: center;
        padding: 40px 20px;
    }   
}