/* ============================================
   Quenvaris Inc — Corporate Website Styles
   Theme: Dark background + Yellow/Lime accents
   (matching Dexon / mobanwang demo 23160)
   ============================================ */

:root {
    --color-dark: #101210;
    --color-dark-2: #0D0E14;
    --color-dark-3: #1C1F1C;
    --color-dark-4: #0F110F;
    --color-heading: #101210;
    --color-text: #7b7b7b;
    --color-text-light: #a8a8b3;
    --color-white: #ffffff;
    --color-accent-yellow: #ffde5d;
    --color-accent-yellow-hover: #ffee62;
    --color-accent-lime: #bbf737;
    --color-accent-lime-dark: #BEF638;
    --color-light-bg: #F5F5F5;
    --color-light-bg-2: #f6f6f6;
    --color-border: #E9E9EA;
    --font-body: 'Kumbh Sans', sans-serif;
    --font-display: 'Clash Display', sans-serif;
    --transition: all 0.3s ease;
    --radius: 12px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
    background-color: var(--color-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Preloader ---- */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-dark-3);
    border-top-color: var(--color-accent-yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Navigation ---- */
#mainNav {
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

#mainNav.scrolled {
    background: rgba(16, 18, 16, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--color-accent-yellow);
    color: var(--color-dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    border-radius: 10px;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-white);
}

.brand-accent {
    color: var(--color-accent-yellow);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 222, 93, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--color-white) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 18px !important;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent-yellow) !important;
}

.header-email a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent-yellow);
    color: var(--color-dark);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.header-email a:hover {
    background: var(--color-accent-yellow-hover);
    color: var(--color-dark);
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    background: var(--color-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero-label {
    display: inline-block;
    background: rgba(187, 247, 55, 0.15);
    color: var(--color-accent-lime);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(48px, 7vw, 80px);
    color: var(--color-white);
    margin-bottom: 0;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: clamp(36px, 5vw, 60px);
    color: var(--color-accent-yellow);
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-text-row {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-desc {
    max-width: 480px;
    color: var(--color-text-light);
    font-size: 17px;
    margin-bottom: 0;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--color-accent-yellow);
    color: var(--color-dark);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary-custom:hover {
    background: var(--color-accent-lime);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 222, 93, 0.3);
}

.btn-primary-custom i {
    font-size: 24px;
    line-height: 1;
}

.hero-visual {
    position: relative;
}

.hero-img {
    border-radius: var(--radius);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.hero-shape-1 {
    width: 120px;
    height: 120px;
    background: var(--color-accent-lime);
    top: -20px;
    right: -20px;
    opacity: 0.6;
}

.hero-shape-2 {
    width: 80px;
    height: 80px;
    background: var(--color-accent-yellow);
    bottom: -15px;
    left: -15px;
    opacity: 0.5;
}

.hero-bg-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 2px solid rgba(187, 247, 55, 0.1);
    border-radius: 50%;
    top: 50%;
    right: -150px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ---- Section Common ---- */
.section-padding {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    color: var(--color-accent-lime);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 4px;
}

.accent-line {
    position: relative;
    display: inline-block;
}

.accent-line::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-accent-yellow);
    opacity: 0.4;
    z-index: -1;
}

.section-desc {
    max-width: 600px;
    color: var(--color-text);
    margin-top: 16px;
}

/* ---- Our Expertise (ref: Dexon services layout) ---- */
.expertise-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.expertise-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(255, 222, 93, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.expertise-ovals {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 280px;
    height: 200px;
    border: 1px solid rgba(16, 18, 16, 0.06);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.expertise-ovals::before,
.expertise-ovals::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(16, 18, 16, 0.05);
    border-radius: 50%;
}

.expertise-ovals::before {
    inset: -30px;
}

.expertise-ovals::after {
    inset: -60px;
}

.expertise-star {
    position: absolute;
    font-size: 22px;
    color: var(--color-accent-yellow);
    z-index: 1;
    line-height: 1;
}

.expertise-star-right {
    top: 80px;
    right: 60px;
}

.expertise-header {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    max-width: 560px;
}

.expertise-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.15;
    margin-bottom: 0;
}

.expertise-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 32px 40px;
    height: 100%;
    text-align: center;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}

.expertise-icon {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.expertise-icon i {
    font-size: 36px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.expertise-icon-dev {
    background: linear-gradient(145deg, #7ddf4e 0%, #4cb82e 100%);
}

.expertise-icon-mobile {
    background: linear-gradient(145deg, #ff8a5c 0%, #e84d2a 100%);
}

.expertise-icon-cloud {
    background: linear-gradient(145deg, #b47aff 0%, #7c3aed 100%);
}

.expertise-icon-design {
    background: linear-gradient(145deg, #5ecfff 0%, #2b8fe8 100%);
}

.expertise-icon-data {
    background: linear-gradient(145deg, #ffd54f 0%, #f5a623 100%);
}

.expertise-icon-qa {
    background: linear-gradient(145deg, #6ee7b7 0%, #10b981 100%);
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.06) translateY(-4px);
}

.expertise-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 16px;
}

.expertise-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

/* ---- About ---- */
.about-section {
    background: var(--color-dark);
}

.about-section .section-title {
    color: var(--color-white);
}

.about-text {
    color: var(--color-text-light);
    margin: 20px 0;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius);
    width: 100%;
    box-shadow: var(--shadow);
}

.about-img-sub {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 200px;
    border-radius: var(--radius);
    border: 4px solid var(--color-dark);
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--color-accent-yellow);
    color: var(--color-dark);
    padding: 20px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
    margin-bottom: 12px;
    font-size: 15px;
}

.about-list li i {
    color: var(--color-accent-lime);
    font-size: 18px;
    flex-shrink: 0;
}

/* ---- Stats ---- */
.stats-section {
    background: var(--color-accent-yellow);
    padding: 70px 0;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-suffix {
    font-size: 0.7em;
}

.stat-card p {
    color: var(--color-dark);
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    opacity: 0.8;
}

/* ---- Products ---- */
.products-section {
    background: var(--color-light-bg-2);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-accent-lime);
    color: var(--color-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-body {
    padding: 28px 24px;
}

.product-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-body > p {
    font-size: 14px;
    margin-bottom: 16px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-features li {
    background: var(--color-light-bg);
    color: var(--color-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* ---- Customer Testimonials (ref: Dexon testimonial layout) ---- */
.testimonials-section {
    position: relative;
    background: linear-gradient(180deg, #eef8ee 0%, #f8faf5 50%, #f0f5f0 100%);
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.testimonials-ovals {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 280px;
    border: 1px solid rgba(16, 18, 16, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.testimonials-ovals::before,
.testimonials-ovals::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(16, 18, 16, 0.04);
    border-radius: 50%;
}

.testimonials-ovals::before {
    inset: -40px;
}

.testimonials-ovals::after {
    inset: -80px;
}

.testimonials-star {
    position: absolute;
    font-size: 18px;
    z-index: 1;
    line-height: 1;
}

.testimonials-star-left {
    top: 100px;
    left: 8%;
    color: var(--color-heading);
}

.testimonials-star-right {
    top: 80px;
    right: 10%;
    color: var(--color-accent-lime-dark);
}

.testimonials-header {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.testimonials-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.15;
    margin-bottom: 0;
}

.testimonials-subtitle {
    max-width: 620px;
    margin: 20px auto 0;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
}

#testimonialCarousel {
    position: relative;
    z-index: 2;
}

#testimonialCarousel .carousel-inner {
    overflow: visible;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 28px 28px;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-top h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 2px;
}

.testimonial-top span {
    font-size: 13px;
    color: var(--color-text);
}

.testimonial-quote {
    flex: 1;
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 24px;
}

.testimonial-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.testimonial-company {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.5px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating i {
    font-size: 14px;
    color: #ffa133;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.testimonial-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(187, 247, 55, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.testimonial-dots button.active {
    background: var(--color-accent-lime-dark);
    transform: scale(1.15);
}

.testimonial-dots button:hover {
    background: var(--color-accent-yellow);
}

/* ---- CTA ---- */
.cta-section {
    padding: 80px 0;
    background: var(--color-dark);
}

.cta-box {
    background: linear-gradient(135deg, var(--color-dark-3) 0%, var(--color-dark-4) 100%);
    border-radius: 20px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(187, 247, 55, 0.15);
}

.cta-box h2 {
    color: var(--color-white);
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 4px;
}

.cta-box p {
    color: var(--color-text-light);
    margin-top: 16px;
    max-width: 500px;
}

.cta-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-decoration-1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 222, 93, 0.08);
    top: -60px;
    right: -40px;
}

.cta-decoration-2 {
    width: 120px;
    height: 120px;
    background: rgba(187, 247, 55, 0.1);
    bottom: -40px;
    left: 30%;
}

/* ---- Contact ---- */
.contact-section {
    background: var(--color-light-bg);
}

.contact-info-card {
    background: var(--color-dark);
    border-radius: var(--radius);
    padding: 40px 32px;
    height: 100%;
}

.contact-info-card h3 {
    color: var(--color-white);
    font-size: 26px;
    margin-bottom: 14px;
}

.contact-info-card > p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 222, 93, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--color-accent-yellow);
}

.contact-label {
    display: block;
    color: var(--color-accent-lime);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--color-white);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--color-accent-yellow);
}

.contact-item p {
    color: var(--color-text-light);
    margin: 0;
    font-size: 15px;
}

.contact-form {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--color-border);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 14px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--color-accent-yellow);
    box-shadow: 0 0 0 3px rgba(255, 222, 93, 0.2);
}

/* ---- Footer ---- */
.footer-section {
    background: var(--color-dark-2);
    padding: 80px 0 0;
}

.footer-section p {
    color: var(--color-text-light);
    font-size: 15px;
}

.footer-title {
    color: var(--color-white);
    font-size: 18px;
    margin-bottom: 24px;
    font-family: var(--font-display);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--color-accent-yellow);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 14px;
}

.footer-contact i {
    color: var(--color-accent-yellow);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--color-text-light);
}

.footer-contact a:hover {
    color: var(--color-accent-yellow);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--color-dark-3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-accent-yellow);
    color: var(--color-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    padding: 24px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--color-text-light);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--color-accent-yellow);
}

/* ---- Scroll to Top ---- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-accent-yellow);
    color: var(--color-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--color-accent-lime);
    transform: translateY(-3px);
}

/* ---- Form Success Message ---- */
.form-success {
    display: none;
    background: rgba(187, 247, 55, 0.15);
    border: 1px solid var(--color-accent-lime);
    color: var(--color-dark);
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 16px;
    font-weight: 500;
}

.form-success.show {
    display: block;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .expertise-star-right {
        right: 20px;
        top: 40px;
    }

    .expertise-ovals {
        left: 10px;
        width: 200px;
        height: 140px;
    }

    .testimonials-star-left,
    .testimonials-star-right {
        display: none;
    }

    .about-img-sub {
        width: 150px;
        right: 0;
        bottom: -20px;
    }

    .about-badge {
        left: 10px;
        top: 10px;
        padding: 14px 18px;
    }

    .badge-number {
        font-size: 28px;
    }

    .cta-box {
        padding: 40px 30px;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 12px;
    }
}

@media (max-width: 767.98px) {
    .hero-text-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .expertise-card {
        padding: 36px 24px 32px;
    }

    .expertise-header {
        margin-bottom: 40px;
    }

    .stat-card {
        padding: 10px;
    }

    .contact-form,
    .contact-info-card {
        padding: 28px 20px;
    }
}
