* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

:root {
    --bg-color: #ffffff;
    --text-color: #22100d;
  
    --second-color: #f66962;
   
    --main-color:#31838f ;
    --big-font: clamp(2.5rem, 5vw, 3.8rem);
    --h2-font: clamp(2rem, 4vw, 2.6rem);
    --p-font: clamp(1rem, 2vw, 1.1rem);
    --header-height: 80px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;

}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    color: var(--text-color);
    /* edited */
    line-height: 1.6;
    overflow-x: hidden;
}

.header-icon{
    display: flex;
    align-items: center;
}
header {
    box-shadow: 0 8px 16px rgb(0 0 0 / 6%);
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    padding: 1rem 5%;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease-out;
}

.logo-p img {
    width: clamp(120px, 18vw, 170px);
    height: auto;
    transition: transform 0.3s ease;
}


.navbar {
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease-out;
}

.navbar a {
    color: var(--text-color);
    font-weight: 600;
    font-size: var(--p-font);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
}
.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: width 0.3s ease;
}
.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    color: var(--main-color);
}

.header-icon {
    display: flex;
    align-items: center;
}


.header-icon i {
    margin-left: 10px;
    font-size: 24px;
    color: var(--text-color);
    transition: all .40s ease;
    margin-right: 15px;
   
}

.header-icon i:hover {
    transform: scale(1.2);
    color: var(--main-color);
}

#menu-icon {
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
    font-size: 1.8rem;
}
@media (max-width:768px) {
    #menu-icon {
        display: block;
    }
    .navbar {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: right 0.3s ease-out;
    }

    .navbar.active {
        right: 0;
    }
}

section {
    padding: 80px 13%;
}


 .home{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 6%;
    gap: 2rem;
 }


@media (max-width: 768px) {
    
     .home{
        flex-direction: column;
        padding: 2rem 1rem;
        text-align: center;
     }
    .home-txt{
        order: 2;
        width: 100%;
        text-align: center;
        padding: 0 1rem;
    }
    
  .home-txt h1 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1rem;
    padding: 0 10px;
    
    
  }

  .home-txt h6 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .home-txt p {
    font-size: 16px;
    white-space: normal;
    overflow: visible;
    margin-bottom: 2rem;
  }
  .home-img {
    order: 1;
    padding-top: 5%;
    text-align: center;
    max-width: 90%;
    background-size: 30px 30px;
  }
}
@media (max-width: 480px) {
    .home-txt h1 {
      font-size: 26px;
    }
  
    .home-img {
      max-width: 100%;
      background-size: 20px 20px;
    }
  }
.home-img{
    background-image: linear-gradient( rgba(13, 77, 73, 0.1) 2px, transparent 2px),
    linear-gradient(90deg, rgba(13, 77, 73, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    flex: 1;
    text-align: right;
}
 .home-txt{
    flex: 1;
 }
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
  }
  


.home-img img {
    margin-top: 5%;
    margin-right: 17%;
    max-width: 100%;
    height: auto;

}

.home-txt h1 {
    font-size: 50px;
    font-weight: 700;
    margin: 20px 0 15px;
    margin-right: 25px;
    color: var(--main-color);
    line-height: 1.2;
    margin-bottom: 1rem;

}
.typewriter {
    display: inline-block;
    position: relative;
    color: var(--second-color);
}
.typewriter::after {
    content: "|";
    position: absolute;
    right: -0.25em;
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.home-txt h6 {
    color: black;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

.home-txt p {
    color: var(--second-color);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 48px;
    white-space: nowrap;
    overflow: hidden;
    animation: blink 0.75s step-end infinite;
}


.company-logo {
    overflow: hidden;
    color: #3e848b;
    padding: 1rem 0 4rem;
    background-color:#f8f9fa;
   
}

.heading p {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 1.375;
    font-weight: 700;
    margin-top: 25px;
    border-radius: 50px;
}

.logo-component {
    width: 100%;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.logo-list {
    display: flex;
    width: max-content;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    background-color:white;

}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.logo {
    display: flex;
    flex: 0 0 auto;
    width: 15rem;
   
    align-items: center;
    justify-content: center;
}



.logo img{
    max-height: 250px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}
.logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}
.features{
    padding-bottom: 4.5rem !important;
    padding-top: 4.5rem !important;
    background-color:#f8f9fa ;
    
}
.container{
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    margin-right: auto;
    margin-left: auto;
    background-color: #f8f9fa ;
   
}

.row-1{
    justify-content: center !important;
    display: flex;
        flex-wrap: wrap;
        margin-right: -12px;
        margin-left: -12px;
}
.col{
    position: relative;
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}
.row-2{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
        text-align: center;
        justify-content: center;
        align-items: center;

}
.feature-box{
    position: relative;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    margin-bottom: 2rem !important;
    background-color: #ffffff;
    height: auto;
    gap: 1.5rem;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.container{
    flex-direction: column;
}
@media screen and (max-width: 768px) {
    .row-2 {
      grid-template-columns: 1fr; /* One column layout */
    }
  
    .feature-box {
      flex-direction: column;
      align-items: center;
      text-align: center;
      height: auto; /* Let it grow based on content */
    }
  
    .icon {
      margin-bottom: 1rem;
    }
  
    .feature-box h4 a {
      font-size: 1.4rem;
    }
  
    .feature-box p {
      font-size: 0.95rem;
    }
  }
.icon{
    background: rgba(72, 191, 132, 0.1) !important;
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
}

.feature-box h4  a{
    font-family: Poppins, sans-serif;
    color: #1f2937;
    font-size: 2rem;
}
.feature-box h4  a:hover{
    color: #3e848b ;
    cursor: pointer;
}

h4{
    margin-top: 0rem;
    margin-bottom: 0rem;
    font-family: Poppins, sans-serif;
    color: #1f2937;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.03em;
}
p{
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0rem;
}
@media (max-width: 1024px) {
    header {
        padding: 1px 5%;
    }
    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--bg-color);
    }
    .navbar.active {
        display: flex;
    }
    .header-icon #menu-icon {
        display: block;
    }

}

@media (max-width: 768px) {
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    .icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    
    .navbar a {
        font-size: 14px;
    }
    
}
/* certificate styling */
.certificate {
    
    padding: 60px 20px;
    /* background-color:#d5d6d7; */
    background-image: linear-gradient( rgba(13, 77, 73, 0.1) 2px, transparent 2px),
    linear-gradient(90deg, rgba(13, 77, 73, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    text-align: center;
  }
  
  .cert-sec h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .cert-sec h4 {
    font-size: 1.9rem;
    margin-bottom: 30px;
    color: #666;
  }
  
  .cert-sec button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: background-color 0.3s ease;
  }
  
  .cert-sec button:hover {
    background-color: #218838;
  }
  
  .certificate-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }
  
  .certificate-preview img {
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .certificate-preview img:hover {
    transform: scale(1.02);
  }

 .ft {
    background-color: #192d2e;
    justify-content: center;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center; 
    padding: 4rem 5%;
  
}
.centered-footer{
    display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-left {
    max-width: 700px;
  }
.footer-container {
    justify-content: center; 
    align-items: center; 
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
}

.logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    
}


.footer-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
}


.footer-contact {
    margin-top: 15px;
}

.footer-contact a {
    color: white;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    margin: 5px 0;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}


.icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom a:hover {
    text-decoration: underline;
    opacity: 0.8;

}

 
