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

:root {
    --kshema-primary: #7eae9a;
    --kshema-primary-dark: #6a9b88;
    --kshema-secondary: #f8fafb;
    --kshema-dark: #2d3748;
    --kshema-text: #1a202c;
    --kshema-text-muted: #4a5568;
    --kshema-bg: #ffffff;
    --kshema-footer-bg: #f0f4f2;
    --kshema-radius: 12px;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    color: var(--kshema-text);
    background-color: var(--kshema-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--kshema-text);
}

.text-primary {
    color: var(--kshema-primary) !important;
}

.bg-primary {
    background-color: var(--kshema-primary) !important;
}

.bg-pale-sage {
    background-color: var(--kshema-secondary) !important;
}

.bg-footer-sage {
    background-color: var(--kshema-footer-bg) !important;
}

/* Theme Utilities */
.card-dark {
    background: var(--kshema-dark) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.card-dark h1,
.card-dark h2,
.card-dark h3,
.card-dark h4,
.card-dark h5,
.card-dark h6,
.card-dark .display-4 {
    color: white !important;
}

.card-dark p,
.card-dark .text-muted,
.card-dark li {
    color: rgba(255, 255, 255, 0.8) !important;
}

.card-dark .btn-outline-primary {
    color: white !important;
    border-color: white !important;
}

.card-dark .btn-outline-primary:hover {
    background: white !important;
    color: var(--kshema-dark) !important;
}

/* Global: Remove blue focus ring from ALL buttons */
.btn:focus,
.btn:focus-visible,
.btn:active,
.btn:active:focus,
.btn-check:focus+.btn,
.btn-check:active+.btn {
    outline: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background-color: var(--kshema-primary);
    border-color: var(--kshema-primary);
    border-radius: var(--kshema-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-primary:active:focus {
    background-color: var(--kshema-primary-dark);
    border-color: var(--kshema-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 174, 154, 0.3) !important;
}

.btn-outline-primary {
    color: var(--kshema-primary);
    border-color: var(--kshema-primary);
    border-radius: var(--kshema-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active,
.btn-outline-primary:active:focus {
    background-color: var(--kshema-primary);
    border-color: var(--kshema-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(126, 174, 154, 0.3) !important;
}

.btn-dark {
    background-color: var(--kshema-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--kshema-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:focus-visible,
.btn-dark:active,
.btn-dark:active:focus {
    background-color: #1a202c;
    border-color: #1a202c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.btn-white {
    background-color: white;
    border-color: rgba(126, 174, 154, 0.3);
    color: var(--kshema-text);
    border-radius: var(--kshema-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(126, 174, 154, 0.2);
}

.btn-white:hover,
.btn-white:focus,
.btn-white:focus-visible,
.btn-white:active,
.btn-white:active:focus {
    background-color: #f8fafb;
    border-color: var(--kshema-primary);
    color: var(--kshema-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* Dropdown Customization */
.dropdown-item:active,
.dropdown-item.active {
    background-color: var(--kshema-primary) !important;
    color: white !important;
}

.dropdown-item:active .text-secondary,
.dropdown-item.active .text-secondary,
.dropdown-item:active .text-danger,
.dropdown-item.active .text-danger,
.dropdown-item:active i,
.dropdown-item.active i {
    color: white !important;
}

/* Navbar Styling */
.navbar {
    padding: 5px 0;
    transition: var(--transition);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin: 15px auto;
    width: 90%;
    max-width: 1200px;
    left: 0 !important;
    right: 0 !important;
    border: 1px solid rgba(126, 174, 154, 0.1);
}

.navbar.scrolled {
    margin-top: 10px;
    padding: 8px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--kshema-primary);
    padding-left: 20px;
}

.navbar-collapse {
    justify-content: center;
}

.navbar-nav {
    gap: 15px;
}

.nav-link {
    font-weight: 500;
    color: var(--kshema-text);
    padding: 8px 15px !important;
}

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

.navbar .btn-primary {
    margin-right: 15px;
    padding: 8px 24px;
    font-size: 0.95rem;
}

/* Hero Section */
.hero-section {
    padding: 0 0 100px;
    background: #ffffff;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--kshema-text-muted);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-chat-container {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(126, 174, 154, 0.15);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-chat-container:hover {
    transform: rotate(0deg);
}

.hero-chat-interface {
    background: #f8fafb;
    border-radius: 16px;
    padding: 16px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    align-self: flex-start;
    background: white;
    padding: 12px;
    border-radius: 16px;
    border-top-left-radius: 4px;
    font-size: 14px;
    max-width: 80%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chat-bubble-primary {
    align-self: flex-end;
    background: var(--kshema-primary);
    color: white;
    border-radius: 16px;
    border-top-left-radius: 16px;
    border-top-right-radius: 4px;
}

.glass-badge {
    position: absolute;
    top: -40px;
    right: -16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 16px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Comfort Section (Quietly Watching Over) */
.comfort-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(126, 174, 154, 0.15);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(126, 174, 154, 0.1);
}

.comfort-feature-card {
    background: rgba(126, 174, 154, 0.08);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: var(--transition);
}

.comfort-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(126, 174, 154, 0.15);
}

.comfort-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kshema-primary);
    font-size: 1.5rem;
}

/* Feature Cards (general) */
.feature-card {
    border: none;
    border-radius: var(--kshema-radius);
    padding: 40px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(126, 174, 154, 0.1);
    color: var(--kshema-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

/* Why Choose Kshema Cards */
.why-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(126, 174, 154, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Comparison Section */
.comparison-card-standard {
    border-radius: 20px;
    transition: var(--transition);
}

.comparison-card-premium {
    background: linear-gradient(135deg, var(--kshema-dark) 0%, #1a202c 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .comparison-card-standard {
        border-right: none !important;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -20px;
        padding-right: 40px !important;
    }

    .comparison-card-premium {
        transform: scale(1.05);
        z-index: 2;
    }
}

@media (max-width: 767px) {
    .comparison-card-premium {
        margin-top: -20px;
        z-index: 2;
    }
}

/* Privacy Shield Icon */
.privacy-shield-icon {
    width: 96px;
    height: 96px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Kshema Home & Work Plan Cards */
.kshema-plan-card {
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.kshema-plan-light {
    background: #ffffff;
    border-top: 4px solid var(--kshema-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.kshema-plan-dark {
    background: var(--kshema-dark);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.kshema-plan-dark h3 {
    color: white;
}

.kshema-plan-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(126, 174, 154, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kshema-primary);
}

.kshema-plan-icon-box-dark {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.kshema-plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.kshema-plan-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--kshema-text);
}

.kshema-plan-dark .kshema-plan-list li {
    color: rgba(255, 255, 255, 0.75);
}

.kshema-plan-list li i {
    flex-shrink: 0;
}

/* Use Case Section */
.use-case-card {
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(126, 174, 154, 0.15);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.use-case-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
    background: #f8fafb;
}

.use-case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.use-case-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.use-case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.use-case-content p {
    color: var(--kshema-text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.use-case-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* How It Works - 4-Step Grid */
.how-it-works-grid {
    position: relative;
}

.step-connector {
    position: absolute;
    top: 48px;
    left: 12.5%;
    width: 75%;
    height: 0;
    border-top: 2px dashed rgba(126, 174, 154, 0.3);
    z-index: 0;
}

.step-column {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kshema-primary);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.step-circle-accent {
    background: rgba(126, 174, 154, 0.2);
}

.step-circle:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(126, 174, 154, 0.25);
}

.step-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-label {
    display: block;
    color: var(--kshema-primary);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

/* About Us Section Styles */
.about-mission-card {
    background: linear-gradient(135deg, var(--kshema-dark) 0%, #1a202c 100%);
    border-radius: 24px;
    padding: 48px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-mission-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(126, 174, 154, 0.15);
    border-radius: 50%;
    filter: blur(40px);
}

.about-mission-card h3 {
    color: white;
    font-size: 2.25rem;
    line-height: 1.3;
    font-weight: 800;
}

.about-feature-item {
    background: #ffffff;
    border: 1px solid rgba(126, 174, 154, 0.15);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.about-feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(126, 174, 154, 0.4);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(126, 174, 154, 0.1);
    color: var(--kshema-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-disclaimer {
    background: rgba(239, 68, 68, 0.05); /* Tailwind red-500 with low opacity */
    border-left: 4px solid #ef4444;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-top: 32px;
}

@media (max-width: 767px) {
    .step-connector {
        display: none !important;
    }

    .step-column {
        margin-bottom: 16px;
    }
}

/* Pricing Cards */
.pricing-card {
    border: none;
    border-radius: 20px;
    padding: 48px;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid transparent;
}

.pricing-card-light {
    border-top: 4px solid var(--kshema-primary);
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.pricing-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.pricing-list i {
    color: var(--kshema-primary);
    margin-right: 12px;
}

/* CTA Section Redesign */
.cta-gradient-card {
    background: linear-gradient(135deg, var(--kshema-primary) 0%, #38bdf8 100%);
    border-radius: 48px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(126, 174, 154, 0.2);
}

.cta-blur-circle-1 {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 256px;
    height: 256px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    filter: blur(48px);
    z-index: 0;
}

.cta-blur-circle-2 {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 256px;
    height: 256px;
    background: rgba(126, 174, 154, 0.3);
    border-radius: 50%;
    filter: blur(48px);
    z-index: 0;
}

/* Footer Styling */
.footer-links a {
    color: var(--kshema-text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--kshema-primary);
}

.footer-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    /* slate-100 */
    color: var(--kshema-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Responsive Adjustments */
section {
    padding: 120px 0 !important;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-section {
        padding-top: 120px;
    }

    .comfort-container {
        padding: 32px;
    }

    .use-case-img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0 !important;
    }

    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .d-flex.gap-3 {
        justify-content: center;
    }

    .hero-chat-container {
        transform: rotate(0deg);
        margin-top: 40px;
    }

    .glass-badge {
        display: none !important;
        /* Hide badge on very small screens to prevent overflow */
    }

    .comfort-container {
        padding: 24px;
        border-radius: 16px;
    }

    .display-5 {
        font-size: 2rem;
    }

    .display-6 {
        font-size: 1.75rem;
    }

    .step-connector {
        display: none !important;
    }

    .cta-gradient-card {
        padding: 40px 20px;
        border-radius: 24px;
    }
}

/* Custom Country Picker */
.country-select-btn {
    min-width: 90px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-right: none;
    color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    border-radius: 10px 0 0 10px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-weight: 500;
}

.country-select-btn:hover,
.country-select-btn:focus,
.country-select-btn:active {
    background: #f8fafb;
    border-color: var(--kshema-primary);
    color: #212529;
    outline: none;
}

/* Floating country panel - appended to body */
#countryFloatingPanel {
    position: fixed;
    z-index: 1055;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    width: 260px;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

#countryFloatingPanel .panel-search {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

#countryFloatingPanel .panel-list {
    max-height: 240px;
    overflow-y: auto;
}

#countryFloatingPanel .panel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #2d3748;
    transition: background 0.15s;
}

#countryFloatingPanel .panel-item:hover {
    background: #f0f7f4;
}

#countryFloatingPanel .no-result {
    padding: 12px;
    text-align: center;
    color: #a0aec0;
    font-size: 0.85rem;
    display: none;
}

.loader_home {
  width: 16px;
  height: 16px;
  position: relative;
  left: -32px;
  border-radius: 50%;
  color: black;
  background: currentColor;
  box-shadow: 32px 0 , -32px 0 ,  64px 0;
}

.loader_home::after {
  content: '';
  position: absolute;
  left: -32px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 10px;
  background:#7eae9a;
  animation: move 3s linear infinite alternate;
}

@keyframes move {
  0% , 5%{
    left: -32px;
    width: 16px;
  }
  15% , 20%{
    left: -32px;
    width: 48px;
  }
  30% , 35%{
    left: 0px;
    width: 16px;
  }
  45% , 50%{
    left: 0px;
    width: 48px;
  }
  60% , 65%{
    left: 32px;
    width: 16px;
  }

  75% , 80% {
    left: 32px;
    width: 48px;
  }
  95%, 100% {
    left: 64px;
    width: 16px;
  }