:root {
    --primary-color: #0D5FF9 !important;
    --background-color: #d9f2ef;
    --text-color: #333;
    --light-text-color: #666;
}
*:not(.fa):not(.fas):not(.far):not(.fal):not(.fab) {
    font-family: 'Poppins', sans-serif !important;
}
/* .main-home {
    padding-top: 80px;
} */
.color-1{
    color: orangered !important;
}
#main-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 5rem;
    background-color: var(--background-color);
    gap: 2rem;
    min-height: 90vh;
}
section {
    background: url('../home/bg4.png') no-repeat center center fixed;
}
.section-bg-reminder {
    background: url('../home/bg5.webp') no-repeat;
}
/* .section-bg-about {
    background: url('../home/kys-about.webp') no-repeat center center fixed;
} */
.section-bg-about {
    position: relative;
    z-index: 0;
    overflow: hidden;
  }
  
  .section-bg-about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(../home/kys-about.webp) no-repeat center center fixed;
    background-size: cover;
    opacity: 0.7; /* Adjust from 0 (transparent) to 1 (opaque) */
    z-index: -1;
  }
.main-hero-content {
    flex: 1;
    /* max-width: 600px; */
}
.image-bg{
    background: azure;
    border-radius: 50%;
}

.main-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.main-hero-content h1 span {
    color: var(--primary-color);
    font-size: 60px;
}

.main-hero-content p {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 18px;
}

.cta {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.main-hero-image {
    flex: 1;
    text-align: end;
    height: 100%;
}

/* hero css for image */

.twm-home4-banner-section .row .twm-bnr-right-section {
    max-width: 690px;
    width: 100%;
    padding-top: 15%;
    position: relative;
  }
  @media (max-width: 1199px) {
    .twm-home4-banner-section .row .twm-bnr-right-section {
      margin: 0px auto 50px;
    }
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-graphics-h3 {
    position: absolute;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-graphics-user {
    position: relative;
    z-index: 4;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-bg-line {
    z-index: 1;
    left: -5%;
    top: 14%;
    width: 93.5%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-user {
    left: 0%;
    top: 13%;
    width: 50.4%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-bg-plate {
    z-index: 2;
    right: -1%;
    top: 12%;
    width: 79%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-checked-plate {
    z-index: 3;
    left: 25%;
    top: 20%;
    width: 66.7%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-blue-block {
    z-index: 3;
    left: 31%;
    top: 56%;
    width: 26.5%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-color-dotts {
    z-index: 3;
    left: 29%;
    top: 65%;
    width: 23.8%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-card-large {
    z-index: 3;
    left: 38%;
    top: 0%;
    width: 59.7%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-card-s1 {
    z-index: 3;
    right: 5%;
    top: 39%;
    width: 29.9%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-card-s2 {
    z-index: 3;
    right: 15%;
    top: 59%;
    width: 29.9%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-white-dotts {
    z-index: 3;
    left: 30%;
    top: 3%;
    width: 17%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-top-shadow {
    z-index: 0;
    left: -17%;
    top: -10%;
    width: 68.6%;
  }
  .twm-home4-banner-section .row .twm-bnr-right-section .twm-bottom-shadow {
    z-index: 0;
    right: -5%;
    top: 38%;
    width: 68.6%;
  }
  .right-style {
    transform: translate3d(1.36px, 3.15px, 0px) scale(1) rotate(0deg);
    opacity: 1;
}
.row .twm-bnr-right-section {
    max-width: 690px;
    width: 100%;
    padding-top: 15%;
    position: relative;
}
.right-style img {
    width: 100%;
    height: 100%;
}

/* hero css for image */

/* .main-hero-image img {
    max-width: 100%;
    height: 400px;
} */

#main-services {
    padding: 5rem;
    text-align: center;
}

#main-services h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

#main-services h2 span {
    color: var(--primary-color);
}

#main-services > p {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--light-text-color);
}

.main-service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.main-service-card {
    border-radius: 10px;
    padding: 2rem;
    box-shadow: #333;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden; /* Ensures child elements like ::before don't overflow the card */
}

.main-service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    position: relative;
    top: -40px;
    left: -50px;
    width: 104px;
    height: 85px;
    border-radius: 50% 23% 64%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffb800;
    z-index: 1;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.main-service-card h3 {
    font-size: 1.4rem;
    margin-top: -2rem;
    position: relative;
    z-index: 1; /* Ensures it stays above ::before */
    font-weight: 800;
}

.main-service-card p {
    color: var(--light-text-color);
    position: relative;
    z-index: 1; /* Ensures it stays above ::before */
}

#main-solutions {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0rem 3rem;
    background-color: var(--background-color);
}

.main-solutions-image {
    display: flex;
    justify-content: flex-end;
}

.main-solutions-image img {
    max-width: 100%;
    height: auto;
}

.main-solutions-content {
    flex: 1;
    max-width: 530px;
}

.main-solutions-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-solutions-content h2 span {
    color: var(--primary-color);
}

.main-solutions-content > p {
    margin-bottom: 2rem;
    color: var(--light-text-color);
}

.solution-steps {
    margin-bottom: 2rem;
}

.solution-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    align-self: center;
}

.step-content h3 {
    margin-bottom: 0.3rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--light-text-color);
    margin-bottom: 0px;
}

.solution-buttons {
    display: flex;
    gap: 1rem;
}

.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

#main-agency {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 3rem 5rem 3rem;
}

.main-agency-content {
    flex: 1;
    max-width: 500px;
}

.main-agency-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-agency-content h2 span {
    color: var(--primary-color);
}

.main-agency-content p {
    margin-bottom: 2rem;
    color: var(--light-text-color);
}

.main-agency-image {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 2rem; */
    /* margin: 0rem auto; */
    margin: 0rem 10px 10px;
}

.main-rounded-video {
    flex: 1;
    text-align: center;
    height: 100%;
    /* background-color: #cf3e3e; */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px;
    width: 80%;
    box-shadow: inset 4px -4px 14px -5px #000000bf, 4px -4px 14px -5px #000000bf;
    border-radius: 5px;
}

.main-agency-image img {
    max-width: 100%;
    height: auto;
}

.kys-banner {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    width: 100%; /* Ensure the banner takes up full width */
}

.kys-banner-image {
    flex: 1;
    min-width: 50%;
    padding: 0% 5%;
}

.kys-banner-image img {
    height: 100%;
    object-fit: cover;
    display: block;
    width: 100%; /* Ensure the image fills its container */
    margin-left: 0; /* Removed margin-left to prevent unwanted gaps */
}

.kys-banner-content {
    flex: 1;
    padding: 0rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kys-banner-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.kys-banner-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #666;
}

.kys-banner-button {
    align-self: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: var(--primary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.kys-banner-button:hover {
    background-color: var(--primary-color); /* Slight dark shade on hover */
}

/* Blog section styles */
.blog-section {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--background-color);
}

.blog-container {
    max-width: 1200px;
    margin: 61px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.blog-card {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    /* display: flex; */
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-read-more {
    align-self: start;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: var(--primary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.blog-read-more:hover {
    background-color: #0056b3;
}

.start-journey-container {
    max-width: 100%;
    padding: 3rem 10rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.start-journey-title {
    font-size: 2rem;
    /* color: #333; */
    margin-bottom: 1rem;
    font-weight: 600;
}

.start-journey-container h1 span {
    color: var(--primary-color);
}
.start-journey-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.start-journey-cta {
    margin-bottom: 1.5rem;
}

.start-journey-cta-icon {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 0.5rem;
}

.start-journey-cta-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.start-journey-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.start-journey-button:hover {
    background-color: #2980b9;
}

.start-journey-button-icon {
    margin-left: 0.5rem;
    font-weight: 800;
}

/* Main Header css */
.main-nav li a:hover {
    color: #000000 !important;
}
.btn-color-1{
    background-color: orangered !important;
}
.btn-color-2{
    background-color: #2db9bd !important;
}


@media (max-width: 768px) {
    .start-journey-container {
        padding: 1.5rem;
    }

    .start-journey-title {
        font-size: 2rem;
    }

    .start-journey-description {
        font-size: 1rem;
    }

    .start-journey-cta-text {
        font-size: 1.1rem;
    }

    .start-journey-button {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
}
/* Responsive styles */
@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-rounded-video {
        /* order: -1; */
        padding: 10px;
        border-radius: 5px;
        /* width: 90%; Makes it adapt to smaller screens */
    }
    .main-hero-image {
        order: -1; /* Moves the video to the top */
        width: 100%;
    }

    .kys-banner {
        flex-direction: column;
        padding: 1rem; /* Add some padding for small screens */
    }

    .kys-banner-image {
        min-height: 200px;
        width: 100%; /* Ensure the image takes full width on small screens */
    }

    .kys-banner-image img {
        height: auto;
        object-fit: contain;
        width: inherit;
    }
    .kys-banner-content {
        padding: 1rem; /* Reduce padding for small screens */
    }

    .kys-banner-title {
        font-size: 1.5rem; /* Reduce font size for small screens */
    }

    .kys-banner-description {
        font-size: 0.875rem; /* Reduce font size for readability */
    }
}

@media (max-width: 480px) {
    .kys-banner-title {
        font-size: 1.25rem; /* Further reduce title font size */
    }

    .kys-banner-description {
        font-size: 0.75rem; /* Further reduce description font size */
    }
}
@media (max-width: 576px) {
    .kys-banner-button {
        /* font-size: 0.875rem; */
        /* padding: 0.5rem 1rem; */
        padding: 10px;
        width: 100%; /* Optional: full width button on small screens */
    }
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
    .kys-banner-button {
        font-size: 0.95rem;
        /* padding: 0.6rem 1.2rem; */
        padding: 12px;
    }
    .main-hero-content h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
        font-weight: 700;
    }
    .main-agency-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .main-solutions-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    #main-hero,
    #main-solutions,
    #main-services,
    #main-agency {
        flex-direction: column;
        padding: 0rem 5rem;
        padding: 1rem 2rem;
    }

    .main-hero-content,
    .main-solutions-content,
    .main-agency-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .main-hero-image,
    .main-solutions-image,
    .main-agency-image {
        text-align: center;
        padding: 0;
    }

    .step-content h3 {
        margin-bottom: 0.3rem;
        font-size: 1.1rem;
    }

    .step-content p {
        color: var(--light-text-color);
    }
}

@media (max-width: 576px) {

    #main-hero {
        min-height: auto;
    }

    .main-hero-content h1 {
        font-size: 26px;
        margin-bottom: 1rem;
    }
    .main-hero-content h1 span {
        font-size: 30px;
    }
    .main-hero-content p {
        font-size: 14px;
    }
    #main-hero, #main-solutions, #main-services, #main-agency {
        padding: 1rem 0rem;
    }
    
    .main-hero-content, .main-solutions-content, .main-agency-content {
        text-align: center;
    }
    .for-only-mobile-position{
        position: relative;
        top: 0px;
        left: 0px;
    }
    .for-only-mobile-position{
        position: relative;
        top: 0px;
        left: 0px;
    }
    .for-mobile-left{
        position: absolute;
        top: 0px;
        left: 0;
        bottom: 0;
        z-index: 2;
        background-color: rgba(215, 241, 240, 0.8);
    }
    .main-hero-content, .main-solutions-content, .main-agency-content {
        margin-bottom: 0rem;
        justify-content: center;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    .main-solutions-content .solution-step{
        text-align: left;
    }
    .main-agency-content h2 {
        font-size: 24px;
        margin-bottom: 1rem;
    }
    .main-agency-content p {
        font-size: 14px;
        color: #000;
        margin-bottom: 0px;
        text-align: left;
    }
    .main-solutions-content h2 {
        font-size: 24px;
        margin-bottom: 1rem;
    }
    .solution-for-mobile{
        position: absolute;
    }
    .solution-for-mobile img{
        opacity: 0.4;
    }
    .for-mobile-z-index{
        z-index: 2;
        position: relative;
    }
    .step-content p {
        color: #000;
        font-size: 14px;
        margin-bottom: 0px;
    }
    .step-content h3 {
        margin-bottom: 0.3rem;
        font-size: 18px;
        font-weight: 600;
        color: #000; ;
    }
    .solution-step {
        margin-bottom: 1rem;
    }

    .solution-steps {
        margin-bottom: 0rem;
    }
    .kys-banner {
        flex-direction: column;
        padding: 1rem 0px 0px;
    }
    .kys-banner-mobile-position {
        position: absolute;
    }
    .kys-banner-mobile-position img {
        opacity: 0.5;
    }
    .kys-banner-content {
        z-index: 2;
    }
    .kys-banner-description {
        font-size: 14px !important;
        color: #000 !important;
    }
    #main-services > p {
        max-width: auto;
        margin: 0 1rem 1rem;
        color: #000;
    }
    #main-services h2, #main-services h2 span {
        font-size: 24px;
    }


    .main-service-cards {
        gap: 1rem;
        padding: 0px 20px;
    }
    .main-service-card h3 {
        font-size: 18px;
        font-weight: 600;
        color: #121262;
    }
    .main-service-card p {
        color: #000;
        font-size: 14px;
    }
    .blog-title {
        font-size: 24px;
        color: #000;
    }
    .blog-section p{
        font-size: 14px;
        color: #000;
    }

    .start-journey-title {
        font-size: 24px;
    }
    .start-journey-description {
        font-size: 14px;
        color: #000;
    }
}