/* ============================================================
   SHIV TECHNOLOGIES — Responsive Stylesheet
   ============================================================
   Comprehensive media queries for all breakpoints.
   Consolidates and expands all responsive rules.
   
   Breakpoints:
     320px   — Small Mobile
     480px   — Large Mobile
     576px   — Small Tablet
     768px   — Tablet
     992px   — Small Laptop
     1200px  — Desktop
     1400px  — Large Desktop
     1600px  — 2K / 4K
   ============================================================ */

/* ════════════════════════════════════════
   GLOBAL RESPONSIVE FOUNDATIONS
   ════════════════════════════════════════ */

/* Ensure all images are responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive tables wrapper */
.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Touch-friendly minimum for interactive elements */
button,
.btn,
.btn-primary-custom,
.btn-outline-custom,
.btn-accent,
.nav-cta-btn,
.filter-tab,
.gallery-filter-btn {
    min-height: 44px;
}


/* ════════════════════════════════════════
   4K & 2K SCREENS (1601px+)
   ════════════════════════════════════════ */
@media (min-width: 1601px) {
    /* Scale up container for ultra-wide screens */
    .container {
        max-width: 1400px;
    }
    
    /* Slightly increased section padding for breathing room */
    :root {
        --section-padding: 120px 0;
    }

    /* Scale up hero for large displays */
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 620px;
    }
    
    .hero-stat-value {
        font-size: 3rem;
    }
    
    /* Scale orbs for larger viewports */
    .hero-orb-1 {
        width: 500px;
        height: 500px;
    }
    
    .hero-orb-2 {
        width: 400px;
        height: 400px;
    }
    
    .hero-orb-3 {
        width: 280px;
        height: 280px;
    }
    
    /* Larger stat values */
    .stat-value {
        font-size: 3.2rem;
    }
    
    /* Section titles scale */
    .section-title {
        font-size: 3.2rem;
    }
    
    /* Wider about image */
    .about-image img {
        height: 480px;
    }
    
    /* Better card padding */
    .service-card {
        padding: 50px 40px;
    }
    
    /* Larger footer spacing */
    .site-footer {
        padding-top: 100px;
    }
    
    .footer-bottom {
        margin-top: 80px;
    }
}

/* 4K specific (2560px+) */
@media (min-width: 2560px) {
    .container {
        max-width: 1600px;
    }
    
    :root {
        --section-padding: 140px 0;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .stat-value {
        font-size: 3.5rem;
    }
    
    body {
        font-size: 18px;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 10px 22px !important;
    }
    
    .nav-cta-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}


/* ════════════════════════════════════════
   LARGE DESKTOP (1400px – 1600px)
   ════════════════════════════════════════ */
@media (max-width: 1600px) and (min-width: 1400px) {
    .hero-orb-1 {
        width: 350px;
        height: 350px;
    }
    
    .hero-orb-2 {
        width: 280px;
        height: 280px;
    }
}


/* ════════════════════════════════════════
   SMALL LAPTOP / LARGE TABLET (993px – 1199px)
   ════════════════════════════════════════ */
@media (max-width: 1199.98px) {
    :root {
        --section-padding: 80px 0;
    }
    
    /* Process timeline: collapse to single column */
    .process-timeline::before {
        display: none;
    }
    
    .process-step-number {
        display: none;
    }
    
    .process-step,
    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        flex-direction: column;
    }
    
    .process-step-content {
        flex: 1;
        width: 100%;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
    
    /* Reduce hero code block width */
    .hero-code-block {
        max-width: 420px;
    }
    
    /* Floating badges: reduce spread */
    .floating-badge-1 {
        right: 2%;
    }
    
    .floating-badge-2 {
        right: 5%;
    }
    
    /* About image height */
    .about-image img {
        height: 350px;
    }
    
    /* Service card: slightly tighter */
    .service-card {
        padding: 35px 25px;
    }
    
    /* Page banner */
    .page-banner {
        padding: 150px 0 70px;
    }
}


/* ════════════════════════════════════════
   TABLET (769px – 992px)
   ════════════════════════════════════════ */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 70px 0;
    }
    
    /* ── Navigation (Mobile Menu) ── */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 15px;
        border: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        gap: 0 !important;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        border-radius: var(--radius-sm);
    }
    
    .navbar-nav .nav-link:hover {
        background: var(--brand-extra-light);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .nav-cta-btn {
        margin-top: 10px;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    
    /* Hamburger animated transform */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background: transparent;
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }
    
    /* ── Hero Section ── */
    .hero-section {
        text-align: center;
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-section .row.min-vh-100 {
        min-height: auto !important;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-code-block {
        display: none;
    }
    
    .floating-badge {
        display: none;
    }
    
    /* ── About Section ── */
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-image img {
        height: 320px;
    }
    
    .about-experience-badge {
        bottom: -10px;
        right: -10px;
        padding: 20px;
    }
    
    .about-experience-badge .number {
        font-size: 2rem;
    }
    
    /* ── Timeline (About page) ── */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        justify-content: flex-end !important;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    /* ── Stats ── */
    .stat-value {
        font-size: 2.4rem;
    }
    
    /* ── Project cards ── */
    .project-image {
        height: 200px;
    }
    
    /* ── Review cards ── */
    .review-card {
        padding: 28px;
    }
    
    .review-card::before {
        font-size: 4rem;
        top: 15px;
        right: 20px;
    }
    
    /* ── Contact ── */
    .contact-form {
        padding: 30px;
    }
    
    /* ── Footer ── */
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    /* ── Section Header ── */
    .section-header {
        margin-bottom: 45px;
    }
    
    .section-subtitle {
        margin-bottom: 40px;
    }
    
    /* ── Page Banner ── */
    .page-banner {
        padding: 140px 0 60px;
    }
    
    /* ── Career page ── */
    .job-card .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .job-card .btn-primary-custom {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}


/* ════════════════════════════════════════
   SMALL TABLET (577px – 768px)
   ════════════════════════════════════════ */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 50px 0;
    }
    
    /* ── Typography ── */
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .section-header {
        margin-bottom: 35px;
    }
    
    /* ── Hero ── */
    .hero-section {
        padding-top: 110px;
        padding-bottom: 50px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .hero-stat-value {
        font-size: 2rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
    
    .hero-buttons {
        margin-bottom: 40px;
    }
    
    /* ── Service Cards ── */
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }
    
    .service-icon i {
        font-size: 1.2rem;
    }
    
    .service-card h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 0.8rem;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .service-link {
        font-size: 0.8rem;
    }
    
    /* ── Stats ── */
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-value {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
    
    /* ── Tech Grid ── */
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .tech-item {
        padding: 18px 10px;
    }
    
    .tech-item i {
        font-size: 1.8rem;
    }
    
    .tech-item span {
        font-size: 0.72rem;
    }
    
    /* ── Projects ── */
    .filter-tabs {
        gap: 8px;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-info h4 {
        font-size: 1.05rem;
    }
    
    .project-info p {
        font-size: 0.85rem;
    }
    
    /* ── Gallery ── */
    .gallery-scroll-item {
        flex: 0 0 220px;
        min-width: 220px;
        height: 220px;
    }
    
    .gallery-filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    /* ── Lightbox ── */
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }
    
    .lightbox-content {
        max-width: 92vw;
    }
    
    .lightbox-content img {
        max-height: 70vh;
    }
    
    /* ── Contact Form ── */
    .contact-form {
        padding: 25px;
    }
    
    .contact-info-card {
        padding: 20px;
    }
    
    .contact-info-card i {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    /* ── About page ── */
    .about-image img {
        height: 280px;
    }
    
    .about-experience-badge {
        padding: 18px;
    }
    
    .about-experience-badge .number {
        font-size: 1.8rem;
    }
    
    .about-experience-badge .text {
        font-size: 0.7rem;
    }
    
    /* ── Values cards ── */
    .values-card {
        padding: 24px;
    }
    
    .values-card i {
        font-size: 1.6rem;
    }
    
    /* ── Team ── */
    .team-photo {
        width: 110px;
        height: 110px;
    }
    
    .team-card {
        padding: 24px 16px;
    }
    
    .team-card h5 {
        font-size: 1rem;
    }
    
    /* ── Reviews ── */
    .review-card {
        padding: 24px;
    }
    
    .review-card::before {
        font-size: 3.5rem;
    }
    
    .review-text {
        font-size: 0.92rem;
    }
    
    /* ── FAQ ── */
    .faq-accordion .accordion-button {
        font-size: 0.95rem;
        padding: 16px 20px;
    }
    
    .faq-accordion .accordion-body {
        padding: 0 20px 16px;
        font-size: 0.9rem;
    }
    
    /* ── Career CTA ── */
    .career-cta-section {
        padding: 60px 0;
    }
    
    /* ── Page Banner ── */
    .page-banner {
        padding: 130px 0 60px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    /* ── Map ── */
    .map-container {
        height: 250px;
    }
    
    /* ── Footer ── */
    .site-footer {
        padding-top: 60px;
    }
    
    .footer-heading {
        margin-bottom: 18px;
    }
    
    .footer-bottom {
        margin-top: 40px;
        padding: 20px 0;
    }
    
    /* ── Buttons size adjustments ── */
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-accent {
        padding: 12px 26px;
        font-size: 0.88rem;
    }
    
    /* ── Back to top / WhatsApp ── */
    .back-to-top,
    .whatsapp-float {
        right: 15px;
    }
    
    .back-to-top {
        bottom: 15px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 65px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    /* ── Modal ── */
    .modal-body {
        padding: 20px;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    /* ── Job cards ── */
    .job-card {
        padding: 22px;
    }
    
    .job-meta {
        gap: 10px;
    }
    
    /* ── Benefit items ── */
    .benefit-item {
        margin-bottom: 15px;
    }
    
    /* ── Section badge ── */
    .section-badge {
        padding: 6px 16px;
        font-size: 0.78rem;
        letter-spacing: 1.5px;
    }
    
    /* ── Clients section ── */
    .clients-section {
        padding: 40px 0;
    }
    
    .client-logo-item {
        padding: 15px 20px;
        opacity: 0.6;
    }
    
    .client-logo-item img {
        max-height: 80px;
    }
}


/* ════════════════════════════════════════
   LARGE MOBILE (481px – 576px)
   ════════════════════════════════════════ */
@media (max-width: 575.98px) {
    /* ── Hero ── */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary-custom,
    .hero-buttons .btn-outline-custom {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-value {
        font-size: 1.8rem;
    }
    
    .hero-stat-label {
        font-size: 0.7rem;
    }
    
    /* ── Tech Grid ── */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* ── Newsletter ── */
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    /* ── Footer ── */
    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-desc {
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .site-footer .col-lg-2,
    .site-footer .col-lg-4 {
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    /* ── Stats ── */
    .stat-value {
        font-size: 2rem;
    }
    
    /* ── About ── */
    .about-image img {
        height: 240px;
    }
    
    .about-experience-badge {
        bottom: -15px;
        right: 10px;
        padding: 15px;
    }
    
    .about-experience-badge .number {
        font-size: 1.6rem;
    }
    
    /* ── Page banner ── */
    .page-banner {
        padding: 120px 0 50px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    /* ── Buttons: full width on small screens ── */
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-accent {
        padding: 12px 22px;
        font-size: 0.85rem;
    }
    
    /* ── Gallery ── */
    .gallery-scroll-item {
        flex: 0 0 200px;
        min-width: 200px;
        height: 200px;
    }
    
    /* ── Contact ── */
    .contact-form {
        padding: 20px;
    }
    
    .contact-info-card {
        padding: 18px;
        gap: 14px;
    }
    
    /* ── Map ── */
    .map-container {
        height: 220px;
    }
    
    /* ── Team ── */
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .team-card {
        padding: 20px 14px;
    }
    
    /* ── Reviews ── */
    .review-card {
        padding: 22px;
    }
    
    .review-text {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }
    
    .review-author-photo {
        width: 45px;
        height: 45px;
    }
    
    /* ── Modals ── */
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    /* ── Timeline ── */
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-item {
        margin-bottom: 35px;
    }
    
    /* ── Career page ── */
    .job-card {
        padding: 18px;
    }
    
    .job-meta-item {
        font-size: 0.78rem;
    }
    
    .job-type-badge {
        font-size: 0.7rem;
    }
    
    /* ── Process ── */
    .process-step-content {
        padding: 22px;
    }
    
    /* ── Client logos ── */
    .client-logo-item img {
        max-height: 70px;
    }
}


/* ════════════════════════════════════════
   SMALL MOBILE (320px – 480px)
   ════════════════════════════════════════ */
@media (max-width: 480px) {
    /* ── Typography scale down ── */
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 25px;
        line-height: 1.7;
    }
    
    .section-title {
        font-size: 1.55rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    /* ── Hero ── */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero-buttons {
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
    }
    
    /* ── Section badge ── */
    .section-badge {
        padding: 5px 14px;
        font-size: 0.7rem;
        letter-spacing: 1px;
        margin-bottom: 14px;
    }
    
    .section-badge i {
        font-size: 0.65rem;
    }
    
    /* ── Section header ── */
    .section-header {
        margin-bottom: 30px;
    }
    
    /* ── About ── */
    .about-image img {
        height: 200px;
    }
    
    .about-experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-flex;
        gap: 12px;
        align-items: center;
        margin-top: 15px;
        padding: 14px 20px;
    }
    
    .about-experience-badge .number {
        font-size: 1.5rem;
    }
    
    .about-experience-badge .text {
        font-size: 0.7rem;
        text-align: left;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    .about-feature {
        padding: 10px 14px;
    }
    
    .about-feature span {
        font-size: 0.82rem;
    }
    
    /* ── Service cards ── */
    .service-card {
        padding: 18px 14px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-icon i {
        font-size: 1rem;
    }
    
    .service-card h4 {
        font-size: 0.95rem;
    }
    
    .service-card p {
        font-size: 0.78rem;
    }
    
    /* ── Stats ── */
    .stat-card {
        padding: 20px 12px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
    }
    
    .stat-icon i {
        font-size: 1rem;
    }
    
    /* ── Tech grid ── */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: 100%;
    }
    
    .tech-item {
        padding: 15px 8px;
        gap: 8px;
    }
    
    .tech-item i {
        font-size: 1.5rem;
    }
    
    .tech-item span {
        font-size: 0.68rem;
    }
    
    /* ── Projects ── */
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 16px;
    }
    
    .project-info h4 {
        font-size: 0.98rem;
    }
    
    .project-info p {
        font-size: 0.8rem;
    }
    
    .project-tech-tag {
        font-size: 0.68rem;
        padding: 3px 10px;
    }
    
    .project-category-tag {
        font-size: 0.68rem;
        padding: 4px 10px;
    }
    
    .filter-tabs {
        gap: 6px;
        margin-bottom: 30px;
    }
    
    .filter-tab {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* ── Gallery ── */
    .gallery-scroll-item {
        flex: 0 0 180px;
        min-width: 180px;
        height: 180px;
    }
    
    .gallery-filter-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    
    /* ── Lightbox ── */
    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .lightbox-prev {
        left: 6px;
    }
    
    .lightbox-next {
        right: 6px;
    }
    
    .lightbox-close {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    
    .lightbox-content {
        max-width: 95vw;
    }
    
    .lightbox-content img {
        max-height: 60vh;
        border-radius: 8px;
    }
    
    .lightbox-caption {
        font-size: 0.82rem;
    }
    
    /* ── Contact ── */
    .contact-form {
        padding: 18px;
    }
    
    .contact-form h4 {
        font-size: 1.1rem;
    }
    
    .contact-info-card {
        padding: 16px;
        gap: 12px;
    }
    
    .contact-info-card i {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .contact-info-card h6 {
        font-size: 0.9rem;
    }
    
    .contact-info-card p {
        font-size: 0.82rem;
    }
    
    /* ── Map ── */
    .map-container {
        height: 200px;
    }
    
    /* ── Team ── */
    .team-photo {
        width: 90px;
        height: 90px;
    }
    
    .team-photo-placeholder {
        font-size: 2rem;
    }
    
    .team-card {
        padding: 18px 12px;
    }
    
    .team-card h5 {
        font-size: 0.95rem;
    }
    
    .team-card .designation {
        font-size: 0.78rem;
    }
    
    .team-social a {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    /* ── Reviews ── */
    .review-card {
        padding: 20px;
    }
    
    .review-card::before {
        font-size: 3rem;
        top: 10px;
        right: 15px;
    }
    
    .review-stars i {
        font-size: 0.8rem;
    }
    
    .review-text {
        font-size: 0.85rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }
    
    .review-author-photo {
        width: 40px;
        height: 40px;
    }
    
    .review-author-info h6 {
        font-size: 0.9rem;
    }
    
    .review-author-info span {
        font-size: 0.78rem;
    }
    
    /* ── FAQ ── */
    .faq-accordion .accordion-button {
        font-size: 0.88rem;
        padding: 14px 16px;
    }
    
    .faq-accordion .accordion-body {
        padding: 0 16px 14px;
        font-size: 0.85rem;
    }
    
    /* ── Career CTA ── */
    .career-cta-section {
        padding: 50px 0;
    }
    
    .career-cta-section h2 {
        font-size: 1.5rem;
    }
    
    .career-cta-section p {
        font-size: 0.92rem;
    }
    
    /* ── Job cards ── */
    .job-card {
        padding: 16px;
    }
    
    .job-card h4 {
        font-size: 1rem;
    }
    
    .job-meta {
        gap: 8px;
    }
    
    .job-meta-item {
        font-size: 0.75rem;
    }
    
    /* ── Benefit items ── */
    .benefit-item {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .benefit-item span,
    .benefit-item p {
        font-size: 0.85rem;
    }
    
    /* ── Tech badge ── */
    .tech-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }
    
    /* ── Page banner ── */
    .page-banner {
        padding: 110px 0 40px;
    }
    
    .page-banner h1 {
        font-size: 1.6rem;
    }
    
    .page-banner .breadcrumb-item,
    .page-banner .breadcrumb-item a {
        font-size: 0.82rem;
    }
    
    /* ── Buttons ── */
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-accent {
        padding: 11px 20px;
        font-size: 0.82rem;
    }
    
    /* ── Back to top / WhatsApp ── */
    .back-to-top {
        bottom: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .whatsapp-float {
        bottom: 60px;
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    /* ── Modals ── */
    .modal-header .modal-title {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 14px;
    }
    
    .modal-header {
        padding: 14px 16px;
    }
    
    /* ── Forms on mobile ── */
    .form-floating .form-control,
    .form-floating .form-select,
    .contact-form .form-control {
        padding: 12px 14px;
        font-size: 0.88rem;
    }
    
    .form-floating label {
        font-size: 0.85rem;
    }
    
    /* ── Footer ── */
    .site-footer {
        padding-top: 50px;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-logo span {
        font-size: 1rem;
    }
    
    .footer-desc {
        font-size: 0.88rem;
    }
    
    .footer-heading {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }
    
    .footer-links a {
        font-size: 0.82rem;
    }
    
    .footer-bottom p {
        font-size: 0.78rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.78rem;
    }
    
    .footer-bottom {
        margin-top: 35px;
        padding: 18px 0;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
    }
    
    /* ── Newsletter on mobile ── */
    .newsletter-form input {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .newsletter-form button {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    /* ── Loader ── */
    .loader-ring {
        width: 90px;
        height: 90px;
    }
    
    .loader-logo {
        width: 45px;
    }
    
    /* ── Timeline ── */
    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px;
        padding: 18px;
    }
    
    .timeline-content h5 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
    
    .timeline-year {
        font-size: 0.78rem;
        padding: 3px 12px;
    }
    
    .timeline-item {
        margin-bottom: 25px;
    }
    
    /* ── Values card ── */
    .values-card {
        padding: 20px;
    }
    
    .values-card i {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .values-card h5 {
        font-size: 0.95rem;
    }
    
    .values-card p {
        font-size: 0.82rem;
    }
    
    /* ── Client logos ── */
    .client-logo-item {
        padding: 12px 15px;
        opacity: 0.7;
    }
    
    .client-logo-item img {
        max-height: 60px;
    }
    
    .clients-section {
        padding: 30px 0;
    }
    
    /* ── Glass card utility ── */
    .glass-card {
        border-radius: var(--radius-md);
    }
    
    /* ── Navbar ── */
    .navbar-brand img {
        height: 38px;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 32px;
    }
    
    .navbar {
        padding: 14px 0;
    }
    
    .navbar.scrolled {
        padding: 10px 0;
    }
}


/* ════════════════════════════════════════
   ULTRA-SMALL SCREENS (under 360px)
   ════════════════════════════════════════ */
@media (max-width: 359px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .hero-stat-value {
        font-size: 1.3rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .navbar-collapse {
        padding: 15px;
    }
    
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-accent {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .page-banner {
        padding: 100px 0 35px;
    }
    
    .page-banner h1 {
        font-size: 1.4rem;
    }
    
    .contact-form {
        padding: 14px;
    }
    
    .review-card {
        padding: 16px;
    }
    
    .filter-tab {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    .gallery-scroll-item {
        flex: 0 0 160px;
        min-width: 160px;
        height: 160px;
    }
    
    .footer-bottom-links {
        gap: 8px;
    }
}


/* ════════════════════════════════════════
   LANDSCAPE ORIENTATION FIXES
   ════════════════════════════════════════ */

/* Mobile landscape — prevent hero from being too tall */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .hero-section .row.min-vh-100 {
        min-height: auto !important;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        margin-bottom: 20px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
    }
    
    /* Reduce navbar padding */
    .navbar {
        padding: 8px 0;
    }
    
    /* Reduce page loader ring */
    .loader-ring {
        width: 80px;
        height: 80px;
    }
    
    .loader-logo {
        width: 40px;
    }
    
    /* Compact page banner */
    .page-banner {
        padding: 90px 0 30px;
    }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .hero-section .row.min-vh-100 {
        min-height: auto !important;
    }
    
    :root {
        --section-padding: 70px 0;
    }
}


/* ════════════════════════════════════════
   PRINT STYLES
   ════════════════════════════════════════ */
@media print {
    .navbar,
    .site-footer,
    .back-to-top,
    .whatsapp-float,
    #page-loader,
    .cursor-follower {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #333;
        font-size: 12pt;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    .hero-section {
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-bg,
    .hero-orb {
        display: none !important;
    }
    
    section {
        padding: 20px 0 !important;
    }
    
    .container {
        max-width: 100%;
    }
    
    a {
        color: #333;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    .page-banner {
        padding: 10px 0 !important;
        border: none;
    }
}


/* ════════════════════════════════════════
   REDUCED MOTION (Accessibility)
   ════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-grid,
    .hero-orb,
    .floating-badge,
    .gallery-scroll-wrap {
        animation: none !important;
    }
    
    .cursor-follower {
        display: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
