/* SiteCharge Dark Theme - Electric Vehicle Charging Platform */

:root {
    /* Dark Theme Color Palette */
    --bg-primary: #0a0a0a;        /* Deep black background */
    --bg-secondary: #1a1a1a;      /* Secondary black */
    --bg-card: #1e1e1e;           /* Card backgrounds */
    --bg-hover: #2a2a2a;          /* Hover states */
    
    /* Electric Blue/Purple Theme */
    --primary-color: #00d4ff;     /* Electric cyan */
    --primary-dark: #0099cc;      /* Darker cyan */
    --secondary-color: #6366f1;   /* Electric purple */
    --accent-color: #fbbf24;      /* Electric yellow */
    --success-color: #10b981;     /* Electric green */
    --warning-color: #f59e0b;     /* Electric orange */
    --danger-color: #ef4444;      /* Electric red */
    
    /* Text Colors */
    --text-primary: #ffffff;      /* Pure white text */
    --text-secondary: #d1d5db;    /* Light gray text */
    --text-muted: #9ca3af;        /* Muted gray text */
    --text-dark: #374151;         /* Dark text for light backgrounds */
    
    /* Electric Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #6366f1 50%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    --gradient-card: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
    --gradient-hero: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 212, 255, 0.1);
    --shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 212, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    
    /* Borders */
    --border-color: #374151;
    --border-light: #4b5563;
}

/* Global Dark Theme */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
}

/* Override Bootstrap backgrounds */
.bg-white {
    background: var(--bg-secondary) !important;
}

.bg-light {
    background: var(--bg-card) !important;
}

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

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

/* Navigation - Dark Theme */
.navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    box-shadow: var(--shadow);
}

.navbar-brand img {
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.navbar-toggler {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Dropdown Menu Styling */
.dropdown-menu {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-lg) !important;
    backdrop-filter: blur(20px);
    margin-top: 0.5rem !important;
}

.dropdown-item {
    color: var(--text-secondary) !important;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    margin: 0.25rem 0.5rem !important;
    font-weight: 500 !important;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(0, 212, 255, 0.1) !important;
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

.dropdown-toggle::after {
    margin-left: 0.5em !important;
    transition: transform 0.3s ease !important;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg) !important;
}

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav {
        margin: 0 auto !important;
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        display: block;
        text-align: center;
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        margin: 0.25rem 0;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(0, 212, 255, 0.1);
    }
    
    .navbar-nav .nav-link::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .navbar .d-flex {
        justify-content: center;
        margin-top: 1rem;
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .navbar .d-flex .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    /* Mobile dropdown styling */
    .dropdown-menu {
        background: rgba(26, 26, 26, 0.98) !important;
        border: 1px solid rgba(0, 212, 255, 0.3) !important;
        margin-top: 0.5rem !important;
        width: 100% !important;
    }
}

/* Buttons - Electric Theme */
.btn {
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: var(--text-primary);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-warning {
    background: linear-gradient(135deg, var(--accent-color), var(--warning-color));
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
    color: var(--bg-primary);
}

/* Hero Section - Electric Atmosphere */
.hero-section {
    background: var(--gradient-hero) !important;
    position: relative;
    overflow: hidden;
    min-height: 15vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content .text-warning {
    color: var(--accent-color) !important;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.hero-content p {
    color: var(--text-secondary);
}

/* Hero Section Responsive Improvements */
@media (max-width: 1400px) {
    .hero-content h1 {
        font-size: 2.8rem !important;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-content h1 .text-electric {
        display: inline-block;
        word-break: keep-all;
        white-space: nowrap;
    }
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem !important;
        line-height: 1.3;
    }
    
    .hero-content h1 .text-electric {
        white-space: normal;
        word-break: break-word;
    }
}

/* Fix for 992px to 1200px range */
@media (max-width: 1199px) and (min-width: 993px) {
    .hero-content h1 {
        font-size: 2.3rem !important;
        line-height: 1.25;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-content h1 .text-electric {
        display: block;
        white-space: normal;
        word-break: normal;
        margin-top: 0.2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-content p {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .hero-content .d-flex {
        justify-content: center;
    }
}

/* Fix for under 768px (small mobile) */
@media (max-width: 767px) {
    .hero-section {
        padding: 80px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-content h1 .text-electric {
        display: block;
        font-size: 1.9rem;
        margin-top: 0.3rem;
        white-space: normal;
        word-break: normal;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem !important;
    }
    
    .hero-content .btn {
        width: 100%;
        max-width: 250px;
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
}

/* Extra small devices fix */
@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.4;
    }
    
    .hero-content h1 .text-electric {
        font-size: 1.7rem;
        display: block;
        margin-top: 0.25rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
}

/* Cards - Dark Electric Theme */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

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

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 212, 255, 0.3);
}

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

.card-body {
    padding: 2rem;
    color: var(--text-primary);
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
}

.card-text {
    color: var(--text-secondary);
}

/* Benefits Section Styling */
#about .card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

#about .card::before {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

#about .card .bi {
    color: var(--primary-color) !important;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

/* Site Management Benefits Section */
.benefits-section .card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
}

.benefits-section .card .bi {
    color: var(--primary-color) !important;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

/* Icons - Electric Glow */
.bi, i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
}

/* Step Numbers - Electric Style */
.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary) !important;
    color: var(--text-primary) !important;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-number:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-glow);
}

.step-number:hover::after {
    opacity: 0.3;
}

/* Pricing Cards - Premium Electric Design */
.pricing-cards .card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-cards .card:hover {
    transform: translateY(-15px);
    z-index: 2;
}

.pricing-cards .card.border-primary {
    border: 2px solid var(--primary-color);
    background: linear-gradient(145deg, var(--bg-card), var(--bg-hover));
    transform: scale(1.05);
    z-index: 1;
    position: relative;
}

.pricing-cards .card.border-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.1;
}

.pricing-cards .card.border-primary:hover {
    transform: scale(1.08) translateY(-10px);
}

.price-display .fs-1 {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Forms - Dark Electric Theme */
.form-control {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--bg-hover);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control.is-valid {
    border-color: var(--success-color);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Alerts - Electric Theme */
.alert {
    border: none;
    border-radius: 12px;
    border-left: 4px solid;
    background: var(--bg-card);
    color: var(--text-primary);
}

.alert-success {
    border-left-color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), var(--bg-card));
}

.alert-danger {
    border-left-color: var(--danger-color);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), var(--bg-card));
}

/* Footer - Dark Electric */
footer {
    background: var(--bg-primary) !important;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-secondary);
}

footer a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Footer Layout Improvements */
footer h5 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

footer .d-flex {
    justify-content: center !important;
    margin-top: 1rem;
}

footer .col-lg-4 {
    text-align: center;
}

/* Footer Mobile Improvements */
@media (max-width: 767.98px) {
    footer .row {
        text-align: center;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    footer .col-lg-4:last-child {
        margin-bottom: 0;
    }
    
    footer h5 {
        margin-bottom: 1rem;
        color: var(--primary-color);
    }
    
    footer .list-unstyled {
        padding: 0;
    }
    
    footer .list-unstyled li {
        margin: 0.5rem 0;
    }
    
    footer .d-flex {
        justify-content: center !important;
    }
    
    footer img {
        margin-bottom: 1rem;
    }
}

/* Accordion - Dark Theme */
.accordion {
    background: transparent;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-primary);
    border: none;
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-hover);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

.accordion-body {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes electricPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.electric-pulse {
    animation: electricPulse 2s infinite;
}

/* Hero Image Enhancement */
.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 212, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .pricing-cards .card.border-primary {
        transform: none;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    /* Better mobile spacing */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .display-4 {
        font-size: 2.2rem !important;
    }
    
    .display-6 {
        font-size: 1.8rem !important;
    }
    
    /* Card improvements for mobile */
    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1.5rem;
    }
    
    .card h5 {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .display-4 {
        font-size: 1.8rem !important;
    }
    
    .display-6 {
        font-size: 1.5rem !important;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Stack buttons vertically on very small screens */
    .navbar .d-flex .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* Improve icon sizing on small screens */
    .card .bi {
        font-size: 2.5rem !important;
    }
    
    .team-section .rounded-circle {
        width: 60px !important;
        height: 60px !important;
    }
    
    .team-section .bi {
        font-size: 1.5rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar - Electric Theme */
::-webkit-scrollbar {
    width: 8px;
    background: var(--bg-secondary);
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Focus States */
.btn:focus,
.form-control:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
}

/* Loading Spinner - Electric */
.spinner-border {
    color: var(--primary-color);
}

/* Special Electric Effects */
.electric-border {
    position: relative;
    overflow: hidden;
}

.electric-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* Text Glow Effects */
.text-glow {
    text-shadow: 0 0 10px currentColor;
}

.text-electric {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
} 

.bg-black{background-color:rgba(0,0,0,0.95)!important;}


