/* =========================
   Responsive CSS
========================= */
@media (min-width: 1201px) and (max-width: 1440px) {
    .logo img {
        width: 170px;
    }

    .hero-image {
        max-width: 620px;
    }

    .topbar {
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .header-wrapper {
        margin-top: -24px;
    }

    .hero-section {
        padding-top: 44px;
        padding-bottom: 60px;
    }
}

@media (max-width: 1200px) {
    .topbar {
        padding: 22px 40px 52px 24px;
        gap: 30px;
    }

    .topbar-left {
        gap: 20px;
    }

    .header-wrapper {
        padding: 16px 40px;
        gap: 24px;
    }

    .logo img {
        width: 210px;
    }

    .nav ul {
        gap: 24px;
    }

    .nav a {
        font-size: 17px;
    }

    .hero-section {
        padding-left: 40px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 54px;
        line-height: 60px;
    }

    .about-section,
    .services-section,
    .why-section,
    .projects-section,
    .cta-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-wrapper {
        padding-left: 40px;
        padding-right: 40px;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .copyright {
        padding-left: 40px;
        padding-right: 40px;
    }
}


/* Tablet */
@media (max-width: 991px) {
    .topbar {
        padding: 18px 30px 50px;
        gap: 18px;
    }

    .topbar-left {
        gap: 12px;
    }

    .topbar-right {
        gap: 12px;
    }

    .header-btn-wrapper {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .header-wrapper {
        padding: 16px 30px;
        margin-top: -28px;
    }

    .logo img {
        width: 190px;
    }

    .menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: #fff;
        z-index: 999;
        padding: 90px 30px 30px;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
        transition: right 0.35s ease;
    }

    .nav.active {
        right: 0;
    }

    .close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        background: linear-gradient(90deg, #F97F35 0%, #EB467B 100%);
        color: #fff;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }

    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .nav a {
        font-size: 20px;
    }

    .hero-section {
        flex-direction: column;
        padding: 60px 30px 0;
        gap: 40px;
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-content h1 {
        max-width: 100%;
        font-size: 48px;
        line-height: 56px;
    }

    .hero-content p {
        max-width: 560px;
    }

    .hero-image {
        width: 100%;
        min-height: unset;
    }

    .hero-image img {
        object-fit: cover;
    }

    .about-section {
        flex-direction: column;
        padding: 60px 30px;
        gap: 35px;
    }

    .about-divider {
        width: 100%;
        height: 2px;
    }

    .about-content {
        padding: 0;
    }

    .services-section,
    .why-section,
    .projects-section,
    .cta-section {
        padding: 60px 30px;
    }

    .why-section {
        flex-direction: column;
        gap: 40px;
    }

    .why-content p,
    .check-list li {
        max-width: 100%;
    }

    .cta-wrapper {
        padding: 55px 40px;
    }

    .cta-wrapper::after {
        width: 420px;
        opacity: 0.25;
    }

    .footer-wrapper {
        padding: 60px 30px;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .copyright {
        padding: 24px 30px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* Mobile */
@media (max-width: 767px) {
    .topbar {
        padding: 16px 20px 46px;
    }

    .topbar-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar a {
        font-size: 15px;
    }

    .header-wrapper {
        padding: 14px 20px;
        border-radius: 16px 16px 0 0;
    }

    .logo img {
        width: 165px;
    }

    .menu-btn {
        width: 38px;
        height: 38px;
    }

    .menu-btn span {
        width: 26px;
        height: 3px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 15px;
        line-height: 20px;
        gap: 10px;
    }

    .btn img,
    .btn svg {
        width: 18px;
    }

    .tag {
        padding: 10px 15px;
        font-size: 15px;
        margin-bottom: 14px;
    }

    .section-heading {
        font-size: 32px;
        line-height: 40px;
    }

    .hero-section {
        padding: 50px 20px 0;
        gap: 34px;
    }

    .hero-content>span {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 40px;
        line-height: 48px;
        margin: 14px 0;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-btns {
        flex-wrap: wrap;
        gap: 14px;
    }

    .about-section,
    .services-section,
    .why-section,
    .projects-section,
    .cta-section {
        padding: 50px 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
    }

    .feature-icon img {
        height: 86px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .services-section .section-heading {
        margin-bottom: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px;
        gap: 18px;
    }

    .service-icon {
        width: 82px;
        height: 82px;
        padding: 20px;
        border-radius: 16px;
    }

    .service-card h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .service-card p {
        font-size: 16px;
        max-width: 100%;
    }

    .why-section {
        gap: 32px;
    }

    .why-content p {
        font-size: 16px;
        margin: 18px 0 22px;
    }

    .check-list li {
        font-size: 16px;
        padding-left: 42px;
    }

    .check-list li::before {
        width: 28px;
        height: 28px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-head {
        margin-bottom: 28px;
    }

    .project-content h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .project-content p {
        font-size: 16px;
    }

    .cta-wrapper {
        padding: 45px 24px;
        border-radius: 22px;
    }

    .cta-wrapper::after {
        width: 100%;
        opacity: 0.16;
    }

    .cta-content h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .cta-content p {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .footer-wrapper {
        padding: 50px 20px;
        gap: 34px;
    }

    .footer-about {
        grid-column: span 2;
    }

    .footer-wrapper .footer-col:nth-child(4) {
        grid-column: span 2;
    }

    .footer-about p {
        font-size: 16px;
        max-width: 100%;
        margin: 24px 0 20px;
    }

    .footer-col span {
        font-size: 18px;
        display: inline-block;
        margin-bottom: 18px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 16px;
    }

    .copyright {
        padding: 22px 20px;
    }

    .copyright p,
    .copyright div a {
        font-size: 15px;
    }

    .topbar a img {
        width: 20px;
        height: 20px;
    }

    .topbar-right a img {
        width: 22px;
        height: 22px;
    }

    .footer-logo img {
        width: 115px;
    }
}


/* Small Mobile */
@media (max-width: 480px) {
    .section-heading {
        font-size: 28px;
        line-height: 36px;
    }

    .topbar a {
        font-size: 13px;
    }

    .topbar a img {
        width: 16px;
        height: 16px;
        aspect-ratio: 1/1;
    }

    .topbar-right a img {
        width: 20px;
        height: 20px;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .service-card {
        flex-direction: column;
    }

    .service-icon {
        width: 76px;
        height: 76px;
    }

    .cta-content h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }

    .copyright div {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-btn-wrapper .btn {
        display: none;
    }

    .footer-wrapper {
        gap: 32px 20px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 15px;
    }
}