@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #C2DCDA;
    --second-bg-color: #e0f2ed;
    --text-color: #000000;
    --main-color: #5CB305;
}

html {
    font-size: 55.5%;
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    width: 100%; /* Add this */
    overflow-x: hidden;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background: var(--second-bg-color);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    z-index: 100;
    max-width: 100vw;
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo {
    font-size: 3rem;
    color: var(--main-color);
    font-weight: 700;
    font-style: inherit;
    cursor: default;
}

.navbar a {
    font-size: 2rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: .3s;
}

/** Activates the color for the "active" nav btn, other only when hovered*/
.navbar a:hover , .navbar a.active{ 
    color: var(--main-color);
}

.lang-switches {
    display: flex;
    gap: 1rem;
    margin-left: 4rem;
}

.lang-switches .lang-btn {
    font-size: 1.6rem;  /* Slightly smaller than other nav items */
    padding: 0.2rem 1rem;
    border: 2px solid var(--main-color);
    color: var(--text-color);
    border-radius: 0.5rem;
    margin-left: 0;  /* Override default navbar margin */
}

.lang-switches .lang-btn:hover,
.lang-switches .lang-btn.active {
    background-color: var(--main-color);
    color: var(--bg-color);
}


#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

.account-deletion {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}
  
.account-deletion .container {
    max-width: 800px;
    margin: 0 auto;
}
  
.account-deletion .heading {
    text-align: center;
    font-size: 6rem;
    margin-bottom: 4rem;
    color: var(--main-color);
}
  
.deletion-process {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}
  
.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.05);
    transition: 0.5s ease;
}
  
.step:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    transform: scale(1.02);
}
  
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--main-color);
    color: var(--second-bg-color);
    font-size: 2rem;
    font-weight: 600;
    border-radius: 50%;
}
  
.step:hover .step-number {
    background: var(--second-bg-color);
    color: var(--main-color);
}
  
.step-content {
    flex: 1;
}
  
.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
  
.step-content p {
    font-size: 1.2rem;
}
  
.step-icon {
    font-size: 2.5rem;
    margin-top: 1rem;
}
  
.deletion-info {
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.05);
}
  
.deletion-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--main-color);
}
  
.deletion-info ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}
  
.deletion-info li {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}
  
.deletion-info p {
    font-size: 1.2rem;
    line-height: 1.6;
}
  
.deletion-info a {
    color: var(--main-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .account-deletion {
      padding: 8rem 4% 2rem;
    }
    
    .account-deletion .heading {
      font-size: 2.5rem;
    }
    
    .step {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1rem;
    }
    
    .step-content h3 {
      font-size: 1.6rem;
    }
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-content h3{
    font-size: 3.2rem;
    font-weight: 400;
}

.home-content h2{
    font-size: 4.2rem;
    font-weight: 700;
}

/*This: nth-of-type targets a specific h3*/
.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    color: var(--main-color);
}

.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 2rem;
}

.video-container iframe {
    width: 40vw;
    aspect-ratio: 16/9;
    /* animation: floatImage 4s ease-in-out infinite; */
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2.4rem);
    }
    100% {
        transform: translateY(0);
    }
}

.whatsapp-float span {
    font-size: 30%;
    color: #FFF;
}
  
.whatsapp-float i{
    font-size: 100%;
    left: 10px;
    color: #FFF;
}

.whatsapp-float {
    position: fixed;
    bottom: 12%;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    width: 15%;
    height: 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.home-content p{
    font-size: 2.3rem;
    margin-top: 1rem;
}

.home-content li{
    font-size: 2.3rem;
    margin-top: 1rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%; /*The percentage is in terms of radius*/
    font-size: 2rem;
    color: var(--main-color);
    margin: 2rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--main-color);
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 2rem;
    color: var(--text-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.btn:hover{
    box-shadow: none;
}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--second-bg-color);
}

.about-img img {
    width: 35vw;
    animation: floatImage 4s ease-in-out infinite;
}

.detail-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
    background: var(--bg-color);
}

.detail-paragraph {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    background: var(--bg-color);
}

.detail-img img {
    width: 35vw;
    height: 23vw;
    animation: floatImage 4s ease-in-out infinite;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
}

.detail-content h2 {
    color: var(--main-color);
    text-align: left;
    line-height: 1.2;
}

.detail-content h3 {
    font-size: 2.6rem;
    font-weight: 500;
}

.detail-paragraph p {
    width: 100%;
    font-size: 1.8rem;
    margin: 2rem .3rem;
    font-weight: 50;
}

.detail-paragraph span{
    font-size: 2.2rem;
    font-weight: 500;
}

.heading {
    text-align: center;
    font-size: 4.5rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2.6rem;
}

.about-content p {
    font-size: 2rem;
    margin: 2rem .3rem;
}

.about-content em {
    font-style: normal;
}


.services h2 {
    margin-bottom: 5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s;
}

.services-container .services-box:hover{
    border-color: var(--main-color);
    transform: scale(1.02);
}

.services-box i{
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3{
    font-size: 2.6rem;
}

.services-box p{
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

.read-more-text {
    transition: all 0.3s ease;
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

.content.expanded .read-more-text {
    display: inline !important;
}

.portfolio{
    background: var(--second-bg-color);
}

.portfolio h2 {
    margin-bottom: 4rem;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.portfolio-container .portfolio-box {
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
}

.portfolio-box img {
    width: 100%;
    transition: .5s ease;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,.1),var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    /* transform: translateY(100%); */
    transition: .5s ease;
}

/* .portfolio-box:hover .portfolio-layer {
    transform: translateY(0);
} */

.portfolio-layer h4 {
    font-size: 3rem;
}

.portfolio-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.portfolio-layer a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
}

.portfolio-layer a i {
    font-size: 2rem;
    color: var(--main-color);
}

.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mobile-type-selection {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
  }
  
  .mobile-type-selection label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    width: 35%;
    transition: all 0.3s ease;
  }
  
  .mobile-type-selection label:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .mobile-type-selection input[type="radio"]:checked + a + span {
    font-weight: bold;
    color: var(--main-color);
  }

  .mobile-type-selection input[type="radio"]:checked + a {
    color: var(--main-color);
  }
  
  .mobile-type-selection label:has(input[type="radio"]:checked) {
    border-color: var(--main-color);
    background-color: var(--second-bg-color);
  }
  
  .mobile-type-selection a {
    width: 4rem;
    height: 4rem;
    background: transparent;
    font-size: 4rem;
    color: var(--text-color);
    margin: 2rem 1.5rem 3rem 0;
  }
  
  .mobile-type-selection span {
    margin-top: 1rem;
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-color);
  }
  
  /* Hide the default radio button */
  .mobile-type-selection input[type="radio"] {
    position: absolute;
    opacity: 0;
  }

.contact form .input-box input,.input-box select,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
}

.contact form .input-box input,.input-box select {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn{
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.btn {
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.btn.loading {
    color: transparent !important;  /* Hide text while loading, with higher specificity */
    cursor: not-allowed !important;
}

.btn.loading:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--second-bg-color);
}

.footer-text p {
    font-size: 1.2rem;
}

.footer-iconTop a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}

/* BREAKPOINTS */
@media (max-width: 1200px){
    html{
        font-size: 45%;
    }
}

@media (max-width: 991px){
    .header {
        padding: 1rem 3%;
        align-items: center;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .services {
        padding-bottom: 7rem;
    }

    .portfolio {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: auto;
    }

    .footer {
        padding: 1rem 3%;
    }
}

@media (max-width: 768px){
    .header {
        padding: 1rem 2%;
    }
    #menu-icon{
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    .home {
        flex-direction: column;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .video-container iframe {
        width: 70vw;
        aspect-ratio: 16/9;
        margin-top: 2rem;
    }

    .about {
        flex-direction: column-reverse;
    }

    .about img {
        width: 70vw;
        margin-top: 4rem;
    }

    .services h2 {
        margin-bottom: 3rem;
    }

    .portfolio h2{
        margin-bottom: 3rem;
    }

    .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 617px){
    .portfolio-container {
        grid-template-columns: 1fr;
    }

    .whatsapp-float span {
        display: none;
    }

    .detail-header {
        flex-direction: column;
    }

    .detail-header h2,
    .detail-header h3 {
        text-align: center;
    }

    .detail-paragraph {
        flex-direction: column;
    }
}

@media (max-width: 450px){
    html {
        font-size: 50%;
    }

    .contact form .input-box input, .input-box select{
        width: 100%;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

@media (max-width: 365px){
    .video-container iframe {
        width: 90vw;
        aspect-ratio: 16/9;
    }

    .about-img img{
        width: 90vw;
    }
}
