@media (min-width:1400px) {
    .hero-title {
        font-size: 64px
    }

    .section-title {
        font-size: 32px
    }
}

@media (min-width:992px) {
    .navbar-nav .dropdown-menu {
        display: block
    }

    .has-megamenu:hover .megamenu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important
    }

    .navbar-nav .dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important
    }
}

@media (max-width:1199.98px) {
    .page-hero-title {
        font-size: 40px
    }

    .navbar-brand .logo {
        height: 50px
    }

    .navbar.scrolled .navbar-brand .logo-scrolled {
        height: 34px
    }

    .navbar-nav .nav-link {
        padding: 10px 10px;
        font-size: 14px
    }

    .btn-cta {
        padding: 8px 16px;
        font-size: 13px
    }

    .nav-cta {
        margin-left: 4px !important
    }

    .hero-title {
        font-size: 48px
    }

    .hero-stats {
        gap: 32px
    }

    .stat-number {
        font-size: 30px
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width:991.98px) {
    :root {
        --cf-section-padding: 80px
    }

    h1 {
        font-size: 32px
    }

    h2 {
        font-size: 26px
    }

    h3 {
        font-size: 22px
    }

    .page-hero-title {
        font-size: 34px
    }

    .top-header-bar {
        display: none
    }

    .mobile-nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        margin-right: 12px
    }

    .mobile-action-icon {
        display: flex;
        align-items: center;
        gap: 4px;
        color: #555;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        padding: 6px 10px;
        border-radius: 8px;
        transition: all 0.3s ease
    }

    .mobile-action-icon i {
        font-size: 16px
    }

    .mobile-action-icon:hover {
        color: var(--cf-primary);
        background: rgba(10, 28, 255, 0.06)
    }

    .navbar.scrolled .mobile-action-icon {
        color: #555
    }

    .navbar {
        padding: 8px 0;
        top: 0
    }

    .navbar-brand .logo {
        height: 40px
    }

    .navbar.scrolled .navbar-brand .logo-scrolled {
        height: 34px
    }

    .navbar-collapse {
        background: rgba(var(--cf-dark-rgb), 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: var(--cf-radius-lg);
        margin-top: 12px;
        box-shadow: var(--cf-shadow-lg);
        max-height: calc(100vh - 100px);
        overflow-y: auto
    }

    .navbar-nav {
        gap: 4px
    }

    .navbar-nav .nav-link {
        padding: 10px 14px;
        color: var(--cf-white);
        font-size: 15px
    }

    .navbar-nav .has-megamenu>.nav-link,
    .navbar-nav .dropdown>.nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
        border-radius: var(--cf-radius-sm)
    }

    .navbar-nav .has-megamenu>.nav-link i,
    .navbar-nav .dropdown>.nav-link i {
        margin-left: auto
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--cf-primary)
    }

    .navbar-nav .nav-link i {
        color: var(--cf-gray-400)
    }

    .navbar-nav .nav-link::after {
        display: none
    }

    .nav-cta {
        margin-top: 12px;
        margin-left: 0
    }

    .nav-cta .btn-cta {
        width: 100%;
        justify-content: center
    }

    .has-megamenu {
        position: relative
    }

    .megamenu {
        position: static;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--cf-radius-md);
        margin-top: 4px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: max-height 0.4s ease, opacity 0.3s ease
    }

    .has-megamenu:hover .megamenu {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
        max-height: 0
    }

    .has-megamenu.active .megamenu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 5000px;
        overflow: visible
    }

    .nav-item.dropdown .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        display: block !important;
        position: static;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0
    }

    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0
    }

    .nav-item.dropdown.active .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px;
        overflow: visible;
        margin-top: 4px;
        padding: 8px 0
    }

    .megamenu-inner {
        flex-direction: column;
        padding: 0
    }

    .megamenu-featured {
        display: none
    }

    .megamenu-services {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px;
        background: transparent
    }

    .megamenu-column {
        background: rgba(255, 255, 255, 0.03);
        padding: 10px;
        animation: none;
        opacity: 1;
        transform: none
    }

    .megamenu-column:hover {
        background: rgba(255, 255, 255, 0.08);
        box-shadow: none
    }

    .column-header {
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom-color: rgba(255, 255, 255, 0.1)
    }

    .column-icon {
        width: 32px;
        height: 32px;
        font-size: 14px
    }

    .megamenu-title {
        color: var(--cf-white);
        font-size: 13px
    }

    .megamenu-links a {
        color: var(--cf-gray-300);
        font-size: 12px;
        padding: 6px 8px
    }

    .megamenu-links a::before {
        display: none
    }

    .megamenu-links a i {
        color: var(--cf-gray-500);
        font-size: 13px
    }

    .megamenu-links a:hover {
        background: rgba(0, 174, 239, 0.15);
        color: var(--cf-primary);
        padding-left: 8px
    }

    .company-megamenu .megamenu-inner {
        grid-template-columns: 1fr
    }

    .company-links-section {
        padding: 16px
    }

    .company-section-title {
        font-size: 15px;
        margin-bottom: 12px;
        padding-bottom: 10px
    }

    .company-links a {
        padding: 8px 10px;
        font-size: 13px
    }

    .why-choose-card,
    .awards-card {
        display: none
    }

    .megamenu-footer {
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
        text-align: center
    }

    .footer-left {
        font-size: 12px
    }

    .footer-cta {
        width: 100%;
        justify-content: center;
        padding: 10px 20px
    }

    .dropdown-menu {
        background: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none
    }

    .dropdown-menu .dropdown-item {
        color: var(--cf-gray-300);
        font-size: 14px;
        padding: 8px 16px
    }

    .dropdown-menu .dropdown-item:hover {
        background: rgba(0, 174, 239, 0.15);
        color: var(--cf-primary)
    }

    .hero-section {
        text-align: center
    }

    .hero-title {
        font-size: 42px
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto
    }

    .hero-cta {
        justify-content: center
    }

    .hero-stats {
        justify-content: center
    }

    .hero-image {
        display: none
    }

    .section-title {
        font-size: 36px
    }

    .intro-content {
        text-align: center;
        margin-bottom: 48px
    }

    .intro-content .btn {
        margin-top: 16px
    }

    .service-tabs .nav-pills {
        flex-direction: column;
        align-items: center
    }

    .service-tabs .nav-link {
        width: 100%;
        max-width: 300px;
        justify-content: center
    }

    .quote-content {
        text-align: center;
        margin-bottom: 48px
    }

    .contact-info {
        align-items: center
    }

    .footer-about {
        text-align: center
    }

    .footer-social {
        justify-content: center
    }

    .footer-column h5::after {
        left: 50%;
        transform: translateX(-50%)
    }

    .footer-column {
        text-align: center
    }

    .footer-links a:hover {
        transform: none
    }

    .footer-contact {
        display: inline-block;
        text-align: left
    }
}

@media (max-width:767.98px) {
    :root {
        --cf-section-padding: 60px
    }

    h1 {
        font-size: 28px
    }

    h2 {
        font-size: 24px
    }

    h3 {
        font-size: 20px
    }

    .page-hero-title {
        font-size: 28px
    }

    .top-header-bar {
        display: none
    }

    .navbar {
        top: 0;
        padding: 8px 0
    }

    .mobile-action-icon {
        padding: 5px 8px;
        font-size: 13px
    }

    .mobile-action-icon i {
        font-size: 15px
    }

    .navbar-brand .logo {
        height: 35px
    }

    .navbar.scrolled .navbar-brand .logo-scrolled {
        height: 30px
    }

    .navbar-collapse {
        padding: 16px;
        max-height: calc(100vh - 120px)
    }

    .megamenu-services {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px
    }

    .megamenu-column {
        padding: 10px;
        border-radius: var(--cf-radius-sm)
    }

    .column-header {
        margin-bottom: 8px;
        padding-bottom: 6px
    }

    .megamenu-links a {
        font-size: 12px;
        padding: 5px 8px
    }

    .megamenu-footer {
        padding: 10px 12px
    }

    .footer-left {
        font-size: 11px
    }

    .footer-left i {
        font-size: 18px
    }

    .footer-cta {
        font-size: 12px;
        padding: 8px 16px
    }

    .section-title {
        font-size: 30px
    }

    .section-subtitle {
        font-size: 16px
    }

    .process-timeline {
        flex-direction: column;
        padding: 30px 20px 30px 50px;
        gap: 0;
        align-items: stretch
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 28px;
        right: auto;
        width: 3px;
        height: 100%;
        transform: translateY(0) scaleX(1);
        transform-origin: top;
        background: linear-gradient(180deg, var(--cf-primary), var(--cf-secondary))
    }

    .process-timeline.animate .timeline-line {
        transform: translateY(0) scaleX(1)
    }

    .timeline-step {
        width: 100%;
        min-width: auto;
        height: auto;
        padding-left: 13px;
        padding-bottom: 35px;
        opacity: 1;
        transform: scale(1)
    }

    .timeline-step:last-child {
        padding-bottom: 0;
        min-width: auto
    }

    .step-number {
        position: absolute;
        top: 5px;
        left: -36px;
        transform: none;
        width: 30px;
        height: 30px;
        font-size: 13px
    }

    .timeline-step.final .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px
    }

    .timeline-step .step-content {
        position: static;
        text-align: left;
        margin: 0 !important;
        display: flex;
        align-items: center;
        gap: 12px;
        transform: none;
        left: auto;
        padding: 0;
        width: auto
    }

    .timeline-step.above .step-content,
    .timeline-step.below .step-content {
        bottom: auto;
        top: auto
    }

    .step-icon-timeline {
        margin: 0;
        flex-shrink: 0;
        width: 44px;
        height: 44px
    }

    .step-icon-timeline i {
        font-size: 18px
    }

    .step-icon-timeline.launch {
        width: 48px;
        height: 48px
    }

    .step-icon-timeline.launch i {
        font-size: 22px
    }

    .timeline-step h4 {
        white-space: normal;
        font-size: 14px;
        line-height: 1.3
    }

    .hero-content {
        padding-top: 100px
    }

    .hero-title {
        font-size: 32px
    }

    .hero-subtitle {
        font-size: 16px
    }

    .hero-cta {
        flex-direction: column
    }

    .hero-cta .btn {
        width: 100%
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center
    }

    .stat-item {
        text-align: center
    }

    .scroll-indicator {
        display: none
    }

    .awards-grid {
        gap: 16px
    }

    .award-badge {
        width: 80px;
        height: 80px
    }

    .award-badge.main-logo {
        width: 100px;
        height: 100px
    }

    .service-tabs .nav-link {
        padding: 12px 20px;
        font-size: 14px
    }

    .service-tabs .nav-link span {
        display: none
    }

    .service-tabs .nav-link i {
        font-size: 24px
    }

    .service-tabs .nav-pills {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center
    }

    .service-tabs .nav-link {
        width: auto
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .client-logo {
        padding: 20px;
        min-height: 100px;
    }

    .client-logo img {
        max-height: 40px
    }

    .tech-icon {
        width: 80px;
        height: 80px;
        padding: 12px
    }

    .tech-icon img {
        width: 48px;
        height: 48px
    }

    .quote-form-wrapper {
        padding: 24px
    }

    .step-label {
        font-size: 11px
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 13px
    }

    .radio-group-inline {
        flex-direction: column;
        gap: 8px
    }

    .benefits-grid {
        grid-template-columns: 1fr
    }

    .sticky-card {
        position: relative;
        top: auto;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        padding: 20px
    }

    .form-step-nav {
        flex-direction: column-reverse;
        gap: 10px
    }

    .btn-step-prev,
    .btn-step-next,
    .btn-step-submit {
        width: 100%;
        margin-left: 0;
        text-align: center;
        justify-content: center
    }

    .file-drop-zone {
        padding: 20px 16px
    }

    .drop-zone-content i {
        font-size: 28px
    }

    .step-progress-line {
        margin: 0 6px
    }

    .multi-select-trigger {
        padding: 12px 14px;
        font-size: 14px;
        min-height: 48px
    }

    .multi-select-menu {
        max-height: 180px
    }

    .footer-top {
        padding: 60px 0 40px
    }

    .footer-bottom {
        text-align: center
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 16px
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px
    }
}

@media (max-width:575.98px) {
    .logo-scrolled {
        height: 50px !important;
        padding: 5px
    }

    .custom-new-margin {
        margin-top: 80px !important
    }

    .fb-screenshot-wrapper img {
        height: 100% !important
    }

    #awardsStats {
        display: none !important
    }

    .view-page-btn {
        margin-bottom: 20px
    }

    .typing-text {
        font-size: 27px
    }

    .service-intro-content p {
        line-height: 1.6
    }

    .service-intro-content {
        padding-right: 0px
    }

    .megamenu-services {
        display: flex !important;
        width: 100%;
        flex-direction: column
    }

    h1 {
        font-size: 24px
    }

    .service-intro-section .row {
        flex-direction: column-reverse
    }

    .page-hero-section {
        padding-top: 10px !important;
        padding-bottom: 10px !important
    }

    h2 {
        font-size: 20px
    }

    h3 {
        font-size: 18px
    }

    .page-hero-title {
        font-size: 26px
    }

    .navbar {
        top: 0
    }

    .mobile-action-icon {
        padding: 4px 6px;
        font-size: 12px;
        gap: 3px
    }

    .mobile-action-icon i {
        font-size: 14px
    }

    .mobile-nav-actions {
        gap: 4px;
        margin-right: 0;
        margin-left: -9px;
    }

    .navbar-brand .logo {
        height: 63px
    }

    .navbar.scrolled .navbar-brand .logo-scrolled {
        height: 26px
    }

    .navbar-collapse {
        padding: 14px;
        margin-top: 8px
    }

    .navbar-nav .nav-link {
        padding: 8px 12px;
        font-size: 14px
    }

    .hero-title {
        font-size: 40px
    }

    .hero-typing {
        text-align: center;
        line-height: 28px
    }

    .hero-stats {
        display: flex;
        flex-direction: row;
        padding-top: 0px
    }

    .contact-info {
        align-items: self-start
    }

    .float-1 {
        filter: unset !important
    }

    .tech-icon {
        width: 55px;
        height: 55px;
        padding: 4px
    }

    .tech-marquee-track {
        gap: 8px
    }

    .hero-content {
        padding-top: 50px
    }

    .intro-feature-item {
        display: block;
        font-size: 7px
    }

    .hero-content .min-vh-100 {
        min-height: 100% !important
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 16px
    }

    .stat-number {
        font-size: 28px
    }

    .stat-label {
        font-size: 12px
    }

    .section-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-top: 21px;
        margin-bottom: 9px !important
    }

    .stat-value {
        justify-content: center
    }

    .section-title {
        font-size: 26px
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 14px
    }

    .service-card {
        padding: 24px
    }

    .service-icon {
        width: 60px;
        height: 60px
    }

    .service-icon i {
        font-size: 26px
    }

    .service-card h4 {
        font-size: 18px
    }

    .portfolio-info h4 {
        font-size: 18px
    }

    .portfolio-link {
        width: 40px;
        height: 40px
    }

    .clients-grid {
        gap: 12px
    }

    .client-logo {
        padding: 16px;
        min-height: 80px
    }

    .footer-column h5 {
        font-size: 16px
    }

    .footer-links a,
    .footer-contact li {
        font-size: 14px
    }

    .footer-logo {
        height: 40px
    }

    .social-icon {
        width: 38px;
        height: 38px
    }
}

@media (max-width:579px) {
    .page-hero-subtitle {
        display: none
    }

    .faq-content {
        background-color: white !important;
        padding: 13px
    }

    .min-vh-50 {
        min-height: 38vh
    }

    .btn {
        padding: 12px 11px
    }
}

@media (max-width:512px) {
    .navbar-brand .logo {
        height: 50px
    }

    .navbar-toggler-icon {
        width: 1.2em !important
    }

    .navbar-brand {
        margin-right: 0px
    }

    .logo-scrolled {
        height: 39px !important
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important
    }

    html {
        scroll-behavior: auto
    }

    .tech-marquee-track {
        animation: none
    }

    .wheel {
        animation: none
    }
}

@media (prefers-contrast:high) {
    :root {
        --cf-primary: #0090c9;
        --cf-secondary: #d91920
    }

    .navbar.scrolled {
        background: var(--cf-dark)
    }

    .service-card,
    .quote-form-wrapper {
        border: 2px solid var(--cf-gray-400)
    }
}

@media (prefers-color-scheme:dark) {}

@media print {

    .navbar,
    .back-to-top,
    .scroll-indicator,
    .hero-float-element {
        display: none !important
    }

    .hero-section {
        min-height: auto;
        padding: 40px 0;
        background: none
    }

    .hero-title,
    .section-title {
        color: #000 !important
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff
    }

    a {
        text-decoration: underline;
        color: #000
    }

    .clients-section {
        background: #f0f0f0
    }

    .client-logo img {
        filter: none;
        opacity: 1
    }
}

@media (max-height:500px) and (orientation:landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px
    }

    .hero-stats {
        display: none
    }
}

@media (hover:none) and (pointer:coarse) {
    .service-card:hover {
        transform: none
    }

    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 50%, rgba(var(--cf-dark-rgb), 0.85) 100%)
    }

    .portfolio-info {
        transform: translateY(0)
    }

    .btn:hover {
        transform: none
    }

    .nav-link {
        padding: 14px 16px
    }

    .service-link {
        padding: 8px 0
    }
}

@media (max-width:1399px) {
    .trust-service-card .card-inner {
        height: 240px !important
    }
}

@media (max-width:1396px) {
    .page-hero-gif2 {
        right: 59px
    }

    .page-hero-gif {
        left: 57px
    }
}

@media (max-width:1199px) {
    .trust-service-card .card-inner {
        height: 200px !important
    }

    .sm-novisible {
        display: none
    }
}

@media (max-width:771px) and (min-width:480px) {
    .trust-service-card .card-inner {
        height: 280px !important
    }
}

@media (max-width:480px) {
    .trust-service-card .card-inner {
        height: 219px !important
    }
}

@media (max-width:992px) and (min-width:575px) {
    .min-vh-50 {
        min-height: unset !important
    }
}

@media (max-width:575px) {
    :root {
        --cf-section-padding: 30px
    }
}

@media (max-width:360px) {
    .page-hero-subtitle {
        display: none !important
    }

    .min-vh-50 {
        min-height: 42vh
    }
}

@media (max-width:771px) {
    .trust-service-card {
        padding: 10px;
        border-radius: 28px;
        border: 2px solid #dedee1
    }

    .benefits-card {
        margin-top: 22px;
        padding: 10px
    }
}

@media (max-width:991.98px) {
    .team-hero-stats {
        gap: 24px
    }

    .team-stat-number {
        font-size: 32px
    }

    .team-stat-suffix {
        font-size: 22px
    }

    .leader-card {
        padding: 24px !important
    }

    .leader-image-frame {
        width: 220px;
        height: 260px
    }

    .leader-name {
        font-size: 24px
    }

    .leader-bio {
        font-size: 14px
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px
    }
}

@media (max-width:767.98px) {

    .team-hero-float,
    .falling-icon,
    .visionary-3d-icon {
        display: none !important
    }

    .leader-cards-wrapper {
        padding-left: 0
    }

    .timeline-track {
        display: none
    }

    .team-hero-stats {
        gap: 16px;
        margin-top: 24px
    }

    .team-hero-stat {
        flex: 0 0 calc(50% - 8px)
    }

    .team-stat-number {
        font-size: 28px
    }

    .team-stat-suffix {
        font-size: 18px
    }

    .team-stat-label {
        font-size: 11px
    }

    .leader-card.sticky-card {
        position: relative;
        top: auto
    }

    .leader-card {
        padding: 20px !important
    }

    .leader-image-wrapper {
        margin-bottom: 20px
    }

    .leader-image-frame {
        width: 200px;
        height: 240px
    }

    .leader-image-accent {
        width: 140px;
        height: 140px;
        bottom: -10px;
        left: -10px
    }

    .leader-image-accent.accent-right {
        right: -10px
    }

    .leader-name {
        font-size: 22px
    }

    .leader-bio {
        font-size: 14px;
        line-height: 1.7
    }

    .team-grid {
        grid-template-columns: none;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch
    }

    .team-member-card {
        min-width: 200px;
        flex-shrink: 0;
        scroll-snap-align: start
    }

    .team-member-image {
        width: 110px;
        height: 110px
    }

    .gallery-masonry {
        flex-direction: column;
        gap: 12px
    }

    .gallery-col-2 {
        margin-top: 0
    }

    .gallery-item {
        height: 220px
    }

    .gallery-item-tall {
        height: 280px
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%)
    }

    .gallery-overlay i {
        font-size: 24px;
        transform: translateY(0)
    }

    .gallery-overlay span {
        font-size: 12px
    }
}

@media (max-width:575.98px) {
    .team-hero-stats {
        gap: 12px
    }

    .team-stat-number {
        font-size: 24px
    }

    .leader-image-frame {
        width: 180px;
        height: 220px
    }

    .team-member-card {
        min-width: 170px;
        padding: 20px 14px
    }

    .team-member-image {
        width: 90px;
        height: 90px
    }

    .team-member-name {
        font-size: 16px
    }

    .team-member-role {
        font-size: 13px
    }

    .gallery-item {
        height: 180px
    }

    .gallery-item-tall {
        height: 240px
    }
}

@media (max-width:991.98px) {
    .about-hero-float {
        display: none
    }

    .about-intro-content {
        padding-right: 0;
        margin-bottom: 40px
    }

    .about-intro-image {
        text-align: center
    }

    .about-experience-badge {
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%)
    }

    .about-team-content {
        padding-left: 0;
        margin-top: 40px
    }

    .about-team-image {
        text-align: center
    }

    .timeline-mirror {
        display: none
    }

    .about-timeline-line {
        left: 24px
    }

    .about-timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
        text-align: left
    }

    .about-timeline-item.left {
        left: 0;
        text-align: left;
        padding-right: 15px;
        padding-left: 70px
    }

    .about-timeline-item.right {
        left: 0;
        padding-left: 70px
    }

    .about-timeline-dot {
        width: 42px;
        height: 42px
    }

    .about-timeline-dot i {
        font-size: 16px
    }

    .about-timeline-item.left .about-timeline-dot,
    .about-timeline-item.right .about-timeline-dot {
        left: 3px;
        right: auto
    }
}

@media (max-width:767.98px) {
    .about-highlights {
        gap: 10px
    }

    .about-highlight-item {
        padding: 10px 16px;
        font-size: 13px
    }

    .about-timeline-content {
        padding: 20px
    }

    .about-timeline-content h4 {
        font-size: 17px
    }

    .about-timeline-content p {
        font-size: 13px
    }

    .about-timeline-dot {
        width: 38px;
        height: 38px
    }

    .about-timeline-dot i {
        font-size: 14px
    }

    .about-timeline-item.left .about-timeline-dot,
    .about-timeline-item.right .about-timeline-dot {
        left: 5px
    }

    .about-timeline-line {
        left: 23px
    }

    .about-timeline-item,
    .about-timeline-item.left,
    .about-timeline-item.right {
        padding-left: 62px;
        padding-right: 10px
    }
}

@media (max-width:575.98px) {
    .about-intro-content p {
        font-size: 15px
    }

    .exp-number {
        font-size: 32px
    }

    .about-experience-badge {
        padding: 16px 20px
    }

    .about-team-features {
        gap: 16px
    }
}

@media (max-width:991.98px) {
    .pf-grid {
        gap: 24px
    }

    .portfolio-filter-tabs .nav-link {
        font-size: 13px;
        padding: 8px 14px
    }
}

@media (max-width:767.98px) {
    .pf-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .portfolio-filter-tabs {
        gap: 4px;
        margin-bottom: 28px
    }

    .portfolio-filter-tabs .nav-link {
        font-size: 12px;
        padding: 6px 10px;
        gap: 5px
    }

    .portfolio-filter-tabs .nav-link .tab-text {
        display: none
    }

    .pf-card-link {
        opacity: 1;
        transform: scale(1)
    }
}

@media (hover:none) {
    .pf-card-link {
        opacity: 1;
        transform: scale(1)
    }
}

@media (max-width:991px) {
    .ct-hero-icons {
        display: none
    }

    .ct-bento {
        grid-template-columns: repeat(2, 1fr)
    }

    .ct-bento-call,
    .ct-bento-email,
    .ct-bento-office,
    .ct-bento-quick,
    .ct-bento-global {
        grid-column: span 1
    }

    .ct-bento-call {
        grid-column: span 2
    }

    .ct-bento-card {
        padding: 24px 20px
    }

    .ct-form-card {
        padding: 28px 22px
    }

    .ct-form-card-header h4 {
        font-size: 21px
    }

    .ct-map-container {
        min-height: 280px
    }

    .ct-social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px
    }

    .ct-social-card {
        padding: 20px 16px
    }

    .ct-social-icon {
        width: 42px;
        height: 42px
    }

    .ct-social-icon i {
        font-size: 18px
    }

    .ct-social-info h5 {
        font-size: 14px
    }
}

@media (max-width:767px) {
    .ct-bento {
        grid-template-columns: 1fr
    }

    .ct-bento-call,
    .ct-bento-email,
    .ct-bento-office,
    .ct-bento-quick,
    .ct-bento-global {
        grid-column: span 1
    }

    .ct-bento-card {
        padding: 22px 18px
    }

    .ct-bento-top h4 {
        font-size: 16px
    }

    .ct-bento-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px
    }

    .ct-bento-icon i {
        font-size: 18px
    }

    .ct-form-card {
        padding: 22px 16px;
        border-radius: 18px
    }

    .ct-form-card-header h4 {
        font-size: 19px
    }

    .ct-form-card-header p {
        font-size: 13px
    }

    .ct-map-container {
        min-height: 240px
    }

    .ct-map-address-strip {
        padding: 14px 16px
    }

    .ct-map-addr-text strong {
        font-size: 13px
    }

    .ct-map-addr-text span {
        font-size: 12px
    }

    .ct-map-act-btn {
        padding: 12px 8px;
        font-size: 12px
    }

    .ct-social-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 30px
    }

    .ct-social-card {
        padding: 18px 14px;
        border-radius: 14px
    }

    .ct-social-info span {
        font-size: 12px
    }
}

@media (max-width:391px) {
    .ct-bento-card {
        padding: 18px 14px
    }

    .ct-bento-nums a {
        font-size: 13px;
        padding: 6px 10px
    }

    .ct-email-tag {
        font-size: 9px;
        padding: 2px 6px
    }

    .ct-hours-row {
        padding: 8px 10px
    }

    .ct-hours-row span,
    .ct-hours-row strong {
        font-size: 12px
    }

    .ct-form-card {
        padding: 18px 14px
    }

    .ct-form-card-header h4 {
        font-size: 17px
    }

    .ct-stat strong {
        font-size: 18px
    }
}