@import url('https://fonts.googleapis.com/css2?family=Teachers:ital,wght@0,400..800;1,400..800&display=swap');

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

body {
    font-family: "Teachers", sans-serif;
    color: white;
    background-color: #051437;
}

.bg{
    background: radial-gradient(circle, #1C71B7 1%, #1964A5 8%, #165B98 20%, #051437 90%);
}

.mob-app img{
    height: 22rem;
}

@media (max-width: 768px){
    .mob-app img{
        height: auto;
    }
}
/* Footer */
.footer {
    position: relative;
    background-image: url('/build/images/footer.png');
    background-size: cover;
    background-position: center;
}

.footer-overlay {
    background-color: rgba(13, 27, 69, 0.47);
    /* Dark blue overlay */
}

.footer h5 {
    color: #FF8B00;
    /* Orange color for titles */
}

.list-unstyled a {
    color: white;
    text-decoration: none;
}

.list-unstyled a:hover {
    color: #FF8B00;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.subscribe-form input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 200px;
    background-color: #1f3f817a;
}

.subscribe-form button {
    background-color: #0a87f4;
    /* color: white; */
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
}

.subscribe-form button:hover {
    background-color: #3395eb;
}

.social-media {
    text-align: center;
    margin-top: 20px;
    margin: 5px 0px;
    padding: 20px 5px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(49 107 196 / 70%) 27%, rgb(181 134 38 / 79%) 74%);
}



/* carear page */
.bg {
    background: radial-gradient(circle, #1C71B7 1%, #1964A5 8%, #165B98 20%, #051437 90%);
}

/* Open position section */
.position-card {
    background: linear-gradient(89deg, rgba(39,133,209,1) 0%, rgba(3,12,43,1) 67%);
    border: 2px solid white;
    border-radius: 10px;
    color: white;
    padding: 20px;
    transition: transform 0.3s ease;
}

.position-card:hover {
    transform: scale(1.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.position-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

.vacancy-text {
    font-size: 0.9rem;
    color: white;
    margin: 0;
}

.icon {
    color: white;
    cursor: pointer;
}

.position-details {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
}
/* end of footer */

/* logo carousel */
@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 20px 0;
    margin-top: 20px;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos-slide img {
    transition: transform 0.3s ease;
}

.logos-slide img:hover {
    transform: scale(1.20);
}

.logos-slide {
    display: inline-block;
    animation: 100s slide infinite linear;
}

.logos-slide img {
    height: 3.5rem;
    margin: 0 40px;
}
/* end of logo carousel */

/* affordable seo */

.img1{
    height: 25rem;
}
.img2{
    height: 29rem;
}
@media (max-width: 768px) {
    .img1{
        height: auto;
    }
    .img2{
        height: auto;
    }
}
/* seo service */
.secard {
    border: none;
    border-radius: 10px;
    background-color: #061437;
}

.secard img {
    max-width: 60px;
    /* margin: auto; */
}

.secard h5 {
    color: #FF9932; /* Orange title */
    font-weight: bold;
}

.secard ul {
    text-align: left;
    padding-left: 0;
}

.secard ul li {
    margin-bottom: 8px;
    font-size: 14px;
    list-style: none;
}
/* end of services */

/* logo carousel */
@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.results {
    overflow: hidden;
    padding: 20px 0;
    margin-top: 20px;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.results:before,
.results:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.result-slide img {
    transition: transform 0.3s ease;
}

.result-slide img:hover {
    transform: scale(1.20);
}

.result-slide {
    display: inline-block;
    animation: 30s slide infinite linear;
}

.result-slide img {
    height: 13rem;
    margin: 0 40px;
}
/* end of logo carousel */

/* Optimize Card */
.Optimize-card {
    background-color: white;
    border-radius: 40px 6px 40px 6px;
    padding: 20px;
    color: black;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Specific colors for each card */
.Optimize-card:nth-child(1) {
    background-color: #EF4056;
    width: 13rem;
}

.Optimize-card:nth-child(2) {
    background-color: #f9c033;
    width: 13rem;
}

.Optimize-card:nth-child(3) {
    background-color: #55C0EE;
    width: 13rem;
}

.Optimize-card:nth-child(4) {
    background-color: #3b58cc;
    width: 13rem;
}

.Optimize-card:nth-child(5) {
    background-color: #27b69b;
    width: 13rem;
}
.Optimize-card:nth-child(6) {
    background-color: #b6277f;
    width: 13rem;
}

/* Circular Numbering */
.card-header {
    font-size: 2rem;
    font-weight: bold;
    width: 60px;
    height: 60px;
    background-color: white;
    color: black;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Different colors for the text in numbered circles */
.Optimize-card:nth-child(1) .card-header {
    color: #EF4056;
    border-radius: 30px;
}

.Optimize-card:nth-child(2) .card-header {
    color: #f9c033;
    border-radius: 30px;
}

.Optimize-card:nth-child(3) .card-header {
    color: #55C0EE;
    border-radius: 30px;
}

.Optimize-card:nth-child(4) .card-header {
    color: #3b58cc;
    border-radius: 30px;
}

.Optimize-card:nth-child(5) .card-header {
    color: #27b69b;
    border-radius: 30px;
}
.Optimize-card:nth-child(6) .card-header {
    color: #b6277f;
    border-radius: 30px;
}

.Optimize-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
    text-shadow: 1px 1px 2px black;
    text-align: start;
}

.Optimize-card li {
    font-size: 1.1rem;
    line-height: 1.5;
    color: white;
    text-shadow: 2px 2px 2px black;
}
.row.Optimizes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between cards */
    justify-content: center; /* Center the cards in each row */
}

.Optimize-card {
    flex: 0 1 calc(33.33% - 20px); /* 3 cards per row with gap adjustment */
    max-width: calc(33.33% - 20px); /* Ensure the cards don't exceed this width */
    box-sizing: border-box; /* Ensure padding doesn't overflow the width */
}

/* For smaller screens */
@media (max-width: 768px) {
    .Optimize-card {
        flex: 0 1 calc(50% - 20px); /* 2 cards per row for tablets */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .Optimize-card {
        flex: 0 1 calc(100% - 20px); /* 1 card per row for mobile */
        max-width: calc(100% - 20px);
    }
}

@media (max-width:480px){
    .Optimize-card:nth-child(1) {
        width: 24rem;
    }
    .Optimize-card:nth-child(2) {
        width: 24rem;
    }
    .Optimize-card:nth-child(3) {
        width: 24rem;
    }
    .Optimize-card:nth-child(4) {
        width: 24rem;
    }
    .Optimize-card:nth-child(5) {
        width: 24rem;
    }
    .Optimize-card:nth-child(6) {
        width: 24rem;
    }
}
/* end of protocol section */

/* Testimonial - section */
.testimonial-section {
    color: white;
    padding: 3rem 0;
    position: relative;
}

.testimonial-section h2 {
    color: #FA911A;
    font-weight: bold;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: linear-gradient(#2169a7 25%, #051437 90%);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial-card h5 {
    color: #FA911A;
    font-weight: bold;
}

.testimonial-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.carousel-indicators [data-bs-target] {
    background-color: #FA911A;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    height: 100%;
    top: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #FA911A;
    border-radius: 50%;
    padding: 10px;
}

/* Position buttons outside the cards */
.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1rem;
        flex: 0 0 100%; /* Ensure cards take full width */
        max-width: 100%; /* Prevent wrapping */
    }

    .testimonial-card img {
        width: 60px;
        height: 60px;
    }

    .testimonial-section h2 {
        font-size: 1.5rem;
    }

    .testimonial-section p {
        font-size: 0.9rem;
    }

    .carousel-inner {
        display: flex; /* Use flex to prevent wrapping */
    }

    /* Hide carousel control buttons on mobile and tablets */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 576px) {
    .testimonial-section {
        padding: 2rem 0;
    }

    .testimonial-card {
        margin-bottom: 1rem; /* Add margin between cards */
        flex: 0 0 100%; /* Ensure cards take full width */
    }

    .carousel-inner {
        display: flex; /* Prevent wrapping */
    }
}
@media (max-width:1000px) {
    .testimonial-section{
        display: none;
    }
}
/* end of testimonial section */
/* Testimonial - section 2.0 */
.tes-section {
    color: white;
    padding: 3rem 0;
    position: relative;
}

.tes-section h2 {
    color: #FA911A;
    font-weight: bold;
    margin-bottom: 2rem;
}

.tes-card {
    background: linear-gradient(#2169a7 25%, #051437 90%);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tes img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.tes h5 {
    color: #FA911A;
    font-weight: bold;
}

.tes-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.carousel-indicators [data-bs-target] {
    background-color: #FA911A;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    height: 100%;
    top: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #FA911A;
    border-radius: 6px;
    padding: 20px 0px;
}

/* Position buttons outside the cards */
.carousel-control-prev {
    left: -40px;
}

.carousel-control-next {
    right: -40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .tes-card {
        padding: 1rem;
        flex: 0 0 100%; /* Ensure cards take full width */
        max-width: 100%; /* Prevent wrapping */
    }

    .tes-card img {
        width: 60px;
        height: 60px;
    }

    .tes-section h2 {
        font-size: 1.5rem;
    }

    .tes-section p {
        font-size: 0.9rem;
    }

    .carousel-inner {
        display: flex; /* Use flex to prevent wrapping */
    }
    .carousel-control-prev {
        left: -15px;
    }
    
    .carousel-control-next {
        right: -15px;
    }
}

@media (max-width: 576px) {
    .tes-section {
        padding: 2rem 0;
    }

    .tes-card {
        margin-bottom: 1rem; /* Add margin between cards */
        flex: 0 0 100%; /* Ensure cards take full width */
    }

    .carousel-inner {
        display: flex; /* Prevent wrapping */
    }
    .carousel-control-prev {
        left: -12px;
    }
    
    .carousel-control-next {
        right: -12px;
    }
}

@media (min-width: 1000px) {
    .tes-section {
      display: none; /* Hide it */
    }
  }
@media(max-width: 999) {
    .tes-section{
        display: block; /*start showing*/
    }
    .tes-card img {
        width: 40px;
        height: 40px;
    }
}
/* end of tes section 2.0 */
/* FAQ */
.faq-character {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-title {
    font-size: 5rem;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 2px 2px #000;
    margin-bottom: 1rem;
}

.character-image img {
    width: 15rem;
    /* height: auto; */
    margin-top: 1rem;
}

.faq-btn {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.faq-btn:hover {
    color: #ffcc00;
}

.card {
    background: linear-gradient(89deg, rgba(42,208,198,0.9164915966386554) 22%, rgba(69,201,136,0.8688725490196079) 51%, rgba(137,224,103,0.891281512605042) 93%);
    /* border-radius: 10px; */
    color: #fff;
    /* margin-bottom: 15px; */
}

.card-body {
    /* background-color: #47d147; */
    border-radius: 0 0 10px 10px;
    padding: 15px 10px;
    border: none;
    font-weight: 600;
    text-shadow: 1px 1px 3px black;
    /* color: #0d2b4f;*/
}

.fas.fa-chevron-down {
    color: #ffffff;
    transition: transform 0.3s ease;
}

.collapse.show .fas.fa-chevron-down {
    transform: rotate(180deg);
}

.faq-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(145deg, #006bc0, #071b40);
    margin-bottom: 0px;
}
.faq-box{
    border: 2px solid transparent;
    border-image: linear-gradient(89deg, rgba(0,151,178,1) 0%, rgba(126,217,87,1) 85%);
    border-radius: 11px;
    background: linear-gradient(89deg, rgba(0,151,178,1) 0%, rgba(126,217,87,1) 85%);
}
.faq-question {
    color: #ffffff;
}
.form-control {
    border: 2px solid transparent; /* Remove default border */
    background-clip: padding-box; /* Prevent gradient from overflowing */
    border-image: linear-gradient(89deg, rgba(0,151,178,1) 0%, rgba(126,217,87,1) 85%) 1; /* Create the gradient border */
}
.form-group .btn {
    padding: 5px 40px;
    border-radius: 11px;
    border: none;
    background: linear-gradient(89deg, rgba(0,151,178,1) 0%, rgba(126,217,87,1) 85%);
}
.collapse-icon {
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collapse.show .collapse-icon {
    transform: rotate(180deg);
}

#faqAccordion{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ask-box{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

@media (max-width: 768px){
    .faq-item {
        font-size: 13px;
        font-weight: 500;
    }
    .card-body{
        font-size: 13px;
    }
    .character-image img {
        width: 10rem;
    }
}

/* contact section */
.contact-section {
    color: white;
}

.contact-section h2 {
    /* font-size: 1.75rem; */
    margin-bottom: 20px;
    text-shadow: 2px 3px 3px black;
}
.contact-section h2 span{
    color: #ff7e1f;
}

.contact-section .form-control {
    background-color: #5a5a5a;
    border: none;
    border-radius: 10px;
    color: white;
    padding: 12px;
}

.contact-section .form-control::placeholder {
    color: #ddd;
}

.contact-section .btn-warning {
    background-color: #ff7e1f;
    border: none;
    padding: 10px;
    font-weight: bold;
    color: white;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-section .btn-warning:hover {
    background-color: #ff9900;
}

.contact-section ul li i {
    color: #ff7e1f;
}

/* CSS for responsive iframe */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px; /* Optional: round the edges */
    margin-top: 70px;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* end */