:root {
    --bg-color: #0b0f19;
    --text-color: #f8fafc;
    --card-bg: rgba(20, 27, 45, 0.92);
    --card-border: rgba(255, 255, 255, 0.12);
    --primary-accent: #3b82f6;
    --secondary-accent: #8b5cf6;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
    --bg-color: #f1f5f9;
    --text-color: #0f172a;
    --card-bg: #ffffff;
    --card-border: #cbd5e1;
    --primary-accent: #2563eb;
    --secondary-accent: #7c3aed;
    --shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background 0.3s ease, color 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Scrolling Announcement Bar */
.top-announcement-bar {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #f97316);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 700;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.marquee-content {
    display: inline-block;
    animation: marqueeScroll 25s linear infinite;
}
@keyframes marqueeScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.hov-effect {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, background-color 0.3s ease !important;
}
.hov-effect:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.35);
}

/* Floating Curved Navbar */
.navbar-wrapper {
    padding: 10px 2%;
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}
.logo {
    font-size: 20px;
    font-weight: bold;
}
.logo span { color: #f97316; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-links > a, .drop-btn {
    padding: 4px 10px;
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.85;
    font-weight: 500;
    cursor: pointer;
    font-size: 13px;
}
.nav-links a:hover, .drop-btn:hover { opacity: 1; color: var(--primary-accent); }

.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    background: var(--card-bg);
    min-width: 200px;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 10px 0;
    backdrop-filter: blur(15px);
}
.dropdown-content a {
    display: block;
    padding: 8px 18px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
}
.dropdown-content a:hover {
    background: var(--primary-accent);
    color: #fff;
}
.dropdown:hover .dropdown-content {
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.login-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    opacity: 0.8;
    font-size: 13px;
}
.login-link:hover { opacity: 1; color: var(--primary-accent); }

.cta-primary {
    padding: 7px 16px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    border: none;
}

.theme-btn, .menu-toggle-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: var(--shadow);
}

.menu-toggle-btn {
    display: flex;
    gap: 3px;
}
.menu-toggle-btn .dot {
    display: block;
    width: 3.5px;
    height: 3.5px;
    background: var(--text-color);
    border-radius: 50%;
}

/* Hero Section */
.hero-section {
    position: relative;
    text-align: left;
    padding: 180px 8% 90px 8%;
    margin: 0;
    border-radius: 0 0 25px 25px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 50%, #f97316 100%);
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
}
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.slide.active { opacity: 1; }
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 30, 0.72);
    z-index: 2;
}

.hero-content-left {
    position: relative;
    z-index: 3;
    max-width: 650px;
}
.banner-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 20px;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}
.hero-content-left h1 {
    font-size: 38px;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}
.hero-content-left p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}
.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.hero-btns .btn {
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    font-size: 14px;
}
.primary-btn { background: #f97316; color: #fff; }
.secondary-btn { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3) !important; color: #fff; backdrop-filter: blur(10px); }

/* "What We Do" Section */
.engines-grid-section {
    padding: 15px 0 20px 0;
    position: relative;
    z-index: 10;
    width: 100%;
}
.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-header-center {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.heading-with-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 4px;
}
.arrow-line-left, .arrow-line-right {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: #3b82f6;
    position: relative;
}
.arrow-line-left::before {
    content: '';
    position: absolute;
    left: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
}
.arrow-line-right::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
}

.main-heading {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.sub-heading {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--text-color);
    opacity: 0.8;
}

/* WIDER Carousel Wrapper */
.services-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 25px;
}

.services-track-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    touch-action: pan-y;
}

.parent.services-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
    padding: 0 5px;
}

/* Pushed Out Clean Arrows */
.carousel-nav-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    font-size: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    z-index: 20;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.carousel-nav-btn:hover {
    background: var(--primary-accent);
    color: #fff;
    border-color: var(--primary-accent);
    transform: scale(1.1);
}
.prev-btn { 
    position: absolute;
    left: -24px;
}
.next-btn { 
    position: absolute;
    right: -24px;
}

/* Card Styling */
.card {
    background: var(--card-bg);
    flex: 0 0 285px;
    width: 285px;
    height: 275px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    padding: 14px;
    position: relative;
    box-shadow: var(--shadow);
    backdrop-filter: blur(15px);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    user-select: none;
}

.card1:hover { transform: rotate3d(1, 1, 0, 5deg) translateY(-8px); border-color: #3b82f6; box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3); }
.card2:hover { transform: rotate3d(0, 1, 1, 6deg) translateY(-8px); border-color: #10b981; box-shadow: 0 25px 50px rgba(16, 185, 129, 0.3); }
.card3:hover { transform: rotate3d(1, 0, 1, 5deg) translateY(-8px); border-color: #f97316; box-shadow: 0 25px 50px rgba(249, 115, 22, 0.3); }
.card4:hover { transform: rotate3d(-1, 1, 0, 6deg) translateY(-8px); border-color: #8b5cf6; box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3); }

.card:hover h3 { color: #38bdf8; text-shadow: 0 0 12px rgba(56, 189, 248, 0.4); }
.card:hover p { color: var(--text-color); opacity: 1; text-shadow: 0 0 8px rgba(255, 255, 255, 0.15); }

.card2 { filter: hue-rotate(150deg); }
.card3 { filter: hue-rotate(300deg); }
.card4 { filter: hue-rotate(90deg); }

.card-img-slot {
    width: 100%;
    height: 90px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.card-content h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 2px;
    color: var(--text-color);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.card-content p {
    font-size: 10.5px;
    line-height: 1.3;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 4px;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.btn-container-right {
    display: flex;
    justify-content: flex-end;
}

.round-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}
.round-arrow-btn:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, #f97316, #ea580c);
}

/* "Why Choose Us" Section */
.why-choose-section {
    padding: 25px 20px 40px 20px;
    position: relative;
    z-index: 5;
    background: var(--bg-color);
}

.why-choose-section .section-title {
    color: var(--text-color) !important;
    text-shadow: none;
}
.why-choose-section .sub-heading {
    color: var(--text-color) !important;
    opacity: 0.85;
}
.why-choose-section .testi-badge {
    background: var(--card-border);
    color: var(--text-color);
    border: 1px solid var(--card-border);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 25px;
}
.why-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
}
.why-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}
.why-card p {
    font-size: 13px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    padding: 30px 20px 90px 20px;
    position: relative;
    z-index: 5;
    perspective: 1000px;
    background: linear-gradient(270deg, #1d4ed8, #7c3aed, #f97316, #10b981, #2563eb);
    background-size: 400% 400%;
    animation: gradientFlow 12s ease infinite;
    box-shadow: inset 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.testi-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testi-sub-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.testimonials-section .section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.testimonial-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 30px auto 20px auto;
    overflow: hidden;
}

.testi-slide {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testi-slide.active {
    display: grid;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 255px;
    transition: all 0.4s ease;
}

.testi-header {
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}

.testi-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-wrapper {
    position: relative;
}

.avatar-wrapper img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #10b981;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
}

.testi-user-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.testi-user-info .role {
    font-size: 10.5px;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 500;
}

.testi-company-logo {
    font-size: 10.5px;
    font-weight: 700;
    background: var(--card-border);
    color: var(--text-color);
    padding: 4px 10px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.testi-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    justify-content: space-between;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: 1px;
}

.rating-score {
    font-size: 11px;
    font-weight: 800;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    padding: 1px 6px;
    border-radius: 10px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.quote-text {
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--text-color);
    opacity: 0.9;
    font-weight: 400;
}

.testi-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px dashed var(--card-border);
}

.review-tag {
    font-size: 10.5px;
    font-weight: 600;
    color: #38bdf8;
}

.review-date {
    font-size: 9.5px;
    color: #10b981;
    font-weight: 600;
}

/* Carousel Dots Indicator */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}
.dot-indicator {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: 0.3s ease;
}
.dot-indicator.active {
    width: 25px;
    border-radius: 10px;
    background: #f97316;
}

@media (max-width: 1024px) {
    .card { flex: 0 0 240px; width: 240px; }
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
}

@media (max-width: 650px) {
    .card { flex: 0 0 220px; width: 220px; }
    .carousel-nav-btn { width: 38px; height: 38px; font-size: 15px; }
    .prev-btn { left: -5px; }
    .next-btn { right: -5px; }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 110%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-radius: 20px;
        border: 1px solid var(--card-border);
        box-shadow: var(--shadow);
    }
    .nav-links.active { display: flex; }
    .hero-content-left h1 { font-size: 28px; }
    .hero-section { padding: 160px 20px 80px 20px; }
}

/* ================= ADME AUTH WIZARD STYLES (FULL 100%) ================= */
.adme-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.adme-modal-overlay.active {
    display: flex;
    animation: fadeInModal 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.adme-auth-card {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 35px 30px;
    box-shadow: var(--shadow);
    position: relative;
    backdrop-filter: blur(20px);
}

.adme-modal-close, .adme-modal-help {
    position: absolute;
    top: 18px;
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}

.adme-modal-close {
    right: 20px;
    font-size: 24px;
}

.adme-modal-help {
    right: 52px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid var(--card-border);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adme-modal-close:hover, .adme-modal-help:hover { 
    opacity: 1; 
    color: var(--primary-accent);
}

.adme-auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.adme-logo-badge {
    display: inline-block;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--primary-accent);
    background: rgba(59, 130, 246, 0.12);
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.adme-auth-subtitle {
    font-size: 13.5px;
    opacity: 0.8;
}

.adme-auth-step {
    display: none;
}

.adme-auth-step.active {
    display: block;
    animation: slideStep 0.3s ease-in-out;
}

.adme-input-group {
    margin-bottom: 20px;
    position: relative;
}

.adme-input-group label {
    display: block;
    font-size: 12.5px;
    margin-bottom: 8px;
    font-weight: 600;
    opacity: 0.9;
}

.adme-input-group input, .adme-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.adme-select option {
    background: #141b2d;
    color: #fff;
}

.adme-input-group input:focus, .adme-select:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.adme-input-group input.invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.adme-error-text {
    display: block;
    font-size: 11px;
    color: #ef4444;
    margin-top: 5px;
    font-weight: 600;
}

.adme-notice-text {
    font-size: 11.5px;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 8px;
    line-height: 1.3;
}

.adme-pwd-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.adme-pwd-wrapper input {
    padding-right: 42px;
}
.btn-toggle-pwd {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
}
.btn-toggle-pwd:hover {
    opacity: 1;
}

.adme-forgot-row {
    text-align: right;
    margin-top: -12px;
    margin-bottom: 20px;
}
.adme-forgot-row a, .adme-info-link {
    font-size: 11.5px;
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
}
.adme-info-link {
    display: inline-block;
    margin-top: 6px;
}

.adme-step-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.purpose-text-wrap {
    display: flex;
    flex-direction: column;
}

.adme-dob-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
}
.adme-dob-grid input {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    outline: none;
    text-align: center;
}

.adme-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.adme-radio-option {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}

.adme-radio-option:hover {
    border-color: var(--primary-accent);
    background: rgba(59, 130, 246, 0.08);
}

.adme-radio-option input[type="radio"] {
    display: none;
}

.radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--card-border);
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.adme-radio-option input[type="radio"]:checked + .radio-circle {
    border-color: var(--primary-accent);
    background: var(--primary-accent);
    box-shadow: inset 0 0 0 3px #141b2d;
}

.radio-text {
    font-size: 13px;
    font-weight: 600;
}

.adme-handle-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
}

.adme-handle-wrapper input {
    border: none;
    background: transparent;
}

.adme-handle-suffix {
    padding-right: 14px;
    font-size: 13.5px;
    color: var(--primary-accent);
    font-weight: 700;
}

.handle-status-text {
    display: block;
    font-size: 11.5px;
    margin-top: 6px;
    font-weight: 600;
}
.handle-status-text.available { color: #10b981; }
.handle-status-text.taken { color: #ef4444; }

.adme-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 12px;
    opacity: 0.85;
}
.adme-checkbox-group input {
    accent-color: var(--primary-accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.adme-btn-primary {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.adme-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.adme-btn-row {
    display: flex;
    gap: 12px;
}

.adme-btn-secondary {
    width: 35%;
    padding: 13px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
}

.adme-step-info {
    font-size: 13px;
    opacity: 0.85;
    text-align: center;
    margin-bottom: 15px;
}

.adme-otp-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.adme-otp-input {
    width: 48px;
    height: 52px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.adme-auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 11px;
    opacity: 0.7;
}

.adme-auth-footer a {
    color: var(--primary-accent);
    text-decoration: none;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideStep {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ADME Sliding Workspace Drawer Styles */
#admeDashboardDrawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: var(--card-bg, #0f172a);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 99999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#admeDashboardDrawer.active {
    right: 0;
}

@media (max-width: 768px) {
    .mobile-menu-auth-group {
        display: flex !important;
    }
    /* 1. Clean Mobile Navbar Layout */
    .navbar-wrapper {
        padding: 4px 8px;
        top: 40px;
        position: fixed;
        width: 100%;
    }
    .navbar {
        padding: 6px 14px;
        border-radius: 35px;
        justify-content: space-between;
    }
    .logo {
        font-size: 16px;
    }

    /* Hide desktop action group on mobile navbar to free up space */
    #loggedOutActions {
        display: none !important;
    }

    /* 2. Mobile Dropdown/Toggle Menu Styling (Includes Login & Get Started now) */
    .nav-links {
        display: none; 
        position: absolute;
        top: 115%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        border-radius: 20px;
        border: 1px solid var(--card-border);
        box-shadow: var(--shadow);
        backdrop-filter: blur(20px);
        z-index: 1000;
        gap: 12px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links > a, .drop-btn {
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.03);
    }

    /* Mobile specific injected auth buttons inside menu */
    .mobile-menu-auth-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        padding-top: 12px;
        border-top: 1px solid var(--card-border);
    }
    .mobile-menu-auth-group .login-link-mob,
    .mobile-menu-auth-group .cta-primary-mob {
        text-align: center;
        padding: 12px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
    }
    .mobile-menu-auth-group .login-link-mob {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-color);
        border: 1px solid var(--card-border);
    }
    .mobile-menu-auth-group .cta-primary-mob {
        background: linear-gradient(135deg, #f97316, #ea580c);
        color: #fff;
    }

    /* 3. Hero Section & Testimonials Fix */
    .hero-section {
        padding: 120px 15px 45px 15px;
        border-radius: 0 0 20px 20px;
        text-align: center;
    }
    .hero-content-left h1 {
        font-size: 21px !important;
        line-height: 1.25;
    }
    .hero-content-left p {
        font-size: 13px !important;
    }
    .hero-btns .btn {
        padding: 9px 14px;
        font-size: 12.5px;
        width: 100%;
    }

    /* Testimonials Single Column Stack */
    .testimonials-section {
        padding: 25px 10px 50px 10px;
    }
    .testimonials-section .section-title {
        font-size: 21px !important;
    }
    .testi-slide {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .testimonial-card {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }
}