/* 
  SAMAF Accountants & Consultants 
  Design System & Styles 
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@400;500;600&display=swap');

:root {
    /* Colors - Modernized */
    --primary-navy: #0A1929;
    --secondary-teal: #00A389;
    --accent-gold: #FFD700;
    --bg-dark: #050B13;
    --white: #FFFFFF;
    --text-grey: #B0BCCF;
    --light-blue: #F0F4F8;
    
    /* Modern Gradients */
    --grad-mesh: radial-gradient(at 0% 0%, rgba(0, 163, 137, 0.15) 0px, transparent 50%),
                 radial-gradient(at 100% 0%, rgba(255, 215, 0, 0.1) 0px, transparent 50%),
                 radial-gradient(at 100% 100%, rgba(10, 25, 41, 0.2) 0px, transparent 50%),
                 radial-gradient(at 0% 100%, rgba(0, 163, 137, 0.1) 0px, transparent 50%);

    /* Typography */
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Inter', sans-serif;

    /* Spacing & Misc */
    --container-width: 1240px;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.3);
}

/* Gradients */
.grad-navy {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
}

.grad-teal {
    background: linear-gradient(135deg, var(--secondary-teal) 0%, #155a4e 100%);
}

/* Glassmorphism - Modern Dark Version */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-radius: 24px;
    position: relative;
    overflow: visible;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: -150%;
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-20deg);
    transition: 0.7s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 163, 137, 0.5);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 80px -20px rgba(0, 163, 137, 0.2);
}

/* Floating Mesh Blobs */
.mesh-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: blobFloat 20s infinite alternate;
}

@keyframes blobFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.1); }
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    font-family: var(--body-font);
    color: var(--text-grey);
    line-height: 1.6;
    background-color: var(--bg-dark);
}

.mobile-br {
    display: none;
}

.mobile-only {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--white);
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(60px, 9vw, 86px);
    line-height: 1.1;
    margin-bottom: 32px;
    font-weight: 900;
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
    letter-spacing: -0.05em;
}

h2 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 1.5rem; }
h4 { font-size: 24px; color: var(--white); margin-bottom: 15px; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-grey);
    text-align: justify;
}

/* Center-align paragraphs in centered container elements (like section headers/descriptions) */
div[style*="text-align: center"] > p,
div[style*="text-align: center"] p,
.final-cta p,
.stat-item p {
    text-align: center !important;
}

.text-white { color: var(--white); }
.text-teal { color: var(--secondary-teal); }
.text-gold { color: var(--accent-gold); }

.tag {
    display: inline-block;
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 2rem;
    padding: 8px 20px;
    background: var(--secondary-teal);
    border-radius: 100px;
}

/* Layout */
section {
    padding: 100px 0;
}

#ecosystem { padding-bottom: 40px; }
#testimonials { padding-top: 40px; }

.final-cta { padding-bottom: 40px; }
#contact { 
    padding-top: 40px !important; 
    padding-bottom: 20px !important; 
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 30px;
}

.flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 100px;
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 16px;
    text-transform: none;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-teal) 0%, #007D69 100%);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 163, 137, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #007D69 0%, var(--secondary-teal) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 163, 137, 0.5);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
    transform: translateY(-4px);
}

.btn-link {
    color: var(--secondary-teal);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-width);
    z-index: 1000;
    padding: 16px 30px;
    background: rgba(10, 25, 41, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    transition: var(--transition);
}

nav.scrolled {
    top: 10px;
    background: rgba(10, 25, 41, 0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
}

nav.scrolled .nav-links a {
    color: var(--white);
}

.nav-links a:hover {
    color: var(--secondary-teal);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

nav.scrolled .hamburger span {
    background-color: var(--white);
}

/* Hero */
.hero {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 180px; /* Increased to push content down */
    padding-bottom: 140px; /* Increased to create space for the overlapping stats bar */
    overflow: hidden;
    background-color: var(--dark-navy);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    z-index: 1;
    animation: heroZoom 20s infinite alternate linear;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 11, 19, 0.75); /* Deeper dark for better contrast */
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    text-align: left;
}

.hero-content {
    max-width: 1100px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
    justify-content: flex-start;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px; /* Reduced for single-line fit */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 13px; /* Slightly smaller for single-line fit */
}

.trust-item svg {
    color: var(--secondary-teal);
    width: 20px;
    height: 20px;
    background: rgba(0, 163, 137, 0.1);
    padding: 3px;
    border-radius: 4px;
}

.trust-item span.icon {
    color: var(--secondary-teal);
    font-size: 16px;
}

/* Stats Bar */
.stats-bar {
    background: transparent;
    padding: 0;
    margin-top: -80px; /* Overlaps the hero ending line perfectly */
    position: relative;
    z-index: 10;
}

.stats-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    background: rgba(10, 25, 41, 0.8);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    color: var(--accent-gold);
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item p {
    color: var(--white);
    opacity: 0.7;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Problem Section */
.problem-pointers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pointer-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pointer-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-teal);
    transition: var(--transition);
}

.pointer-item:hover .pointer-icon {
    background: rgba(0, 163, 137, 0.1);
    transform: translateY(-5px);
}

.pointer-icon svg {
    width: 24px;
    height: 24px;
}

.pointer-item span {
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
}

.pointer-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .problem-pointers {
        gap: 20px;
    }
    .pointer-divider {
        display: none;
    }
}

.problem-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
}

.pain-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--secondary-teal);
    transition: var(--transition);
    border-radius: 24px;
    text-align: center; /* Centered for consistency */
}

.pain-card:hover {
    transform: translateY(-10px);
}

.pain-card .icon {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centered icon */
    height: 60px;
    font-size: 48px;
    color: var(--secondary-teal);
}

.pain-card .icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5px;
}

.pain-card h4 {
    margin-bottom: 15px;
    font-size: 24px;
}

.pain-card p {
    text-align: center;
}

/* Services */
.bg-light {
    background-color: #08121D;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
    text-align: center; /* Centered for better balance */
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.service-card .icon {
    font-size: 48px;
    margin-bottom: 25px;
    display: block;
}

.service-card h4 {
    margin-bottom: 10px;
    font-size: 18px; /* Reduced from 20px to prevent wrapping */
    white-space: nowrap;
}

.service-card p {
    text-align: center;
}

/* Ecosystem Map */
.ecosystem-map {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ecosystem-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    display: flex;
    justify-content: center;
}

.box-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #08121D;
    padding: 0 15px;
    color: var(--secondary-teal);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.apps-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 120px;
}

.app-item span {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
}

.app-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.top-app-icon {
    width: 96px !important;
    height: 96px !important;
}

.app-icon:hover {
    transform: translateY(-5px);
}

.app-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.circle-icon {
    border-radius: 50%;
}

.app-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Specific BG colors for icons */
.xero-bg { background: #13B5EA; }
.myob-bg { background: #610094; }
.qb-bg { background: #2CA01C; }
.hubdoc-bg { background: #111; border: 1px solid #333; }
.leap-bg { background: #F68D2E; }
.halaxy-bg { background: #5633FF; }
.deputy-bg { background: #FFF; }

.logo-text { color: white; font-weight: 800; font-size: 14px; text-align: center; line-height: 1.2; }
.logo-plus { color: white; font-size: 32px; font-weight: 300; }

/* Connector Styles */
.connector-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    height: 70px;
    width: 100%;
}

.vertical-arrow {
    position: relative;
    height: 100%;
    width: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-teal);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 8px var(--secondary-teal);
}

.arrow-line {
    width: 2px;
    flex-grow: 1;
    background: linear-gradient(to bottom, var(--secondary-teal), rgba(0, 163, 137, 0.4));
    margin-top: -2px;
    margin-bottom: -2px;
}

.arrow-head {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid rgba(0, 163, 137, 0.5);
    margin-bottom: 2px;
}

.arrow-head-second {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--secondary-teal);
}

@media (max-width: 768px) {
    .apps-grid { 
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .app-icon {
        width: 56px !important;
        height: 56px !important;
        padding: 10px !important;
        border-radius: 10px !important;
    }
    .top-app-icon {
        width: 68px !important;
        height: 68px !important;
    }
    .app-item {
        width: auto !important;
        gap: 8px !important;
    }
    .app-item span {
        font-size: 11px !important;
    }
    .app-divider { 
        display: none !important; 
    }
    .ecosystem-box { 
        padding: 30px 15px !important; 
    }
    .connector-wrapper {
        height: 50px !important;
        margin: 10px 0 !important;
    }
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* Industries */
.industries-tabs {
    margin-top: 50px;
}

.tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 60px;
    border-bottom: none;
    padding-bottom: 0;
}

.tab-btn {
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 18px; /* Increased for readability */
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-teal);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--secondary-teal);
    color: var(--white);
    border-color: var(--secondary-teal);
    box-shadow: 0 10px 20px rgba(0, 163, 137, 0.3);
}

.tab-content {
    display: none;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.industry-info h3 {
    margin-bottom: 25px;
    font-size: 36px;
    color: var(--white) !important;
}

.industry-info p {
    color: #E2E8F0 !important;
    font-size: 18px;
    line-height: 1.8;
}

.industry-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    aspect-ratio: 4 / 3;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: var(--transition);
}

.social-links a.facebook { background: #1877F2; }
.social-links a.linkedin { background: #0077B5; }

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Non-functional link handling */
a[href="#"], 
a[href=""], 
.non-functional {
    cursor: default !important;
    pointer-events: none; /* Disable interaction */
}

a[href="#"]:hover,
.non-functional:hover {
    transform: none !important;
    opacity: 1 !important;
}

.social-links a[href="#"] {
    background: #333 !important; /* Muted color for non-functional icons */
    opacity: 0.5;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.industry-image:hover img {
    transform: scale(1.05);
}

/* Why SAMAF */
.why-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 50px;
}

.diff-card {
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    border-radius: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.diff-card h4 {
    margin-bottom: 8px;
    font-size: 20px;
}

.diff-card p {
    text-align: left !important;
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 15px;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-20deg);
    transition: 0.7s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.diff-card:hover::before {
    left: 150%;
}

.diff-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 163, 137, 0.5);
    box-shadow: 0 30px 60px -15px rgba(0, 163, 137, 0.15);
}

.diff-card .icon {
    font-size: 40px;
}

/* How It Works */
.steps-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
    gap: 40px;
    position: relative;
}

.step-card {
    text-align: left;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 25px; /* Reduced from 50px 30px 40px 30px */
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Changed from flex-end */
    min-height: 160px; /* Reduced from 260px */
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--secondary-teal);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover::before {
    width: 100%;
}

.step-card:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 163, 137, 0.15);
}

.step-number {
    position: absolute;
    top: -10px;
    right: 15px;
    font-family: var(--heading-font);
    font-size: 160px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
    margin: 0;
    line-height: 1;
    z-index: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.step-card:hover .step-number {
    color: rgba(0, 163, 137, 0.04);
    -webkit-text-stroke: 1px rgba(0, 163, 137, 0.1);
    transform: scale(1.05) translate(-10px, 10px);
}

.step-card h4 {
    margin-bottom: 12px;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.step-card p {
    position: relative;
    z-index: 1;
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.7;
}

/* Intermediate CTA */
.intermediate-cta {
    padding: 60px 0;
}

/* FAQ Accordion */
.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 30px;
    font-weight: 600;
    color: var(--primary-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    color: #333333; /* Darker color for better contrast on white background */
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 1000px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-icon {
    font-size: 20px;
    color: var(--secondary-teal);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Software Stack */
.software-logos-container img {
    transition: var(--transition);
}

.software-logos-container img:hover {
    filter: brightness(0) invert(1) grayscale(0) opacity(1) !important;
    transform: scale(1.1);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left !important;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
}

.stars {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.client-info {
    font-weight: 600;
    color: var(--secondary-teal);
    opacity: 0.9;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid var(--secondary-teal);
    display: inline-block;
    width: 100%;
}

/* Testimonials Slider Controls */
.slider-controls {
    display: none;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--secondary-teal);
    color: var(--white);
    border-color: var(--secondary-teal);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(0, 163, 137, 0.4);
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--secondary-teal);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--secondary-teal);
}

/* Community */
.community-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.community-list li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    font-weight: 500;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 18px 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: default;
}

.community-list li:hover {
    background: rgba(0, 163, 137, 0.1);
    border-color: rgba(0, 163, 137, 0.4);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 20px -5px rgba(0, 163, 137, 0.2);
    color: var(--white);
}

.community-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Final CTA */
.final-cta {
    background-color: var(--dark-navy);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px;
}

.final-cta p:last-child {
    margin-bottom: 0 !important;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 40px 0 50px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 163, 137, 0.05), transparent 50%);
    pointer-events: none;
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 20px;
}

/* Advanced Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(80px); filter: blur(10px); }
    to { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    filter: blur(5px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px) scale(0.96);
    filter: blur(5px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

.text-reveal {
    display: block;
    overflow: hidden;
}

.text-reveal span {
    display: block;
    animation: textSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(100%);
}

@keyframes textSlideUp {
    to { transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        height: 100vh;
        width: 100%;
        background: rgba(5, 11, 19, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        visibility: hidden; /* Prevent horizontal scroll on mobile */
    }
    .nav-links.active { 
        transform: translateX(0); 
        right: 0; 
        visibility: visible; /* Show when active */
    }
    .nav-links li { 
        margin: 15px 0; 
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .nav-links a { color: var(--white); font-size: 24px; }
    .hamburger {
        display: flex;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.05);
        padding: 8px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hamburger span { background-color: var(--white); }

    .hero-content h1 { font-size: 48px; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 768px) {
    nav {
        width: 90% !important;
        left: 5% !important;
        transform: none !important;
        top: 15px !important;
        padding: 8px 15px !important;
        right: auto !important;
    }
    
    nav .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .logo img {
        height: 28px !important;
        width: auto !important;
    }

    .mesh-blob { display: none !important; }
    .mobile-br { display: block !important; }
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }

    section { padding: 25px 0 !important; }
    .hero { 
        text-align: left !important; 
        min-height: 80vh; 
        padding-top: 100px; 
        padding-bottom: 100px; 
    }
    .hero .container { 
        grid-template-columns: 1fr; 
        text-align: left !important;
    }
    .hero-content {
        text-align: left !important;
    }
    .hero-btns { 
        flex-direction: column !important; 
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .problem-grid { 
        grid-template-columns: 1fr; 
        gap: 16px !important;
        margin-top: 30px !important;
    }
    .problem-pointers {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
        margin: 30px 0 !important;
        align-items: stretch !important;
    }
    .pointer-item {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 20px !important;
        padding: 24px 16px !important;
        gap: 12px !important;
        width: 100% !important;
        min-height: 150px !important;
        transition: var(--transition) !important;
    }
    .pointer-item span {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: var(--white) !important;
    }
    .pointer-item:hover {
        background: rgba(255, 255, 255, 0.04) !important;
        border-color: rgba(0, 163, 137, 0.3) !important;
        transform: translateY(-4px) !important;
    }
    .pointer-divider {
        display: none !important;
    }
    .service-card {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        column-gap: 16px !important;
        row-gap: 6px !important;
        align-items: start !important;
        text-align: left !important;
        padding: 24px 20px !important;
        width: 100% !important;
        max-width: 325px !important;
        height: auto !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .service-card .icon {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        font-size: 32px !important;
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: start !important;
        justify-content: center !important;
        padding-top: 2px !important;
    }
    .service-card h4 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        font-size: 18px !important;
        margin-bottom: 0 !important;
        white-space: normal !important;
        text-align: left !important;
        line-height: 1.3 !important;
    }
    .service-card p {
        grid-column: 2 !important;
        grid-row: 2 !important;
        text-align: left !important;
        margin-bottom: 0 !important;
        font-size: 13.5px !important;
        line-height: 1.5 !important;
    }
    .pain-card {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        column-gap: 16px !important;
        row-gap: 6px !important;
        align-items: start !important;
        text-align: left !important;
        padding: 24px 20px !important;
        width: 100% !important;
        max-width: 325px !important;
        height: auto !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .pain-card .icon {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: start !important;
        justify-content: center !important;
        padding-top: 2px !important;
    }
    .pain-card .icon svg {
        width: 32px !important;
        height: 32px !important;
    }
    .pain-card h4 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        font-size: 18px !important;
        margin-bottom: 0 !important;
        white-space: normal !important;
        text-align: left !important;
        line-height: 1.3 !important;
    }
    .pain-card p {
        grid-column: 2 !important;
        grid-row: 2 !important;
        text-align: left !important;
        margin-bottom: 0 !important;
        font-size: 13.5px !important;
        line-height: 1.5 !important;
    }
    .community-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .community-grid > div:first-child {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .community-grid h2,
    .community-grid p {
        text-align: center !important;
    }
    .community-list { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 12px !important; 
        margin-top: 0 !important;
    }
    .community-list li {
        padding: 15px 12px !important;
        font-size: 13px !important;
    }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; }

    .hero-content h1 { font-size: 36px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; }

    .stats-bar { margin-top: -60px; }
    .stats-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 0 !important; 
        padding: 15px 10px !important; 
        border-radius: 24px; 
    }
    .stat-item {
        padding: 15px 10px !important;
    }
    .stat-item:nth-child(1) {
        border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    .stat-item:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    .stat-item h3 { font-size: 26px; margin-bottom: 5px; }
    .stat-item p { font-size: 11px; }

    .trust-strip {
        justify-content: flex-start !important;
        gap: 10px !important;
    }
    .trust-item {
        font-size: 11px !important;
        padding: 6px 10px !important;
        justify-content: flex-start;
        width: auto;
    }

    .problem-grid, .services-grid, .why-grid, .steps-grid, .testimonials-grid, .community-list {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 0px !important;
        padding: 10px 0 25px 0 !important;
        margin: 0 !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        width: 100% !important;
    }
    .testimonials-grid::-webkit-scrollbar {
        display: none !important;
    }
    .testimonial-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        scroll-snap-align: center !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .slider-controls {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .tab-content.active {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .tab-nav {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 30px !important;
        padding: 0 !important;
        overflow-x: visible !important;
    }

    .tab-btn {
        white-space: normal !important;
        padding: 10px 4px !important;
        font-size: 11px !important;
        text-align: center !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 48px !important;
    }

    .nav-links a.btn { 
        width: 80%; 
        margin-top: 20px; 
        padding: 15px; 
        font-size: 16px;
    }

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

    .intermediate-cta {
        text-align: left !important;
    }
    .intermediate-cta .flex {
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        gap: 30px !important;
    }
    .intermediate-cta .flex > div {
        margin: 0 !important;
        text-align: left !important;
    }
    .intermediate-cta .btn {
        margin: 0 auto !important;
        align-self: center !important;
    }
}

/* Contact Form Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.detail-item {
    margin-bottom: 15px;
    font-size: 18px;
}

.detail-item strong {
    color: var(--secondary-teal);
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-family: var(--body-font);
    font-size: 16px;
    transition: var(--transition);
    outline: none;
}

/* Custom Select UI */
.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    position: relative;
}

.select-trigger::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    margin-top: -5px;
    transition: var(--transition);
}

.custom-select.active .select-trigger {
    border-color: var(--secondary-teal);
    background: rgba(255, 255, 255, 0.08);
}

.custom-select.active .select-trigger::after {
    transform: rotate(-135deg);
    margin-top: 5px;
}

.select-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #0D1B2A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    padding: 10px 0;
}

.custom-select.active .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.option {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.option:hover {
    background: rgba(0, 163, 137, 0.1);
    color: var(--secondary-teal);
    padding-left: 25px;
}

.option.selected {
    background: rgba(0, 163, 137, 0.2);
    color: var(--white);
    font-weight: 600;
}

.form-group input:hover, 
.form-group select:hover, 
.form-group textarea:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-teal);
    box-shadow: 0 0 15px rgba(0, 163, 137, 0.1);
}

/* Software Stack Groups */
.software-groups-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.software-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.group-title {
    font-size: 16px;
    color: var(--secondary-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-align: center;
    opacity: 0.9;
    margin-bottom: 0;
}

.software-logos-container {
    padding: 40px !important;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0 !important;
}

.logo-item {
    opacity: 0.7;
    transition: var(--transition);
    cursor: pointer;
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.logo-svg text {
    fill: white;
}

@media (max-width: 768px) {
    .software-logos-container {
        gap: 30px;
        padding: 30px !important;
    }
}

/* ==========================================
   CONTACT FORM MOBILE & TABLET RESPONSIVENESS
   ========================================== */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 40px !important;
        padding: 40px !important;
    }
    .contact-info h2 {
        font-size: 36px !important;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 32px 24px !important;
    }
    .contact-info {
        text-align: center;
        width: 100%;
    }
    .contact-info h2 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    .contact-details {
        margin-top: 30px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .detail-item {
        margin-bottom: 0 !important;
        text-align: center;
    }
    .detail-item strong {
        margin-bottom: 2px !important;
    }
    .contact-form {
        width: 100% !important;
    }

    .faq-answer {
        text-align: justify !important;
    }

    .select-options {
        max-height: 220px !important;
        overflow-y: auto !important;
    }

    /* Beautiful Compact Mobile Footer Transformation */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 35px !important;
        text-align: left !important;
        padding: 0 20px !important;
    }
    
    .footer-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        margin-bottom: 10px !important;
    }
    
    .footer-logo img {
        height: 40px !important;
        margin-bottom: 10px !important;
    }
    .footer-tagline {
        font-size: 13px !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    .footer-links:nth-of-type(2) { /* Services */
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 0 !important;
    }
    .footer-links:nth-of-type(2) h4 {
        text-align: left !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }
    .footer-links:nth-of-type(2) ul {
        text-align: left !important;
        width: 100% !important;
    }
    
    .footer-links:nth-of-type(3) { /* Industries */
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 0 !important;
    }
    .footer-links:nth-of-type(3) h4 {
        text-align: left !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }
    .footer-links:nth-of-type(3) ul {
        text-align: left !important;
        width: 100% !important;
    }
    
    .footer-links:nth-of-type(4) { /* Contact Us */
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-top: 25px !important;
        width: 100% !important;
        margin-top: 10px !important;
        text-align: left !important;
    }

    .footer-links:nth-of-type(4) h4 {
        text-align: left !important;
        margin-bottom: 15px !important;
    }

    .footer-links:nth-of-type(4) ul {
        display: block !important;
        padding: 0 !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }

    .footer-links:nth-of-type(4) ul li {
        margin-bottom: 10px !important;
        text-align: left !important;
    }

    .footer-links:nth-of-type(4) ul li:first-child {
        display: block !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }

    .footer-links:nth-of-type(4) ul li:not(:first-child) {
        display: inline-block !important;
        margin: 0 10px 10px 0 !important;
    }

    .footer-links:nth-of-type(4) ul li:nth-child(2)::after {
        content: "|" !important;
        color: rgba(255, 255, 255, 0.3) !important;
        margin-left: 15px !important;
        margin-right: 5px !important;
    }

    .footer-links .social-links {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 15px !important;
        margin-top: 15px !important;
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        padding: 24px 16px !important;
        gap: 30px !important;
        border-radius: 16px !important;
    }
    .contact-info h2 {
        font-size: 26px !important;
    }
    .detail-item {
        font-size: 16px !important;
    }
}
