/* =========================
   Responsive CSS
========================= */

@media (max-width: 1240px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .solutions-grid>div:nth-child(4) {
        border-right: 1px solid rgba(41, 50, 117, 0.12);
    }

    .solutions-grid>div:nth-child(5) {
        border-bottom: 1px solid rgba(41, 50, 117, 0.12);
    }

    .solutions-grid>div:nth-child(3),
    .solutions-grid>div:nth-child(6) {
        border-right: none;
    }
}


@media (max-width: 1200px) {
    .header {
        padding: 24px 20px;
        gap: 16px;
    }

    .logo img {
        width: 140px;
    }

    .header nav ul {
        gap: 14px;
    }

    .header ul a {
        font-size: 16px;
    }

    .btn-wrapper {
        gap: 12px;
    }

    .btn span {
        font-size: 16px;
    }

    .common-heading {
        font-size: 32px;
        line-height: 44px;
    }

    .about-section,
    .business-section,
    .projects-section,
    .media-section,
    .footer,
    .investors-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .impact-wrapper h3 {
        padding-left: 20px;
        font-size: 22px;
    }

    .impact-wrapper p {
        font-size: 16px;
        line-height: 24px;
    }

    .business-sec-content {
        padding: 55px 30px 40px;
    }

    .business-card-content .btn-gray {
        min-width: 165px;
    }

    .news-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .header {
        align-items: center;
    }

    .header {
        z-index: 1000;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: rgba(30, 30, 30, 0.96);
        backdrop-filter: blur(16px);
        padding: 100px 28px 30px;
        transition: 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .navbar.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        padding: 16px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .has-submenu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        background: transparent;
        padding: 0 0 0 14px;
        box-shadow: none;
    }

    .has-submenu {
        flex-direction: column;
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .has-submenu .submenu li {
        border: 0;
    }

    .has-submenu .submenu li a {
        padding: 12px 0;
        color: #fff;
    }

    .has-submenu.active .submenu-icon {
        transform: rotate(180deg);
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero-section {
        height: 760px;
        min-height: 100vh;
    }

    .hero-content {
        padding: 120px 20px 40px;
    }

    .hero-content h1 {
        font-size: 28px;
        max-width: 520px;
        margin-top: 0;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 24px;
        max-width: 500px;
        margin: 20px 0 28px;
    }

    .hero-custom-pagination {
        right: 15px;
    }

    .about-section {
        flex-direction: column;
        padding-top: 55px;
        padding-bottom: 55px;
        gap: 30px;
    }

    .about-img,
    .about-content {
        width: 100%;
    }

    .about-img img {
        max-height: 500px;
    }

    .impact-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-wrapper>div {
        height: 420px;
    }

    .impact-wrapper p {
        opacity: 1;
        visibility: visible;
    }

    .business-card-wrapper {
        min-height: 420px;
    }

    .solutions-section .common-heading,
    .solutions-section>p {
        max-width: 580px;
    }

    .business-card {
        padding: 45px 28px 30px;
    }

    .business-card>div {
        align-items: flex-start;
        flex-direction: column;
    }

    .business-card p {
        max-width: 100%;
    }

    .solutions-section {
        padding: 50px 20px;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid>div:nth-child(3),
    .solutions-grid>div:nth-child(6) {
        border-right: 1px solid rgba(41, 50, 117, 0.12);
    }

    .solutions-grid>div:nth-child(2n) {
        border-right: none;
    }

    .solutions-grid>div:nth-child(7),
    .solutions-grid>div:nth-child(8) {
        border-bottom: none;
    }

    .solutions-grid>div {
        border-bottom: 1px solid rgba(41, 50, 117, 0.12);
    }

    .why-section {
        flex-direction: column;
        padding: 55px 20px;
        gap: 30px;
    }

    .why-img,
    .why-content {
        width: 100%;
    }

    .why-img img {
        border-radius: 4px;
        max-height: 520px;
    }

    .investors-section {
        flex-direction: column;
    }

    .investors-content,
    .investors-img {
        width: 100%;
    }

    .investors-img img {
        max-height: 500px;
    }

    .news-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .common-heading {
        font-size: 28px;
        line-height: 38px;
    }

    .section-label {
        padding: 9px 12px;
        font-size: 12px;
        line-height: 14px;
    }

    .header {
        padding: 18px 15px;
    }

    .logo img {
        width: 125px;
    }

    .btn-wrapper .btn:not(.btn-gray) {
        display: none;
    }

    .btn {
        padding: 9px 13px;
        border-radius: 10px;
    }

    .btn span {
        font-size: 15px;
        line-height: 20px;
    }

    .btn svg {
        width: 20px;
        height: 20px;
    }

    .hero-section {
        height: 680px;
    }

    .hero-content {
        padding: 100px 20px 35px;
    }

    .hero-content h1 {
        font-size: 25px;
        max-width: 90%;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 22px;
        max-width: 90%;
        margin: 16px 0 24px;
    }

    .hero-custom-pagination {
        right: 10px;
        width: 18px;
    }

    .hero-custom-pagination .splide__pagination__page {
        height: 36px;
    }

    .hero-custom-pagination p {
        font-size: 12px;
    }

    .about-section {
        padding: 45px 20px;
    }

    .about-content .common-heading,
    .why-content .common-heading,
    .investors-content .common-heading {
        line-height: 34px;
    }

    .about-content h6,
    .about-content p {
        font-size: 15px;
        line-height: 24px;
    }

    .impact-section {
        padding-top: 40px;
        align-items: flex-start;
    }

    .impact-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .impact-wrapper {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .impact-wrapper>div {
        height: 360px;
        border-radius: 18px;
        padding: 30px 20px;
    }

    .impact-wrapper h3 {
        height: 70px;
        margin-bottom: 24px;
        font-size: 22px;
        line-height: 30px;
        max-width: 100%;
    }

    .business-section {
        padding: 40px 15px;
    }

    .business-sec-content {
        padding: 40px 18px 24px;
        border-radius: 22px;
    }

    .heading-row {
        margin-bottom: 28px;
    }

    .heading-row p {
        font-size: 15px;
        line-height: 23px;
    }

    .business-card-wrapper {
        min-height: 430px;
        border-radius: 22px;
    }

    .business-card-wrapper>img {
        height: 100%;
        object-fit: cover;
        border-radius: 22px;
    }

    .business-card {
        padding: 35px 22px 25px;
    }

    .business-card>img {
        width: 130px;
    }

    .business-card h3 {
        font-size: 22px;
        line-height: 26px;
    }

    .business-card p {
        font-size: 15px;
        line-height: 20px;
    }

    .solutions-section {
        padding: 45px 20px;
        align-items: flex-start;
    }

    .solutions-section .common-heading,
    .solutions-section>p {
        text-align: left;
    }

    .solutions-section>p {
        font-size: 15px;
        line-height: 23px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid>div {
        min-height: 160px;
        padding: 28px 22px;
        border-right: none !important;
    }

    .solutions-grid>div:last-child {
        border-bottom: none;
    }

    .projects-section {
        padding: 55px 20px 45px;
    }

    .project-sec-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-sec-top a {
        font-size: 15px;
    }

    .projects-section>p {
        font-size: 15px;
        line-height: 23px;
    }

    .project-card {
        min-height: 340px;
        padding: 22px;
    }

    .project-card span {
        font-size: 14px;
        padding: 8px 16px;
    }

    .project-card h3 {
        font-size: 22px;
        line-height: 30px;
    }

    .project-card p {
        font-size: 15px;
        line-height: 21px;
    }

    .projects-section .splide__arrow {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }

    .projects-section .splide__arrow--prev {
        left: -10px;
    }

    .projects-section .splide__arrow--next {
        right: -10px;
    }

    .why-section {
        padding: 45px 20px;
    }

    .why-content p,
    .why-content ul li {
        font-size: 15px;
        line-height: 23px;
    }

    .investors-section {
        padding: 45px 20px;
    }

    .investors-content {
        padding: 35px 22px;
    }

    .investors-content .common-heading {
        margin-top: 24px;
    }

    .media-section {
        padding: 50px 20px;
    }

    .media-sec-top {
        margin-bottom: 28px;
    }

    .news-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-wrapper h3 {
        margin-top: 22px;
    }

    .news-card p {
        margin-bottom: 16px;
    }

    .footer {
        padding: 45px 20px 28px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-center {
        padding: 40px 0 28px;
    }

    .copyright {
        flex-direction: column;
        margin-top: 28px;
        gap: 8px;
    }

    .copyright p,
    .copyright p a {
        font-size: 14px;
        line-height: 22px;
    }

    .footer-content h6 {
        margin-bottom: 12px;
    }

    .footer-content a {
        margin-bottom: 6px;
    }

    .business-card-wrapper::after {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .common-heading {
        font-size: 24px;
        line-height: 34px;
    }

    .hero-section {
        height: 620px;
    }

    .hero-content h1 {
        font-size: 20px;
        max-width: 305px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 21px;
    }

    .hero-custom-pagination {
        display: none;
    }

    .about-content p {
        margin: 14px 0 26px;
    }

    .impact-wrapper>div {
        height: 300px;
    }

    .business-card-wrapper {
        min-height: 440px;
    }

    .business-card {
        padding: 30px 18px 22px;
    }

    .business-card>img {
        width: 100px;
    }

    .solutions-grid>div>h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .project-card {
        min-height: 310px;
    }

    .news-card>div:nth-child(2) {
        gap: 10px;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    .business-card-wrapper::before {
        background: rgba(0, 0, 0, 0.60);
    }

    .solutions-section>p {
        max-width: 340px;
    }

    .projects-section .splide__arrow {
        width: 32px;
        height: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-content a {
        font-size: 14px;
    }

    .footer-content h6 {
        font-size: 18px;
    }

    .footer-logo img {
        width: 130px;
    }

    .hero-content p {
        margin: 12px 0 18px;
    }

    .investors-content>p:first-of-type {
        font-size: 15px;
    }

    .news-card p,
    .news-card .media-more-btn {
        font-size: 15px;
        line-height: 20px;
    }

    .investors-content>p:last-of-type {
        font-size: 13px;
    }

    .media-more-btn {
        font-size: 16px;
        line-height: 20px;
    }

    .news-wrapper h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .business-card h3{
        font-size: 20px;
        line-height: 24px;
    }
}