:root {
    --forest-green:#228B22;
    --earth-brown: #5D4037;
    --off-white: #FCFBF9;
    --dark-text: #2C2C2C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--off-white);
    letter-spacing: -0.02em;
    font-weight: 700;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--forest-green);
    color: white;
}

header ul {
    display: flex;
    list-style: none;
}

header li {
    margin-left: 20px;
}

header a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

header a:hover {
    color: var(--earth-brown);
}

.logo img {
    height: 85px !important;
    width: auto !important;
    max-width: 100%;
    display: block;
}

.logo a {
    display: inline-block;
}
.menu-checkbox {
    display: none;
}

.hamburger-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.hamburger-label span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url('./images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.hero h1{
    font-size: 3rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0, 0, 0.7);
    font-weight: 700;
    letter-spacing: 1px;
}

.btn {
    box-shadow: 0 4px 6px rgba(0,0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    background-color: var(--forest-green);
    color: white;
    margin-top: 40px;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover{
    background-color: var(--earth-brown);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(34, 139, 34, 0.2);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission {
    padding: 60px 0;
    background-color: white;
}

.mission-grid {
    display: flex;
    gap: 30px;
}

.card {
    flex: 1;
    padding: 30px;
    background-color: var(--off-white);
    border-top: 5px solid var(--earth-brown);
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--forest-green);
}

.hero h1{
    font-size: 2rem;
}

footer {
    background-color: var(--earth-brown);
    color: white;
    padding: 80px 0 0 0; 
    margin-top: 0 !important;
    border: none;
    text-align: left;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col {
    flex: 1;
}

/* Customizing specific columns */
.brand-col .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--off-white);
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 320px;

}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

/* Clean lists for links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--forest-green);
    padding-left: 5px; /* Subtle nudge animation on hover */
}

/* Contact information styles */
.contact-col p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-col i {
    color: var(--forest-green); /* Green accents for icons */
    font-size: 1rem;
    width: 20px;
}

/* Brand social icons */
.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-socials .social-icon:hover {
    background-color: var(--forest-green);
    transform: translateY(-3px);
}

/* Bottom Bar styling */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15); 
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.concept-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
}

.concept-card {
    background: #ffffff;
    width: 260px;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.concept-icon img {
    width: 200px;
    height: auto;
    margin-bottom: 40px;
}

.concept-card h3 {
    color: var(--forest-green);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.circle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--earth-brown);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
}

.concept-title {
    font-size: 2.5rem;
    justify-content: center;
    text-align: center;
    color: var(--earth-brown);
    padding: 80px 0;
    margin-bottom: 40px;
}

.text-design {
    font-weight: bolder;
    font-size: 1.2rem;
}

.sankofa-quote {
    background-color: #228B22;
}

.concept {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f9fbf9, #ffffff);
    text-align: center;
}

.blog-preview {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.subtitle {
    color: var(--forest-green);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.5rem;
    color: var(--off-white);
    line-height: 1.2;
    margin-bottom: 50px;
}

.blog-preview-green {
    background-color: var(--off-white);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 0 !important;
    padding-bottom: 80px;
}

.subtitle-white {
    color: var(--forest-green);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.9;
}

.main-title-white {
    font-size: 2.5rem;
    color: var(--forest-green);
    line-height: 1.2;
    margin-bottom: 40px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9fbf9;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-info p{
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--forest-green);
}

.contact-form, .contact-info {
    flex: 1;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    background-color: var(--forest-green);
    color: white;
    border: none;
    cursor: pointer;
}

.split-view {
    display: flex;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
}

.contact-form h2, .contact-info h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--earth-brown);
}

.contact-form input:focus, .contact-form textarea:focus {
    background-color: #ffffff;
    border-color: var(--forest-green);
    box-shadow: 0 0 8px rgba(34, 139, 34, 0.2);
    outline: none;
}

.nav ul li a.active {
    color: var(--earth-brown);
    font-weight: bold;
    border-bottom: 2px solid var(--earth-brown);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 0;
}

.photo-item {
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    background-color: #eee;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; 
}

/* --- Team Section Base (Desktop Layout) --- */
.team-section {
  padding: 80px 0;
  background-color: var(--off-white);
  text-align: center;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.team-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 220px;
}

.avatar-container {
  position: relative; 
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; 
  background-color: #eee;
}

.member-name {
  font-size: 1.1rem;
  color: var(--dark-text);
  font-weight: 600;
}

.team-social-popup {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%) translateY(10px); 
  background-color: #1a1a1a; 
  display: flex;
  gap: 12px;
  padding: 8px 15px;
  border-radius: 4px;
  opacity: 0; 
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.team-social-popup::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
}

.team-social-popup a {
  color: #ffffff;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.team-social-popup a:hover {
  color: var(--forest-green); 
}

.avatar-container:hover .team-social-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0); 
}

.section-title {
    font-size: 2.2rem;
    color: var(--earth-brown);
    text-align: center;
    margin: 50px;
}

.gallery-pics h2 {
    align-items: center;
    text-align: center;
    color: var(--forest-green);
    font-size:2.2rem;
    text-align: center;
    max-width: 800px;
    margin: 60px auto;
    line-height: 1.4;
}

.gallery-pics h2 strong {
    color: var(--earth-brown);
}

.vision {
    font-size: 1.4rem;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.vision h3 {
    color: var(--forest-green);
    font-weight: bolder;
}

.my-site-header {
    background-color: var(--forest-green);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-site-header .logo img {
    height: 50px;
    width: auto;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

.extra-info {
    font-size: x-large;
    color: #228B22;
}

.social-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 10px;
}

.social-icon {
    font-size: 30px;
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.facebook:hover {
    color: #1877f2;
    transform: scale(1.1);
}

.instagram:hover {
    color: #E1306C;
    transform: scale(1.1);
}

.gallery-divider-banner {
    background-color: var(--forest-green);
    background: linear-gradient(rgba(34, 139, 34, 0.9), rgba(34, 139, 34, 0.95)), url('./images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
    width: 100%;
}

.divider-content h2 {
    font-size: 2.5rem;
    color: white !important;
    margin-bottom: 15px;
    font-weight: 700;
}

.divider-content p {
    font-size: 1.1rem;
    color: var(--off-white);
    max-width: 750px;
    margin: 0 auto 30px auto;
    opacity: 0.95;
    line-height: 1.6;
}

.banner-btn {
    display: inline-block;
    background-color: white;
    color: var(--forest-green) !important;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-btn:hover {
    background-color: var(--earth-brown);
    color: white !important;
    transform: translate(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===================================================
   CONTACT PAGE MAP VIEW STYLING
   =================================================== */
.contact-map-section {
    width: 100%;
    height: 450px;
    margin-top: 60px; 
    display: block;
    line-height: 0; 
    background-color: var(--off-white);
}

.contact-map-section iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(10%) contrast(105%); 
    transition: filter 0.3s ease;
}

.contact-map-section iframe:hover {
    filter: grayscale(0%) contrast(100%);
}




/* ===================================================
   MEDIA QUERIES (Organized cleanly by width rules)
   =================================================== */

/* Tablet Responsive Views */
@media (max-width: 900px){
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Global Mobile Viewports */
@media screen and (max-width: 768px) {
    header, .my-site-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative;
        padding: 15px 5%;
    }
 
    header nav ul a, .nav-menu ul a {
        font-size: 1.3rem !important;
    }

    logo img {
        height: 50px !important;
    }

    .hero {
        background-attachment: scroll !important;
        height: 50vh;
    }

    header ul {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

.hamburger-label {
    display: flex !important;
}

    .nav-menu {
position: absolute;
top: 100%;
left: 0;
width: 100%;
background-color: var(--forest-green);
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-in-out;
z-index: 100;
}

    .nav-menu ul {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        list-style: none;
    }

    header li, .my-site-header li {
        margin-left: 0 !important;
    }

    .menu-checkbox:checked ~ .nav-menu {
        max-height: 300px !important;
    }

    .menu-checkbox:checked + .hamburger-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-checkbox:checked + .hamburger-label span:nth-child(2) {
        opacity: 0;
    }

    .menu-checkbox:checked + .hamburger-label span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .hero h1 {
        font-size: 1.8rem !important;
    }

    .main-title, .main-title-white, .concept-title {
        font-size: 1.8rem;
        padding: 30px 10px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 1.6rem;
        margin: 25px 10px;
    }

    .container {
        padding: 0 15px;
    }

    .mission, .concept, .blog-preview, .blog-preview-green {
        padding: 40px 15px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .contact-col p {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
    }

    .mission-grid, .split-view { 
        flex-direction: column;
        gap: 40px;
    }

    .vision {
        font-size: 1.1rem;
        padding: 20px 10px;
    }

    .team-grid {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .team-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 220px;
        text-align: center;
    }

    .gallery-divider-banner {
        padding: 50px 20px !important;
    }

    .divider-content h2 {
        font-size: 1.8rem !important;
    }


    .contact-map-section {
        height: 320px !important; 
        margin-top: 40px;
    }

}

/* Extra Small Mobile Layouts */
@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}