@import url("/main-styles.css");

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

a {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    color: inherit;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: white;
    color: #333;
    height: 100vh;
    min-height: 100dvh;
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 121px;
}

section p {
    line-height: 1.8;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fff;
    text-align: center;
    background-image: url('assets/images/hero-bg.jpg');
    background-position: center center;
    padding: 40px;
}
.hero-home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fff;
    text-align: center;
    background-image: url('assets/images/hero-bg.jpg');
    transition: background-size 0.5s ease;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 40px;
    flex-direction: column;
    gap: 100px;
    margin-top: 80px;
    transition: 0.5s;
}

.hero-home h1 {
    color: #FFF;
    text-align: center;
    font-size: 76px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    width: 75%;
    max-width: 800px;
    line-height: 1.2;
}
.main-button {
    display: inline-flex;
    padding: 12px 24px;
    font-size: 1rem;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #5A1027;
    border: none;
    color: white;
    width: fit-content;
    transition: 0.5s;
}
.main-button:hover {
    background-color: var(--black-clr);
    cursor: pointer;
}

.hero-home img {
    width: 40px;
    animation: arrowDown 1.5s infinite;
}

.hero p {
    font-size: 24px;
    color: #fff;
    font-style: italic;
    animation: fadeIn 4s ease-in-out;
}
.hero-about {
    display: flex;
    width: 100%;
    gap: 60px;
    margin-top: 80px;
    margin-bottom: 100px;
    justify-content: center;
    align-items: center;
    place-items: center;
    flex-wrap: wrap;
}
.about-cover {
    width: 100%;
    max-width: 400px;
    height: 350px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
}
.about-cover img {
    width: 100%;
    max-width: 400px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    transition: 0.5s;
    object-position: top center;
}
.about-cover img:hover {
    transform: scale(1.2);
}
.hero-about-desc {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 90%;
    max-width: 350px;
}
.hero-about-desc p {
    line-height: 1.7;
    width: 90%;
    max-width: 360px;
    margin-bottom: 10px;
}
.section-title {
    display: flex;
    flex-wrap: no-wrap;
    width: 100%;
    padding: 40px 0px;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    place-self: center;
    margin-bottom: 20px;
}
.section-title h2 {
    color: #000;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%; /* 57.6px */
    min-width: fit-content;
}
.section-title hr {
    width: 1126px;
    height: 1px;
}
.section-block {
    width: 100%;
    max-width: 1200px;
    place-self: center;
    margin-bottom: 60px;
    padding: 0px 40px;
}
.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 80px;
    width: 100%;
    max-width: 1200px;
    place-self: center;
    margin-top: 20px;
    margin-bottom: 50px;
    justify-content: space-between;
}
.expertise-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px;
    width: 95%;
    max-width: 340px;
}
.numbering {
    width: 50px;
    height: 50px;
    padding: 20px;
    border-radius: 50%;
    border: solid 1px black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.expertise-card h3 {
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 180%; /* 43.2px */
}
.expertise-card p {
    color: #3F3F3F;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%; /* 28.8px */
    max-width: 347px;
}
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    justify-content: space-between;
}
.gallery-grid p {
    max-width: 450px;
}
.gallery-stack1 {
    width: 100%;
    max-width: 570px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.gallery-stack2 {
    width: 100%;
    max-width: 570px;
}
.gallery-stack1 img {
    width: 255px;
    height: 374px;
    object-fit: cover;
    border-radius: 10px;
}
.gallery-stack2 img {
    width: 570px;
    height: 461px;
    object-fit: cover;
    border-radius: 10px;
}
.full-block {
    width: 100%;
    background-color: var(--primary-clr);
    color: white;
    display: flex;
    justify-content: center;
    padding: 80px 0px;
    margin-bottom: 40px;
}
.full-block-grid {
    width: 100%;
    background-color: var(--primary-clr);
    color: white;
    display: flex;
    max-width: 1200px;
    margin: 50px 0px;
    padding: 0px 20px;
}
.founder-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.founder-block p {
    color: #F1F1F1;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 180%; /* 28.8px */
}
.yb-looks {
    display: flex;
    gap: 10px;
}
.yb-looks img {
    width: 271px;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.5s;
}
.blog-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: start;
    row-gap: 50px;
    margin-bottom: 40px;
}
.blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    gap: 8px;
}
.blog-card img {
    width: 100%;
    max-width: 350px;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}
.blog-card p{
    width: 100%;
    max-width: 340px;
}


/* ABOUT PAGE */
.page-hero {
    width: 100%;
    height: 500px;
    margin-top: 80px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.7rem;
    background-size: cover;
    background-position: 20% 30%;
    background-repeat: no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Black with 50% opacity */
  z-index: 1; /* Ensures the overlay is on top of the image */
}
.page-hero h1 {
    font-weight: 600;
    cursor:default;
    user-select: none;
    z-index: 5;
}
.about-hero-img {
    background-image: url("/assets/images/Yemi\ Bakrey\ image\ 2.jpg");
}
.expertise-hero-img {
    background-image: url("/assets/images/yemibakrey1.jpeg");
    background-position: 20% 15%;
}
.m-kit-hero-img {
    background-image: url("/assets/images/Yemi\ Bakrey\ image\ 1.jpg");
}
.contact-hero-img {
    background-image: url("/assets/images/Yemi\ Bakrey\ image\ 8.jpg");
}

.two-column p {
    column-count: 2;
    column-gap: 4rem;
    line-height: 1.8;
    cursor: default;
    margin-top: -30px;
}
.divider-img {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    height: 400px;
    border-radius: 10px;
}
.divider-img img {
    width: 100%;
    max-width: 1200px;
    object-fit: cover;
    object-position: 10% 20%;
    height: 400px;
    transition: 0.5s;
}
.divider-img img:hover {
    transform: scale(1.05);
}
.edu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    row-gap: 40px;
    cursor: default;
    user-select: none;
}
.edu-card {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%;
    max-width: 350px;
    transition: 0.5s;
}
.edu-card:hover {
    transform: scale(1.05);
}
.edu-card h3 {
    color: var(--primary-clr);
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
}
.edu-card p {
    line-height: 1.8;
    font-size: 1 rem;
    color: var(--dark-grey);
    max-width: 320px;
}

.photos-grid {
 display: flex;
 width: 100%;
 max-width: 1200px;
 flex-wrap: wrap;
 gap: 10px;
margin-top: 30px;
}

.photos-grid img {
    width: 100%;
    max-width: 550px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

/* Contact Section Styling */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 100%;
  max-width: 1200px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
width: 100%;
}

.form-group label {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 16px 20px;
  font-size: 16px;
  border: 1px solid var(--light-grey); /* Optional: #ccc */
  border-radius: 8px;
  background-color: #fafafa;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-clr);
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(136, 103, 238, 0.1); /* Adjust for your accent */
}

.contact-form textarea {
  resize: vertical;
}

.form-status-message {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-status-message.success {
  background-color: #e6ffe6;
  color: var(--primary-clr);
  border: 1px solid var(--primary-clr);
}

.form-status-message.error {
  background-color: #ffe6e6;
  color: #b30000;
  border: 1px solid #b30000;
}

.photos-grid-label {
    margin-top: -40px;
}
.blog-cta {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 120px;
}
.blog-cta h2 {
    font-size: 24px;
    color: var(--primary-clr);
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    max-width: 1200px;
    line-height: 1.5;
    margin: 50px 0px 35px 0px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
    
}

@keyframes arrowDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(20px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 1250px) {
    .full-block-grid {
        display: flex;
        flex-direction: column;
        padding: 20px;
        align-items: center;
        text-align: center;
    }
    .full-block {
        padding: 5px 0px;
    }
    .founder-block {
        flex-direction: column;
        justify-content: center;
        padding: 30px;
        gap: 10px;
    }
    .founder-block p {
        width: 100%;
        max-width: 50ch;
        margin-top: 10px;
    }
    .yb-looks {
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }
    .yb-looks img {
        width: 100%;
        max-width: 650px;
    }
    .founder-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
    .hero-about-desc,
    .expertise-grid,
    .expertise-card,
    .gallery-grid,
    .section-block {
        justify-content: center;
        align-items: center;
        text-align: center;
        place-items: center;
    }
    .section-title hr {
        display: none;
    }
    .gallery-grid {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    .gallery-stack1,
    .gallery-stack2 {
        flex-direction: column;
        width: 100%;
    }
    .expertise-grid {
        flex-direction: column;
    }
    .hero-about,
    .blog-grid {
        flex-direction: column;
    }
    .gallery-stack1 img {
        width: 100%;
        max-width: 450px; 
    }
    .gallery-stack2 img {
        width: 100%;
        max-width: 450px; 
        margin-bottom: 40px;
    }
        .edu-grid {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .edu-card {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .contact-form {
     justify-content: center;
    align-items: center;
    }
    .photos-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .photos-grid-label {
        width: 95%;
        max-width: 600px;
        margin-top: -40px;
    }
    .two-column p {
        column-count: 1;
        max-width: 700px;
        margin-top: -50px;
    }
    .hero-about-desc,
    .hero-about-desc p {
    width: 90%;
    max-width: 700px !important;
    }
    .founder-block {
       margin-top: -50px;
       margin-bottom: 10px;
    }
}

@media screen and (max-width: 1000px) {
    .hero-home h1 {
        font-size: 68px;
    }
    .full-block-grid {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    .founder-block {
        flex-direction: column;
        justify-content: center;
        padding: 20px;
    }
    .section-block {
        justify-content: center;
        align-items: center;
        place-items: center;
    }
    .yb-looks {
        flex-direction: column;
    }
    .two-column p {
    column-count: 1;
    max-width: 600px;
    }
}
@media screen and (max-width: 800px) {

    .hero-about-desc,
    .expertise-grid,
    .expertise-card,
    .section-block {
        justify-content: center;
        align-items: center;
        text-align: center;
        place-items: center;
    }
}
@media screen and (max-width: 600px) {

    .section-title {
        margin-bottom: -20px;
        margin-top: -30px;
    }
    .about-cover {
        margin-bottom: -30px;
        padding: 0px 20px;
        margin-top: -40px;
        max-width: 350px;
    }
    .about-cover img {
        width: 100%;
        max-width: 350px;
        object-fit: cover;
    }
    .hero-about-desc {
        max-width: 300px;
        width: 95%;
        padding: 0px 0px;
    }
    .hero-about-desc p {
        width: 90%;
        max-width: 300px;
        margin-bottom: 0px;
    }
    .page-hero h1 {
        width: 100%;
        max-width: 320px;
        text-align: center;
        line-height: 1.2;
        font-size: 2.8rem;
    }
    .hero-home h1 {
        font-size: 2.6rem;
    }
    .icon-tray {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .blog-cta h2 {
        font-size: 28px;
        margin-top: 65px;
    }
        .two-column p {
        column-count: 1;
        max-width: 700px;
        margin-top: -30px;
    }
}

.margin-top {
    margin-top: 80px;
}
.margin-bottom {
    margin-bottom: 80px !important;
}
.add-padding {
    padding-bottom: 40px
}
.hidden {
  visibility: hidden;
  opacity: 0;
}