/* ============================================
   SunshineIndia - Global Stylesheet
   ============================================ */

:root {
    --primary: #1B3A5C;
    --primary-dark: #142D48;
    --primary-light: #2A5A8C;
    --secondary: #0F2439;
    --accent: #4A90D9;
    --gradient-1: linear-gradient(135deg, #1B3A5C, #2A5A8C);
    --gradient-2: linear-gradient(135deg, #0F2439, #1B3A5C);
    --gradient-3: linear-gradient(135deg, #4A90D9, #7AB8F5);
    --bg-primary: #ffffff;
    --bg-secondary: #F0F4F8;
    --bg-tertiary: #E1E8EF;
    --bg-card: #ffffff;
    --text-primary: #0F2439;
    --text-secondary: #3D5A73;
    --text-muted: #6B8299;
    --border-color: #D0DBE5;
    --shadow: 0 4px 20px rgba(15,36,57,0.08);
    --shadow-lg: 0 10px 40px rgba(15,36,57,0.14);
    --nav-bg: rgba(255,255,255,0.97);
    --footer-bg: #0F2439;
    --footer-text: #8FA8BF;
}

[data-theme="dark"] {
    --primary: #4A90D9;
    --primary-dark: #3A7BC8;
    --primary-light: #6AACEE;
    --accent: #7AB8F5;
    --gradient-1: linear-gradient(135deg, #4A90D9, #6AACEE);
    --gradient-2: linear-gradient(135deg, #0A1929, #132F4C);
    --gradient-3: linear-gradient(135deg, #7AB8F5, #B3D9FF);
    --bg-primary: #0A1929;
    --bg-secondary: #0F2439;
    --bg-tertiary: #173253;
    --bg-card: #0F2439;
    --text-primary: #E8F1FA;
    --text-secondary: #B0C9DE;
    --text-muted: #7A9AB8;
    --border-color: #1E3A5F;
    --shadow: 0 4px 20px rgba(0,0,0,0.35);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.45);
    --nav-bg: rgba(10,25,41,0.97);
    --footer-bg: #071320;
    --footer-text: #7A9AB8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

a {
    transition: all 0.3s ease;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--gradient-1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none;
    padding: 0.8rem 0;
    z-index: 1050;
}

[data-theme="dark"] .navbar {
    background: var(--gradient-2) !important;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    box-shadow: 0 4px 25px rgba(15,36,57,0.25);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

[data-theme="dark"] .navbar-brand {
    color: #ffffff !important;
}

.navbar-brand .brand-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

[data-theme="dark"] .navbar-brand .brand-icon {
    background: rgba(74,144,217,0.3);
}

.navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.15);
}

[data-theme="dark"] .navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
}

[data-theme="dark"] .navbar .nav-link:hover,
[data-theme="dark"] .navbar .nav-link.active {
    color: #ffffff !important;
    background: rgba(74,144,217,0.2);
}

.navbar .dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 240px;
}

.navbar .dropdown-item {
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(27,58,92,0.08);
    color: var(--primary);
}

[data-theme="dark"] .navbar .dropdown-item:hover,
[data-theme="dark"] .navbar .dropdown-item:focus {
    background: rgba(74,144,217,0.12);
    color: var(--primary);
}

.navbar .dropdown-item i {
    width: 20px;
    color: var(--primary);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
    padding: 0.4rem 0.6rem;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1);
}

/* ============================================
   OFFCANVAS SIDEBAR
   ============================================ */
.offcanvas {
    background: var(--bg-card) !important;
    border-left: 1px solid var(--border-color) !important;
    width: 320px !important;
    z-index: 1060;
}

.offcanvas-header {
    background: var(--gradient-1);
    padding: 20px 24px;
    border-bottom: none;
}

[data-theme="dark"] .offcanvas-header {
    background: var(--gradient-2);
    border-bottom: 1px solid var(--border-color);
}

.offcanvas-header .offcanvas-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.offcanvas-header .offcanvas-title .brand-icon-sm {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

[data-theme="dark"] .offcanvas-header .offcanvas-title .brand-icon-sm {
    background: rgba(74,144,217,0.3);
}

.offcanvas-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.offcanvas-header .btn-close:hover {
    opacity: 1;
}

.offcanvas-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

/* Offcanvas Nav Links */
.offcanvas-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.offcanvas-nav > li {
    margin-bottom: 2px;
}

.offcanvas-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.offcanvas-nav .nav-link i {
    width: 20px;
    font-size: 1.1rem;
    text-align: center;
    color: var(--primary);
}

[data-theme="dark"] .offcanvas-nav .nav-link i {
    color: var(--accent);
}

.offcanvas-nav .nav-link:hover {
    background: rgba(27,58,92,0.06);
    color: var(--primary);
}

[data-theme="dark"] .offcanvas-nav .nav-link:hover {
    background: rgba(74,144,217,0.1);
    color: var(--primary);
}

.offcanvas-nav .nav-link.active {
    background: rgba(27,58,92,0.1);
    color: var(--primary);
    font-weight: 600;
}

[data-theme="dark"] .offcanvas-nav .nav-link.active {
    background: rgba(74,144,217,0.15);
    color: var(--primary);
}

/* Offcanvas Divider */
.offcanvas-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 16px;
}

/* Offcanvas Sub-label */
.offcanvas-sublabel {
    padding: 10px 16px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

/* Offcanvas Sub-menu (Services) */
.offcanvas-nav .subnav {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.offcanvas-nav .subnav.open {
    max-height: 300px;
}

.offcanvas-nav .subnav .nav-link {
    padding: 10px 16px;
    font-size: 0.9rem;
}

.offcanvas-nav .subnav .nav-link i {
    font-size: 1rem;
}

.offcanvas-nav .nav-link .chevron {
    margin-left: auto;
    transition: transform 0.3s;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.offcanvas-nav .nav-link .chevron.rotated {
    transform: rotate(180deg);
}

/* Offcanvas Footer / Bottom Section */
.offcanvas-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.offcanvas-footer .theme-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--bg-secondary);
    cursor: pointer;
    user-select: none;
}

.offcanvas-footer .theme-switch span {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.offcanvas-footer .contact-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding: 0 4px;
}

.offcanvas-footer .contact-mini a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
}

.offcanvas-footer .contact-mini a:hover {
    color: var(--primary);
}

.offcanvas-footer .contact-mini a i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

[data-theme="dark"] .offcanvas-footer .contact-mini a i {
    color: var(--accent);
}

/* Hide desktop theme toggle on mobile offcanvas open */
@media (max-width: 991px) {
    .navbar .desktop-only {
        display: none !important;
    }
}

/* ============================================
   NAVBAR LOGIN BUTTON OVERRIDE
   ============================================ */
.navbar .btn-outline-sunshine {
    border-color: rgba(255,255,255,0.5) !important;
    color: #ffffff !important;
    background: rgba(255,255,255,0.1);
}

.navbar .btn-outline-sunshine:hover {
    background: rgba(255,255,255,0.25) !important;
    border-color: rgba(255,255,255,0.7) !important;
    color: #ffffff !important;
}

/* ============================================
   THEME TOGGLE
   ============================================ */
.theme-toggle {
    width: 52px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

[data-theme="dark"] .theme-toggle {
    background: rgba(74,144,217,0.15);
    border-color: rgba(74,144,217,0.3);
}

.theme-toggle .toggle-ball {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #1B3A5C;
}

[data-theme="dark"] .theme-toggle .toggle-ball {
    transform: translateX(22px);
    background: var(--gradient-3);
    color: #0A1929;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(27,58,92,0.08), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(74,144,217,0.06), transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 540px;
}

.hero-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27,58,92,0.08);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(27,58,92,0.15);
}

[data-theme="dark"] .hero-badge {
    background: rgba(74,144,217,0.12);
    border-color: rgba(74,144,217,0.25);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-sunshine {
    background: var(--gradient-1);
    color: white !important;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(27,58,92,0.3);
    text-decoration: none;
}

.btn-sunshine:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(27,58,92,0.4);
}

.btn-outline-sunshine {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    background: transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-sunshine:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

/* Page Header / Inner Hero */
.page-header {
    background: var(--gradient-2);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(74,144,217,0.12), transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    position: relative;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 600px;
    position: relative;
}

.page-header .breadcrumb {
    position: relative;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: #7AB8F5;
}

.page-header .breadcrumb-item.active {
    color: #7AB8F5;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ============================================
   CARDS
   ============================================ */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(27,58,92,0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   STATS
   ============================================ */
.stat-box {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
}

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-card .author-name {
    font-weight: 600;
}

.testimonial-card .author-role {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   FEATURE LIST
   ============================================ */
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.6rem 0;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-img {
    border-radius: 20px;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-year {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-item h5 {
    font-weight: 600;
    margin: 0.3rem 0;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

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

.team-card .team-img-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card .team-info {
    padding: 1.5rem;
}

.team-card h5 {
    font-weight: 700;
}

.team-card .role {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   AUTH PAGES (Login / Register)
   ============================================ */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
}

.auth-card h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-card .form-control,
.auth-card .form-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.auth-card .form-control:focus,
.auth-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27,58,92,0.12);
    background: var(--bg-primary);
}

[data-theme="dark"] .auth-card .form-control:focus,
[data-theme="dark"] .auth-card .form-select:focus {
    box-shadow: 0 0 0 3px rgba(74,144,217,0.2);
}

.auth-card .form-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-card .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.social-login .btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.social-login .btn:hover {
    border-color: var(--primary);
    background: rgba(27,58,92,0.04);
}

[data-theme="dark"] .social-login .btn:hover {
    background: rgba(74,144,217,0.1);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
}

/* ============================================
   CAREER / JOBS
   ============================================ */
.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.job-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.job-tag.full-time { background: rgba(0,201,255,0.1); color: #00a5cf; }
.job-tag.remote { background: rgba(146,254,157,0.15); color: #2d9d3a; }
.job-tag.onsite { background: rgba(27,58,92,0.08); color: var(--primary); }

/* ============================================
   CONTACT / INQUIRY
   ============================================ */
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-info-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(27,58,92,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 10px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27,58,92,0.12);
}

[data-theme="dark"] .contact-form .form-control:focus,
[data-theme="dark"] .contact-form .form-select:focus {
    box-shadow: 0 0 0 3px rgba(74,144,217,0.2);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   PRICING
   ============================================ */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 50px rgba(27,58,92,0.18);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: white;
    padding: 4px 22px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

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

.pricing-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card ul li i {
    color: var(--primary);
    flex-shrink: 0;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.process-step .step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(27,58,92,0.3);
}

/* ============================================
   TECH STACK
   ============================================ */
.tech-stack-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-stack-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tech-stack-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* ============================================
   MARQUEE / CLIENT LOGOS
   ============================================ */
.client-logo {
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-muted);
    white-space: nowrap;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--primary);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    gap: 4rem;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   MAP
   ============================================ */
.map-container {
    background: var(--bg-tertiary);
    border-radius: 16px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer a:hover {
    color: #7AB8F5;
}

.footer .brand-accent {
    color: #4A90D9;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer .social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: var(--footer-text);
    font-size: 1rem;
}

.footer .social-icons a:hover {
    background: #4A90D9;
    border-color: #4A90D9;
    color: white;
}

.footer .newsletter-input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 8px;
    padding: 10px 14px;
}

.footer .newsletter-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer .newsletter-input:focus {
    outline: none;
    border-color: #4A90D9;
    box-shadow: 0 0 0 2px rgba(74,144,217,0.3);
}

.footer .btn-sunshine {
    background: linear-gradient(135deg, #4A90D9, #7AB8F5);
    box-shadow: 0 2px 10px rgba(74,144,217,0.3);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1040;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(27,58,92,0.3);
    transition: all 0.3s ease;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(27,58,92,0.45);
}

.scroll-top.show {
    display: flex;
}

/* ============================================
   TOAST
   ============================================ */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    animation: slideIn 0.4s ease;
    max-width: 350px;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   PAGE ANIMATION
   ============================================ */
.fade-in {
    animation: fadeInPage 0.5s ease;
}

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

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: var(--gradient-2);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner .btn-sunshine {
    background: linear-gradient(135deg, #4A90D9, #7AB8F5);
    box-shadow: 0 4px 15px rgba(74,144,217,0.4);
}

.cta-banner .btn-sunshine:hover {
    box-shadow: 0 6px 25px rgba(74,144,217,0.5);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(74,144,217,0.15), transparent 70%);
    pointer-events: none;
}

/* ============================================
   BOOTSTRAP TEXT CLASS DARK MODE OVERRIDES
   ============================================ */
[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .text-secondary {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .text-success {
    color: #5BCB8A !important;
}

[data-theme="dark"] .text-white-50 {
    color: rgba(255,255,255,0.6) !important;
}

[data-theme="dark"] small,
[data-theme="dark"] .small {
    color: var(--text-muted);
}

[data-theme="dark"] span:not([class]),
[data-theme="dark"] p:not([class]) {
    color: var(--text-secondary);
}

[data-theme="dark"] .fw-bold,
[data-theme="dark"] strong {
    color: var(--text-primary);
}

/* ============================================
   DARK THEME ACCENT OVERRIDES
   ============================================ */
[data-theme="dark"] .service-icon {
    background: rgba(74,144,217,0.12);
}

[data-theme="dark"] .contact-info-card .icon {
    background: rgba(74,144,217,0.12);
}

[data-theme="dark"] .job-tag.onsite {
    background: rgba(74,144,217,0.12);
}

[data-theme="dark"] .pricing-card.featured {
    box-shadow: 0 10px 50px rgba(74,144,217,0.15);
}

[data-theme="dark"] .footer .social-icons a:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ============================================
   DARK THEME SELECT FIX
   ============================================ */
[data-theme="dark"] .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c9d1d9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .pricing-card.featured { transform: scale(1); }
    .page-header h1 { font-size: 2.2rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero { min-height: auto; padding: 100px 0 50px; }
    .section { padding: 50px 0; }
    .auth-card { padding: 1.5rem; margin: 0 1rem; }
    .page-header { padding: 100px 0 40px; }
    .page-header h1 { font-size: 1.8rem; }
    .stat-number { font-size: 2.2rem; }
    .floating-actions { bottom: 16px; right: 16px; }
    .fab-item .fab-label { display: none; }
    .chatbot-window { width: calc(100vw - 32px); right: 0; bottom: 70px; max-height: 70vh; }
}

/* ============================================
   FLOATING ACTION BUTTONS (WhatsApp, Call, Chat)
   ============================================ */
.floating-actions {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.fab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fab-item .fab-label {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.fab-item:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.fab-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.fab-btn:hover {
    transform: scale(1.1);
    color: white;
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 18px rgba(37,211,102,0.35);
}

.fab-whatsapp:hover {
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.fab-call {
    background: linear-gradient(135deg, #4A90D9, #2A5A8C);
    box-shadow: 0 4px 18px rgba(74,144,217,0.35);
}

.fab-call:hover {
    box-shadow: 0 6px 25px rgba(74,144,217,0.5);
}

.fab-chatbot {
    background: linear-gradient(135deg, #1B3A5C, #4A90D9);
    box-shadow: 0 4px 18px rgba(27,58,92,0.4);
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
}

[data-theme="dark"] .fab-chatbot {
    background: linear-gradient(135deg, #4A90D9, #7AB8F5);
}

.fab-chatbot:hover {
    box-shadow: 0 6px 28px rgba(74,144,217,0.5);
}

.fab-chatbot.active {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    box-shadow: 0 4px 18px rgba(231,76,60,0.4);
}

/* Pulse animation on chatbot */
.fab-chatbot::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(74,144,217,0.4);
    animation: fabPulse 2s ease-out infinite;
}

.fab-chatbot.active::after {
    display: none;
}

@keyframes fabPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Unread badge */
.fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(231,76,60,0.4);
}

[data-theme="dark"] .fab-badge {
    border-color: var(--bg-primary);
}

/* ============================================
   AI CHATBOT WINDOW
   ============================================ */
.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 380px;
    max-height: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    z-index: 1046;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatOpen 0.35s ease;
}

.chatbot-window.open {
    display: flex;
}

@keyframes chatOpen {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Chat Header */
.chat-header {
    background: var(--gradient-1);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

[data-theme="dark"] .chat-header {
    background: var(--gradient-2);
    border-bottom: 1px solid var(--border-color);
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.chat-header-info {
    flex: 1;
}

.chat-header-info h6 {
    color: white;
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.chat-header-info span {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-header-info .online-dot {
    width: 7px;
    height: 7px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
}

.chat-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.chat-close:hover {
    background: rgba(255,255,255,0.3);
}

/* Chat Body */
.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
    max-height: 320px;
    background: var(--bg-primary);
}

.chat-body::-webkit-scrollbar {
    width: 5px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

/* Messages */
.chat-msg {
    display: flex;
    gap: 8px;
    max-width: 85%;
    animation: msgIn 0.3s ease;
}

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

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.chat-msg.bot .chat-msg-avatar {
    background: var(--gradient-1);
    color: white;
}

[data-theme="dark"] .chat-msg.bot .chat-msg-avatar {
    background: var(--gradient-3);
    color: #0A1929;
}

.chat-msg.user .chat-msg-avatar {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.chat-msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.55;
}

.chat-msg.bot .chat-msg-bubble {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-msg-bubble {
    background: var(--gradient-1);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 4px;
    padding: 0 4px;
}

.chat-msg.user .chat-msg-time {
    text-align: right;
}

/* Quick Replies */
.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.chat-quick-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.chat-quick-btn:hover {
    background: var(--primary);
    color: white;
}

/* Typing Indicator */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 7px;
    height: 7px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.2s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* Chat Footer / Input */
.chat-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--bg-card);
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.88rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(74,144,217,0.15);
}

.chat-input::placeholder {
    color: var(--text-muted);
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.2s;
}

.chat-send:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 12px rgba(27,58,92,0.3);
}

/* Powered By */
.chat-powered {
    text-align: center;
    padding: 6px;
    font-size: 0.68rem;
    color: var(--text-muted);
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}
