/* RCONSOFT - Complete Responsive Stylesheet */
/* ========================================== */

:root {
    --sky-primary: #0ea5e9;
    --sky-dark: #0284c7;
    --sky-light: #e0f2fe;
    --sky-lighter: #f0f9ff;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --accent: #0ea5e9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--gray-900);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== LOADING SCREEN ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--sky-lighter);
    border-top-color: var(--sky-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: var(--gray-400);
    font-weight: 500;
    font-size: 0.95rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--gray-900);
    flex-shrink: 0;
}

.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--sky-primary), var(--sky-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.logo span { color: var(--sky-primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--sky-primary);
    background: var(--sky-lighter);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 16px; right: 16px;
    height: 2px;
    background: var(--sky-primary);
    border-radius: 2px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--sky-primary), var(--sky-dark));
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-800);
    cursor: pointer;
    padding: 8px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: 80px 32px 32px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.open { right: 0; }

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-800);
}

.mobile-menu a:hover { color: var(--sky-primary); }

.mobile-close {
    position: absolute;
    top: 24px; right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-800);
    cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sky-primary), var(--sky-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--sky-primary);
    border: 2px solid var(--sky-primary);
}

.btn-outline:hover {
    background: var(--sky-primary);
    color: white;
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--sky-primary);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 20px;
    background: var(--sky-lighter);
    color: var(--sky-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--sky-light);
}

.card-icon {
    width: 64px; height: 64px;
    background: var(--sky-lighter);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--sky-primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: linear-gradient(135deg, var(--sky-primary), var(--sky-dark));
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 24px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--sky-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover { color: var(--sky-primary); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item i {
    color: var(--sky-primary);
    margin-top: 4px;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sticky-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.sticky-btn:hover { transform: scale(1.15); }

.sticky-btn .tooltip {
    position: absolute;
    right: 68px;
    background: var(--gray-900);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.sticky-btn:hover .tooltip {
    opacity: 1;
    right: 72px;
}

.sticky-phone { background: linear-gradient(135deg, #ef4444, #dc2626); }
.sticky-whatsapp { background: linear-gradient(135deg, #22c55e, #16a34a); }
.sticky-email { background: linear-gradient(135deg, var(--sky-primary), var(--sky-dark)); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: var(--sky-lighter);
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--gray-400);
    flex-wrap: wrap;
}

.breadcrumb-inner a:hover { color: var(--sky-primary); }

.breadcrumb-inner .current {
    color: var(--gray-800);
    font-weight: 600;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--sky-lighter) 0%, var(--sky-light) 50%, var(--white) 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--gray-400);
    max-width: 600px;
}

/* ===== SERVICE DETAIL ===== */
.service-detail { padding: 80px 0; }

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-detail-content p {
    color: var(--gray-400);
    margin-bottom: 24px;
    line-height: 1.8;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-list li i {
    width: 28px; height: 28px;
    background: var(--sky-lighter);
    color: var(--sky-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.service-detail-image { position: relative; }

.service-detail-image .img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--sky-lighter), var(--sky-light));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--sky-primary);
    box-shadow: var(--shadow-lg);
}

/* ===== PROCESS STEPS ===== */
.process-section {
    background: var(--gray-50);
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px; right: -16px;
    width: 32px; height: 2px;
    background: var(--sky-primary);
    opacity: 0.3;
}

.process-number {
    width: 80px; height: 80px;
    background: white;
    border: 3px solid var(--sky-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sky-primary);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* ===== TECH STACK ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.tech-item {
    background: white;
    border: 2px solid var(--gray-100);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--sky-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--sky-primary);
    margin-bottom: 12px;
    display: block;
}

.tech-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
}

/* ===== FAQ ===== */
.faq-item {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover { border-color: var(--sky-light); }

.faq-question {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    gap: 16px;
}

.faq-question i {
    color: var(--sky-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--gray-400);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 300px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--sky-primary), var(--sky-dark));
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--sky-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-select { cursor: pointer; }

.form-textarea { resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-primary), var(--sky-dark));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RIPPLE EFFECT ===== */
@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* ===== HERO RESPONSIVE ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.hero-text {
    font-size: 1.15rem;
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-stat-divider {
    width: 1px;
    background: var(--gray-200);
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    min-width: 380px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    border: 1px solid var(--gray-100);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 20px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: var(--sky-primary);
    transform: translateX(8px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-icon-phone { background: linear-gradient(135deg, var(--sky-primary), var(--sky-dark)); }
.contact-icon-whatsapp { background: linear-gradient(135deg, #22c55e, #16a34a); }
.contact-icon-email { background: linear-gradient(135deg, #f59e0b, #d97706); }
.contact-icon-clock { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.contact-icon-location { background: linear-gradient(135deg, #ec4899, #db2777); }

/* ===== TEAM GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

/* ===== WHY CHOOSE GRID ===== */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== STATS BAR ===== */
.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

/* ===== RESPONSIVE: TABLET (1024px) ===== */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title { font-size: 2.8rem; }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title { font-size: 2.2rem; }

    .page-hero h1 { font-size: 2.5rem; }

    .sticky-cta {
        right: 16px;
        bottom: 80px;
    }

    .sticky-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
}

/* ===== RESPONSIVE: MOBILE (768px) ===== */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }

    .hero-title { font-size: 2rem; }
    .hero-text { font-size: 1rem; }
    .hero-stats { gap: 20px; margin-top: 32px; }
    .hero-stat-divider { display: none; }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-width: 300px;
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; }

    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .card {
        padding: 28px;
    }

    .service-detail {
        padding: 60px 0;
    }

    .service-detail-content h2 {
        font-size: 1.6rem;
    }

    .process-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 20px 24px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 24px;
    }

    .faq-item.active .faq-answer {
        padding-bottom: 20px;
    }

    .contact-info-item {
        padding: 20px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .sticky-cta {
        right: 12px;
        bottom: 70px;
        gap: 8px;
    }

    .sticky-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .sticky-btn .tooltip {
        display: none;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        bottom: 16px;
        left: 16px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .navbar-inner {
        height: 64px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-grid .animate-on-scroll.delay-2 {
        order: -1;
    }
}

/* ===== RESPONSIVE: SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
    .container { padding: 0 12px; }

    .hero-title { font-size: 1.7rem; }

    .section-title { font-size: 1.5rem; }

    .page-hero h1 { font-size: 1.5rem; }

    .cta-section h2 { font-size: 1.5rem; }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
    }

    .card {
        padding: 20px;
        border-radius: 16px;
    }

    .card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    .testimonial-card {
        min-width: 280px;
        padding: 24px;
    }

    .process-number {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .tech-item {
        padding: 16px;
    }

    .tech-item i {
        font-size: 2rem;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .stats-bar-grid .counter {
        font-size: 2.5rem !important;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
    }

    .mobile-menu {
        width: 85%;
        padding: 70px 24px 24px;
    }
}

/* ===== HORIZONTAL SCROLL HIDE ===== */
.testimonials-scroll::-webkit-scrollbar {
    height: 6px;
}

.testimonials-scroll::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.testimonials-scroll::-webkit-scrollbar-thumb {
    background: var(--sky-primary);
    border-radius: 10px;
}


/* ========================================== */
/* RESPONSIVE GRID UTILITIES - ADDED 2026     */
/* ========================================== */

/* ---- Base responsive grid classes ---- */
.r-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.r-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.r-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.r-grid-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.r-grid-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.r-grid-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.r-grid-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.r-grid-portfolio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.r-grid-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: center;
}

.r-grid-team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.r-grid-why {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.r-grid-process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.r-grid-tech {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Service cards grid (services page) */
.r-grid-service-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.r-grid-service-cards .service-card-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

/* ---- Tablet (640px+) ---- */
@media (min-width: 640px) {
    .r-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .r-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .r-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .r-grid-stats { grid-template-columns: repeat(2, 1fr); }
    .r-grid-team { grid-template-columns: repeat(2, 1fr); }
    .r-grid-why { grid-template-columns: repeat(2, 1fr); }
    .r-grid-process { grid-template-columns: repeat(2, 1fr); }
    .r-grid-tech { grid-template-columns: repeat(3, 1fr); }
    .r-grid-service-cards { grid-template-columns: repeat(2, 1fr); }
    .r-grid-service-cards .service-card-inner { grid-template-columns: auto 1fr; }
}

/* ---- Tablet landscape / small desktop (768px+) ---- */
@media (min-width: 768px) {
    .r-grid-contact { grid-template-columns: 1fr 1.2fr; gap: 60px; }
    .r-grid-hero { grid-template-columns: 1fr 1fr; gap: 60px; }
    .r-grid-about { grid-template-columns: 1fr 1fr; gap: 60px; }
    .r-grid-services { grid-template-columns: repeat(2, 1fr); }
    .r-grid-portfolio { grid-template-columns: repeat(2, 1fr); }
    .r-grid-stats { grid-template-columns: repeat(4, 1fr); }
    .r-grid-team { grid-template-columns: repeat(4, 1fr); }
    .r-grid-why { grid-template-columns: repeat(3, 1fr); }
    .r-grid-process { grid-template-columns: repeat(4, 1fr); }
    .r-grid-tech { grid-template-columns: repeat(6, 1fr); }
}

/* ---- Desktop (1024px+) ---- */
@media (min-width: 1024px) {
    .r-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .r-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .r-grid-services { grid-template-columns: repeat(3, 1fr); }
    .r-grid-portfolio { grid-template-columns: repeat(3, 1fr); }
    .r-grid-about { grid-template-columns: 1fr 1fr; gap: 80px; }
    .r-grid-hero { grid-template-columns: 1fr 1fr; gap: 60px; }
}

/* ---- Large desktop (1280px+) ---- */
@media (min-width: 1280px) {
    .r-grid-service-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================== */
/* CONTACT FORM RESPONSIVE                    */
/* ========================================== */

.contact-form-wrapper {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 20px;
        border-radius: 20px;
    }
    .contact-form-wrapper h3 {
        font-size: 1.4rem;
    }
}

/* ========================================== */
/* HERO STATS RESPONSIVE                      */
/* ========================================== */

.hero-stats-bar {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-divider {
    width: 1px;
    background: var(--gray-200);
}

@media (max-width: 640px) {
    .hero-stats-bar {
        gap: 16px;
        margin-top: 32px;
        justify-content: center;
    }
    .hero-stat-item {
        flex: 1;
        min-width: 80px;
    }
    .hero-stat-divider {
        display: none;
    }
    .hero-stat-item div:first-child {
        font-size: 1.6rem !important;
    }
}

/* ========================================== */
/* TESTIMONIALS RESPONSIVE                    */
/* ========================================== */

.testimonials-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    min-width: 340px;
    max-width: 380px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    border: 1px solid var(--gray-100);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .testimonials-scroll {
        gap: 16px;
        padding-bottom: 16px;
    }
    .testimonial-card {
        min-width: 280px;
        max-width: 320px;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        min-width: 260px;
        padding: 20px;
    }
}

/* ========================================== */
/* SERVICE DETAIL GRID RESPONSIVE             */
/* ========================================== */

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

/* ========================================== */
/* PROCESS STEPS RESPONSIVE                   */
/* ========================================== */

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--sky-primary);
    opacity: 0.3;
}

@media (max-width: 767px) {
    .process-step:not(:last-child)::after {
        display: none;
    }
}

@media (min-width: 640px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================== */
/* TECH GRID RESPONSIVE                       */
/* ========================================== */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ========================================== */
/* PORTFOLIO GRID RESPONSIVE                  */
/* ========================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* ========================================== */
/* SERVICES GRID RESPONSIVE                   */
/* ========================================== */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* ========================================== */
/* SERVICE CARDS (services.html) RESPONSIVE   */
/* ========================================== */

.service-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card-item {
    display: block;
}

.service-card-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

@media (min-width: 640px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card-inner {
        grid-template-columns: auto 1fr;
        gap: 28px;
    }
}

/* ========================================== */
/* STATS BAR RESPONSIVE                       */
/* ========================================== */

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-bar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

/* ========================================== */
/* TEAM GRID RESPONSIVE                       */
/* ========================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* ========================================== */
/* WHY CHOOSE GRID RESPONSIVE                 */
/* ========================================== */

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* ========================================== */
/* CONTACT INFO ITEMS RESPONSIVE              */
/* ========================================== */

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 20px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: var(--sky-primary);
    transform: translateX(8px);
}

@media (max-width: 480px) {
    .contact-info-item {
        padding: 16px;
        gap: 12px;
    }
    .contact-info-item:hover {
        transform: translateX(4px);
    }
}

/* ========================================== */
/* FORM RESPONSIVE                            */
/* ========================================== */

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========================================== */
/* HERO SECTION RESPONSIVE                    */
/* ========================================== */

.hero-section {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 120px 0 80px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }
}

/* ========================================== */
/* CTA BUTTONS RESPONSIVE                     */
/* ========================================== */

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons-center {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-buttons .btn,
    .cta-buttons-center .btn {
        width: 100%;
    }
}

/* ========================================== */
/* FLOATING CARDS IN HERO RESPONSIVE          */
/* ========================================== */

.hero-floating-cards {
    position: relative;
}

.hero-floating-cards .float-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .hero-floating-cards .float-card {
        padding: 16px;
    }
    .hero-floating-cards .float-card div:first-child {
        width: 40px;
        height: 40px;
    }
}

/* ========================================== */
/* DECORATIVE ELEMENTS RESPONSIVE             */
/* ========================================== */

.hero-deco-1,
.hero-deco-2 {
    position: absolute;
    background: linear-gradient(135deg, var(--sky-primary), var(--sky-dark));
    border-radius: 24px;
    opacity: 0.2;
    z-index: 0;
}

.hero-deco-1 {
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
}

.hero-deco-2 {
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    opacity: 0.15;
}

@media (max-width: 768px) {
    .hero-deco-1,
    .hero-deco-2 {
        display: none;
    }
}

/* ========================================== */
/* ABOUT SECTION IMAGE RESPONSIVE             */
/* ========================================== */

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper .about-img {
    background: linear-gradient(135deg, var(--sky-lighter), var(--sky-light));
    border-radius: 32px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper .about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: white;
    border-radius: 20px;
    padding: 24px 32px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .about-image-wrapper .about-badge {
        bottom: -12px;
        right: -12px;
        padding: 16px 20px;
        border-radius: 16px;
    }
    .about-image-wrapper .about-badge div:first-child {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 480px) {
    .about-image-wrapper .about-badge {
        display: none;
    }
}

/* ========================================== */
/* PORTFOLIO CARD RESPONSIVE                  */
/* ========================================== */

.portfolio-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.portfolio-card .portfolio-img {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-card .portfolio-img i {
    font-size: 5rem;
    color: white;
    opacity: 0.2;
}

@media (max-width: 640px) {
    .portfolio-card .portfolio-img i {
        font-size: 3rem;
    }
}

/* ========================================== */
/* STICKY CTA RESPONSIVE                      */
/* ========================================== */

@media (max-width: 768px) {
    .sticky-cta {
        right: 12px;
        bottom: 70px;
        gap: 8px;
    }
    .sticky-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    .sticky-btn .tooltip {
        display: none;
    }
}

/* ========================================== */
/* BACK TO TOP RESPONSIVE                     */
/* ========================================== */

@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        bottom: 16px;
        left: 16px;
    }
}

/* ========================================== */
/* NAVBAR RESPONSIVE                          */
/* ========================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .navbar-inner {
        height: 64px;
    }
    .logo {
        font-size: 1.3rem;
    }
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* ========================================== */
/* PAGE HERO RESPONSIVE                       */
/* ========================================== */

@media (max-width: 1024px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 50px;
    }
    .page-hero h1 {
        font-size: 1.8rem;
    }
    .page-hero p {
        font-size: 1rem;
    }
}

/* ========================================== */
/* SECTION SPACING RESPONSIVE                 */
/* ========================================== */

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .service-detail {
        padding: 60px 0;
    }
    .process-section {
        padding: 60px 0;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
    .cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    .page-hero h1 {
        font-size: 1.5rem;
    }
    .cta-section h2 {
        font-size: 1.5rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .card {
        padding: 24px;
        border-radius: 16px;
    }
    .card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
    .process-number {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    .tech-item {
        padding: 16px;
    }
    .tech-item i {
        font-size: 2rem;
    }
    .team-avatar {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    .contact-form-wrapper {
        padding: 20px;
    }
    .faq-question {
        padding: 20px 24px;
        font-size: 0.95rem;
    }
    .faq-answer {
        padding: 0 24px;
    }
    .faq-item.active .faq-answer {
        padding-bottom: 20px;
    }
}

/* ========================================== */
/* FOOTER RESPONSIVE                          */
/* ========================================== */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================== */
/* ANIMATED CARDS IN HERO RESPONSIVE          */
/* ========================================== */

@media (max-width: 768px) {
    .hero-section .hero-grid .animate-on-scroll.delay-2 {
        order: -1;
    }
}

/* ========================================== */
/* MOBILE MENU IMPROVEMENTS                   */
/* ========================================== */

@media (max-width: 480px) {
    .mobile-menu {
        width: 85%;
        padding: 70px 24px 24px;
    }
    .footer-social a {
        width: 38px;
        height: 38px;
    }
}


/* ================================================== */
/* RCONSOFT HOME HERO VIDEO PLAYER                    */
/* ================================================== */
.rcon-hero-video-column {
    position: relative;
    min-width: 0;
}

.rcon-video-card {
    position: relative;
    z-index: 1;
    padding: 19px;
    border: 1px solid rgba(14, 165, 233, .16);
    border-radius: 27px;
    background: linear-gradient(145deg, #ffffff 0%, #f3faff 100%);
    box-shadow: 0 24px 56px rgba(15, 46, 83, .13), 0 6px 18px rgba(14, 165, 233, .08);
}

.rcon-video-card-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 6px 17px;
}

.rcon-video-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    color: #0284c7;
}

.rcon-video-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

.rcon-video-headline h2 {
    margin: 0 0 4px;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.25;
    color: #0f172a;
}

.rcon-video-headline p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.rcon-video-duration {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid #e0eaf3;
    border-radius: 8px;
    color: #475569;
    background: white;
    font-weight: 700;
    font-size: 11px;
}

.rcon-hero-player {
    position: relative;
    overflow: hidden;
    border-radius: 17px;
    background: #07182b;
    aspect-ratio: 16 / 9;
    isolation: isolate;
}

.rcon-hero-player video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #07182b;
}

.rcon-video-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(180deg, rgba(2, 15, 34, .50) 0%, rgba(2, 15, 34, .24) 43%, rgba(2, 15, 34, .72) 100%);
    transition: opacity .25s ease, visibility .25s ease;
}

.rcon-hero-player.is-playing .rcon-video-cover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.rcon-video-cover-top,
.rcon-video-cover-bottom {
    align-self: flex-start;
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .4);
}

.rcon-video-cover-top i {
    margin-right: 6px;
    color: #7dd3fc;
}

.rcon-video-cover-bottom {
    align-self: flex-end;
    font-size: 9px;
    color: #e2f3fe;
}

.rcon-video-cover-bottom i { margin-left: 6px; }

.rcon-video-play {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: white;
    font: inherit;
}

.rcon-video-play-circle {
    display: grid;
    place-items: center;
    width: 73px;
    height: 73px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .86);
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .13), 0 12px 35px rgba(2, 15, 34, .35);
    font-size: 24px;
    transition: transform .22s ease, box-shadow .22s ease;
}

.rcon-video-play-circle i { padding-left: 4px; }

.rcon-video-play:hover .rcon-video-play-circle,
.rcon-video-play:focus-visible .rcon-video-play-circle {
    transform: scale(1.07);
    box-shadow: 0 0 0 13px rgba(255, 255, 255, .17), 0 14px 40px rgba(2, 15, 34, .45);
}

.rcon-video-play:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 7px; border-radius: 10px; }

.rcon-video-play-label {
    padding: 8px 13px;
    border-radius: 30px;
    background: rgba(15, 23, 42, .8);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
}

.rcon-video-play-label i { color: #7dd3fc; margin-left: 4px; }

.rcon-video-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 9px;
    padding: 14px 6px 3px;
    font-size: 11px;
}

.rcon-video-footer-text { color: #334155; font-weight: 700; }
.rcon-video-footer-text i { color: #0284c7; margin-right: 6px; }
.rcon-video-audio-hint { color: #64748b; }
.rcon-video-audio-hint i { color: #0284c7; margin-right: 3px; }

@media (max-width: 640px) {
    .rcon-video-card { padding: 12px; border-radius: 18px; }
    .rcon-video-card-header { padding: 5px 4px 13px; }
    .rcon-video-headline h2 { font-size: 18px; }
    .rcon-video-duration { font-size: 10px; }
    .rcon-hero-player { border-radius: 11px; }
    .rcon-video-cover { padding: 13px; }
    .rcon-video-play-circle { width: 55px; height: 55px; font-size: 18px; }
    .rcon-video-play-label { font-size: 10px; padding: 5px 9px; }
    .rcon-video-cover-bottom { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .rcon-video-play-circle, .rcon-video-cover { transition: none; }
}

/* ===============================================================
   RCONSOFT 2026 — Unified wordmark across all website pages
   Wordmark only: blue R, navy text on light, white on dark.
   =============================================================== */
.navbar a.logo,
.footer-brand a.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 1;
    width: fit-content;
    max-width: 100%;
}
.brand-wordmark {
    display: block;
    width: clamp(205px, 23vw, 292px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.footer-brand .brand-wordmark {
    width: min(300px, 100%);
}
.footer-brand .footer-domain {
    font-size: 0.94rem;
    color: #cbd5e1;
    margin: -7px 0 23px;
}
.footer-domain a {
    color: #7dd3fc;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.footer-domain a:hover,
.footer-domain a:focus-visible { color: #ffffff; }
.footer-domain a i { font-size: .75rem; padding-left: 3px; }
@media (max-width: 480px) {
    .brand-wordmark { width: 212px; }
    .footer-brand .brand-wordmark { width: min(270px,100%); }
}

/* ===== NAVIGATION SUBMENUS / CONSULTATION CTA (2026 update) ===== */
.nav-links { gap: 4px; }
.nav-links > a { padding: 8px 12px; }
.nav-dropdown {
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 9px;
}
.nav-dropdown > .nav-parent-link {
    padding: 8px 3px 8px 12px;
    border-radius: 8px 0 0 8px;
}
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 29px;
    min-height: 38px;
    border: 0;
    background: transparent;
    color: var(--gray-600);
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: color .2s, background .2s;
}
.nav-dropdown-toggle i { font-size: .65rem; transition: transform .2s; }
.nav-dropdown:hover > .nav-dropdown-toggle,
.nav-dropdown:focus-within > .nav-dropdown-toggle,
.nav-dropdown.is-open > .nav-dropdown-toggle {
    color: var(--sky-primary);
    background: var(--sky-lighter);
}
.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown:focus-within .nav-dropdown-toggle i,
.nav-dropdown.is-open .nav-dropdown-toggle i { transform: rotate(180deg); }
.nav-submenu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 16px 38px rgba(15,23,42,.13);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 1100;
}
.nav-dropdown:hover > .nav-submenu,
.nav-dropdown:focus-within > .nav-submenu,
.nav-dropdown.is-open > .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-submenu > a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    white-space: nowrap;
    border-radius: 8px;
    font-size: .9rem;
}
.nav-submenu > a i { width: 17px; color: var(--sky-primary); }
.nav-dropdown .nav-submenu > a.active::after { display: none; }
.nav-links .nav-cta {
    padding: 11px 15px !important;
    white-space: nowrap;
    font-size: .9rem;
}
.mobile-nav-heading { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-heading > a { flex: 1; }
.mobile-submenu-toggle {
    width: 42px; height: 42px;
    border: 0; background: var(--sky-lighter); color: var(--sky-dark);
    border-radius: 9px; cursor: pointer;
}
.mobile-submenu-toggle i { transition: transform .2s; }
.mobile-nav-group.is-open .mobile-submenu-toggle i { transform: rotate(180deg); }
.mobile-submenu { display: none; padding-left: 18px; border-left: 2px solid var(--sky-light); }
.mobile-nav-group.is-open > .mobile-submenu { display: block; }
.mobile-menu .mobile-submenu a { padding: 12px 10px; font-size: 1rem; color: var(--sky-dark); }
.mobile-menu a.mobile-consultation-cta {
    margin-top: 18px; padding: 13px 12px; text-align: center;
    border-radius: 10px; background: linear-gradient(135deg,var(--sky-primary),var(--sky-dark));
    color: white; font-size: 1rem; border-bottom: 0;
}
#our-team, #quote-form { scroll-margin-top: 105px; }
@media (max-width: 1100px) and (min-width: 769px) {
    .nav-links { gap: 2px; }
    .nav-links > a { padding-left: 9px; padding-right: 9px; font-size: .84rem; }
    .nav-dropdown > .nav-parent-link { font-size: .84rem; }
    .nav-links .nav-cta { font-size: .79rem; padding: 9px 10px !important; }
}


/* =================================================================
   RCONSOFT PROFESSIONAL REFINEMENT | 2026-10-12
   Shared across the website. Desktop identity preserved; mobile truly responsive.
   ================================================================= */
:root { --brand-deep: #0b1930; --brand-cyan: #0ea5e9; --brand-line: #dce9f4; }
body { font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
body, p { color: #40546c; }
:focus-visible { outline: 3px solid #0284c7; outline-offset: 4px; }
html { scroll-padding-top: 88px; }
.container { max-width: 1240px; }
.navbar { border-bottom: 1px solid rgba(16,59,101,.085); }
.navbar-inner { height: 80px; gap: 18px; }
.navbar.scrolled { box-shadow: 0 10px 32px rgba(8,39,75,.065); }
.nav-links a { font-size: .9rem; font-weight: 600; }
.nav-links .nav-cta { border-radius: 12px !important; font-weight: 700 !important; box-shadow: 0 7px 22px rgba(14,165,233,.18); }
.nav-submenu { border: 1px solid rgba(14,165,233,.14); box-shadow: 0 22px 55px rgba(7,35,70,.16); }
.brand-wordmark { width: clamp(172px,17.5vw,233px); }
.footer-brand .brand-wordmark { width: 245px; }
.section-label { font-size: .73rem; font-weight: 800; letter-spacing: .12em; border: 1px solid rgba(14,165,233,.12); }
.section-title { font-size: clamp(1.9rem, 3.1vw, 2.8rem); letter-spacing: -.035em; }
.section-subtitle { color: #64748b; }
.section-header { margin-bottom: 44px; }
.card { box-shadow: 0 5px 23px rgba(15,50,85,.055); border: 1px solid #e4edf6; border-radius: 22px; }
.card:hover { box-shadow: 0 26px 54px rgba(20,88,146,.115); border-color: rgba(14,165,233,.32); }
.card-icon { border-radius: 16px; width: 60px; height: 60px; }
.services-grid .card { padding: 31px; min-height: 278px; position: relative; overflow: hidden; }
.services-grid .card::after { content: ""; position: absolute; inset: auto 28px 0; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#0ea5e9,#67e8f9); transition: transform .3s ease; }
.services-grid .card:hover::after { transform: scaleX(1); }
.services-grid .card p { color: #64748b !important; }
.portfolio-card { overflow: hidden; border: 1px solid #e6eef6; box-shadow: 0 10px 26px rgba(11,44,77,.055); transition: transform .35s, box-shadow .35s; }
.portfolio-card:hover { transform: translateY(-7px); box-shadow: 0 20px 40px rgba(11,44,77,.12); }
.portfolio-card > div:first-child i { opacity: .7 !important; }
.btn { padding: 14px 24px; border-radius: 13px; font-weight: 700; letter-spacing: -.01em; }
.btn-primary { box-shadow: 0 10px 27px rgba(14,165,233,.23); }
.btn-outline { border: 1.5px solid rgba(2,132,199,.35); background: #fff; color: #0369a1; }
.footer { background: linear-gradient(135deg,#0c1a2d 0%,#102743 100%); }
.footer-utility-links { display:flex; flex-wrap:wrap; gap:22px; }
.footer-utility-links a { color:#b5c6d8; font-size:.9rem; }
.footer-utility-links a:hover { color:#7dd3fc; }
.sticky-btn { animation: none; box-shadow: 0 10px 27px rgba(9,36,74,.16); }
.sticky-cta { right: 19px; bottom: 24px; }
.sticky-btn:hover { transform: translateY(-4px); }

/* Hero: polished editorial layout with subtle motion */
.hero-section { padding: 160px 0 96px; background: radial-gradient(ellipse 70% 60% at 93% 22%,rgba(125,211,252,.27),transparent 72%),radial-gradient(ellipse 38% 60% at 4% 100%,rgba(186,230,253,.28),transparent 80%),linear-gradient(118deg,#ffffff 1%,#f1f9ff 58%,#f7fbff 100%); }
.hero-section .r-grid-hero { grid-template-columns: minmax(0,1.09fr) minmax(0, .91fr); gap: clamp(32px,4vw,62px); }
.hero-copy h1 { font-size: clamp(2.7rem,4.15vw,4rem) !important; font-weight: 800; line-height: 1.12 !important; letter-spacing: -.052em; max-width: 670px; }
.hero-copy > p { color:#52647b !important; font-size: clamp(1rem,1.25vw,1.115rem) !important; max-width: 590px !important; line-height: 1.83 !important; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 11px; border: 1px solid #cde7fa; padding: 9px 13px; border-radius: 40px; font-size: .63rem; font-weight: 800; color: #0369a1; letter-spacing: .105em; margin-bottom: 24px; background: rgba(255,255,255,.78); box-shadow: 0 8px 25px rgba(7,70,116,.04); }
.hero-eyebrow i { font-size: .65rem; }
.hero-eyebrow-pulse { width: 8px; height: 8px; border-radius: 50%; background: #0ea5e9; box-shadow: 0 0 0 5px #e0f2fe; }
.hero-value-list { display:flex; gap: 10px 21px; flex-wrap:wrap; align-items:center; margin-top: 28px; font-size:.73rem; font-weight:700; color:#4c6380; }
.hero-value-list i { color:#0284c7; margin-right:3px; }
.hero-stats-bar { margin-top: 28px !important; }
.hero-stats-bar > div:not(.hero-stat-divider) { min-width: 96px; }
.rcon-hero-video-column { position: relative; }
.rcon-video-card { background: linear-gradient(145deg, #ffffff,#f6fbff); box-shadow: 0 26px 65px rgba(12,55,94,.16),0 4px 20px rgba(6,85,150,.055); border: 1px solid #d8ebf8; position: relative; }
.rcon-video-card-header { padding: 8px 6px 20px; }
.rcon-hero-player { box-shadow: 0 9px 30px rgba(4,31,63,.18); }
.hero-video-floating-label { position:absolute; z-index: 5; bottom:-17px; right:18px; padding:9px 16px; border-radius:50px; background:#083b68; color:white; font-size:.69rem; font-weight:800; box-shadow:0 12px 26px rgba(7,48,87,.2); pointer-events:none; }
.hero-video-floating-label i { color:#7dd3fc; margin-right:5px; }

/* Technology ribbon */
.tech-showcase { background: #fff; border-top: 1px solid #ecf3fa; border-bottom: 1px solid #ecf3fa; padding: 36px 0; }
.tech-showcase-inner { display:grid; grid-template-columns: minmax(230px, .76fr) minmax(0, 1.6fr); gap: 26px; align-items:center; }
.tech-kicker { color:#0284c7; font-weight:800; letter-spacing:.13em; font-size:.67rem; }
.tech-showcase-heading h2 { font-size: clamp(1.1rem,1.6vw,1.4rem); letter-spacing:-.025em; margin:7px 0 4px; }
.tech-showcase-heading p { color: #718096; font-size: .8rem; line-height: 1.6; }
.tech-pills { display:flex; gap: 10px; flex-wrap:wrap; justify-content:flex-end; }
.tech-pill { display:inline-flex; align-items:center; gap:9px; background:#f5faff; border:1px solid #e1eef8; padding: 10px 14px; border-radius: 12px; color:#2b475e; font-size:.78rem; font-weight:700; white-space:nowrap; transition: transform .25s, background .25s, border-color .25s; }
.tech-pill i { color:#0284c7; font-size:1.06rem; }
.tech-pill:hover { background:#eaf7ff; border-color:#9ddfff; transform:translateY(-3px); }

/* Animated five-step SDLC */
.delivery-section { position:relative; padding:94px 0 102px; overflow:hidden; background:linear-gradient(160deg,#f4faff,#eaf5fc 72%,#f8fcff); }
.delivery-section::before { content:""; position:absolute; width:450px; height:450px; background:radial-gradient(circle,rgba(14,165,233,.085),transparent 70%); top:-160px; right:-100px; pointer-events:none; }
.delivery-top { display:flex; align-items:end; justify-content:space-between; gap:36px; margin-bottom:38px; }
.delivery-top h2 { max-width:670px; margin:0; }
.delivery-top > p { max-width:350px; font-size:.97rem; line-height:1.75; color:#62788d; padding-bottom:6px; }
.accent-word { color:#0284c7; }
.delivery-steps { position:relative; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:13px; }
.delivery-steps::before { content:""; position:absolute; z-index:0; height:2px; width:calc(100% - 120px); top:36px; left:60px; background:repeating-linear-gradient(90deg,#7dd3fc 0,#7dd3fc 12px,transparent 12px,transparent 21px); }
.delivery-step { position:relative; z-index:1; padding: 23px 20px 25px; border:1px solid #dfebf5; border-radius:20px; background:#fff; box-shadow:0 14px 30px rgba(32,79,117,.07); transition:transform .3s, box-shadow .3s,border-color .3s; }
.delivery-step:hover { transform:translateY(-8px); border-color:#8bd5fb; box-shadow:0 20px 36px rgba(22,98,152,.14); }
.delivery-number { position:absolute; right:18px; top:18px; color:#a6bad0; font-weight:800; font-size:.78rem; letter-spacing:.04em; }
.delivery-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:17px; background:linear-gradient(140deg,#e8f7ff,#d9f1ff); color:#0284c7; font-size:1.15rem; margin-bottom:26px; }
.delivery-step h3 { font-size: 1rem; margin-bottom:10px; }
.delivery-step p { color:#62778d; font-size:.8rem; line-height:1.7; }
.process-bottom { margin-top:30px; display:flex; gap:13px 27px; flex-wrap:wrap; align-items:center; font-size:.75rem; color:#4c687d; font-weight:700; }
.process-bottom i { color:#0284c7; margin-right:5px; }
.process-bottom a { margin-left:auto; font-size:.84rem; color:#0369a1; }
.process-bottom a:hover { text-decoration:underline; }

/* About section visual */
.about-image-wrapper .modern-about-visual { background:linear-gradient(140deg,#cbeafe 0%,#f5fbff 48%,#d8f2ff 100%); padding:28px; overflow:hidden; border:1px solid #d2e5f2; box-shadow:0 22px 44px rgba(7,71,118,.12); }
.about-visual-orb { position:absolute; width:200px; height:200px; border-radius:50%; filter:blur(3px); opacity:.4; pointer-events:none; }
.orb-a { top:0; left:0; background:#7dd3fc; }
.orb-b { bottom:0; right:0; background:#bae6fd; }
.about-workspace { position:relative; z-index:1; width:100%; max-width:460px; border-radius:15px; background:#fff; box-shadow:0 20px 40px rgba(8,69,113,.18); overflow:hidden; border:1px solid #c5e2f4; transform: rotate(-2deg); transition:transform .4s ease; }
.about-image-wrapper:hover .about-workspace { transform:rotate(0); }
.about-workspace-top { background:#0c2f52; color:#b9e3fa; padding:12px 16px; display:flex; align-items:center; gap:14px; justify-content:space-between; letter-spacing:.17em; font-size:.6rem; font-weight:800; }
.window-dots { display:flex; gap:5px; margin-right:5px; }
.window-dots i { width:6px; height:6px; display:block; border-radius:100%; background:#38bdf8; }
.window-dots i:nth-child(2){ background:#facc15; }.window-dots i:nth-child(3){ background:#34d399; }
.workspace-content { padding:26px; }
.workspace-heading { display:flex; gap:13px; align-items:center; margin-bottom:27px; }
.workspace-heading > span { width:45px; height:45px; display:grid; place-items:center; border-radius:12px; background:#e0f2fe; color:#0284c7; }
.workspace-heading strong { color:#0f2740; display:block; font-size:.9rem; }
.workspace-heading small { color:#8ca3b5; display:block; font-size:.57rem; font-weight:800; letter-spacing:.07em; }
.workspace-progress { margin-top:15px; }
.workspace-progress span { font-size:.72rem; color:#43586e; font-weight:700; }
.workspace-progress > div { width:100%; height:8px; background:#e8f2f9; border-radius:100px; margin-top:8px; overflow:hidden; }
.workspace-progress > div i { height:100%; display:block; border-radius:100px; background:linear-gradient(90deg,#0284c7,#67e8f9); }
.about-badge-upgraded { display:flex; align-items:center; gap:12px; padding:14px 18px !important; border:1px solid #e0ecf4; }
.about-badge-upgraded > i { color:#0284c7; font-size:1.4rem; }
.about-badge-upgraded span { font-size:.78rem; line-height:1.45; font-weight:800; color:#1e4567; }
.about-badge-upgraded small { color:#6a859b; font-weight:500; }

/* Mobile: preserve every section and visual identity without desktop viewport scaling */
@media (max-width: 1170px) { .brand-wordmark { width: 180px; } .nav-links a { font-size:.81rem; } .nav-links .nav-cta { font-size:.79rem; } }
@media (max-width: 960px) { .brand-wordmark { width: 174px; } .nav-links { gap:0; } .nav-links > a { padding:8px; } .nav-dropdown > .nav-parent-link {padding-left:8px;} .nav-links .nav-cta { padding:10px !important; } }
@media (max-width: 840px) { .nav-links { display:none; } .mobile-menu-btn { display:block; } }
@media (max-width: 1023px) { .hero-section .r-grid-hero { grid-template-columns: 1fr 1fr; gap:30px; } .hero-copy h1 { font-size:clamp(2.1rem,4.1vw,3.5rem) !important; } .hero-stats-bar { gap:12px !important; } .delivery-steps {grid-template-columns:repeat(3,minmax(0,1fr));} .delivery-steps::before { display:none; } }
@media (max-width: 767px) { .container { padding:0 20px; } .navbar-inner { height:70px; } .brand-wordmark { width:185px; } .hero-section { padding:113px 0 67px; } .hero-section .r-grid-hero { grid-template-columns:1fr; gap:36px; } .hero-copy h1 { font-size:clamp(2.4rem,8.3vw,3.4rem) !important; } .hero-copy > p { font-size:.98rem !important; } .hero-eyebrow { font-size:.58rem; letter-spacing:.05em; margin-bottom:19px; } .hero-value-list {margin-top:20px;} .hero-stats-bar { justify-content:space-between; } .rcon-video-card { max-width:620px; margin:0 auto; } .tech-showcase-inner { grid-template-columns:1fr; gap:18px; } .tech-pills { justify-content:flex-start; } .tech-showcase { padding:30px 0; } .delivery-section { padding:68px 0; } .delivery-top {flex-direction:column; align-items:flex-start; gap:14px;} .delivery-steps {grid-template-columns:repeat(2,minmax(0,1fr));} .process-bottom a {margin-left:0;width:100%;padding-top:7px;} .services-grid .card {min-height:0;} .section-header {margin-bottom:34px;} .footer {padding-top:54px;} }
@media (max-width: 480px) { .hero-eyebrow {font-size:.51rem;max-width:100%;} .hero-copy h1 {font-size:clamp(2.1rem,10vw,2.8rem) !important;} .hero-value-list {gap:9px; font-size:.65rem;} .hero-stats-bar {gap:7px !important;} .hero-stats-bar > div:not(.hero-stat-divider) {min-width:0;} .rcon-video-card-header {flex-wrap:wrap;} .tech-pill {font-size:.71rem;padding:9px 11px;} .delivery-steps {grid-template-columns:1fr;} .delivery-step {display:grid;grid-template-columns:62px 1fr;gap:3px 14px;padding:18px;} .delivery-number {top:18px;right:18px;} .delivery-icon {grid-row:span 2;margin:0;width:50px;height:50px;} .delivery-step h3 {margin-bottom:0;} .delivery-step p {grid-column:2;} .modern-about-visual {min-height:260px;} .about-workspace {transform:rotate(0);} .workspace-content {padding:19px;} .footer-utility-links {gap:14px;} .sticky-btn {width:46px;height:46px;font-size:1rem;} .sticky-cta {bottom:18px;right:13px;} }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important;} .animate-on-scroll { opacity:1; transform:none; } }

.email-draft-notice { background: #eef9ff; border:1px solid #b7e4fa; padding: 14px 16px; border-radius:12px; color:#164c75; font-size:.86rem; margin:18px 0; line-height:1.7; }
.email-draft-notice[hidden] { display:none; }
.email-draft-notice a { text-decoration:underline; color:#0369a1; font-weight:800; }


/* ========================================================================
   RCONSOFT | Premium corporate background + compact desktop-inspired mobile
   A separate, easily editable theme layer to preserve all existing modules.
   ======================================================================== */
:root {
  --premium-ink:#071a30;
  --premium-navy:#092a49;
  --premium-blue:#0ea5e9;
  --premium-light:#f6faff;
  --premium-border:#dceaf7;
}
html { scroll-behavior:smooth; }
body { background:#f7fafe; color:#3d526a; }
.navbar { background:rgba(255,255,255,.94); border-bottom:1px solid rgba(159,193,216,.3); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); }
.navbar.scrolled { background:rgba(255,255,255,.985); box-shadow:0 14px 42px rgba(3,22,46,.09); }
.nav-links .nav-cta { background:linear-gradient(128deg,#0798de,#046ba6); color:white; }

/* Hero: deep navy background with architectural grid, cool highlights and a crisp video card. */
.hero-section {
  isolation:isolate;
  background:
    radial-gradient(circle at 88% 18%,rgba(25,152,222,.40) 0,transparent 30%),
    radial-gradient(circle at 12% 88%,rgba(17,108,160,.29),transparent 41%),
    linear-gradient(120deg,#071629 4%,#0b2b49 53%,#0a3556 100%) !important;
}
.hero-section::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.23;
  background-image:linear-gradient(rgba(168,215,244,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(168,215,244,.18) 1px,transparent 1px);
  background-size:56px 56px;
  mask-image:linear-gradient(110deg,transparent 4%,black 68%);
  -webkit-mask-image:linear-gradient(110deg,transparent 4%,black 68%);
}
.hero-section::after {
  content:"";
  position:absolute;
  right:-9%;top:6%;
  width:540px;height:540px;
  border:1px solid rgba(96,196,250,.14);
  border-radius:50%;
  box-shadow:0 0 0 55px rgba(125,211,252,.025),0 0 0 140px rgba(125,211,252,.018);
  pointer-events:none;
}
.hero-section .hero-copy h1 { color:#f8fbff !important; }
.hero-section .hero-copy h1 span { background:linear-gradient(115deg,#7dd3fc,#38bdf8 62%,#a5e9ff) !important; -webkit-background-clip:text !important; background-clip:text !important; -webkit-text-fill-color:transparent !important; }
.hero-section .hero-copy > p { color:#c1d6e8 !important; }
.hero-section .hero-eyebrow { color:#b9e9ff; background:rgba(21,88,131,.37); border-color:rgba(125,211,252,.24); box-shadow:0 8px 32px rgba(0,0,0,.11); }
.hero-section .hero-eyebrow-pulse { box-shadow:0 0 0 5px rgba(56,189,248,.16); }
.hero-section .hero-value-list { color:#d9e9f4; }
.hero-section .hero-value-list i { color:#7dd3fc; }
.hero-section .hero-stats-bar { border-top:1px solid rgba(174,223,249,.17); padding-top:21px; }
.hero-section .hero-stats-bar > div:not(.hero-stat-divider) > div:first-child { color:#7dd3fc !important; }
.hero-section .hero-stats-bar > div:not(.hero-stat-divider) > div:last-child { color:#c0d4e5 !important; }
.hero-section .hero-stat-divider { background:rgba(195,224,243,.22) !important; }
.hero-section .btn-outline { color:#e6f8ff; border-color:rgba(165,225,253,.48); background:rgba(236,249,255,.08); }
.hero-section .btn-outline:hover { background:rgba(14,165,233,.22); border-color:#7dd3fc; }
.hero-section .rcon-video-card { border:1px solid rgba(239,250,255,.92); background:linear-gradient(145deg,#ffffff,#f0f9ff); box-shadow:0 32px 80px rgba(0,11,27,.38); }
.hero-video-floating-label { background:#d8f3ff; color:#063956; box-shadow:0 16px 37px rgba(0,10,30,.2); }
.hero-video-floating-label i { color:#0284c7; }

/* Keep technology ribbon clearly delineated from the dark hero. */
.tech-showcase { background:linear-gradient(110deg,#f4faff,#ffffff 56%,#edf7ff); box-shadow:0 16px 36px rgba(12,43,71,.025); }
.tech-pill { background:#fff; border-color:#dcecf7; box-shadow:0 7px 17px rgba(16,69,106,.055); }

/* Alternating soft, purposeful background surfaces across homepage. */
.premium-impact-band { background:linear-gradient(105deg,#07518c,#0681ba 55%,#05527d) !important; position:relative; }
.premium-services-surface { background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%) !important; }
.premium-about-surface { background:radial-gradient(ellipse at 96% 15%,rgba(130,205,247,.23),transparent 43%),linear-gradient(125deg,#f1f7ff,#eaf3fd 70%,#f6fbff) !important; }
.premium-portfolio-surface { background:linear-gradient(180deg,#faffff,#f6faff) !important; }
.premium-testimonial-surface { background:radial-gradient(circle at 5% 20%,rgba(148,211,248,.16),transparent 40%),linear-gradient(135deg,#f0f6fc,#e9f4fd 70%,#f7fbff) !important; }
.delivery-section { background:radial-gradient(ellipse at 20% 0%,rgba(170,224,251,.23),transparent 47%),linear-gradient(140deg,#e9f5ff,#f8fcff 56%,#eff7fd); }
.delivery-step { border:1px solid #dbe8f4; }
.premium-services-surface .card { background:linear-gradient(154deg,#fff,#fbfdff); }
.premium-portfolio-surface .portfolio-card { background:#fff; }

/* Consistent inner-page hero background, high contrast and gentle geometry. */
.page-hero { isolation:isolate; background:radial-gradient(ellipse 45% 85% at 90% 23%,rgba(14,165,233,.32),transparent 74%),linear-gradient(120deg,#081a2e 4%,#103958 100%) !important; border-bottom:1px solid #164563; }
.page-hero::before { top:auto;right:-15%;bottom:-390px;width:610px;height:610px;background:radial-gradient(circle,rgba(125,211,252,.12),transparent 68%);border:1px solid rgba(127,209,249,.13); }
.page-hero h1,.page-hero-content h1 { color:#f9fcff !important; letter-spacing:-.04em; }
.page-hero p,.page-hero-content p { color:#c3d7e8 !important; }
.breadcrumb { background:#eff7ff; border-bottom:1px solid #dfebf6; }
.service-detail,.process-section { background:linear-gradient(180deg,#fff,#f8fbff); }
.footer { background:radial-gradient(ellipse at 90% 8%,rgba(18,115,164,.21),transparent 40%),linear-gradient(128deg,#071627,#102f49 90%) !important; }
.cta-section { background:linear-gradient(110deg,#067bb4,#034873) !important; }

/* Half-desktop mobile: keep recognizable desktop-style two-column cards,
   rather than a 1200px fixed viewport that makes all text unreadable. */
@media (max-width: 767px) {
  body { min-width:0; overflow-x:clip; }
  .container { padding-inline:clamp(12px,3.5vw,23px); }
  .hero-section { padding-top:115px;padding-bottom:70px; }
  .hero-section .r-grid-hero { grid-template-columns:minmax(0,1fr); }
  .hero-section .hero-copy h1 { font-size:clamp(2.05rem,7vw,3.25rem) !important; }
  .hero-section .hero-copy > p { font-size:.93rem !important;line-height:1.7 !important; }
  .hero-section::after { width:280px;height:280px; }
  .services-grid,.portfolio-grid,.why-choose-grid,.team-grid,.stats-bar-grid,.delivery-steps,
  .tech-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .services-grid,.portfolio-grid,.why-choose-grid,.team-grid {gap:14px !important;}
  .services-grid .card { min-width:0; padding:18px 15px !important;border-radius:16px;min-height:0; }
  .services-grid .card-icon { width:44px;height:44px;font-size:1.13rem;margin-bottom:14px; }
  .services-grid .card h3 { font-size:.91rem;line-height:1.35;word-wrap:break-word; }
  .services-grid .card p { font-size:.76rem !important;line-height:1.58; }
  .services-grid .card a { font-size:.76rem; }
  .portfolio-grid .portfolio-card {min-width:0;border-radius:14px;}
  .portfolio-grid .portfolio-card h3 {font-size:.88rem;}
  .portfolio-grid .portfolio-card p {font-size:.76rem;line-height:1.5;}
  .delivery-steps {gap:12px !important;}
  .delivery-step {display:block !important;padding:17px 14px !important;min-width:0;}
  .delivery-icon {width:44px;height:44px;margin:0 0 15px !important;}
  .delivery-step h3 {font-size:.9rem;margin-bottom:7px !important;}
  .delivery-step p {grid-column:auto;font-size:.72rem;line-height:1.55;}
  .delivery-number {font-size:.67rem;top:17px;right:13px;}
  .team-card {min-width:0;}
  .tech-grid {gap:12px;}
  .tech-showcase-inner {grid-template-columns:1fr;}
  .tech-pills {justify-content:flex-start;}
  .page-hero {padding:118px 0 64px;}
  .page-hero h1 {font-size:clamp(2rem,6vw,2.7rem);}
  .page-hero p {font-size:.94rem;}
  .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:27px 18px;}
  .footer-brand {grid-column:1 / -1;}
  .footer-contact-item { overflow-wrap:anywhere; }
  .footer-title {font-size:.98rem;}
  .footer-links a {font-size:.84rem;}
}
@media (max-width: 480px) {
  .hero-section {padding-top:105px;}
  .hero-section .hero-copy h1 {font-size:clamp(2rem,8vw,2.5rem) !important;}
  .services-grid,.portfolio-grid,.why-choose-grid,.team-grid,.delivery-steps {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .delivery-step {display:block !important;}
  .delivery-step p {grid-column:auto !important;}
  .delivery-icon {grid-row:auto !important;}
  .services-grid .card {padding:14px 12px !important;}
  .services-grid .card h3 {font-size:.83rem;}
  .services-grid .card p {font-size:.71rem !important;}
  .portfolio-grid {gap:10px !important;}
  .portfolio-card > div {min-width:0;}
  .tech-pill {font-size:.7rem;}
  .btn {width:auto;max-width:100%;}
  .cta-buttons {display:flex;flex-wrap:wrap;gap:11px;}
  .cta-buttons .btn { flex:1 1 auto;font-size:.83rem;padding:12px 13px; white-space:normal; }
  .section-title {font-size:clamp(1.6rem,6.2vw,2rem);}
  .team-avatar {width:75px;height:75px;font-size:1.5rem;}
  .footer-brand .brand-wordmark {max-width:240px;}
  .hero-video-floating-label {font-size:.56rem;padding:7px 10px;}
}
@media (max-width:350px) {
  .footer-grid {grid-template-columns:1fr !important;}
  .footer-brand {grid-column:auto;}
  .services-grid .card {padding:12px 9px !important;}
  .services-grid .card h3 {font-size:.76rem;}
}
@media (prefers-reduced-motion:reduce) { .hero-section::after {box-shadow:none;} }
