
@font-face {
    font-family: 'Sloth';
    src: url('asset/Fonts/sloth/Sloth-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Sloth';
    src: url('asset/Fonts/sloth/Sloth-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Sloth';
    src: url('asset/Fonts/sloth/Sloth-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Sloth';
    src: url('asset/Fonts/sloth/Sloth-Extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Sloth';
    src: url('asset/Fonts/sloth/SLOTH-BOLD.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  

/* Reset and Base Styles */
html {
    font-size: 16px;
    box-sizing: border-box;
}

*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    font-family: 'Sloth', sans-serif;
    font-weight: normal;
    line-height: 1.6;
    color: #333;
    font-size: 1rem;
    background-color: white;
}

h1 {
    font-family: 'Sloth', sans-serif;
    font-weight: bold;
  }
  
.light-text {
    font-family: 'Sloth', sans-serif;
    font-weight: 300;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 0;
    --Global-Padding-x: 7.5rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.93em 2.5em;
    border-radius: 99em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

/* Header Styles */
.header {
    padding-left: 7.5rem;
    padding-right: 7.5rem;

    
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: white solid 1px;
    padding-top: 1.25em;
    padding-bottom: 1.25em;
    
    
}

/*MOBILE NAV TEST*/

.navbar {
   display: none; 
}

/* MOBILE NAV TEST ENDS HERE */

.nav-menu ul {
    display: flex;
    gap: 3.5rem;
    list-style: none;
    color: white;
}

.nav-menu a:hover,
.nav-link.active {
    color: #076DF2;
}

.header-cta {
    display: flex;
}

.btn-text,
.nav-menu a {
    font-size: 1.25em;
    font-style: normal;
    font-weight: 400;
    line-height: 29px; /* 145% */
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: #00132C;
    padding-bottom: 14rem;
    position: relative;
    overflow: visible;
}

.hero-container {
    margin-top: 5rem;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -95%);
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: rgba(7, 109, 242, 0.20);
    font-size: 12.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 180px;
    letter-spacing: -2.182px;
    color: transparent;
    white-space: nowrap;
    z-index: -1;

   
}

.hero-content{
    z-index: 10;
}
.hero-content p {
    text-align: center;
    font-family: Sloth, sans-serif;
    font-size: var(--Title-Large-Size, 22px);
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

/* Tags Styles */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 3.875rem 0;
    gap: 2rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 1.4375rem;
    gap: 1.25rem;
}

.tag:hover {
    border-color: #007BFF;
    color: #007BFF;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.636em 1.695em;
    border-radius: 99em;
    color: white;
    text-decoration: none;
    border: 1px solid white;
    font-size: 0.678em;
    line-height: 16.272px;
    letter-spacing: 0.169px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: 0.5s ease-in-out;
}

/* Overlap Section */
.overlap-container {
    position: relative;
    margin-top: -14rem;
    z-index: 2;
  }
  
  /* Big Image Styling */
  .big-image-container {
    position: relative;
    top: 0%;
    width: 100%;
    height: auto;
  }
  
  .big-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  
  
  .overlap-card {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    color: #fff;
    border-radius: 8px;
  }

  .overlap-card-content {
    width: 100%;
    height: auto;
  }

  .overlap-card-content .profile-images {
    width: 100%;
    height: auto;
  }

/*Services Section*/

/* Card flip styles */

#service-cards-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
}

#service-cards-with-back-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
}

.card-container {
    width: 100%; 
    height: 400px;
    perspective: 1000px;
}

.card-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-container.flipped .card-flipper {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1em;
    margin-top: 4rem;
}

.card-back {
    transform: rotateY(180deg);
}

.card-back-content {
    padding: 4.56em 3.375em;
} 

.back-card-headline {
    font-weight: 400;
    text-decoration: underline;
    font-size: 2em;
    font-style: normal;
    line-height: 40px; /* 125% */
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
}

.card-back-content .back-card-tags {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.service-container {
    margin-top: 5rem;
    text-align: center;
}

.services-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3.47em;
    padding: 4.56em 3.375em;
    border-radius: 1em;
    margin-top: 4rem;
}

#service-cards-with-back-container .services-card {
    cursor: pointer;
}

.card-image {
    width: 20.8em;
    height: 19.375em;
    object-fit: cover;
    border-radius: 1em;
}

/* Brand List Scroll */
.brands-container {
    width: 100%;
    margin-top: 5em;
    overflow: hidden;
    background-color: white;
    padding: 2.4375rem 0;
    position: relative;
}

.brands-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    /* width: 7.5rem; */
    background-color: white;
    z-index: 1;
}

/* Brands scroll */
.brands-scroll {
    display: flex;
    width: 200%;
    animation: scroll 12s linear infinite;
    /* padding-left: 7.5rem; */
}

.brands-scroll-inner {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

/* Brand logo */
.brand-logo {
    height: 6.625em;
    object-fit: contain;
    margin: 0 1rem;
}

/* Scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.brands-scroll:hover {
    animation-play-state: paused;
}

/* Responsive design */
@media (max-width: 768px) {
    .brands-scroll {
        animation: scroll 36s linear infinite;
    }
    
    .brand-logo {
        height: 5em;
    }

    .brands-container::before {
        width: 3rem;
    }

    .brands-scroll {
        padding-left: 3rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .brands-scroll {
        animation: none;
        width: 100%;
        padding-left: 7.5rem;
    }
    
    .brands-scroll-inner {
        width: 100%;
    }

    .brands-container::before {
        display: none;
    }
}

/* Newsletter Style */

.newsletter-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5em;
    padding-top: 4.5em;
    padding-bottom: 4.5em;
    padding-left: 2.875em;
    padding-right: 2.875em;
}

.newsletter-image {
    width: 32.76em;
    height: 30.5em;
    object-fit: cover;
    border-radius: 1.574em;
}

.newsletter-input {
    border-radius: 1em;
    height: 3.814em; 
    padding: 0.625em 2.5em 0.625em 1.5em; 
    border: 2px solid #076DF2; 
    outline: none;
    font-size: 1rem; 
    color: #333; 
    width: 100%; 
    max-width: 500px;
    margin-top: 2.375em;
    margin-bottom: 4em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


.newsletter-input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

.newsletter-input::placeholder {
    color: #AAB0B9;
    font-size: 0.875em;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.25px;
}


.divider {
    width: 100%;
    height: 1px;
    background-color: #E5E5E5;
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

.footer {
    
    border-top: 1px solid #00132C;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.2fr 2.8fr;
    width: 100%;
    padding: 3.8125rem 0rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 11.5rem;
}

.footer-image {
    width: 16.0625em;
    height: 7.75em;
    object-fit: cover;
    border-radius: 1em;
}

.footer-logo .heading-des2 {
    margin: 1.25em 0em;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-links a:hover {
    color: #5A9EF6;
}

.footer-column h4 {
    margin-bottom: 0.25em;
}

.footer-column ul{
    list-style-type: none;
}

.footer-column li {
    margin-top: 1.25em;
}


/* Responsive Styles */

@media (max-width: 1300px) {
    html {
        font-size: 15px;
    }

    

}


@media (max-width: 1200px) {
    html {
        font-size: 14px;
    }

    

    .container {
        max-width: 90%;
        padding: 0 2rem;
    }

    .header {
        padding-left: 7.5rem;
        padding-right: 7.5rem;
    }

    .nav-menu ul {
        gap: 2rem;
    }

    .background-text {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -100%);
        font-size: 11rem;  
    }

    .overlap-card {

        display: flex;
        justify-content: center;

    }

    .overlap-card-content {
        display: flex;
        justify-content: center;
        width: 90%;
    }

    .overlap-card-content .profile-images {
        width: 100%;
        height: auto;
      }

    .services-card {
        padding: 3em 2em;
    }

    .newsletter-content {
        gap: 3em;
        padding: 3em 2em;
    }

    .footer-content {
        gap: 5rem;
    }
}

@media (max-width: 1130px) {
    .background-text {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -103%);
        font-size: 11rem;  
    }

    .hero-content p {
        padding: 0px 10%;
    }
}

@media (max-width: 1100px) {
    
    .overlap-card-content {
        display: flex;
        justify-content: center;
        width: 80%;
    }

    .overlap-card-content .profile-images {
        width: 80%;
        height: auto;
      }

    .services-card {
    gap: 1em;
    padding: 0.56em 1.375em;
    margin-top: 4rem;
    }

}

@media (max-width: 1024px) {
    html {
        font-size: 13px;
    }

    .nav-menu {
        margin-top: 1rem;
    }

    .header-cta {
        margin-top: 1rem;
    }

    .overlap-card-content {
        display: flex;
        justify-content: center;
        width: 75%;
    }

    
}

@media (max-width: 950px) {
    .overlap-card-content {
        display: flex;
        justify-content: center;
        width: 70%;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 12px;
    }

    .container {
        max-width: 95%;
        padding: 0 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 800px) {
    .overlap-card-content {
        display: flex;
        justify-content: center;
        width: 65%;
    }

    .background-text {
        display: none;
    }

    .overlap-card-content .profile-images {
        width: 70%;
        height: auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 11px;
    }
    /* NAVBAR MOBILE DISPLAY HERE */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        display: block;
        margin-top: 0rem;
        color: #fff;
        background-color: #00132C;
     }

     .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid white;
    }
    
    
    .logo {
        padding: 10px 0px;
     }

    .logo img {
        height: 50px;
    }
    
    .nav-toggle,
    .close-icon {
        width: 3em;
        cursor: pointer;
    }
    
    .close-icon {
        display: none;
    }
    
    .close-icon.active {
        display: block;
    }
    
    .nav-toggle.false {
        display: none;
    }
    


     .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
        background-color: #00132C;
    } 

    .nav-menu ul {
        display: flex;
        flex-direction: column;
    }
     /* NAVBAR MOBILE DISPLAY ENDS HERE */

    .btn {
        padding: 0.8em 2em;
    }

    

    .hero-container {
        padding-top: 9rem;
    }
     
    .background-text {
        font-size: 6.24rem;
        line-height: 90px;
    }
    
    .overlap-card-content {
        display: flex;
        justify-content: center;
        width: 60%;
    }

    .hero-tags {
        padding: 2rem 0;
    }
    .card-flipper {
        width: 80%;
        margin: auto;
    }

    .services-card {
        margin-top: 2rem;
        flex-direction: column;
        padding: 4.56em 6.375em;
        align-items: flex-start;
    }

    .card-container {
        width: 100%;
        height: 700px;
    }  

    .card-back-content .back-card-tags {
        flex-direction: column;
    }
    
    .newsletter-content {
        flex-direction: column;
    }

    .newsletter-image {
        width: 100%;
        height: auto;
    }

    .newsletter-input {
        margin-top: 1.5em;
        margin-bottom: 2em;
    }
}

@media (max-width: 648px) {

    .main-hero #hero-tags {
        width: 70%;
        height: auto;
        margin: 0 auto;
    }
   
    .main-hero .hero-tags {
        display: grid;
        grid-template-columns: 1fr 1fr;
        
    }

    .hero-content p {
        padding: 0px 4%;
    }

    .our-process-cards {
        flex-direction: column;
    }

    .process-card {
        width: 90%;
        margin: 0 auto;
    }

    .card-container {
        height: 730px;
    }

    .card-flipper {
        width: 90%;
    }

    .footer-links {
        display: flex;
    }

}

@media (max-width: 480px) {
    html {
        font-size: 10px;
    }

    .header {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    

    .btn-text,
    .nav-menu a {
        font-size: 1.1em;
    }

    .hero-content p {
        font-size: 1.2em;
        padding: 0px 0px;
        text-align: left;
    }

    .main-hero #hero-tags {
        width: auto;
        height: auto;
        margin: 0 auto;
    }

    .main-hero .hero-tags {
        display: flex;
        justify-content: start;
    }

    .tag {
        padding: 0.5em 1em;
    }

    .hero {
        background-color: #00132C;
        padding-bottom: 7rem;
        position: relative;
        overflow: visible;
    }

    .overlap-container {
        position: relative;
        margin-top: -6rem;
        z-index: 2;
    }

    .overlap-card-content .profile-images {
        width: 55%;
        height: auto;
    }

    .service-container {
        margin-top: 2rem;
        text-align: center;
    }

    .card-flipper {
        width: 100%;
    }

    .services-card {
        padding: 4.56em 2.375em;
    }

    .card-back-content {
        padding: 4.56em 0.5em;
    }
    

    .footer-image {
        width: 44%;
        height: auto;
    }

    .footer-links {
        display: flex;
    }
}