/* ==========================================================================
   1. GLOBAL VARIABLES & BRAND COLOR ARRAYS
   ========================================================================== */
:root {
    /* Brand Colors extracted from logo.png */
    --brand-orange: #e15b26;
    --brand-blue: #1d70b6;
    --brand-navy: #1b294a;
    --brand-yellow: #f8a529;
    
    /* Functional Layout Ecosystem Tints */
    --bg-white: #ffffff;
    --bg-light-cream: #fdf8f5;     /* Soft warm tint for alternating sections */
    --bg-light-blue: #f4f8fc;      /* Soft cool tint for alternating sections */
    
    /* Typography Palette */
    --text-dark: #1b294a;          /* Using deep navy instead of plain black for high-end look */
    --text-muted: #4a5568;
    --text-white: #ffffff;
    
    /* Utility Metrics */
    --transition-speed: 0.3s;
    --max-width: 1200px;
    --border-radius: 8px;
}

/* Base Document Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a,
button,
input,
textarea,
select {
    font: inherit;
}

img,
video {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. REUSABLE UI ELEMENTS & ACCENTS
   ========================================================================== */
.title-accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.title-accent-line.left-aligned {
    margin: 15px 0 0 0;
}

.title-accent-line.mini {
    width: 35px;
    height: 3px;
    margin-top: 8px;
}

.section-tag-accent {
    color: var(--brand-orange);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 10px;
}



/* ==========================================================================
   3. HERO SECTION (High-Contrast Video Overlay + Modern 3D Buttons)
   ========================================================================== */

 
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center; /* Vertically centers the content */
    justify-content: center; /* Horizontally centers the content */
    background-color: #000000;
    padding-top: 100px; /* Increased top padding to account for fixed navbar */
    padding-bottom: 40px;
    overflow: hidden;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keeps video crisp and full brightness */
    opacity: 0.95; 
}

/* VERY LIGHT TINT: Video stays clear while giving high contrast to white text */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0.35) 0%, 
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 2;
}

/* Hero Content Floating Layer */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 120px auto 40px auto; /* Increased top margin from 40px to 120px to drag content down */
    padding: 0 20px;
    text-align: center;
}
.hero-tag {
    background: rgba(15, 23, 42, 0.65);
    color: #ff9d76;
    border: 1px solid rgba(225, 91, 38, 0.5);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-content h1 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.82), 0 1px 3px rgba(0, 0, 0, 0.92);
}

.text-gradient {
    background: linear-gradient(135deg, #ffb646 0%, #ff7a1a 38%, #60d8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: 0 6px 18px rgba(255, 114, 32, 0.38);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- ATTRACTIVE 3D BUTTONS --- */
.btn-3d {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: transform 0.2s ease, filter 250ms, box-shadow 0.25s ease;
    min-width: 0;
}

.btn-3d:hover {
    transform: translateY(-2px);
}

.btn-3d-front {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2.2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: transform 150ms ease-in-out, background 0.3s ease, box-shadow 0.25s ease;
    will-change: transform;
    width: 100%;
}

.btn-3d:focus-visible,
.btn-3d-front:focus-visible,
.btn-3d button:focus-visible {
    outline: 3px solid rgba(248, 165, 41, 0.75);
    outline-offset: 4px;
}

/* Primary Orange Button */
.btn-primary.btn-3d {
    background: #a33205;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.btn-primary .btn-3d-front {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    transform: translateY(-4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary.btn-3d:hover .btn-3d-front {
    transform: translateY(-6px);
    background: linear-gradient(135deg, #ff8c38 0%, #f97316 100%);
}

.btn-primary.btn-3d:active .btn-3d-front {
    transform: translateY(-1px);
}

/* Secondary Glass Button */
.btn-secondary.btn-3d {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.btn-secondary .btn-3d-front {
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    transform: translateY(-4px);
}

.btn-secondary.btn-3d:hover .btn-3d-front {
    transform: translateY(-6px);
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary.btn-3d:active .btn-3d-front {
    transform: translateY(-1px);
}

/* ==========================================================================
   4. SERVICES SECTION (Soft Cream Tint Background)
   ========================================================================== */
.services-section {
    background-color: var(--bg-light-cream);
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 36px;
    color: var(--brand-navy);
    font-weight: 800;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(27, 41, 74, 0.04);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid rgba(225, 91, 38, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(27, 41, 74, 0.08);
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Setting Icon colors dynamically based on logo palette */
.icon-blue { background-color: rgba(29, 112, 182, 0.1); color: var(--brand-blue); }
.icon-purple { background-color: rgba(27, 41, 74, 0.1); color: var(--brand-navy); }
.icon-emerald { background-color: rgba(225, 91, 38, 0.1); color: var(--brand-orange); }
.icon-amber { background-color: rgba(248, 165, 41, 0.1); color: var(--brand-yellow); }
.icon-cyan { background-color: rgba(29, 112, 182, 0.1); color: var(--brand-blue); }
.icon-indigo { background-color: rgba(27, 41, 74, 0.1); color: var(--brand-navy); }
.icon-rose { background-color: rgba(225, 91, 38, 0.1); color: var(--brand-orange); }
.icon-sky { background-color: rgba(29, 112, 182, 0.15); color: var(--brand-blue); }
.icon-orange { background-color: rgba(225, 91, 38, 0.15); color: var(--brand-orange); }
.icon-pink { background-color: rgba(27, 41, 74, 0.1); color: var(--brand-navy); }
.icon-teal { background-color: rgba(29, 112, 182, 0.1); color: var(--brand-blue); }
.icon-green { background-color: #eaf6ed; color: #25d366; } /* WhatsApp Native Accent */

.service-card h3 {
    font-size: 20px;
    color: var(--brand-navy);
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   5. TRUST & STATS SECTION (White Base with Deep Borders)
   ========================================================================== */
.trust-section {
    background-color: var(--bg-white);
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--brand-orange);
}

.stat-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 8px 0;
}

.stat-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(27, 41, 74, 0.1), transparent);
    margin: 60px 0;
}

.clients-header {
    text-align: center;
    margin-bottom: 40px;
}

.clients-header h2 {
    font-size: 28px;
    color: var(--brand-navy);
}

.clients-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 15px;
}

/* Infinite Marquee Track System */
.clients-slider {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #f8fbff 0%, #eef6ff 100%);
    padding: 24px 0;
    border-radius: var(--border-radius);
    box-shadow: inset 0 0 0 1px rgba(27, 41, 74, 0.05);
}

.clients-track {
    display: flex;
    width: calc(300px * 16);
    animation: scrollMarquee 40s linear infinite;
}

.client-card {
    width: 300px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.client-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: none;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 8)); }
}

/* ==========================================================================
   6. ABOUT US SECTION (Soft Blue Tint Background)
   ========================================================================== */
.about {
    background-color: var(--bg-light-blue);
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.main-image-wrapper {
    position: relative;
}

.main-image-wrapper img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(27, 41, 74, 0.1);
}

.floating-badge-ui {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--bg-white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(27, 41, 74, 0.12);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--brand-blue);
}

.badge-icon {
    font-size: 24px;
    color: var(--brand-blue);
}

.badge-text strong {
    display: block;
    font-size: 20px;
    color: var(--brand-navy);
}

.badge-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.about-content-side h2 {
    font-size: 36px;
    color: var(--brand-navy);
    font-weight: 800;
}

.about-lead {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 25px 0 15px 0;
}

.about-body {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-pillars-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.pillar-item {
    display: flex;
    gap: 15px;
}

.pillar-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background-color: var(--bg-white);
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pillar-item h4 {
    font-size: 16px;
    color: var(--brand-navy);
    font-weight: 700;
}

.pillar-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   7. CALL TO ACTION SECTION (Deep Dark Navy Solid Background)
   ========================================================================== */
.cta-section {
    position: relative;
    background-color: var(--brand-navy);
    padding: 80px 0;
    overflow: hidden;
}

.tech-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.orb-1 {
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: rgba(225, 91, 38, 0.2); /* Deep custom orange glow */
}
.orb-2 {
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(29, 112, 182, 0.25); /* Corporate blue glow */
}

.cta-box-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.cta-badge {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-yellow);
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.cta-box-wrapper h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.3;
}

.cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 20px 0 35px 0;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.cta-trust-footer {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}
.cta-trust-footer i {
    color: var(--brand-yellow);
}

/* ==========================================================================
   8. WHY CHOOSE US SECTION (White Base Layout)
   ========================================================================== */
.why-choose {
    background-color: var(--bg-white);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.sticky-title-wrapper {
    position: sticky;
    top: 100px;
}

.sticky-title-wrapper h2 {
    font-size: 36px;
    color: var(--brand-navy);
    font-weight: 800;
}

.why-lead {
    font-size: 16px;
    color: var(--text-muted);
    margin: 20px 0 30px 0;
}

.why-image-container img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(27, 41, 74, 0.05);
}

.why-features-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-row-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed);
}
.feature-row-item:hover {
    background-color: var(--bg-light-cream);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.icon-glow-blue { background-color: rgba(29, 112, 182, 0.1); color: var(--brand-blue); }
.icon-glow-purple { background-color: rgba(27, 41, 74, 0.1); color: var(--brand-navy); }
.icon-glow-emerald { background-color: rgba(225, 91, 38, 0.1); color: var(--brand-orange); }
.icon-glow-green { background-color: #eaf6ed; color: #25d366; }
.icon-glow-amber { background-color: rgba(248, 165, 41, 0.1); color: var(--brand-yellow); }

.feature-text h3 {
    font-size: 18px;
    color: var(--brand-navy);
    margin-bottom: 8px;
}
.feature-text p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   9. TECHNOLOGY STACK SECTION (Soft Cream Tint Background)
   ========================================================================== */
.tech-stack {
    background-color: var(--bg-light-cream);
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.tech-item-card {
    background-color: var(--bg-white);
    padding: 25px 15px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(27, 41, 74, 0.04);
}

.tech-icon-wrapper {
    font-size: 36px;
    margin-bottom: 15px;
}
.color-html { color: #e34f26; }
.color-css { color: #1572b6; }
.color-js { color: #f7df1e; }
.color-php { color: #777bb4; }
.color-mysql { color: var(--brand-blue); }
.color-wp { color: #21759b; }

.tech-item-card h3 {
    font-size: 16px;
    color: var(--brand-navy);
    margin-bottom: 8px;
}

.tech-pill-tag {
    font-size: 11px;
    background-color: var(--bg-light-blue);
    color: var(--brand-blue);
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
}

/* SEO Tag Clusters */
.seo-tag-cloud-wrapper {
    border-top: 1px solid rgba(27, 41, 74, 0.08);
    padding-top: 40px;
    text-align: center;
}
.seo-tag-cloud-wrapper h4 {
    color: var(--brand-navy);
    margin-bottom: 15px;
}
.seo-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.seo-tag {
    font-size: 13px;
    background-color: var(--bg-white);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid rgba(27, 41, 74, 0.06);
}

/* ==========================================================================
   10. INDUSTRIES SECTION (White Base Layout)
   ========================================================================== */
.industries-section {
    background-color: var(--bg-white);
    padding: 100px 0;
}

.industries-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.industries-header-grid .header-left h2 {
    font-size: 36px;
    color: var(--brand-navy);
}

.industries-header-grid .header-right h3 {
    font-size: 20px;
    color: var(--brand-orange);
    margin-bottom: 10px;
}
.industries-header-grid .header-right p {
    font-size: 15px;
    color: var(--text-muted);
}

.industries-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.industry-badge-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: var(--bg-light-blue);
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed);
}
.industry-badge-card:hover {
    background-color: rgba(29, 112, 182, 0.1);
}

.ind-icon { font-size: 16px; }
.blue-glow { color: var(--brand-blue); }
.purple-glow { color: var(--brand-navy); }
.emerald-glow { color: var(--brand-orange); }
.rose-glow { color: var(--brand-orange); }
.amber-glow { color: var(--brand-yellow); }
.cyan-glow { color: var(--brand-blue); }
.orange-glow { color: var(--brand-orange); }
.pink-glow { color: var(--brand-navy); }
.sky-glow { color: var(--brand-blue); }
.indigo-glow { color: var(--brand-navy); }
.violet-glow { color: var(--brand-navy); }
.red-glow { color: var(--brand-orange); }
.teal-glow { color: var(--brand-blue); }
.green-glow { color: #25d366; }
.slate-glow { color: var(--text-muted); }

.industry-badge-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-navy);
}

/* ==========================================================================
   11. TESTIMONIALS SECTION (Soft Blue Tint Background)
   ========================================================================== */
.testimonial-section-pro {
    background-color: var(--bg-light-blue);
    padding: 100px 0;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 50px;
}
.testimonial-subtitle {
    color: var(--brand-blue);
    font-weight: 700;
}
.testimonial-title {
    font-size: 32px;
    color: var(--brand-navy);
    margin-top: 5px;
}

.shining-line {
    width: 80px;
    height: 3px;
    background: var(--brand-orange);
    margin: 15px auto 0 auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border-top: 4px solid var(--brand-orange);
}

.stars {
    color: var(--brand-yellow);
    margin-bottom: 15px;
}

.review-text {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 25px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.client-photo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}
.client-details h4 {
    font-size: 15px;
    color: var(--brand-navy);
}
.client-details span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   EVERGAIN SOLUTIONS - RESPONSIVE STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LAPTOPS & SMALL DESKTOPS (Max-Width: 1024px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .about-grid,
    .why-grid {
        gap: 40px;
    }

    .sticky-title-wrapper {
        position: static;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   2. TABLETS & PORTRAIT IPADS (Max-Width: 768px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    /* Section Padding Adjustments */
    .hero {
        min-height: 80vh;
        padding-top: 90px;
    }

    .hero-content {
        margin-top: 90px;
    }

    .services-section,
    .trust-section,
    .about,
    .why-choose,
    .tech-stack,
    .industries-section,
    .testimonial-section-pro {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    /* Hero Typography & CTA */
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta-group,
    .cta-btn-group {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn-3d,
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .btn-3d-front {
        padding: 0.95rem 1.4rem;
    }

    /* Grid Layout Conversions to Single Column */
    .about-grid,
    .why-grid,
    .industries-header-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* Trust & Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-card {
        padding: 10px;
        border-bottom: 1px solid rgba(27, 41, 74, 0.08);
    }

    .stat-card:last-child {
        border-bottom: none;
    }

    .stat-number {
        font-size: 38px;
    }

    /* Floating Image Badge */
    .floating-badge-ui {
        right: 10px;
        bottom: -15px;
        padding: 10px 18px;
    }

    /* Section Headers */
    .section-header h2,
    .about-content-side h2,
    .sticky-title-wrapper h2,
    .cta-box-wrapper h2,
    .industries-header-grid .header-left h2 {
        font-size: 28px;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Trust Footer in CTA */
    .cta-trust-footer {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* --------------------------------------------------------------------------
   3. MOBILE PHONES (Max-Width: 480px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    /* Services & Tech Grids */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tech-item-card {
        padding: 15px 10px;
    }

    .tech-icon-wrapper {
        font-size: 28px;
    }

    /* Industries Matrix */
    .industries-matrix {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .industry-badge-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .industry-badge-card span {
        font-size: 12px;
    }

    /* SEO Tags Cloud */
    .seo-tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    /* Feature Item Stack */
    .feature-row-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}