@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #7C4DFF;
    --primary-dark: #A855F7;
    --secondary: #2EC4B6;
    --secondary-dark: #1A9F93;
    --dark: #0F172A;
    --dark-muted: #1E293B;
    --light: #F3EEFF;
    --white: #FFFFFF;
    --text-muted: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(46, 196, 182, 0.15);
    --border-radius: 18px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --scroll-offset: 80px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    background: radial-gradient(circle at top right, #F3EEFF 0%, #FFFFFF 40%, #DFFAF5 100%);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Base Components & Utilities */
.section-padding {
    padding: 100px 0;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 196, 182, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

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

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

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 30px rgba(46, 196, 182, 0.06);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(46, 196, 182, 0.15);
    border-color: var(--secondary);
}

.glass-card-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--white);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar-brand img.logo {
    max-height: 45px;
    transition: var(--transition);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin: 0 0.5rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e0b4b 0%, var(--primary) 50%, var(--secondary) 100%);
    z-index: -1;
}

/* Floating Shapes */
.shape {
    position: absolute;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.6;
    animation: float 8s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    border-radius: 50%;
}

.shape-2 {
    bottom: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    border-radius: 50%;
    animation-delay: -4s;
    animation-duration: 10s;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.hero-dashboard-mockup {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(46, 196, 182, 0.25), 0 0 40px rgba(46, 196, 182, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: float-mockup 6s infinite alternate ease-in-out;
}

.hero-image-wrapper:hover .hero-dashboard-mockup {
    transform: rotateY(0deg) rotateX(0deg);
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

@keyframes float-mockup {
    0% { transform: translateY(0) rotateY(-10deg) rotateX(5deg); }
    100% { transform: translateY(-15px) rotateY(-8deg) rotateX(4deg); }
}

/* Why Choose Us */
.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(46, 196, 182, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

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

.glass-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Products Section */
.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover h4, 
.product-card:hover p {
    color: var(--white);
}

.product-card:hover .product-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

/* Alternating Features */
.feature-split .img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(46, 196, 182, 0.15), 0 0 30px rgba(46, 196, 182, 0.1);
    overflow: hidden;
}

.feature-split .img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.feature-split .img-wrapper:hover img {
    transform: scale(1.03);
}

.badge-soft {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(46, 196, 182, 0.1);
    color: var(--secondary-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    color: var(--secondary);
    margin-top: 5px;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonial-section {
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonial-section h2 {
    color: var(--white);
}

.testimonial-section p.lead {
    color: rgba(255,255,255,0.7);
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

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

.stars {
    color: #FCD34D;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 700;
    color: var(--white);
    font-size: 1.2rem;
    object-fit: cover;
}

.client-details h6 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 1rem;
}

.client-details span {
    color: var(--secondary);
    font-size: 0.85rem;
}

/* Pricing */
.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card.recommended {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.pricing-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 1.5rem 0 0.5rem;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.pricing-features li i {
    color: var(--secondary);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Contact */
.contact-section {
    position: relative;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-control {
    background: var(--light);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    outline: none;
}

.contact-info-block {
    padding: 2rem;
    background: linear-gradient(135deg, var(--dark), var(--dark-muted));
    border-radius: 20px;
    color: var(--white);
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-content h5 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.info-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

.info-content a {
    color: rgba(255,255,255,0.7);
}

.info-content a:hover {
    color: var(--secondary);
}

/* Footer */
footer {
    background: var(--white);
    color: var(--dark);
    padding: 80px 0 30px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.05);
    color: var(--dark);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

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

.footer-title {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    color: var(--text-muted);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero {
        padding: 120px 0 80px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        margin: 0 auto 2rem;
    }
    .hero-btn-group {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .hero-image-wrapper {
        margin-top: 3rem;
    }
    .pricing-card.recommended {
        transform: scale(1);
    }
    .pricing-card.recommended:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .feature-split .row {
        flex-direction: column-reverse;
    }
    .feature-split.reverse .row {
        flex-direction: column-reverse;
    }
    .contact-info-block {
        margin-top: 2rem;
    }
}

/* Utilities */
.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--secondary) !important;
}
.rounded-circle-img {
    border-radius: 50%;
}

.navbar {
  background-color: white !important; /* changes the bar color */
}

.navbar a {
  color: black !important; /* makes the text visible on white background */
}

.navbar a.active {
  color: #6c63ff !important; /* keeps your purple highlight for active tab */
}

footer {
  background-color: black !important; /* keep the black background */
  color: white !important; /* make all text white */
}

footer h6 {
  color: #ffffff !important; /* make headings clearly visible on dark background */
}

footer a {
  color: white !important; /* make links white too */
}

footer a:hover {
  color: #6c63ff !important; /* optional: purple hover effect */
}

/* --- Base Grid & Layout --- */
.products-area {
    padding: 80px 0;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contained {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.raw {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.align-items-center {
    align-items: center;
}

.col-wine { width: 65%; padding: 0 15px; }
.col-quad { width: 35%; padding: 0 15px; }
.col-balance { width: 50%; padding: 0 15px; }

/* --- Heading Section --- */
.section-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.section-title {
    color: #1a202c; /* Dark navy color */
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle {
    color: #64748b; /* Gray subtitle color */
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* --- Tabs Content (Circles) --- */
.tab_content { position: relative; }

.tabs_item {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tabs_item.active { display: block; }

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

.tabs_item .raw { flex-wrap: nowrap; }

/* Teal Circle */
.choose-us-content {
    position: relative;
    z-index: 2;
}

.choose-us {
    background: #2EC4B6;
    color: #ffffff;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    box-shadow: 0 15px 35px rgba(124, 77, 255, 0.35);
}

.choose-us h3 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #0F172A; /* Keep heading dark/black */
}

.choose-us p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #ffffff; /* Description text stays white */
}

/* Image Circle */
.choose-us-img {
    position: relative;
    z-index: 1;
    margin-left: -120px; /* Overlap the image behind the teal circle */
}

.choose-us-img img {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(124, 77, 255, 0.25), 0 10px 20px rgba(168, 85, 247, 0.15);
}

/* --- Tabs Menu Container (Right Side Box) --- */
.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spacing between tabs */
}

.tabs li {
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: #1a202c; /* Dark text */
    font-size: 16px;
    background-color: #F3EEFF; /* Light lavender background */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tabs li span {
    flex-grow: 1;
    text-align: right;
    padding-right: 15px;
}

/* Hover Effect */
.tabs li:hover:not(.active) {
    background-color: #EAE2FF;
    color: #7C4DFF;
}

/* Active Tab Style */
.tabs li.active {
    background: linear-gradient(135deg, #7C4DFF, #A855F7);
    color: #ffffff; /* White text */
    box-shadow: 0 5px 20px rgba(124, 77, 255, 0.45);
}

/* Active tab icon color */
.tabs li.active i {
    color: #ffffff;
}

/* Inactive tab icon color */
.tabs li:not(.active) i {
    color: #7C4DFF;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .choose-us, .choose-us-img img { width: 360px; height: 360px; }
    .choose-us { padding: 40px; }
}

@media (max-width: 991px) {
    .raw { flex-direction: column; }
    .col-wine, .col-quad { width: 100%; }
    .col-quad { margin-top: 50px; }
    .tabs_item .raw { flex-direction: column; text-align: center; }
    .col-balance { width: 100%; display: flex; justify-content: center; }
    .choose-us { z-index: 2; }
    .choose-us-img { margin-left: 0; margin-top: 32px; }
    .section-title { font-size: 36px; }
}

/* ========================================
   MOBILE RESPONSIVE FIXES — Products/CRM
   Targets: 320px, 344px, 360px, 390px
   ======================================== */

/* Prevent horizontal scrolling site-wide */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* --- Tablet and below (≤768px) --- */
@media (max-width: 768px) {
    .products-area {
        padding: 50px 0;
        overflow: visible;
    }

    .contained {
        padding: 0 16px;
        overflow: visible;
    }

    .section-heading {
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* Stack columns vertically */
    .products-content .raw {
        flex-direction: column;
    }

    .col-wine,
    .col-quad,
    .col-balance {
        width: 100%;
        padding: 0;
    }

    /* --- Green B2B CRM Circle (reduced ~15-20%) --- */
    .choose-us {
        width: min(100%, 300px);
        max-width: 300px;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        padding: 36px 28px;
        margin: 0 auto;
        box-sizing: border-box;
        position: relative;
    }

    .choose-us h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .choose-us p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* --- Image Circle (CRM Ecosystem Diagram) --- */
    .choose-us-img {
        margin-left: 0;
        margin-top: 32px; /* Clear gap, no overlap */
        display: flex;
        justify-content: center;
        position: relative;
    }

    .choose-us-img img {
        width: min(100%, 300px);
        max-width: 300px;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        object-fit: cover;
    }

    /* --- Tabs list (right side) --- */
    .col-quad {
        margin-top: 36px;
    }

    .tabs {
        gap: 10px;
    }

    .tabs li {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* --- Tabs item inner layout --- */
    .tabs_item .raw {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex-wrap: wrap;
        gap: 0;
    }

    .choose-us-content {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* --- Small mobile (≤480px) --- */
@media (max-width: 480px) {
    .products-area {
        padding: 40px 0;
    }

    .contained {
        padding: 0 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Green circle capped at 280px */
    .choose-us {
        width: min(100%, 280px);
        max-width: 280px;
        padding: 32px 24px;
    }

    .choose-us h3 {
        font-size: 20px;
    }

    .choose-us p {
        font-size: 12px;
        line-height: 1.45;
    }

    /* CRM diagram capped at 280px */
    .choose-us-img img {
        width: min(100%, 280px);
        max-width: 280px;
    }

    /* Clear spacing between circles */
    .choose-us-img {
        margin-top: 28px;
        margin-left: 0;
    }

    .tabs li {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 40px;
    }

    .tabs li span {
        padding-right: 8px;
    }

    .col-quad {
        margin-top: 28px;
    }
}

/* --- Extra-small mobile (≤414px) --- */
@media (max-width: 414px) {
    .choose-us {
        width: min(100%, 270px);
        max-width: 270px;
        padding: 30px 22px;
    }

    .choose-us h3 {
        font-size: 19px;
        margin-bottom: 8px;
    }

    .choose-us p {
        font-size: 11.5px;
    }

    .choose-us-img img {
        width: min(100%, 270px);
        max-width: 270px;
    }

    .choose-us-img {
        margin-top: 26px;
        margin-left: 0;
    }

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 13px;
    }
}

/* --- Devices ≤375px — iPhone SE, etc. --- */
@media (max-width: 375px) {
    .contained {
        padding: 0 10px;
    }

    .choose-us {
        width: min(100%, 250px);
        max-width: 250px;
        padding: 28px 20px;
    }

    .choose-us h3 {
        font-size: 18px;
    }

    .choose-us p {
        font-size: 11px;
        line-height: 1.4;
    }

    .choose-us-img img {
        width: min(100%, 250px);
        max-width: 250px;
    }

    .choose-us-img {
        margin-top: 24px;
        margin-left: 0;
    }

    .tabs li {
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* --- Devices ≤344px — Galaxy Z Fold, etc. --- */
@media (max-width: 344px) {
    .contained {
        padding: 0 8px;
    }

    .choose-us {
        width: min(100%, 230px);
        max-width: 230px;
        padding: 26px 18px;
    }

    .choose-us h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .choose-us p {
        font-size: 10.5px;
        line-height: 1.35;
    }

    .choose-us-img img {
        width: min(100%, 230px);
        max-width: 230px;
    }

    .choose-us-img {
        margin-top: 24px;
        margin-left: 0;
    }

    .section-title {
        font-size: 21px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .tabs li {
        padding: 9px 12px;
        font-size: 11.5px;
    }
}

/* --- Narrowest devices (≤320px) — iPhone 5/SE --- */
@media (max-width: 320px) {
    .products-area {
        padding: 30px 0;
    }

    .contained {
        padding: 0 6px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .choose-us {
        width: min(100%, 210px);
        max-width: 210px;
        padding: 22px 16px;
    }

    .choose-us h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .choose-us p {
        font-size: 10px;
        line-height: 1.3;
    }

    .choose-us-img img {
        width: min(100%, 210px);
        max-width: 210px;
    }

    .choose-us-img {
        margin-top: 24px;
        margin-left: 0;
    }

    .tabs li {
        padding: 8px 12px;
        font-size: 11px;
    }

    .tabs li span {
        padding-right: 5px;
    }

    .col-quad {
        margin-top: 20px;
    }
}

/* ======================================
   WhatsApp Float — Mobile Fix
   ====================================== */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 46px;
        height: 46px;
        font-size: 24px;
    }
}

/* ======================================
   Hero section mobile spacing
   ====================================== */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero h1,
    .hero .display-4 {
        font-size: 1.8rem;
    }
}

@media (max-width: 414px) {
    .hero h1,
    .hero .display-4 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn-custom {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ======================================
   Product circle wrapper (inline styles)
   Mobile adjustments
   ====================================== */
@media (max-width: 768px) {
    .product-circle-wrapper {
        min-height: auto !important;
    }

    .hero-circle {
        width: 100% !important;
        max-width: 280px !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .hero-circle--image {
        margin-left: 0 !important;
        margin-top: 24px !important;
    }
}

/* ======================================
   Contact section mobile spacing
   ====================================== */
@media (max-width: 480px) {
    .price-contact-card {
        padding: 1.5rem;
    }

    .price-contact-card h4 {
        font-size: 1.3rem;
    }
}
