/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== HTML & BODY FIX ===== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    /* 🔥 MAIN FIX */
    scroll-behavior: smooth;
}

/* Body Styling */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F5F7FA;
    color: #1F2937;
    font-size: 16px;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
.logo,
.nav-links a {
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    /* text-align: center; */
    margin-bottom: 48px;
}

.section-tag {
    color: #1E5FAF;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0F3D6B, #1E5FAF);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.badge {
    background: #1E5FAF20;
    color: #1E5FAF;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #1E5FAF, #4FA3D9);
    z-index: 1001;
    transition: width 0.1s;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #0B2E4F;
    color: #C9CED6;
    font-size: 13px;
    padding: 10px 0;
}

.top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-info i {
    margin-right: 6px;
}

.social-links a {
    color: #C9CED6;
    margin-left: 18px;
    transition: 0.3s;
}

.social-links a:hover {
    color: #4FA3D9;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff;
    color: #1E5FAF;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

.social-links i {
    pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo img {
    height: 125px;
    width: 127px;
    object-fit: contain;
    padding-bottom: 9px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    padding: 14px 40px;
    position: relative;
    color: #1E5FAF;
}

.nav-links::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    opacity: 0.2;
}

.nav-links a {
    text-decoration: none;
    color: #1E5FAF;
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #cfe3ff;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 130%;
    left: 0;
    background: white;
    min-width: 260px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 9999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    background-color: #0B2E4F;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:hover {
    background: #F5F7FA;
    color: #1E5FAF;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #1E5FAF;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #0B2E4F;
}

.cta-btn {
    background: linear-gradient(135deg, #1E5FAF, #0F3D6B);
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 95, 175, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ===== HERO SLIDER ===== */
/* ================= HERO SLIDER ================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background: #000;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* ================= ARROWS ================= */

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.75);
}

/* ================= TABLET ================= */

@media (max-width: 992px) {
    .hero-slider {
        height: 70vh;
    }

    .slide {
        object-position: center;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .hero-slider {
        height: 48vh;
        min-height: 300px;
    }

    .slide {
        object-fit: contain;
        object-position: center top;
        /* background: #000; */
    }

    .prev,
    .next {
        font-size: 18px;
        padding: 7px 11px;
    }

    .prev {
        left: 8px;
    }

    .next {
        right: 8px;
    }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .hero-slider {
        height: 38vh;
        min-height: 240px;
    }

    .slide {
        object-fit: contain;
        object-position: center top;
    }

    .prev,
    .next {
        font-size: 14px;
        padding: 5px 9px;
    }
}

/* ===== MARQUEE ===== */
.rk-marquee-wrap {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #0B2E4F, #1E5FAF);
    padding: 14px 0;
    position: relative;
}

.rk-marquee {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.rk-track {
    display: inline-flex;
    gap: 50px;
    animation: rk-scroll 18s linear infinite;
}

.rk-track span {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rk-marquee:hover .rk-track {
    animation-play-state: paused;
}

@keyframes rk-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ================= TABLET ================= */

@media (max-width: 768px) {

    .rk-marquee-wrap {
        /* padding: 10px 0; */
        margin-top: -91px;
    }

    .rk-track {
        gap: 30px;
        animation-duration: 14s;
    }

    .rk-track span {
        font-size: 13px;
        gap: 6px;
        white-space: nowrap;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 480px) {

    {.rk-marquee-wrap 
        /* padding: 8px 0; */
        margin-top: -91px;
    }

    .rk-track {
        gap: 20px;
        animation-duration: 12s;
    }

    .rk-track span {
        font-size: 11px;
        gap: 5px;
        letter-spacing: 0;
    }
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #ffffff, #f3f7fc, #eaf2fb, #ffffff);
    background-size: 400% 400%;
    animation: bgMove 12s ease infinite;
}

.about::before,
.about::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.about::before {
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(30, 95, 175, 0.08);
    animation: float1 8s ease-in-out infinite;
}

.about::after {
    bottom: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: rgba(15, 61, 107, 0.08);
    animation: float2 10s ease-in-out infinite;
}

.about-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
    display: inline-block;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    transition: 0.5s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-img::before {
    content: "";
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
    background: linear-gradient(270deg, #1E5FAF, #0F6B5A, #1E5FAF);
    background-size: 400% 400%;
    animation: borderMove 6s ease infinite;
}

.about-img::after {
    content: "";
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 0;
    box-shadow: 0 0 30px rgba(30, 95, 175, 0.4);
    animation: glowPulse 3s ease-in-out infinite;
}

.exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #1E5FAF;
    color: white;
    padding: 18px 22px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.about-text h2 {
    font-size: 2.4rem;
    color: #0F3D6B;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    line-height: 1.7;
}

.stats-mini {
    display: flex;
    gap: 50px;
    margin: 30px 0;
}

.stats-mini div {
    text-align: center;
}

.stats-mini strong {
    font-size: 1.8rem;
    color: #1E5FAF;
}

.btn-outline-dark {
    border: 2px solid #1E5FAF;
    color: #1E5FAF;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-outline-dark:hover {
    background: #1E5FAF;
    color: white;
    transform: translateY(-3px);
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(40px, 30px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, -40px);
    }
}

@keyframes bgMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(30, 95, 175, 0.4);
    }

    50% {
        box-shadow: 0 0 35px rgba(30, 95, 175, 0.8);
    }
}

/* ===== INDUSTRIES ===== */
.indutex-industries {
    background: linear-gradient(rgba(15, 60, 115, 0.85), rgba(10, 15, 28, 0.9)), url('assets/banner/back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 110px 20px;
    text-align: center;
    position: relative;
}

.indutex-industries__title {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s ease;
}

.indutex-industries__title.active {
    opacity: 1;
    transform: translateY(0);
}

.indutex-industries__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: auto;
}

.indutex-industries__card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 40px 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transform: translateY(80px) scale(0.95);
    opacity: 0;
    transition: all 0.6s ease;
    cursor: pointer;
}

.indutex-industries__card.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.indutex-industries__card:hover {
    transform: translateY(-12px) scale(1.03);
    background: #fff;
    color: #1E5FAF;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.indutex-industries__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(45deg, #1E5FAF, transparent);
    opacity: 0;
    transition: 0.4s;
}

.indutex-industries__card:hover::before {
    opacity: 1;
}

.indutex-industries__icon-wrap {
    width: 80px;
    height: 80px;
    margin: auto;
    margin-bottom: 15px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.indutex-industries__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.indutex-industries__card:hover .indutex-industries__icon-wrap {
    background: #1E5FAF;
    transform: rotate(8deg) scale(1.1);
}

.indutex-industries__list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.indutex-industries__list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.indutex-industries__card:hover .indutex-industries__list li {
    border-color: rgba(30, 95, 175, 0.2);
}

/* ===== COUNTER SECTION ===== */
.rk-counter-section {
    position: relative;
    padding: 100px 20px;
    background-size: 300% 300%;
    animation: gradientMove 10s ease infinite;
    overflow: hidden;
}

.rk-counter-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 90px 120px;
    z-index: 2;
    position: relative;
}

.rk-counter-card {
    position: relative;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
}

.rk-counter-card:hover {
    transform: rotate(45deg) scale(1.1);
}

.rk-inner {
    transform: rotate(-45deg);
    text-align: center;
    color: #0B2E4F;
}

.rk-number {
    font-size: 30px;
    font-weight: 800;
}

.rk-suffix {
    font-size: 22px;
    color: #00C6FF;
}

.rk-icon-box {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
    background: linear-gradient(135deg, #1E88E5, #00C6FF);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-size: 20px;
}

.rk-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
    background: #0B2E4F;
    color: white;
    padding: 6px 16px;
    font-size: 12px;
    border-radius: 4px;
}

.rk-bg-animation span {
    position: absolute;
    bottom: -100px;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    animation: floatUp 12s linear infinite;
}

.rk-bg-animation span:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
}

.rk-bg-animation span:nth-child(2) {
    width: 40px;
    height: 40px;
    left: 30%;
    animation-delay: 2s;
}

.rk-bg-animation span:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 50%;
    animation-delay: 4s;
}

.rk-bg-animation span:nth-child(4) {
    width: 60px;
    height: 60px;
    left: 70%;
    animation-delay: 1s;
}

.rk-bg-animation span:nth-child(5) {
    width: 90px;
    height: 90px;
    left: 90%;
    animation-delay: 5s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px);
        opacity: 0;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== BENTO GRID ===== */
.rkx-bento-sec {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
}

.rkx-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 25px;
}

.rkx-reveal {
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rkx-left {
    transform: translateX(-100px);
}

.rkx-right {
    transform: translateX(100px);
}

.rkx-top {
    transform: translateY(-100px);
}

.rkx-bottom {
    transform: translateY(100px);
}

.rkx-reveal.rkx-active {
    opacity: 1;
    transform: translate(0, 0);
}

.rkx-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e6eaf0;
    transition: 0.4s;
}

.rkx-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.rkx-large {
    grid-column: span 2;
}

.rkx-img-box {
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.rkx-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.rkx-card:hover img {
    transform: scale(1.08);
}

.rkx-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    z-index: 2;
}

.rkx-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 40%);
    opacity: 0;
    transition: 0.4s;
}

.rkx-card:hover::after {
    opacity: 1;
}

/* ===== CLIENTS GRID ===== */
.rk-clients-grid {
    padding: 100px 0;
    background: #f4f4f4;
    text-align: center;
}

.rk-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 70px;
    color: #222;
}

.rk-title span {
    color: #555;
}

.rk-clients-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.rk-client {
    background: #fff;
    padding: 35px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.rk-client img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    transition: 0.4s ease;
}

.rk-client:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.rk-client.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CERTIFICATES ===== */
.rk-cert-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
    text-align: center;
}

.rk-cert-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
}

.rk-cert-title span {
    color: #1e5faf;
}

.rk-cert-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.rk-cert-card {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.rk-cert-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.6s;
}

.rk-cert-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: 0.4s;
}

.rk-cert-name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 20px;
    z-index: 2;
    letter-spacing: 1px;
}

.rk-cert-card:hover img {
    transform: scale(1.2);
}

.rk-cert-card:hover::before {
    opacity: 1;
}

.rk-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 999;
}

.rk-popup.active {
    opacity: 1;
    visibility: visible;
}

.rk-popup-content {
    background: #fff;
    border-radius: 12px;
    display: flex;
    max-width: 900px;
    width: 90%;
    overflow: hidden;
    animation: zoom 0.4s;
}

.rk-popup-content img {
    width: 50%;
    object-fit: contain;
}

.rk-popup-details {
    padding: 30px;
    text-align: left;
}

.rk-popup-details h3 {
    margin-bottom: 15px;
    color: #1e5faf;
}

.rk-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

@keyframes zoom {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
    background: #F5F7FA;
}

.testimonialSwiper {
    padding: 20px 0;
}

.testi-card {
    background: white;
    padding: 48px;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.testi-card i {
    font-size: 36px;
    color: #1E5FAF;
    margin-bottom: 20px;
}

.testi-card p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background:
        linear-gradient(rgba(54, 119, 199, 0.85), rgba(15, 61, 107, 0.85)),
        url('assets/banner/download.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.btn-white {
    background: white;
    color: #1E5FAF;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-card {
    background: #F5F7FA;
    padding: 40px;
    border-radius: 28px;
}

.contact-info-card div {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info-card i {
    font-size: 32px;
    color: #1E5FAF;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-family: inherit;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1E5FAF;
    box-shadow: 0 0 0 3px #1E5FAF20;
}

.btn-submit {
    background: #1E5FAF;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #0F3D6B;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: #0B2E4F;
    color: #C9CED6;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h3,
.footer-grid h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li,
.footer-grid ul li a {
    color: #C9CED6;
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
}

.social-icons a {
    color: white;
    margin-right: 16px;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #4FA3D9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1E5FAF;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    background: #1E5FAF;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
}

/* ============================================ */
/* ===== ENHANCED RESPONSIVE STYLES ===== */
/* ============================================ */

/* Large Desktop (1200px and below) */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .rkx-bento-grid {
        gap: 20px;
        grid-template-rows: repeat(2, 280px);
    }
}

/* Tablet & Small Desktop (1024px and below) */
@media (max-width: 1024px) {

    /* Navigation Mobile */
    .nav-links {
        display: none;
        gap: 20px;
        padding: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        border-radius: 0;
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active a {
        color: #1F2937;
    }

    /* Dropdown on mobile: always visible */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
        max-height: none;
        transform: none;
    }

    .dropdown-menu a {
        background: transparent;
        color: #1E5FAF;
        border-bottom: 1px solid #e2e8f0;
    }

    .dropdown:hover .dropdown-menu {
        transform: none;
    }

    /* Hide CTA button outside mobile menu */
    .cta-btn {
        display: none;
    }

    .nav-links.active .cta-btn {
        display: inline-block;
        margin-top: 15px;
        text-align: center;
    }

    /* About & Contact Grid */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Hero Slider */
    .hero-slider {
        height: 70vh;
        min-height: 450px;
    }

    /* Section Headings */
    .section-header h2,
    .rk-title,
    .rk-cert-title {
        font-size: 2rem;
    }

    .indutex-industries__title {
        font-size: 2.2rem;
    }

    /* Clients Grid */
    .rk-clients-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    /* Counter Section */
    .rk-counter-container {
        gap: 60px 80px;
    }
}

/* Medium Tablets (768px and below) */
@media (max-width: 768px) {
    .top-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-info {
        font-size: 12px;
    }

    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .prev,
    .next {
        padding: 8px 12px;
        font-size: 24px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .indutex-industries {
        padding: 80px 16px;
    }

    .indutex-industries__title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .indutex-industries__card {
        padding: 30px 20px;
    }

    /* Counter Cards */
    .rk-counter-container {
        gap: 50px;
    }

    .rk-counter-card {
        width: 130px;
        height: 130px;
    }

    .rk-number {
        font-size: 24px;
    }

    .rk-suffix {
        font-size: 18px;
    }

    .rk-icon-box {
        width: 45px;
        height: 45px;
        font-size: 16px;
        top: -22px;
    }

    .rk-label {
        font-size: 10px;
        padding: 4px 12px;
        bottom: -16px;
    }

    /* Bento Grid */
    .rkx-bento-sec {
        margin: 60px auto;
    }

    .rkx-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
    }

    .rkx-large {
        grid-column: span 2;
    }

    .rkx-card {
        height: 260px;
    }

    /* Clients Grid */
    .rk-clients-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .rk-client {
        padding: 25px 15px;
    }

    .rk-client img {
        height: 80px;
    }

    /* Certificates */
    .rk-cert-section {
        padding: 60px 16px;
    }

    .rk-cert-card {
        height: 220px;
    }

    /* Testimonials */
    .testimonials {
        padding: 60px 0;
    }

    .testi-card {
        padding: 32px 24px;
    }

    .testi-card p {
        font-size: 1rem;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 60px 20px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .btn-white {
        padding: 12px 28px;
    }

    /* Contact */
    .contact {
        padding: 60px 0;
    }

    .contact-info-card {
        padding: 30px;
    }

    .contact-info-card div {
        gap: 15px;
    }

    /* Footer */
    .footer-grid {
        gap: 30px;
        text-align: center;
    }

    .social-icons {
        margin-top: 10px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* Mobile Landscape & Small Tablets (576px and below) */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-tag {
        font-size: 0.75rem;
    }

    /* Hero Slider */
    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }

    .prev,
    .next {
        padding: 6px 10px;
        font-size: 20px;
    }

    /* About */
    .about {
        padding: 60px 0;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .stats-mini {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-mini strong {
        font-size: 1.5rem;
    }

    .exp-badge {
        padding: 12px 16px;
        font-size: 0.9rem;
        bottom: -10px;
        right: -10px;
    }

    /* Bento Grid */
    .rkx-bento-grid {
        grid-template-columns: 1fr;
    }

    .rkx-large {
        grid-column: span 1;
    }

    .rkx-card {
        height: 240px;
    }

    /* Clients Grid */
    .rk-clients-wrapper {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Certificates */
    .rk-cert-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .rk-cert-card {
        height: 200px;
    }

    .rk-cert-name {
        font-size: 18px;
        bottom: 15px;
        left: 15px;
    }

    /* Popup */
    .rk-popup-content {
        flex-direction: column;
        width: 95%;
    }

    .rk-popup-content img {
        width: 100%;
        max-height: 250px;
    }

    .rk-popup-details {
        padding: 20px;
    }

    .rk-close {
        top: 15px;
        right: 20px;
        font-size: 24px;
    }

    /* Testimonials */
    .testi-card {
        padding: 24px 16px;
    }

    .testi-card i {
        font-size: 28px;
    }

    /* Contact Form */
    .contact-form input,
    .contact-form textarea {
        padding: 14px;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Extra Small Devices (480px and below) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .logo img {
        height: 90px;
        width: 92px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .indutex-industries__title {
        font-size: 1.5rem;
    }

    .indutex-industries__card {
        padding: 25px 15px;
    }

    .indutex-industries__icon-wrap {
        width: 60px;
        height: 60px;
    }

    .indutex-industries__icon {
        width: 30px;
        height: 30px;
    }

    /* Counter Cards - Stack and reduce */
    .rk-counter-container {
        gap: 94px;
        display: grid;
    }

    .rk-counter-card {
        width: 160px;
        height: 160px;
    }

    .rk-number {
        font-size: 28px;
    }

    .rk-suffix {
        font-size: 22px;
    }

    .rk-icon-box {
        width: 58px;
        height: 58px;
        font-size: 24px;
        top: -18px;
    }

    .rk-label {
        font-size: 9px;
        padding: 3px 10px;
        bottom: -14px;
        white-space: nowrap;
    }

    /* Marquee */
    .rk-track span {
        font-size: 12px;
        gap: 5px;
    }

    .rk-track {
        gap: 30px;
    }

    /* Buttons */
    .btn-outline-dark,
    .cta-btn,
    .btn-white,
    .btn-submit {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Back to Top */
    .back-to-top {
        width: 36px;
        height: 36px;
        bottom: 15px;
        right: 15px;
        font-size: 14px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    .rkx-card:hover,
    .indutex-industries__card:hover,
    .rk-client:hover,
    .rk-cert-card:hover {
        transform: none;
    }

    .rkx-card:hover img {
        transform: none;
    }

    .rk-cert-card:hover img {
        transform: none;
    }
}

/* Print styles */
@media print {

    .scroll-progress,
    .top-bar,
    .menu-toggle,
    .back-to-top,
    .cta-banner,
    .testimonials,
    .rk-clients-grid,
    .rk-marquee-wrap,
    .prev,
    .next {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }
}
}