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

:root {
    --black: #1c1c1b;
    --white: #fff;
    --offwhite: #FFF0D3;
    --primary: #E4665E;
    --Dark-Red:#5D2D2F;
    --pale-yellow: #FFF0D3;
    --orange: #FFCEAB;
    --light-blue:#D9E4F8;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
}

body {
    color: #1c1c1b;
    font-family: 'Inter', sans-serif;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    margin: 24px 0;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#orange {
    background-color: var(--orange);
    color: var(--Dark-Red)
}

#yellow {
    background-color: var(--offwhite);
    color: var(--Dark-Red)
}

#dark-red {
    background-color: var(--Dark-Red);
    color: var(--white)
}

#light-blue {
    background-color: var(--light-blue);
    color: var(--Dark-Red)
}

#primary {
    background-color: var(--primary);
    color: var(--white)
}

#spaced {
    padding: 24px 0;
    line-height: 2;
}

#centered {
    align-self: center;
    text-align: center;
    justify-items: center;
    align-items: center;
    justify-content: center;
}

.landing-page {
    padding-bottom: 64px;
    margin: 9% 0;
}

.section {
    margin: 4% 2%;
}

.full-section {
    padding: 5% 0;
    margin: 0 0;
}

.landing-container {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hello-text span {
    display: inline-block;
    font-size: 10rem;
    font-weight: 550;
    color: #1c1c1b;
    margin: 0;
    animation: wave 0.7s ease-in-out 1;
}

.hello-text span:nth-child(1) {
    animation-delay: 0s;
}
.hello-text span:nth-child(2) {
    animation-delay: 0.1s;
}
.hello-text span:nth-child(3) {
    animation-delay: 0.2s;
}
.hello-text span:nth-child(4) {
    animation-delay: 0.3s;
}
.hello-text span:nth-child(5) {
    animation-delay: 0.4s;
}
.hello-text span:nth-child(6) {
    animation-delay: 0.5s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.welcome-text {
    font-weight: 350;
}

.profile-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.1);
}

.text-container {
    padding: 24px;
    text-align: left;
    text-wrap: auto;
}

.links {
    color: var(--primary);
    text-decoration: underline;
}

.row-container {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Center the content */
    align-items: center; /* Align items vertically */
    gap: 32px;
    max-width: 100%; /* Prevents the container from exceeding the screen */
    overflow: hidden; /* Ensures text doesn’t overflow */
    flex-wrap: nowrap; /* Prevents text from wrapping */
    white-space: nowrap; /* Ensures text stays on one line */
}

.row-container-scroll {
    margin: 4% 2%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center; /* Align items vertically */
    gap: 32px;
    max-width: 100%; /* Prevents the container from exceeding the screen */
    overflow-x: auto; /* Ensures text doesn’t overflow */
    flex-wrap: nowrap; /* Prevents text from wrapping */
    scroll-behavior: smooth;
}

.column-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    overflow: hidden;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.centered-container {
    max-width: 600px;
    width: 90%; /* Ensures it doesn't touch the edges on small screens */
    padding: 20px;
    justify-self: center;
    justify-items: center;
    text-align: center;
}

/* Buttons */

.read-more-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px;
}

.short-text {
    display: block;
}

.full-text {
    display: none;
}

.read-more-btn:focus {
    outline: none;
}

.m-img {
    max-width: 500px;
}

/* Icon Image */
.i-img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
}

/* 🔹 Navbar Base Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* 🔹 Logo Styling */
.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--black);
}

.navbar-brand img {
    margin-right: 10px;
}

/* 🔹 Nav Links (Desktop) */
.navbar-collapse {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 20px;
    padding-right: 20px;
}

.nav-item {
    margin: 16px;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-size: 1rem;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--primary);
}

/* 🔹 Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--white);
    list-style: none;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 180px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    color: var(--black);
}

.dropdown-item:hover {
    background-color: var(--light-gray);
}

/* 🔹 Mobile Menu (Hidden by Default) */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}


/* Get Started Button */
.btn-get-started {
    display: inline-block;
    grid-column-gap: 15px;
    border: 1px solid var(--primary);
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    letter-spacing: -.36px;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    transition: transform .5s;
    white-space: nowrap;
}

.btn-get-started:hover {
    background-color: darken(var(--primary), 10%);
}

/* Services Section */
.dropping-texts {
    font-size: 3rem;
    display: flex; /* Ensure proper alignment */
    align-items: center;
    text-align: left;
    white-space: nowrap;
    width: 300px; /* Allows it to size dynamically */
    max-width: 100%; /* Ensures it doesn't overflow */
    overflow: hidden;
}

  .dropping-texts > div {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    position:absolute;
    font-weight:300;
  }

  .dropping-texts > div:nth-child(1) {
    animation: roll 5s linear 1 0s; /* Run once */
}
.dropping-texts > div:nth-child(2) {
    animation: roll 5s linear 1 1s; /* Run once */
}
.dropping-texts > div:nth-child(3) {
    animation: roll 5s linear 1 2s; /* Run once */
}
.dropping-texts > div:nth-child(4) {
    animation: roll2 5s linear 1 3s;
    animation-fill-mode: forwards;
}
  @keyframes roll {
    0% {
      font-size:0px;
      opacity:0;
      margin-left:-30px;
      margin-top:0px;
      transform: rotate(-25deg);
    }
    3% {
      opacity:1;
      transform: rotate(0deg);
    }
    5% {
      font-size:inherit;
      opacity:1;
      margin-left:0px;
      margin-top:0px;
    }
    20% {
      font-size:inherit;
      opacity:1;
      margin-left:0px;
      margin-top:0px;
      transform: rotate(0deg);
    }
    27% {
      font-size:0px;
      opacity:0.5;
      margin-left:20px;
      margin-top:100px;
    }
    100% {
      font-size:0px;
      opacity:0;
      margin-left:-30px;
      margin-top:0px;
      transform: rotate(15deg);
    }
  }

  @keyframes roll2 {
    0% {
      font-size:0px;
      opacity:0;
      margin-left:-30px;
      margin-top:0px;
      transform: rotate(-25deg);
    }
    3% {
      opacity:1;
      transform: rotate(0deg);
    }
    5% {
      font-size:inherit;
      opacity:1;
      margin-left:0px;
      margin-top:0px;
    }
    100% {
      font-size:inherit;
      opacity:1;
      margin-left:0px;
      margin-top:0px;
      transform: rotate(0deg);
    }
  }

.video {
    border-radius: 15px;
    overflow: hidden;
}

/* Review Classes */

.review-container {
    background-color: var(--offwhite);
    border-radius: 15px;
    padding: 32px;
    margin-bottom: 24px;
}

.review-profile {
    display: flex;
    align-items: flex-end;
    margin-bottom: 16px;
}

.review-pfp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 16px;
}

.review-user {
    font-size: 20px;
    font-weight: 700;
    padding-right: auto;
    line-height: 1.2;
    padding-bottom: 5px;
}

.review-content {
    padding-top: 10px;
    font-size: 16px;
    color: var(--Dark-Red);
}

/* Trusted By Section */
.partners {
    align-items: flex-start;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg) 0; /* Add padding for spacing */
}

.partners-header {
    margin-left: 10%;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.1875;
    padding-bottom: 16px;
}

.partners-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    gap: 20px; /* Consistent spacing between images */
    width: 100%;
    padding: 0 10%; /* Add padding to align with the header */
    margin: 32px 0;
}

.partner-img {
    filter: grayscale(100%); /* Full grayscale effect */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    height: 120px;
    width: auto;
    max-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.c-img {
    object-fit: contain;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.video-cover  {
    border-radius: 15px;
    width: 337px;
    height: 600px;
}

/* Mobile Styles */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: var(--font-size-lg);
    cursor: pointer;
}

@media screen and (min-width: 1920px) {
    .navbar {
        max-width: 1690px;
    }
}

@media (min-width: 992px) {



}

@media (max-width: 991px) {

    .row-container {
        flex-direction: column;
    }

    .landing-container {
        flex-direction: column;
    }

    .profile-image {
        max-width: 90vw;
    }

    .welcome-text {
        text-align: center;
    }

    .hello-text{
        text-align: center;
    }

    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse.show {
        display: flex;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 10px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .btn-get-started {
        margin-left: 0; /* Reset margin for mobile */
    }

    .review-container {
        min-height: 400px;
    }

    .review-profile {
        min-width: 400px;
    }

    .i-img {
        max-width: 200px;
    }
}


@media screen and (max-width: 640px) {

    .profile-image {
        max-height: 80%;
    }

    .m-img {
        max-width: 90%;
    }

    .footer-inner_bottom {
        flex-direction: column; /* Forces email onto a new line */
    }

    .footer-social-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        padding-left: 15px;
        width: 100%;
    }

    .footer-email {
        display: block; /* Forces email below icons */
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .footer-note {
        text-align: center;
    }

    .hello-text span {
        text-align: center;
        font-size: 7rem;
    }

    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 48px;
    }

    p {
        font-size: 18px;
        line-height: 1.2;
    }

}

@media screen and (max-width: 481px) {

    .section {
        margin: 2% 5%;
    }

    .text-container {
        text-align: center;
    }

    .hello-text span {
        font-size: 5rem;
    }
    .review-container {
        min-height: 70vw;
    }

    .review-profile {
        min-width: 70vw;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 42px;
    }

    p {
        font-size: 16px;
        line-height: 1.2;
    }
}
