/* GLOBAL STYLES */
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: #0a0a0a;
}

header {
    width: 100%;
}

.banner {
    width:100%;
    height: auto;
}

/* === DESKTOP NAV (UNCHANGED LOOK) === */
/* DESKTOP NAV (your original look) */
nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2rem;
    /* inside mobile media query where they’re absolute */
    z-index: 1001;
}


.nav-links a {
    display: block;            /* full row clickable */
    width: 100%;
    text-align: center;
    padding: 0.4rem 0;        /* vertical tap area */
    text-decoration: none;
    font-size: 1.1rem;
}


nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
}

nav a:hover {
    color: #057a40;
}


/* HIDE HAMBURGER ON DESKTOP */
.nav-toggle {
    display: none !important;                /* hidden by default on desktop */
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 6px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    padding: 0;

    display: flex;                 /* full box clickable */
    flex-direction: column;        /* stack spans vertically */
    justify-content: center;
    align-items: center;
    gap: 4px;                      /* spacing between bars */
    box-sizing: border-box;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #057a40;
}



.section {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1.5rem; /* was 3rem */
    border-radius: 12px
}

.two-column {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    color: white;
}

.two-column div {
    flex: 1;
    min-width: 280px;
}

.logo {
    width: auto;
    height: 250px;
    border-radius: 8px;
    border: 2px solid white;
}

.profile {
    width: 300px;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
}


.mission {
    text-align: center;
    padding: 3rem 1.5rem;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.about {
    width: auto;
    height: 250px;
    border-radius: 8px;
    float: right;
    border: 2px solid white;
}

/* HOMEPAGE */

.homepage {
    border: 3px solid grey;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);  /* subtle white glow */
    background-color: transparent;                  /* keep original bg */
    transition: 
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.homepage:hover {
    transform: translateY(-4px);                     /* slight lift */
    border-color: white;                           /* white accent */
    box-shadow: 0 0 20px rgba(203, 206, 203, 0.4);      /* stronger white glow */
    background-color: #0d0d0d;                       /* near-black hover bg */
}


.highlight-section {
    text-align: center;
    padding: 50px 20px;
}

.highlight-section h2 {
    margin-bottom: 15px;
}

.highlight-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    color: #057a40;
    font-family: 'Montserrat', sans-serif;
}

h1{
    font-size: 2rem;
}

.text_box{
    background-color: #f8f9f8;
    border-radius: 8px;
    justify-content: center;
    padding: 10px;
}

.null{
    background-color: #f3f7f4;
}

.mission-value {
    color: white;
    padding: 3rem 1.5rem;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.mission-value h2 {
    color: #057a40; 
}

.mission-value p {
    line-height: 1.6;
}

/*Footer*/

footer {
    padding: 2rem 0;
    color: white;
    text-align: center;
    /* remove border-top here */
}

.footer-inner {
    border-top: 1.5px solid #fff;   /* line now matches other section lines */
}


/* CONTACT LIST */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;          /* keeps spacing but not excessive */
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;               /* clean spacing between icon + text */
    margin: 10px 0;            /* consistent vertical spacing */
    font-size: 1.1rem;
    color: #eee;

}

.icon { 
    vertical-align: middle;
}

.location{
    
    width: 30px; /* force a true square */
    height: 40px;

}

.email, .phone, .linkedin{
    width: 30px; /* force a true square */
    height: 30px;

}

/* default: desktop */
.loc-desktop {
    display: inline;
}
.loc-mobile {
    display: none;
}


.margin{
    margin-top: -3px; /*offset image height difference even spacing*/
}



.contact-list a {
    text-decoration: none;
    color: #ffffff;
}

.contact-list a:hover {
    color: #057a40;            /* green accent */
    text-shadow: 0 0 6px rgba(46, 204, 113, 0.25);   
}

.section-divider {
    border-top: 1px solid #ffffff;   /* white line between the two sections */
    padding-top: 2.5rem;             /* optional: space above content */
}

/*Biography*/



.meet-consultant {
    align-items: flex-start;  /* keeps image pinned to the top */
    flex-wrap: nowrap !important; /* prevent image from being pushed */
}

.about-profile {
margin-top: 67px;

}

.bio {
    position: relative;
}

/* Collapsed state */
.bio-content {
    max-height: 40px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.75s ease-in-out;  /* smooth open/close */
}

/* Fade overlay (visible when collapsed) */
.bio-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3rem;
    pointer-events: none;
    opacity: 1;                                /* show by default */
    transition: opacity 0.5s ease;             /* fade smooth */

    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0.85) 70%,
        rgba(10, 10, 10, 1) 100%
    );
}

/* Expanded state */
.bio-content.expanded {
    max-height: 1200px;
}

/* Fade-out overlay instead of hiding instantly */
.bio-content.expanded::after {
    opacity: 0;
}



/* Read more button styling */
.read-more-toggle {
    margin-top: 0.75rem;
    background: none;
    border: none;
    color: #ECECEC;             /* White Gray */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
}

.read-more-toggle .arrow {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

/* Rotate arrow when expanded */
.read-more-toggle.expanded .arrow {
    transform: rotate(180deg);
}

.button-wrapper {
    display: flex;
    justify-content: center;  /* centers the button */
}

.button-left {
    margin-right: auto;
    margin-left: 0;
    display: block;
}

/*Services */

.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    color: #2ecc71;
    border-radius: 12px;
}

.services-section h1 {
    text-align: center;
    color: #057a40;
    margin-bottom: 2rem;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: #111;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #222;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card h2 {
    color: #057a40;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 6px rgba(46, 204, 113, 0.3);
}


.service-card p {
    line-height: 1.6;
    color: #ddd;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #057a40;
    box-shadow: 0 0 12px rgba(5, 122, 64, 0.65);

}

.custom-services-note {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #333;
}

.custom-services-note-p {
    text-align: left;
}

.custom-services-note h2 {
    color: #057a40;
    margin-bottom: 0.5rem;
}

.custom-services-note p {
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

/* Wrapper to center the button */
.contact-btn-wrapper {
    text-align: center;
    margin-top: 2rem;
}

/* Button styling */
.contact-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #057a40;
    color: #111;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.15s ease;
}

/* Hover effect to match your theme */
.contact-btn:hover {
    background-color: #111;
    color: #057a40;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.9);
    transform: translateY(-3px);
}




.image_hover {
    border: 3px solid white;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);  /* subtle white glow */
    background-color: transparent;                  /* keep original bg */
    transition: 
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.image_hover:hover {
    transform: translateY(-4px);                     /* slight lift */
    border-color: white;                           /* lime accent */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);      /* stronger lime glow */
    background-color: #0d0d0d;                       /* near-black hover bg */
}

/* GALLERY */

.gallery-heading {
    background-color: #111;
    border-radius: 10px;
    border: 1px solid #222;
    transition: transform 0.2s ease, border-color 0.2s ease;
    max-width: 500px;
    margin: 40px auto 10px auto;
    text-align: center;
}

.gallery-heading:hover {
    transform: translateY(-5px);
    border-color: #32cd32;
}

/* MAIN GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* GALLERY IMAGES */
.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 3px solid white;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
    box-sizing: border-box;
    display: block;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item.portrait {
    
    max-height: 460px;
    overflow: hidden;
}

.gallery-item.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}/* Optional: make portrait images taller */


/* HOVER EFFECT */
.gallery-item img:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.7);
}

.gallery-item {
    overflow: visible; /* allows border + shadow to move */
}

/* Form Section Wrapper */
.form-title {
    text-align: center;
    color: #057a40;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.form {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #111;
    border-radius: 12px;
    border: 1px solid #222;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Form Layout */
.form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Labels */
.form label {
    color: #057a40;
    text-shadow: 0 0 6px rgba(46, 204, 113, 0.25);                  /* brand green with glow */
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: -5px;
    font-family: 'Montserrat', sans-serif;
}

/* Inputs + Textarea */
.form input,
.form textarea {
    width: 100%;
    padding: 12px 15px;
    background: #000;
    border: 1px solid #057a40;        /* green border */
    border-radius: 8px;
    color: #eee;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;

}

/* Focus Glow */
.form input:focus,
.form textarea:focus {
    border-color: #057a40;
    box-shadow: 0 0 12px rgba(5, 122, 64, 0.65);   /* glowing green edge */
    outline: none;
}

/* Textarea height */
.form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Submit Button */
.form button {
    background-color: #057a40;
    color: #111;
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.15s ease;
}

/* Hover Effect for Button */
.form button:hover {
    background-color: #111;
    color: #057a40;

    /* Correct border syntax — lime border on hover */
    border: 1px solid #057a40;
    box-shadow: 0 0 12px rgba(5, 122, 64, 0.65);

    transform: translateY(-3px);
}


/* Button Active Press */
.form button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Fix autofill background + text colors (Chrome/Safari/Brave/Edge) */
.form input:-webkit-autofill,
.form textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #000 inset !important;  /* match your background */
    -webkit-text-fill-color: #eee !important;                /* match your text color */
    caret-color: #eee !important;
    border: 1px solid #057a40 !important;                    /* keep your green border */
}

/* Autofill on hover/focus */
.form input:-webkit-autofill:focus,
.form textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
    -webkit-text-fill-color: #eee !important;
}

.form input:-webkit-autofill {
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.3), 
                0 0 0 1000px #000 inset !important;
}



.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- VIDEO CSS ---------- */

/* Card wrapper — identical constraints for both */
.yt-card {
  width: 100%;
  max-width: 900px;
  margin: 0 auto; /* centers both consistently */
}

/* Video container */
.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 2px solid #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Force iframe to fill entire space */
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Wrapper injected by JS (thumbnail + overlay) */
.yt-embed > div {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}


/* Thumbnail image */
.yt-embed img.yt-thumb {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}


.yt-thumb-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.25);

}

.yt-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-end;
  padding-right: 0.5rem;
}

.yt-btn {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  cursor: pointer;
  font-weight: 600;
  background-color: #057a40;
  color: #111;
  text-decoration: none;
  transition:
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.15s ease;
}



/* Hover effect to match your theme */
.yt-btn:hover {
    background-color: #111;
    color: #057a40;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.9);
    transform: translateY(-3px);
}

.yt-overlay[hidden] { display: none; }

.yt-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: 1rem;
}

.yt-overlay-inner {
  width: min(1100px, 95vw);
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
}

.yt-overlay-embed,
.yt-overlay-inner iframe {
  width: 100%;
  height: 100%;
}

.yt-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: none;
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 1rem;
}

.yt-close:hover{
    background-color: red;
    
}


/* ---------- MEDIA QUERIES CLEANED ---------- */

/* Hide logo on medium screens */
@media screen and (max-width: 1250px) {
    .logo {
        display: none;
    }
}

@media (max-width: 1024px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* 900px and below — center images */
@media screen and (max-width: 900px) {
    .about {
        display: flex;
        margin: 0 auto;
        float: none;
        margin-bottom: 10px;
    }
}

/* 768px — stack columns for mobile/tablet */
@media screen and (max-width: 768px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .meet-consultant {
        flex-direction: column;
        flex-wrap: wrap !important;
        align-items: center;
    }

    .image_wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .about-profile {
        margin-top: 0;
    }

    .bio {
        margin-left: 0;
        max-width: 100%;
    }

    /* Center columns and images */
    .two-column div {
        text-align: center;
    }

    .about {
        display: flex;
        margin: 0 auto 10px auto;
        float: none;
    }
}

/* 430px — mobile navigation */
@media screen and (max-width: 430px) {

    .nav-toggle {
        display: flex !important;
    }

    nav {
        justify-content: flex-start;
        padding: 0.75rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000;
        border-bottom: 1px solid #057a40;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: 0.25s ease;
    }

    .nav-links a{
         color: #f8f8f8;
    }

    .nav.nav-open .nav-links {
        max-height: 260px;
        opacity: 1;
    }

    .form {
        margin: 1.5rem auto;
        padding: 1.25rem;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .bio p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .loc-desktop {
        display: none;
    }
    .loc-mobile {
        display: inline;
    }

    .about {
        height: auto;
        width: 300px;
    }

}
