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

:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF;
    --secondary: #0F172A;
    --accent: #10B981;
    --accent-glow: rgba(16, 185, 129, 0.25);
    --gold: #F59E0B;
    --tertiary: #64748B;
    --light-bg: #F8FAFC;
    --dark-bg: #0B0F19;
    --card-bg: #FFFFFF;
    --border-color: #E2E8F0;
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #0F172A 100%);
    --gradient-hero: linear-gradient(135deg, #0B0F19 0%, #1E293B 50%, #0F172A 100%);
    --gradient-accent: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-card-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: #334155;
    background-color: #F8FAFC;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Navbar & Topbar */
.fixed-top {
    transition: all 0.4s ease;
}

.top-bar {
    background: var(--secondary);
    color: #94A3B8;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar i {
    color: var(--accent) !important;
}

.top-bar small {
    display: inline-flex;
    align-items: center;
}

.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 12px 0;
}

.navbar-brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.navbar-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 8px;
}

.navbar-toggler {
    border: 1px solid rgba(15, 23, 42, 0.15);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 18px !important;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.navbar .dropdown-menu {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 8px;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

.navbar .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Buttons */
.btn {
    border-radius: var(--radius-full);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-accent {
    background: var(--gradient-accent);
    border: none;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    color: #FFFFFF;
}

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

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

.btn-dark {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #FFFFFF;
}

.btn-dark:hover {
    background: #1E293B;
    transform: translateY(-2px);
}

/* Badges & Pills */
.badge-custom {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-custom-accent {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 170px;
    padding-bottom: 100px;
    background: var(--gradient-hero);
    color: #FFFFFF;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(135deg, #60A5FA 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #94A3B8;
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.stat-item p {
    color: #94A3B8;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
}

/* Feature Cards & Glass Cards */
.glass-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 32px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.glass-card:hover .card-icon {
    background: var(--primary);
    color: #FFFFFF;
    transform: scale(1.08);
}

/* Interactive Calculator Styling */
.calculator-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 36px;
}

.calc-slider-group {
    margin-bottom: 24px;
}

.calc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calc-slider-header label {
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
}

.calc-value-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.form-range {
    height: 8px;
    accent-color: var(--primary);
}

.calc-result-box {
    background: var(--gradient-hero);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.calc-result-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-result-item:last-child {
    border-bottom: none;
}

.calc-result-item span {
    font-size: 0.875rem;
    color: #94A3B8;
}

.calc-result-item h4 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin: 4px 0 0 0;
    font-weight: 700;
}

.calc-result-item.highlight h4 {
    color: #34D399;
    font-size: 2rem;
}

/* Page Header Banner */
.page-header-banner {
    padding-top: 160px;
    padding-bottom: 80px;
    background: var(--gradient-hero);
    color: #FFFFFF;
    position: relative;
}

.page-header-banner h1 {
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: 800;
}

.page-header-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header-banner .breadcrumb-item a {
    color: #94A3B8;
    text-decoration: none;
}

.page-header-banner .breadcrumb-item.active {
    color: var(--accent);
    font-weight: 600;
}

/* Service Card Interactive Slide */
.service-card-wrap {
    position: relative;
    perspective: 1000px;
}

.service-grid-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 10px;
}

.service-feature-list li i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Testimonial Card */
.testimonial-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: rgba(37, 99, 235, 0.15);
    position: absolute;
    top: 24px;
    right: 28px;
}

.stars {
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

/* Team Card */
.team-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.team-img-box {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-box img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    transition: bottom 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.team-social a:hover {
    background: var(--primary);
}

.team-content {
    padding: 24px;
    text-align: center;
}

.team-content h5 {
    margin-bottom: 4px;
}

.team-content p {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
}

/* Contact Info Card */
.contact-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Form Styles */
.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 700;
    color: var(--secondary);
    padding: 20px 24px;
    font-size: 1.05rem;
    background: #FFFFFF;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: #94A3B8;
    padding-top: 80px;
    padding-bottom: 30px;
    font-size: 0.925rem;
}

.footer h4 {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--primary-hover);
    color: #FFFFFF;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .navbar-collapse {
        background: #FFFFFF;
        padding: 20px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        margin-top: 12px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .btn {
        width: 100%;
    }
}