/* Custom Styles for WordPress Plugin Generator */

/* Dark Gradient Background */
.bg-gradient-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Min Height for Hero Section */
.min-vh-50 {
    min-height: 50vh;
    max-height: none;
}

/* Step Number Styling */
.step-number {
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Card Hover Effect */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Custom Button Color - #DE7321 */
.btn-warning {
    background-color: #DE7321 !important;
    border-color: #DE7321 !important;
    transition: all 0.3s ease;
    color: #ffffff !important; /* White text on custom button */
}

.btn-warning:hover {
    background-color: #c8651d !important; /* Slightly darker on hover */
    border-color: #c8651d !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(222, 115, 33, 0.4);
    color: #ffffff !important; /* Keep white text on hover */
}

.btn-warning:focus,
.btn-warning:active,
.btn-warning.active {
    background-color: #b2581a !important;
    border-color: #b2581a !important;
    color: #ffffff !important;
}

/* White icons in custom buttons */
.btn-warning .fas,
.btn-warning .fa {
    color: #ffffff !important;
}

/* Modern Input Styling */
.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-control:hover {
    border-color: #DE7321;
    box-shadow: 0 2px 8px rgba(222, 115, 33, 0.1);
}

.form-control:focus {
    border-color: #DE7321;
    box-shadow: 0 0 0 0.2rem rgba(222, 115, 33, 0.25);
    outline: none;
    background-color: #ffffff;
}

.form-control::placeholder {
    color: #999;
    opacity: 1;
}

/* Input Group Icons */
.input-group-text {
    border-right: none;
    border: 2px solid #e0e0e0;
    border-left: 2px solid #e0e0e0;
    background-color: #f8f9fa;
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.input-group:hover .input-group-text {
    border-color: #DE7321;
    background-color: #fff5eb;
}

.form-control:focus + .input-group-text,
.input-group-text:has(+ .form-control:focus) {
    border-color: #DE7321;
    background-color: #fff5eb;
}

/* Invalid Input Styling */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Google Login Button */
.btn-google {
    background-color: #ffffff;
    border: 2px solid #dadce0;
    color: #3c4043;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #DE7321;
    color: #3c4043;
    box-shadow: 0 2px 8px rgba(222, 115, 33, 0.2);
    transform: translateY(-2px);
}

.btn-google:active,
.btn-google:focus {
    background-color: #f8f9fa;
    border-color: #DE7321;
    color: #3c4043;
    box-shadow: 0 0 0 0.2rem rgba(222, 115, 33, 0.25);
}

.btn-google svg {
    flex-shrink: 0;
}

/* Divider with Text */
.divider-with-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

.divider-text {
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Custom Checkbox Styling - Brand Color */
.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.25rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background-color: #ffffff;
}

.form-check-input:hover {
    border-color: #DE7321;
    box-shadow: 0 2px 8px rgba(222, 115, 33, 0.2);
}

.form-check-input:checked {
    background-color: #DE7321;
    border-color: #DE7321;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

.form-check-input:focus {
    border-color: #DE7321;
    box-shadow: 0 0 0 0.2rem rgba(222, 115, 33, 0.25);
    outline: none;
}

.form-check-input:checked:focus {
    box-shadow: 0 0 0 0.2rem rgba(222, 115, 33, 0.25);
}

.form-check-label {
    margin-left: 8px;
    cursor: pointer;
    user-select: none;
    color: #212529;
    font-size: 15px;
}

.form-check {
    display: flex;
    align-items: center;
    padding-left: 0;
}

/* Navbar Brand */
.navbar-brand {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    color: #212529 !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: #DE7321 !important;
}

.navbar-brand:hover .fas,
.navbar-brand:hover .fa {
    color: #DE7321 !important;
}

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

/* Body Flexbox Layout for Sticky Footer */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* Section Spacing */
section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

/* Text Colors - Custom Brand Color #DE7321 */
.text-warning {
    color: #DE7321 !important;
}

/* Icon Colors - Default to Brand Color */
.fas,
.fa {
    color: #DE7321;
}

/* Icon Colors in Dark Sections - Keep White */
.bg-gradient-dark .fas,
.bg-gradient-dark .fa {
    color: #ffffff;
}

/* Links - Use Brand Color */
a:not(.btn):not(.nav-link):not(.dropdown-item):not(.navbar-brand) {
    color: #DE7321;
}

a:not(.btn):not(.nav-link):not(.dropdown-item):not(.navbar-brand):hover {
    color: #c8651d;
}

a.text-warning {
    color: #DE7321 !important;
}

a.text-warning:hover {
    color: #c8651d !important;
}

/* Navigation Link Styling */
.navbar-nav .nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    color: #333 !important;
    font-weight: 500;
    border-radius: 6px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #DE7321, #c8651d);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #DE7321 !important;
    background-color: rgba(222, 115, 33, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Active Navigation Link */
.navbar-nav .nav-link.active {
    color: #DE7321 !important;
    font-weight: 600;
    background-color: rgba(222, 115, 33, 0.15);
}

.navbar-nav .nav-link.active::after {
    width: 80%;
    background: linear-gradient(90deg, #DE7321, #c8651d);
}

.navbar-nav .nav-link.active:hover {
    background-color: rgba(222, 115, 33, 0.2);
    transform: translateY(-2px);
}

/* Dropdown Toggle Hover */
.navbar-nav .dropdown-toggle {
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.navbar-nav .dropdown-toggle:hover {
    color: #DE7321 !important;
    background-color: rgba(222, 115, 33, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .dropdown-toggle:focus,
.navbar-nav .dropdown-toggle:active,
.navbar-nav .dropdown-toggle.show {
    color: #DE7321 !important;
    background-color: rgba(222, 115, 33, 0.15);
}

.navbar-nav .dropdown-toggle.show::after {
    transform: rotate(180deg);
}

/* Dropdown Menu Items */
.dropdown-item {
    color: #212529;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    margin: 0.15rem 0.5rem;
}

.dropdown-item:hover {
    background-color: #DE7321 !important;
    color: #ffffff !important;
    transform: translateX(5px);
    padding-left: 1.5rem;
}

.dropdown-item:hover .fas,
.dropdown-item:hover .fa {
    color: #ffffff !important;
}

.dropdown-item.active {
    background-color: rgba(222, 115, 33, 0.15);
    color: #DE7321 !important;
    font-weight: 600;
}

.dropdown-item.active:hover {
    background-color: #DE7321 !important;
    color: #ffffff !important;
}

/* Dropdown Item Focus State */
.dropdown-item:focus {
    background-color: rgba(222, 115, 33, 0.1);
    color: #DE7321 !important;
}

.dropdown-item:focus .fas,
.dropdown-item:focus .fa {
    color: #DE7321 !important;
}

/* Dropdown Item Active State Icons */
.dropdown-item.active .fas,
.dropdown-item.active .fa {
    color: #DE7321 !important;
}

.dropdown-item.active:hover .fas,
.dropdown-item.active:hover .fa {
    color: #ffffff !important;
}

/* Card Hover - Add Brand Color Accent */
.card:hover {
    border-color: rgba(222, 115, 33, 0.3);
}

/* Button Outline Hover - Use Brand Color */
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #DE7321 !important;
    border-color: #DE7321 !important;
    color: #ffffff !important;
}

.btn-outline-primary:hover .fas,
.btn-outline-primary:hover .fa,
.btn-outline-primary:focus .fas,
.btn-outline-primary:focus .fa,
.btn-outline-primary:active .fas,
.btn-outline-primary:active .fa {
    color: #ffffff !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #ffffff !important;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
    color: #000000 !important;
}

.btn-outline-light:hover {
    background-color: #DE7321;
    border-color: #DE7321;
    color: #ffffff;
}

.btn-outline-light:hover .fas,
.btn-outline-light:hover .fa {
    color: #ffffff !important;
}

/* Modern Footer Styling */
.modern-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    width: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100;
    clear: both;
    flex-shrink: 0;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(222, 115, 33, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(222, 115, 33, 0.1) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.modern-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(222, 115, 33, 0.5), transparent);
    z-index: 1;
}

.modern-footer .container {
    position: relative;
    z-index: 1;
}

/* Footer Logo */
.footer-logo a {
    transition: all 0.3s ease;
}

.footer-logo a:hover {
    transform: translateY(-2px);
}

.footer-logo .fa-cube {
    filter: drop-shadow(0 2px 4px rgba(222, 115, 33, 0.3));
}

/* Footer Headings */
.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #DE7321, transparent);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    margin: 0;
    padding: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #DE7321;
    transform: translateX(5px);
    text-decoration: none;
}

.footer-link .fa-chevron-right {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.footer-link:hover .fa-chevron-right {
    opacity: 1;
    color: #DE7321;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(222, 115, 33, 0.2);
    border-color: #DE7321;
    color: #DE7321;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(222, 115, 33, 0.3);
}

/* Footer Input */
.footer-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
}

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

.footer-input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #DE7321 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(222, 115, 33, 0.25) !important;
}

/* Footer Bottom */
.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-badges .badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Text Colors in Footer */
.modern-footer .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.modern-footer .text-white {
    color: #ffffff !important;
}

/* Newsletter Form */
.newsletter-form .input-group {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-form .btn {
    border-left: none;
    padding: 0.5rem 1rem;
}

/* Responsive Footer */
@media (max-width: 991.98px) {
    .modern-footer {
        padding: 3rem 0 2rem !important;
    }
    
    .footer-heading {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    .footer-heading:first-child {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-badges {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
}

/* Form Group Spacing */
.form-group,
.mb-3 {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: #212529;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

/* Select Dropdown Styling */
.form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    cursor: pointer;
}

.form-select:hover {
    border-color: #DE7321;
    box-shadow: 0 2px 8px rgba(222, 115, 33, 0.1);
}

.form-select:focus {
    border-color: #DE7321;
    box-shadow: 0 0 0 0.2rem rgba(222, 115, 33, 0.25);
    outline: none;
}

/* Textarea Styling */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* File Input Styling */
.form-control[type="file"] {
    padding: 8px 12px;
    cursor: pointer;
}

.form-control[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    border: none;
    border-radius: 6px;
    background-color: #DE7321;
    color: #ffffff;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control[type="file"]::file-selector-button:hover {
    background-color: #c8651d;
}

/* Input Group Modern Styling */
.input-group {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.input-group:hover {
    box-shadow: 0 4px 12px rgba(222, 115, 33, 0.15);
}

/* Responsive Adjustments */

/* Mobile First - Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .display-5 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    h1, h2, h3, h4 {
        word-wrap: break-word;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    /* Hero Section */
    .hero-section .fa-10x {
        font-size: 4rem !important;
        margin-top: 2rem;
    }
    
    .hero-section .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-section .btn-lg {
        width: 100%;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Navbar */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .dropdown {
        width: 100%;
    }
    
    .navbar-nav .dropdown-toggle {
        width: 100%;
        text-align: center;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .card-body .fa-3x {
        font-size: 2rem !important;
    }
    
    /* Step Numbers */
    .step-number {
        width: 60px !important;
        height: 60px !important;
    }
    
    .step-number .fs-2 {
        font-size: 1.5rem !important;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .btn {
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Forms */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 10px 14px;
    }
    
    .input-group-text {
        padding: 10px 14px;
    }
    
    .form-label {
        font-size: 14px;
    }
    
    /* Container */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem 0 !important;
        font-size: 0.875rem;
    }
    
    /* Main padding for fixed header */
    main {
        padding-top: 70px !important;
    }
    
    /* Min height adjustments */
    .min-vh-50 {
        min-height: auto;
        padding: 2rem 0;
    }
    
    /* Form cards */
    .card-body.p-5 {
        padding: 1.5rem !important;
    }
    
    /* Input groups mobile - keep horizontal but improve */
    .input-group {
        flex-wrap: nowrap;
    }
    
    .input-group-text {
        min-width: 45px;
        justify-content: center;
    }
    
    /* Touch-friendly buttons */
    .btn {
        min-height: 44px; /* iOS recommended touch target */
        padding: 10px 20px;
    }
    
    .btn-lg {
        min-height: 48px;
    }
    
    /* Touch-friendly links */
    a, button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Checkbox touch target */
    .form-check-input {
        min-width: 24px;
        min-height: 24px;
    }
    
    .form-check-label {
        padding-left: 8px;
        min-height: 24px;
        display: flex;
        align-items: center;
    }
    
    /* Dropdown mobile */
    .dropdown-menu {
        width: 100%;
        text-align: center;
    }
    
    /* Language selector mobile */
    .navbar-nav .dropdown {
        width: 100%;
    }
    
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Tablets (768px and down) */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    /* Hero buttons */
    .hero-section .d-flex.gap-3 {
        flex-wrap: wrap;
    }
    
    .hero-section .btn-lg {
        flex: 1 1 auto;
        min-width: 150px;
    }
    
    /* Cards grid */
    .row.g-4 > [class*="col-"] {
        margin-bottom: 1.5rem;
    }
    
    /* Step numbers */
    .step-number {
        width: 70px !important;
        height: 70px !important;
    }
    
    /* Navbar */
    .navbar-nav .btn {
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* Container padding */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    /* Form spacing */
    .mb-3 {
        margin-bottom: 1.25rem;
    }
    
    /* Feedback carousel mobile */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        left: 10px;
        right: 10px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .feedback-text {
        font-size: 1rem !important;
    }
    
    .carousel-indicators {
        margin-bottom: -30px;
    }
    
    /* Cookie consent mobile */
    .cookie-consent {
        padding: 1rem 0;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-text {
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-consent-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Medium devices (tablets, 992px and down) */
@media (max-width: 991.98px) {
    /* Hero icon */
    .hero-section .fa-10x {
        font-size: 6rem !important;
    }
    
    /* Cards */
    .card-body .fa-3x {
        font-size: 2.5rem !important;
    }
    
    /* Container max width */
    .container {
        max-width: 100%;
    }
    
    /* Feedback carousel tablet */
    .carousel-control-prev {
        left: 0;
    }
    
    .carousel-control-next {
        right: 0;
    }
    
    .feedback-card .card-body {
        padding: 2rem !important;
    }
}

/* Large devices (desktops, 1200px and down) */
@media (max-width: 1199.98px) {
    .hero-section .fa-10x {
        font-size: 8rem !important;
    }
}

/* Feedback/Testimonials Carousel Styling */
.feedback-card {
    background: #ffffff;
    border-radius: 15px;
    min-height: 300px;
    transition: all 0.3s ease;
}

.feedback-card .card-body {
    color: #333;
}

.feedback-text {
    color: #555;
    font-style: italic;
    line-height: 1.8;
}

.stars {
    font-size: 1.25rem;
}

.feedback-avatar {
    flex-shrink: 0;
}

/* Carousel Controls Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(222, 115, 33, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #DE7321;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators Styling */
.carousel-indicators {
    margin-bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #DE7321;
    border-color: #DE7321;
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    background-color: rgba(222, 115, 33, 0.7);
    border-color: #DE7321;
}

/* Carousel Item Animation */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Cookie Consent Alert */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 3px solid #DE7321;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    padding: 1.5rem 0;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
    color: #ffffff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.cookie-consent-text i {
    color: #DE7321;
    font-size: 1.25rem;
}

.cookie-link {
    color: #DE7321;
    text-decoration: underline;
    margin-left: 0.25rem;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #c8651d;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-consent-buttons .btn {
    white-space: nowrap;
}

/* Legal Content Styling */
.legal-content {
    line-height: 1.8;
    color: #333;
}

.legal-content h2 {
    color: #1a1a1a;
    margin-top: 2rem;
}

.legal-content h3 {
    color: #2d2d2d;
    margin-top: 1.5rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.75rem;
}

.legal-content a {
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #c8651d !important;
}

/* Problem Card Styling */
.problem-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.problem-card:hover {
    border-color: #DE7321;
    box-shadow: 0 5px 15px rgba(222, 115, 33, 0.1);
    transform: translateY(-3px);
}

/* Divider Styling */
.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #DE7321, #c8651d);
    border-radius: 2px;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 400px) {
    .display-4 {
        font-size: 1.5rem;
    }
    
    .display-5 {
        font-size: 1.25rem;
    }
    
    .btn-lg {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .hero-section .fa-10x {
        font-size: 3rem !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    section {
        padding: 1.5rem 0;
    }
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

/* Dashboard Body */
.dashboard-body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.dashboard-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-right: 1px solid #e9ecef;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: #DE7321;
    border-radius: 3px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background: #c8651d;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #212529;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.sidebar-brand:hover {
    color: #DE7321;
    transform: translateX(3px);
}

.brand-text {
    margin-left: 0.5rem;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    color: #DE7321;
}

.sidebar-nav {
    padding: 1rem 0;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 0.25rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.nav-link i {
    width: 20px;
    margin-right: 0.75rem;
    font-size: 1.1rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(222, 115, 33, 0.1);
    color: #DE7321;
    border-left-color: #DE7321;
    padding-left: 1.75rem;
}

.nav-link:hover i {
    color: #DE7321;
}

.nav-link.active {
    background-color: rgba(222, 115, 33, 0.15);
    color: #DE7321;
    border-left-color: #DE7321;
    font-weight: 600;
}

.nav-link.active i {
    color: #DE7321;
}

/* Main Content Area */
.dashboard-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Dashboard Header */
.dashboard-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle-mobile {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: none;
}

.sidebar-toggle-mobile:hover {
    color: #DE7321;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #212529;
}

.header-right {
    display: flex;
    align-items: center;
}

.profile-dropdown {
    display: flex;
    align-items: center;
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    padding: 2rem;
    background-color: #f8f9fa;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Dashboard Cards */
.dashboard-home .card,
.dashboard-settings .card,
.dashboard-profile .card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dashboard-home .card:hover,
.dashboard-settings .card:hover,
.dashboard-profile .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Prevent overflow in dashboard tables */
.dashboard-home .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.dashboard-home .table {
    min-width: 100%;
    margin-bottom: 0;
    width: 100%;
}

.dashboard-home .table th:last-child,
.dashboard-home .table td:last-child {
    white-space: nowrap;
}

.dashboard-home .table th:nth-child(2),
.dashboard-home .table td:nth-child(2) {
    min-width: 150px;
    max-width: 250px;
}

.dashboard-home .table .text-truncate {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chart container responsive */
.dashboard-home .card-body canvas {
    max-width: 100%;
    height: auto !important;
}

.welcome-card .card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #DE7321;
}

.welcome-icon {
    opacity: 1;
}

.stat-icon {
    opacity: 1;
}

/* Quick Action Cards */
.quick-action-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.quick-action-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
}

.quick-action-card .card {
    transition: all 0.3s ease;
}

.quick-action-card:hover .card {
    border-color: #DE7321;
    box-shadow: 0 4px 12px rgba(222, 115, 33, 0.2);
}

.quick-action-card .card-body {
    padding: 2rem 1rem;
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Dashboard Styles */
@media (max-width: 991.98px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-sidebar.active {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0;
    }

    .sidebar-toggle-mobile {
        display: block;
    }

    .dashboard-header {
        padding: 1rem;
    }

    .dashboard-content {
        padding: 1.5rem 1rem;
    }

    .page-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .dashboard-content {
        padding: 1rem;
    }

    .dashboard-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .header-right {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .header-right .dropdown {
        width: 100%;
    }

    .header-right .btn {
        width: 100%;
        justify-content: center;
    }

    .welcome-card .card-body {
        padding: 1.5rem !important;
    }

    .welcome-icon {
        display: none;
    }

    .dashboard-home .table th,
    .dashboard-home .table td {
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    .dashboard-home .card-header h5 {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .dashboard-sidebar {
        width: 100%;
        max-width: 280px;
    }

    .dashboard-content {
        padding: 0.75rem;
    }

    .card-body {
        padding: 1rem !important;
    }
}

/* Platform Card Hover Effect */
.hover-shadow {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(222, 115, 33, 0.2) !important;
    border-color: #DE7321 !important;
}

.hover-shadow:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ============================================
   DARK MODE (theme toggle)
   ============================================ */
html.theme-dark {
    color-scheme: dark;
}

html.theme-dark .dashboard-body {
    background-color: #1a1d21;
}

html.theme-dark .dashboard-wrapper {
    background-color: #1a1d21;
}

html.theme-dark .dashboard-sidebar {
    background: linear-gradient(180deg, #252a30 0%, #1e2228 100%);
    border-right-color: #333;
}

html.theme-dark .sidebar-header {
    background: #252a30;
    border-bottom-color: #333;
}

html.theme-dark .sidebar-brand,
html.theme-dark .nav-link {
    color: #e9ecef;
}

html.theme-dark .sidebar-brand:hover,
html.theme-dark .nav-link:hover {
    color: #DE7321;
}

html.theme-dark .nav-link.active {
    background-color: rgba(222, 115, 33, 0.2);
    color: #DE7321;
}

html.theme-dark .nav-link i {
    color: #adb5bd;
}

html.theme-dark .nav-link:hover i,
html.theme-dark .nav-link.active i {
    color: #DE7321;
}

html.theme-dark .dashboard-header {
    background: #252a30;
    border-bottom-color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

html.theme-dark .page-title {
    color: #f8f9fa;
}

html.theme-dark .dashboard-content {
    background-color: #1a1d21;
}

html.theme-dark .dashboard-content .card {
    background-color: #252a30;
    border-color: #333;
}

html.theme-dark .dashboard-content .card-header {
    background-color: #2d3238;
    border-color: #333;
    color: #f8f9fa;
}

html.theme-dark .dashboard-content .table,
html.theme-dark .dashboard-content .table-light {
    background-color: transparent;
    color: #e9ecef;
}

html.theme-dark .dashboard-content .table th {
    background-color: #2d3238 !important;
    border-color: #333;
    color: #f8f9fa;
}

html.theme-dark .dashboard-content .table td {
    border-color: #333;
}

html.theme-dark .dashboard-content .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

html.theme-dark .dashboard-content .breadcrumb {
    background: transparent;
}

html.theme-dark .dashboard-content .breadcrumb-item a {
    color: #DE7321;
}

html.theme-dark .dashboard-content .breadcrumb-item.active {
    color: #adb5bd;
}

/* Website Health hero: transparent in dark mode */
html.theme-dark .health-hero {
    --health-hero-border: #404550;
    --health-stat-bg: rgba(255, 255, 255, 0.06);
}

html.theme-dark .health-hero .lead,
html.theme-dark .health-hero h4 {
    color: #f8f9fa;
}

html.theme-dark .health-stat .num {
    color: #f8f9fa;
}

html.theme-dark .health-stat .text-muted {
    color: #adb5bd !important;
}

/* Alerts and form controls in dark mode */
html.theme-dark .alert-success {
    background-color: rgba(25, 135, 84, 0.2);
    border-color: #198754;
    color: #b8e0c8;
}

html.theme-dark .alert-warning {
    background-color: rgba(255, 193, 7, 0.15);
    border-color: #ffc107;
    color: #e6d9a5;
}

html.theme-dark .alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
    color: #f1aeb5;
}

html.theme-dark .btn-outline-secondary {
    border-color: #495057;
    color: #adb5bd;
}

html.theme-dark .btn-outline-secondary:hover {
    background-color: #495057;
    border-color: #495057;
    color: #fff;
}

html.theme-dark .empty-hero {
    background: rgba(255, 255, 255, 0.04);
    border-color: #404550;
    color: #e9ecef;
}
