/*
============================================================
Zeff-IT Main Stylesheet
------------------------------------------------------------
- Company colors: #4a2c3e (primary), #ff8c00 (accent orange)
- Unified button system, card, form, and layout styling
- Accessibility and responsive design improvements
- Used by all public and admin pages
============================================================
*/

/* === Root Variables === */
:root {
    /* Company Colors */
    --primary-bg: #4A2C3E;
    --accent-orange: #FF8C00;
    --text-white: #FFFFFF;
    --light-bg: #6A4B5D;
    --secondary-text: #D3D3D3;
    /* Button Colors */
    --btn-primary-bg: var(--accent-orange);
    --btn-primary-hover: #E67E00;
    --btn-company-bg: var(--primary-bg);
    --btn-company-hover: #5a3c4e;
    --btn-admin-bg: #1e3a8a;
    --btn-admin-hover: #1e40af;
    /* Form Colors */
    --form-focus-border: var(--accent-orange);
    --form-focus-shadow: rgba(255, 140, 0, 0.25);
    /* Card Colors */
    --card-bg: #ffffff;
    --card-border: #dee2e6;
    --card-header-bg: var(--primary-bg);
    /* Typography & Scale */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
}

/* === Base Styles === */
body {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
    color: var(--text-white);
    background-color: var(--light-bg) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ensure card and table backgrounds remain light for contrast */
.card, .table, .modal-content {
    color: #212529;
}

/* Ensure form labels are visible */
.form-label, label {
    color: #212529 !important;
}

.form-text {
    color: #6c757d !important;
}

/* Main website form labels - ensure they're visible on dark background */
body:not(.admin-page):not(.customer-page) .form-label,
body:not(.admin-page):not(.customer-page) label {
    color: var(--text-white) !important;
    font-weight: 500;
}

body:not(.admin-page):not(.customer-page) .form-text {
    color: var(--secondary-text) !important;
}

/* Fix for specific pages with light backgrounds where white labels are invisible */
.terms-card .form-label,
.terms-card label {
    color: #212529 !important;
}

.terms-card .form-text {
    color: #6c757d !important;
}

/* Fix for customers page - ensure labels are dark and visible */
body.admin-page .form-label,
body.admin-page label {
    color: #212529 !important;
}

body.admin-page .form-text {
    color: #6c757d !important;
}

/* Fix for modal labels - ensure they are always dark and visible */
.modal .form-label,
.modal label,
.modal .form-check-label {
    color: #212529 !important;
    font-weight: 500;
}

.modal .form-text {
    color: #6c757d !important;
}

/* Override the white label rule for modals with higher specificity */
body:not(.admin-page):not(.customer-page) .modal .form-label,
body:not(.admin-page):not(.customer-page) .modal label,
body:not(.admin-page):not(.customer-page) .modal .form-check-label {
    color: #212529 !important;
    font-weight: 500;
}

body:not(.admin-page):not(.customer-page) .modal .form-text {
    color: #6c757d !important;
}

/* === Navbar === */
.navbar {
    background-color: var(--primary-bg) !important;
    border-bottom: 3px solid var(--accent-orange);
    transition: background-color 0.3s ease;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-orange) !important;
}

/* === Unified Button System === */
.btn-base {
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
}

/* Primary Button (Orange) */
.btn-primary-custom {
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: var(--text-white);
}

.btn-primary-custom:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
    color: var(--text-white);
    text-decoration: none;
}

/* Company Primary Button (Dark Purple) */
.btn-company-primary {
    background-color: var(--btn-company-bg) !important;
    border-color: var(--btn-company-bg) !important;
    color: var(--text-white) !important;
}

.btn-company-primary:hover {
    background-color: var(--btn-company-hover) !important;
    border-color: var(--btn-company-hover) !important;
    color: var(--text-white) !important;
    text-decoration: none;
}

.btn-company-primary:focus {
    background-color: var(--btn-company-bg) !important;
    border-color: var(--btn-company-bg) !important;
    color: var(--text-white) !important;
    box-shadow: 0 0 0 0.2rem rgba(74, 44, 62, 0.25);
}

/* Company Accent Button (Orange) */
.btn-company-accent {
    background-color: var(--btn-primary-bg) !important;
    border-color: var(--btn-primary-bg) !important;
    color: var(--text-white) !important;
}

.btn-company-accent:hover {
    background-color: var(--btn-primary-hover) !important;
    border-color: var(--btn-primary-hover) !important;
    color: var(--text-white) !important;
    text-decoration: none;
}

.btn-company-accent:focus {
    background-color: var(--btn-primary-bg) !important;
    border-color: var(--btn-primary-bg) !important;
    color: var(--text-white) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

/* Admin Primary Button (Blue) */
.btn-admin-primary {
    background-color: var(--btn-admin-bg) !important;
    border-color: var(--btn-admin-bg) !important;
    color: var(--text-white) !important;
}

.btn-admin-primary:hover {
    background-color: var(--btn-admin-hover) !important;
    border-color: var(--btn-admin-hover) !important;
    color: var(--text-white) !important;
    text-decoration: none;
}

.btn-admin-primary:focus {
    background-color: var(--btn-admin-bg) !important;
    border-color: var(--btn-admin-bg) !important;
    color: var(--text-white) !important;
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Apply base styles to all custom buttons */
.btn-primary-custom,
.btn-company-primary,
.btn-company-accent,
.btn-admin-primary {
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

/* === Card Styles === */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--card-header-bg);
    color: var(--text-white);
    border-bottom: 1px solid var(--card-border);
    border-radius: 0px 0px 0 0 !important;
    font-weight: 600;
}

.card-title {
    color: var(--primary-bg);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Card Header Background */
.bg-primary-custom {
    background-color: var(--primary-bg) !important;
    color: var(--text-white) !important;
    border: none !important;
}

.bg-primary-custom .text-white {
    color: var(--text-white) !important;
    font-weight: 600;
}

/* Remove borders from card headers with primary custom background */
.card-header.bg-primary-custom {
    border: none !important;
}

/* === Form Styles === */
.form-control:focus {
    border-color: var(--form-focus-border);
    box-shadow: 0 0 0 0.2rem var(--form-focus-shadow);
}

/* Improved form spacing */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

/* Better spacing for form sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* === Hero Section === */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, rgba(74, 44, 62, 0.9) 0%, rgba(106, 75, 93, 0.85) 100%), url('/images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    text-align: center;
    margin: 0;
}

.hero-title {
    color: var(--accent-orange);
    text-shadow: 0 4px 20px rgba(74,44,62,0.3);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--text-white);
    font-weight: var(--font-weight-regular);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-size: var(--text-2xl);
    line-height: var(--leading-snug);
    margin-bottom: 2rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: var(--leading-relaxed);
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    font-weight: var(--font-weight-regular);
}

.hero-highlight {
    color: var(--accent-orange);
    font-weight: var(--font-weight-semibold);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 140, 0, 0.1) 0%, transparent 50%, rgba(74, 44, 62, 0.1) 100%);
    animation: shimmer 3s ease-in-out infinite alternate;
    z-index: 1;
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #ff8c00 0%, #4a2c3e 100%);
    opacity: 0.2;
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    text-align: center;
    z-index: 2;
}

.scroll-indicator div:first-child {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-indicator div:last-child {
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

/* Trust Indicators */
.trust-indicators {
    max-width: 800px;
    margin: 0 auto;
}

.trust-icon {
    color: var(--accent-orange);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.trust-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    line-height: var(--leading-normal);
}

/* Hero CTA Group */
.hero-cta-group {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Animations */
@keyframes shimmer {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* === Content Sections === */
.content-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    margin: 0;
}

/* Improved spacing for sections */
.content-section + .content-section {
    padding-top: 80px;
}

.content-section:first-of-type {
    padding-top: 120px;
}

.content-section:last-of-type {
    padding-bottom: 100px;
}

/* Main page cards styling - original design */
.content-section .card {
    background-color: var(--primary-bg);
    border: 1px solid var(--accent-orange);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-white);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.content-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.content-section .card-body {
    padding: 2rem;
}

/* Improved card spacing */
.content-section .row .col {
    margin-bottom: 2rem;
}

.content-section .row .col:last-child {
    margin-bottom: 0;
}

.content-section .card-title {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.content-section .card-text {
    color: var(--text-white);
    line-height: 1.6;
    font-size: 1rem;
}

/* === Footer === */
.footer {
    background-color: var(--primary-bg);
    color: var(--secondary-text);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid var(--accent-orange);
}

.footer a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--text-white);
}

/* === Contact Info Blocks === */
.contact-info-block {
    background-color: var(--primary-bg);
    border: 1px solid var(--accent-orange);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-info-block h4 {
    color: var(--accent-orange);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info-block p {
    margin-bottom: 10px;
    color: var(--secondary-text);
    font-size: 1.1rem;
}

.contact-info-block p i {
    color: var(--accent-orange);
    margin-right: 10px;
    width: 20px; /* Ensure consistent icon alignment */
    text-align: center;
}

/* === Form Messages === */
.form-message {
    display: none;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease-out;
}

/* Improved alert spacing */
.alert {
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.alert:last-child {
    margin-bottom: 0;
}

/* Better spacing for button groups */
.btn-group {
    margin-bottom: 1rem;
}

.btn-group:last-child {
    margin-bottom: 0;
}

/* Improved spacing for lists */
.list-group {
    margin-bottom: 1.5rem;
}

.list-group:last-child {
    margin-bottom: 0;
}

.list-group-item {
    border-radius: 0;
}

.list-group-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.list-group-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.form-message.show {
    display: block;
}

.form-message.shake {
    animation: shake 0.5s ease-in-out;
}

.form-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* === Loading Overlay === */
.form-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.form-loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* === Animations === */
@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === Terms Page Styles === */
.terms-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 20px 0;
    line-height: 1.6;
}

.terms-card h1, .terms-card h2, .terms-card h3 {
    color: var(--primary-bg);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.terms-card h1 {
    font-size: 2.5rem;
    border-bottom: 3px solid var(--accent-orange);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.terms-card h2 {
    font-size: 1.8rem;
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
    margin-top: 40px;
}

.terms-card h3 {
    font-size: 1.3rem;
    color: var(--accent-orange);
}

.terms-card p, .terms-card ul {
    margin-bottom: 15px;
    color: #333;
    font-size: 1rem;
}

.terms-card ul {
    padding-left: 20px;
}

.terms-card ul li {
    margin-bottom: 8px;
}

.terms-card .section-break {
    border-top: 1px solid #dee2e6;
    margin: 30px 0;
    padding-top: 20px;
}

.terms-card .alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.terms-card .accordion-body {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 20px;
}

.terms-card .accordion-button {
    background-color: var(--primary-bg);
    color: var(--text-white);
    border: none;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
}

.terms-card .accordion-button:not(.collapsed) {
    background-color: var(--accent-orange);
    color: var(--text-white);
    box-shadow: none;
}

.terms-card .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.terms-card .accordion-button:hover {
    background-color: var(--accent-orange);
    color: var(--text-white);
}

.terms-card .accordion-item {
    border: none;
    margin-bottom: 10px;
}

/* === Admin Page Styles === */
.admin-page .card,
.admin-page .table,
.admin-page .modal-content {
    background-color: var(--card-bg);
}

/* Improved admin page spacing */
.admin-page .row {
    margin-bottom: 2rem;
}

.admin-page .row:last-child {
    margin-bottom: 0;
}

.admin-page .card {
    margin-bottom: 1.5rem;
}

.admin-page .card:last-child {
    margin-bottom: 0;
}

.admin-page .mb-4 {
    margin-bottom: 2rem !important;
}

.admin-page .mb-5 {
    margin-bottom: 3rem !important;
}

.admin-page .card-header {
    background-color: var(--card-header-bg);
    color: var(--text-white);
    border-bottom: 1px solid var(--card-border);
}

.admin-page .card-body {
    color: #212529;
}

.admin-page .table {
    color: #212529;
}

.admin-page .table th,
.admin-page .table td {
    border-color: var(--card-border);
}

.admin-page .table-hover tbody tr:hover {
    background-color: rgba(74, 44, 62, 0.05);
}

.admin-page .btn,
.admin-page .form-control,
.admin-page .alert,
.admin-page .breadcrumb,
.admin-page .badge,
.admin-page .modal-content {
    border-radius: 8px;
}

.admin-page .btn:focus,
.admin-page .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 44, 62, 0.25);
}

.admin-page .form-control,
.admin-page .form-control:focus {
    border-color: var(--card-border);
}

.admin-page .form-control:focus {
    border-color: var(--form-focus-border);
    box-shadow: 0 0 0 0.2rem var(--form-focus-shadow);
}

.admin-page .alert {
    border: none;
    border-radius: 8px;
}

.admin-page .breadcrumb {
    background-color: transparent;
    padding: 0;
}

.admin-page .badge {
    font-size: 0.875em;
    padding: 0.5em 0.75em;
}

.admin-page .modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.admin-page .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.admin-page .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* === Customer Page Styles === */
.customer-page .card,
.customer-page .table,
.customer-page .modal-content {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
}

.customer-page .card-header,
.customer-page .modal-header {
    background-color: var(--card-header-bg);
    color: var(--text-white);
    border-bottom: 1px solid var(--card-border);
    border-radius: 8px 8px 0 0;
}

.customer-page .card-body,
.customer-page .modal-body {
    color: #212529;
}

.customer-page .table,
.customer-page .table th,
.customer-page .table td {
    color: #212529;
    border-color: var(--card-border);
}

.customer-page .table-hover tbody tr:hover,
.customer-page .table-hover tbody tr:hover td {
    background-color: rgba(74, 44, 62, 0.05);
}

.customer-page .btn,
.customer-page .form-control,
.customer-page .alert,
.customer-page .breadcrumb,
.customer-page .badge,
.customer-page .modal-content {
    border-radius: 8px;
}

.customer-page .btn:focus,
.customer-page .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 44, 62, 0.25);
}

.customer-page .form-control,
.customer-page .form-control:focus {
    border-color: var(--card-border);
}

.customer-page .form-label,
.customer-page label {
    color: #212529 !important;
    font-weight: 500;
}

.customer-page .form-text,
.customer-page .text-muted {
    color: #6c757d !important;
}

.customer-page .form-control:focus {
    border-color: var(--form-focus-border);
    box-shadow: 0 0 0 0.2rem var(--form-focus-shadow);
}

.customer-page .alert {
    border: none;
    border-radius: 8px;
}

.customer-page .breadcrumb {
    background-color: transparent;
    padding: 0;
}

.customer-page .badge {
    font-size: 0.875em;
    padding: 0.5em 0.75em;
}

.customer-page .modal-content,
.customer-page .modal-header,
.customer-page .modal-footer {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.customer-page .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.customer-page .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Improved customer page spacing */
.customer-page .row {
    margin-bottom: 2rem;
}

.customer-page .row:last-child {
    margin-bottom: 0;
}

.customer-page .card {
    margin-bottom: 1.5rem;
}

.customer-page .card:last-child {
    margin-bottom: 0;
}

.customer-page .mb-4 {
    margin-bottom: 2rem !important;
}

.customer-page .mb-5 {
    margin-bottom: 3rem !important;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .admin-page .card-body,
    .customer-page .card-body {
        padding: 1rem;
    }
    
    .admin-page .table th,
    .admin-page .table td,
    .customer-page .table th,
    .customer-page .table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .terms-card {
        padding: 20px;
    }
    
    .terms-card h1 {
        font-size: 2rem;
    }
    
    .terms-card h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .form-control,
    .btn {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* === Accessibility Improvements === */
@media (prefers-contrast: high) {
    .form-control:focus {
        border-width: 3px;
    }
    
    .btn:focus {
        outline: 3px solid var(--accent-orange);
        outline-offset: 2px;
    }
    
    .card {
        border-width: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .card:hover {
        transform: none;
    }
}

/* === Skip Link for Accessibility === */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-bg);
    color: var(--text-white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* === Aria Live Regions === */
.aria-live {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* === Form Validation Styles === */
.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.validation-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
}

.validation-feedback.valid-feedback {
    color: #28a745;
}

.validation-feedback.invalid-feedback {
    color: #dc3545;
}

.form-control.validating {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%236c757d' d='M2 3.5L4 5.5 6 3.5'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* === Button States === */
.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* === Table Improvements === */
.table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
}

.table:last-child {
    margin-bottom: 0;
}

/* Better table spacing */
.table-responsive {
    margin-bottom: 1.5rem;
}

.table-responsive:last-child {
    margin-bottom: 0;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--card-border);
    font-weight: 600;
    color: var(--primary-bg);
    padding: 12px 8px;
}

.table th:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: -2px;
}

.table td {
    padding: 12px 8px;
    vertical-align: middle;
    border-bottom: 1px solid var(--card-border);
}

/* === Navigation Improvements === */
.navbar-nav .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
    border-radius: 4px;
}

.navbar-nav .nav-link.active {
    background-color: rgba(255, 140, 0, 0.1);
    border-radius: 4px;
}

/* === Modal Improvements === */
.modal-header {
    border-bottom: 1px solid var(--card-border);
}

.modal-footer {
    border-top: 1px solid var(--card-border);
}

.modal-content:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* === Tooltip Improvements === */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: var(--primary-bg);
    color: var(--text-white);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    max-width: 200px;
}

/* === Form Group Improvements === */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: inherit;
}

.form-group .form-text {
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #6c757d;
}

/* === Input Group Improvements === */
.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid var(--card-border);
    color: #6c757d;
}

.input-group:focus-within .input-group-text {
    border-color: var(--form-focus-border);
    color: var(--primary-bg);
}

/* === Card Improvements === */
.card {
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
}

.card:focus-within {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* === Badge Improvements === */
.badge {
    font-size: 0.75em;
    font-weight: 500;
    padding: 0.375em 0.75em;
    border-radius: 0.375rem;
}

.badge:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* === Breadcrumb Improvements === */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    font-weight: bold;
}

.breadcrumb-item a {
    color: var(--accent-orange);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--btn-primary-hover);
    text-decoration: underline;
}

.breadcrumb-item a:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
    border-radius: 2px;
}

/* === Progress Bar Improvements === */
.progress {
    height: 0.5rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--accent-orange);
    transition: width 0.6s ease;
}

/* === Loading Spinner === */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* === Form State Classes === */
.has-error .form-control {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.has-error .form-text {
    color: #dc3545;
}

.has-success .form-control {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.has-success .form-text {
    color: #28a745;
}

/* =========================
   Typography & Text Utilities
   ========================= */
:root {
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    /* Letter Spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
}

body {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
    color: var(--text-white);
}

h1, .h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 1.5rem;
}
h2, .h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-snug);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 1.25rem;
}
h3, .h3 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-snug);
    margin-bottom: 1rem;
}
h4, .h4 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-medium);
    line-height: var(--leading-normal);
    margin-bottom: 0.875rem;
}
h5, .h5 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    line-height: var(--leading-normal);
    margin-bottom: 0.75rem;
}
h6, .h6 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    line-height: var(--leading-normal);
    margin-bottom: 0.625rem;
}
p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}
.lead {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.95);
}
.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: var(--text-sm);
}

/* =========================
   Spacing Utilities
   ========================= */
.section-spacing { padding: 4rem 0; }
.section-spacing-sm { padding: 2.5rem 0; }
.section-spacing-lg { padding: 6rem 0; }
.content-spacing { margin-bottom: 3rem; }
.content-spacing-sm { margin-bottom: 2rem; }
.content-spacing-lg { margin-bottom: 4rem; }

/* =========================
   Accessibility & Focus
   ========================= */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-orange);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s ease;
}
.skip-link:focus { top: 6px; }

.btn:focus,
.nav-link:focus,
.form-control:focus,
a:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.2);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn, .nav-link, .form-control { border: 2px solid currentColor; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* =========================
   Hero Section & Animations
   ========================= */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, rgba(74, 44, 62, 0.9) 0%, rgba(106, 75, 93, 0.85) 100%), url('/images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    text-align: center;
    margin: 0;
}
.hero-title {
    color: var(--accent-orange);
    text-shadow: 0 4px 20px rgba(74,44,62,0.3);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    color: var(--text-white);
    font-weight: var(--font-weight-regular);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-size: var(--text-2xl);
    line-height: var(--leading-snug);
    margin-bottom: 2rem;
}
.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: var(--leading-relaxed);
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    font-weight: var(--font-weight-regular);
}
.hero-highlight {
    color: var(--accent-orange);
    font-weight: var(--font-weight-semibold);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 140, 0, 0.1) 0%, transparent 50%, rgba(74, 44, 62, 0.1) 100%);
    animation: shimmer 3s ease-in-out infinite alternate;
    z-index: 1;
}
.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #ff8c00 0%, #4a2c3e 100%);
    opacity: 0.2;
    z-index: 2;
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    text-align: center;
    z-index: 2;
}
.scroll-indicator div:first-child {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}
.scroll-indicator div:last-child {
    animation: bounce 2s infinite;
}
.scroll-indicator i {
    font-size: 1.2rem;
}

/* Trust Indicators */
.trust-indicators {
    max-width: 800px;
    margin: 0 auto;
}
.trust-icon {
    color: var(--accent-orange);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.trust-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    line-height: var(--leading-normal);
}

/* Hero CTA Group */
.hero-cta-group {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Animations */
@keyframes shimmer {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Particles and Floating Dots */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.particle {
    position: absolute;
    color: rgba(255, 140, 0, 0.3);
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.particle:hover {
    color: rgba(255, 140, 0, 0.8);
    transform: scale(1.2);
}
.particle-1 { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 8s; }
.particle-2 { top: 25%; right: 15%; animation-delay: 1s; animation-duration: 7s; }
.particle-3 { top: 60%; left: 5%; animation-delay: 2s; animation-duration: 9s; }
.particle-4 { top: 70%; right: 10%; animation-delay: 3s; animation-duration: 6s; }
.particle-5 { top: 40%; left: 20%; animation-delay: 4s; animation-duration: 8s; }
.particle-6 { top: 30%; right: 25%; animation-delay: 5s; animation-duration: 7s; }
.particle-7 { top: 80%; left: 15%; animation-delay: 6s; animation-duration: 9s; }
.particle-8 { top: 50%; right: 5%; animation-delay: 7s; animation-duration: 6s; }
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
}
.floating-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.dot {
    position: absolute;
    background: rgba(255, 140, 0, 0.2);
    border-radius: 50%;
    animation: floatDot 10s ease-in-out infinite;
}
.dot-1 { width: 4px; height: 4px; top: 20%; left: 20%; animation-delay: 0s; }
.dot-2 { width: 6px; height: 6px; top: 30%; right: 30%; animation-delay: 1s; }
.dot-3 { width: 3px; height: 3px; top: 50%; left: 10%; animation-delay: 2s; }
.dot-4 { width: 5px; height: 5px; top: 60%; right: 20%; animation-delay: 3s; }
.dot-5 { width: 4px; height: 4px; top: 80%; left: 30%; animation-delay: 4s; }
.dot-6 { width: 6px; height: 6px; top: 25%; left: 60%; animation-delay: 5s; }
.dot-7 { width: 3px; height: 3px; top: 75%; right: 40%; animation-delay: 6s; }
.dot-8 { width: 5px; height: 5px; top: 35%; left: 80%; animation-delay: 7s; }
.dot-9 { width: 4px; height: 4px; top: 85%; left: 70%; animation-delay: 8s; }
.dot-10 { width: 6px; height: 6px; top: 15%; right: 60%; animation-delay: 9s; }
@keyframes floatDot {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.2; }
    25% { transform: translateY(-15px) translateX(10px); opacity: 0.4; }
    50% { transform: translateY(-25px) translateX(-5px); opacity: 0.6; }
    75% { transform: translateY(-10px) translateX(15px); opacity: 0.3; }
}

/* Homepage-specific Card Animations */
.content-section .card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}
.content-section .row .col:nth-child(1) .card { animation-delay: 0.1s; }
.content-section .row .col:nth-child(2) .card { animation-delay: 0.2s; }
.content-section .row .col:nth-child(3) .card { animation-delay: 0.3s; }
.content-section .row .col:nth-child(4) .card { animation-delay: 0.4s; }
.content-section .row .col:nth-child(5) .card { animation-delay: 0.5s; }
.content-section .row .col:nth-child(6) .card { animation-delay: 0.6s; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Homepage-specific Testimonial Styles */
.testimonial-card {
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), #ff6b35);
}
.customer-avatar {
    display: flex;
    justify-content: center;
}
.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), #ff6b35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}
.testimonial-card:hover .avatar-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}
.star-rating, .star-rating-large {
    display: flex;
    justify-content: center;
    gap: 2px;
}
.star-rating i, .star-rating-large i {
    font-size: 1rem;
    animation: starGlow 2s ease-in-out infinite alternate;
}
@keyframes starGlow {
    0% { transform: scale(1); filter: brightness(1); }
    100% { transform: scale(1.1); filter: brightness(1.3); }
}
.quote-icon {
    opacity: 0.7;
    transition: all 0.3s ease;
}
.quote-icon i { font-size: 1.5rem; }
.testimonial-card:hover .quote-icon { opacity: 1; transform: scale(1.1); }
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    position: relative;
}
.customer-info {
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    padding-top: 1rem;
}
.overall-rating .rating-summary {
    background: linear-gradient(135deg, rgba(74, 44, 62, 0.9), rgba(106, 75, 93, 0.8));
    border: 2px solid var(--accent-orange);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.rating-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.1), transparent);
    animation: shimmerRating 3s ease-in-out infinite;
}
@keyframes shimmerRating {
    0% { left: -100%; }
    100% { left: 100%; }
}
.star-rating-large i {
    font-size: 2rem;
    animation: starPulse 2s ease-in-out infinite;
}
@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
} 

/* Additional homepage-specific animations and effects from index.php */
@keyframes shimmer {
    0% { opacity: 0.3; transform: translateX(-100%); }
    100% { opacity: 0.6; transform: translateX(100%); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Trust indicators hover effect */
.hero-section .col-md-4:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Enhanced button hover effects for hero section */
.hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4) !important;
}

/* Scroll indicator bounce */
.scroll-indicator {
    animation: bounce 2s infinite;
} 
/* Responsive Typography */
@media (max-width: 768px) {

    h1,
    .h1 {
        font-size: var(--text-4xl);
        line-height: var(--leading-snug);
    }

    h2,
    .h2 {
        font-size: var(--text-3xl);
        line-height: var(--leading-snug);
    }

    h3,
    .h3 {
        font-size: var(--text-2xl);
        line-height: var(--leading-normal);
    }

    .lead {
        font-size: var(--text-lg);
        line-height: var(--leading-normal);
    }

    .section-spacing {
        padding: 2.5rem 0;
    }

    .section-spacing-lg {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {

    h1,
    .h1 {
        font-size: var(--text-3xl);
        line-height: var(--leading-normal);
    }

    h2,
    .h2 {
        font-size: var(--text-2xl);
        line-height: var(--leading-normal);
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 2.5rem) !important;
    }

    .hero-subtitle {
        font-size: var(--text-lg) !important;
    }

    .hero-description {
        font-size: var(--text-base) !important;
    }

    /* Enhanced Mobile Touch Experience */
    .btn {
        min-height: 48px;
        padding: 12px 20px !important;
        font-size: 1rem;
        border-radius: 12px;
        touch-action: manipulation;
    }

    .btn-lg {
        min-height: 56px;
        padding: 16px 24px !important;
        font-size: 1.1rem;
    }

    .card {
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .card-body {
        padding: 24px;
    }

    .form-control {
        min-height: 48px;
        font-size: 16px;
        /* Prevents zoom on iOS */
        border-radius: 12px;
        padding: 12px 16px;
    }

    .form-label {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    /* Mobile-specific spacing */
    .section-spacing {
        padding: 2rem 0;
    }

    .section-spacing-lg {
        padding: 3rem 0;
    }

    .content-spacing {
        margin-bottom: 2rem;
    }

    /* Mobile navigation improvements */
    .navbar {
        padding: 8px 0;
    }

    /* Mobile hero section adjustments */
    .hero-section {
        min-height: 90vh;
        padding: 2rem 0;
    }

    .hero-section .container {
        padding: 0 20px;
    }

    /* Mobile service cards */
    .row-cols-1 .col {
        margin-bottom: 20px;
    }

    /* Mobile testimonials */
    .testimonial-card {
        margin-bottom: 20px;
    }

    /* Mobile contact form */
    .contact-form-container {
        padding: 20px;
        border-radius: 16px;
    }

    /* Mobile social links */
    .social-links {
        justify-content: center;
        gap: 15px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    /* Mobile navigation animation */
    .nav-animate {
        animation: slideInDown 0.3s ease-out;
    }

    @keyframes slideInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Touch-friendly focus states */
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 2px solid var(--accent-orange);
        outline-offset: 2px;
    }

    /* Mobile performance optimizations */
    .card,
    .btn,
    .form-control {
        will-change: transform;
    }

    /* Mobile scroll improvements */
    html {
        scroll-behavior: smooth;
    }

    /* Mobile viewport improvements */
    @media (max-width: 576px) {
        .hero-section {
            background-attachment: scroll !important;
        }
    }


}

/* Hero section animations */
@keyframes shimmer {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}
  /* Enhanced button hover effects */
  .hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4) !important;
}

/* Trust indicators hover effect */
.hero-section .col-md-4:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Floating Tech Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    color: rgba(255, 140, 0, 0.3);
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.particle:hover {
    color: rgba(255, 140, 0, 0.8);
    transform: scale(1.2);
}

.particle-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.particle-3 {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.particle-4 {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.particle-5 {
    top: 40%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.particle-6 {
    top: 30%;
    right: 25%;
    animation-delay: 5s;
    animation-duration: 7s;
}

.particle-7 {
    top: 80%;
    left: 15%;
    animation-delay: 6s;
    animation-duration: 9s;
}

.particle-8 {
    top: 50%;
    right: 5%;
    animation-delay: 7s;
    animation-duration: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Floating Dots Background */
.floating-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.dot {
    position: absolute;
    background: rgba(255, 140, 0, 0.2);
    border-radius: 50%;
    animation: floatDot 10s ease-in-out infinite;
}

.dot-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.dot-2 {
    width: 6px;
    height: 6px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.dot-3 {
    width: 3px;
    height: 3px;
    top: 50%;
    left: 10%;
    animation-delay: 2s;
}

.dot-4 {
    width: 5px;
    height: 5px;
    top: 60%;
    right: 20%;
    animation-delay: 3s;
}

.dot-5 {
    width: 4px;
    height: 4px;
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

.dot-6 {
    width: 6px;
    height: 6px;
    top: 25%;
    left: 60%;
    animation-delay: 5s;
}

.dot-7 {
    width: 3px;
    height: 3px;
    top: 75%;
    right: 40%;
    animation-delay: 6s;
}

.dot-8 {
    width: 5px;
    height: 5px;
    top: 35%;
    left: 80%;
    animation-delay: 7s;
}

.dot-9 {
    width: 4px;
    height: 4px;
    top: 85%;
    left: 70%;
    animation-delay: 8s;
}

.dot-10 {
    width: 6px;
    height: 6px;
    top: 15%;
    right: 60%;
    animation-delay: 9s;
}

@keyframes floatDot {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.2;
    }

    25% {
        transform: translateY(-15px) translateX(10px);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-25px) translateX(-5px);
        opacity: 0.6;
    }

    75% {
        transform: translateY(-10px) translateX(15px);
        opacity: 0.3;
    }
}

/* Shimmer animation for background overlay */
@keyframes shimmer {
    0% {
        opacity: 0.3;
        transform: translateX(-100%);
    }

    100% {
        opacity: 0.6;
        transform: translateX(100%);
    }
}

/* Card animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Staggered card animations */
.content-section .card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.content-section .row .col:nth-child(1) .card {
    animation-delay: 0.1s;
}

.content-section .row .col:nth-child(2) .card {
    animation-delay: 0.2s;
}

.content-section .row .col:nth-child(3) .card {
    animation-delay: 0.3s;
}

.content-section .row .col:nth-child(4) .card {
    animation-delay: 0.4s;
}

.content-section .row .col:nth-child(5) .card {
    animation-delay: 0.5s;
}

.content-section .row .col:nth-child(6) .card {
    animation-delay: 0.6s;
}

/* Enhanced card hover effects */
.content-section .card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    border: 1px solid var(--accent-orange);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(74, 44, 62, 0.15);
    background-color: var(--primary-bg);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.content-section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-bg));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-section .card:hover::before {
    transform: scaleX(1);
}

.content-section .card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 60px rgba(74, 44, 62, 0.25), 0 8px 25px rgba(255, 140, 0, 0.2);
}

/* Card body enhancements */
.content-section .card-body {
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Card title enhancements */
.content-section .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--accent-orange);
    position: relative;
}

.content-section .card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.content-section .card:hover .card-title::after {
    width: 60px;
}

/* Card text enhancements */
.content-section .card-text {
    line-height: 1.7;
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Why Choose Us cards special styling */
#why-choose .card {
    background-color: var(--primary-bg);
    border: 1px solid var(--accent-orange);
    color: var(--text-white);
}

#why-choose .card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--accent-orange);
    background-color: var(--primary-bg);
    box-shadow: 0 20px 60px rgba(74, 44, 62, 0.25), 0 8px 25px rgba(255, 140, 0, 0.2);
}

/* Services cards special styling */
#services .card {
    background-color: var(--primary-bg);
    border: 1px solid var(--accent-orange);
    color: var(--text-white);
}

#services .card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--accent-orange);
    background-color: var(--primary-bg);
    box-shadow: 0 20px 60px rgba(74, 44, 62, 0.25), 0 8px 25px rgba(255, 140, 0, 0.2);
}

/* Testimonials cards special styling */
#testimonials .card {
    border: 1px solid var(--accent-orange);
    border-radius: 16px;
    background-color: var(--primary-bg);
    color: var(--text-white);
    transition: all 0.3s ease;
}

#testimonials .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.2);
}

#testimonials .card-title {
    color: var(--accent-orange);
    font-weight: 600;
}

#testimonials .card-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent-orange);
    margin: 10px auto;
    transition: width 0.3s ease;
}

#testimonials .card-text {
    color: var(--secondary-text);
    font-style: italic;
    line-height: 1.6;
}

/* Enhanced Testimonial Styling */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), #ff6b35);
}

/* Customer Avatar */
.customer-avatar {
    display: flex;
    justify-content: center;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), #ff6b35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .avatar-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Star Rating */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.star-rating i {
    font-size: 1rem;
    animation: starGlow 2s ease-in-out infinite alternate;
}

.star-rating i:nth-child(1) {
    animation-delay: 0s;
}

.star-rating i:nth-child(2) {
    animation-delay: 0.2s;
}

.star-rating i:nth-child(3) {
    animation-delay: 0.4s;
}

.star-rating i:nth-child(4) {
    animation-delay: 0.6s;
}

.star-rating i:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes starGlow {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    100% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

/* Quote Icon */
.quote-icon {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.quote-icon i {
    font-size: 1.5rem;
}

.testimonial-card:hover .quote-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    position: relative;
}

/* Customer Info */
.customer-info {
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    padding-top: 1rem;
}

/* Overall Rating Summary */
.overall-rating {
    margin-top: 3rem;
}

.rating-summary {
    background: linear-gradient(135deg, rgba(74, 44, 62, 0.9), rgba(106, 75, 93, 0.8));
    border: 2px solid var(--accent-orange);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.rating-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.1), transparent);
    animation: shimmerRating 3s ease-in-out infinite;
}

@keyframes shimmerRating {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.star-rating-large {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.star-rating-large i {
    font-size: 2rem;
    animation: starPulse 2s ease-in-out infinite;
}

.star-rating-large i:nth-child(1) {
    animation-delay: 0s;
}

.star-rating-large i:nth-child(2) {
    animation-delay: 0.2s;
}

.star-rating-large i:nth-child(3) {
    animation-delay: 0.4s;
}

.star-rating-large i:nth-child(4) {
    animation-delay: 0.6s;
}

.star-rating-large i:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Enhanced button styling for review links */
#testimonials .btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

#testimonials .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

/* Card icon enhancements */
.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.content-section .card:hover .card-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Service icon specific styling */
.service-icon {
    position: relative;
    display: inline-block;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.3s ease;
}

.content-section .card:hover .service-icon::after {
    width: 100px;
    height: 100px;
    background: rgba(255, 140, 0, 0.2);
}

/* Service features badges */
.service-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.service-features .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-features .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Badge color enhancements */
.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.badge.bg-info {
    background-color: #17a2b8 !important;
    color: #fff !important;
}

.badge.bg-success {
    background-color: #28a745 !important;
    color: #fff !important;
}

.badge.bg-primary {
    background-color: #007bff !important;
    color: #fff !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
    color: #fff !important;
}

.badge.bg-dark {
    background-color: #343a40 !important;
    color: #fff !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.badge.bg-light {
    background-color: #f8f9fa !important;
    color: #000 !important;
}

/* Card button enhancements */
.content-section .card .btn {
    margin-top: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.content-section .card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

/* Card grid improvements */
.content-section .row {
    margin: 0 -15px;
}

.content-section .col {
    padding: 15px;
}

/* Responsive card adjustments */
@media (max-width: 768px) {
    .content-section .card-body {
        padding: 2rem;
    }

    .content-section .card-title {
        font-size: 1.2rem;
    }

    .content-section .card:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Button animations */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Button ripple effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Section heading animations */
.content-section h2 {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Form animations */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    transform: translateY(-1px);
}

/* Contact info block animation */
.contact-info-block {
    animation: fadeInScale 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[loading] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Enhanced focus states */
.btn:focus,
.form-control:focus,
.card:focus-within {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Pulse animation for important elements */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.btn-primary-custom:hover {
    animation: pulse 0.6s ease-in-out;
}

/* Ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced button styling for review links */
#testimonials .btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

#testimonials .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

/* Enhanced Contact Form Styling */
.contact-form-container {
    background: linear-gradient(135deg, rgba(74, 44, 62, 0.1), rgba(106, 75, 93, 0.1));
    border: 2px solid rgba(255, 140, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.05), transparent);
    animation: shimmerForm 4s ease-in-out infinite;
}

@keyframes shimmerForm {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-group {
    position: relative;
}

.form-label {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.form-label i {
    color: var(--accent-orange);
}

.enhanced-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 12px;
    color: var(--text-white);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.enhanced-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
    transform: translateY(-2px);
}

.enhanced-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.enhanced-input:valid {
    border-color: rgba(40, 167, 69, 0.5);
}

.enhanced-input:invalid:not(:placeholder-shown) {
    border-color: rgba(220, 53, 69, 0.5);
}

.invalid-feedback {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
}

.invalid-feedback i {
    margin-right: 0.25rem;
}

/* Success Message Styling */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #28a745, #20c997);
    border: 2px solid #28a745;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: white;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(40, 167, 69, 0.3);
    animation: slideInSuccess 0.5s ease-out;
}

@keyframes slideInSuccess {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.success-content h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Error Message Styling */
.error-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    border: 2px solid #dc3545;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: white;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(220, 53, 69, 0.3);
    animation: slideInError 0.5s ease-out;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.error-content h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Contact Info Block Styling */
.contact-info-block {
    background: linear-gradient(135deg, rgba(74, 44, 62, 0.1), rgba(106, 75, 93, 0.1));
    border: 2px solid rgba(255, 140, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.contact-info-block h4 {
    color: var(--accent-orange);
    font-weight: 600;
}

.contact-item {
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
    border-color: var(--accent-orange);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), #ff6b35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.contact-item h6 {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-white);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Form Button Enhancements */
.contact-form .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.btn-loading {
    display: none;
}

.btn-loading.show {
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
    }

    .success-message,
    .error-message {
        width: 90%;
        max-width: 400px;
    }

    .contact-item {
        margin-bottom: 1rem;
    }
}

/* Enhanced Call-to-Action Styling */

/* Hero CTA Buttons */
.hero-cta-primary {
    position: relative;
    overflow: hidden;
    animation: ctaPulse 2s ease-in-out infinite;
}

.hero-cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4) !important;
}

.cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hero-cta-primary:hover .cta-shine {
    left: 100%;
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.hero-cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.hero-cta-phone {
    transition: all 0.3s ease;
    animation: phoneGlow 3s ease-in-out infinite;
}

.hero-cta-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

@keyframes phoneGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }

    50% {
        box-shadow: 0 6px 25px rgba(40, 167, 69, 0.5);
    }
}

/* Strategic CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,140,0,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,140,0,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,140,0,0.1)"/></svg>');
    animation: ctaFloat 20s linear infinite;
}

@keyframes ctaFloat {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-20px);
    }
}

.cta-action-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.cta-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    background: #28a745;
    color: white;
}

/* Testimonials CTA */
.testimonials-cta {
    position: relative;
}

.testimonials-cta-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonials-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.testimonials-cta-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    background: #007bff;
    color: white;
}



/* Responsive adjustments for CTAs */
@media (max-width: 768px) {
    .floating-action-buttons {
        bottom: 80px;
        right: 20px;
    }

    .fab {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .cta-section .row {
        text-align: center;
    }

    .cta-section .col-lg-4 {
        margin-top: 1rem;
    }
}

/* Loading States and Animations */

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple), #5a3c4e);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    font-size: 4rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.loader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: rgba(255, 140, 0, 0.7);
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: rgba(255, 140, 0, 0.4);
    animation-delay: 0.4s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Skeleton Loading */
.skeleton-loader {
    padding: 2rem 0;
}

.skeleton-hero {
    text-align: center;
}

.skeleton-title {
    height: 3rem;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0.1));
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-subtitle {
    height: 2rem;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0.1));
    border-radius: 6px;
    margin-bottom: 1rem;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-text {
    height: 1.5rem;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0.1));
    border-radius: 4px;
    margin-bottom: 2rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.skeleton-btn {
    height: 3rem;
    width: 150px;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0.1));
    border-radius: 8px;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
}

.skeleton-card-header {
    height: 2rem;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0.1));
    border-radius: 6px;
    margin-bottom: 1rem;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-line {
    height: 1rem;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0.1));
    border-radius: 4px;
    margin-bottom: 0.5rem;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes skeletonShimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Image Loading States */
.image-container {
    position: relative;
    display: inline-block;
}

.image-loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-loading.loaded {
    opacity: 1;
}

.image-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 44, 62, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: opacity 0.5s ease;
}

.image-loading.loaded+.image-loading-overlay {
    opacity: 0;
    pointer-events: none;
}

.image-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 140, 0, 0.3);
    border-top: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Service Card Loading */
.service-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 44, 62, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover .service-loading-overlay {
    opacity: 1;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-top: 2px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Content fade-in animations */
.content-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.content-section.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Progressive loading for cards */
.card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.card.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered card loading */
.row .col:nth-child(1) .card {
    transition-delay: 0.1s;
}

.row .col:nth-child(2) .card {
    transition-delay: 0.2s;
}

.row .col:nth-child(3) .card {
    transition-delay: 0.3s;
}

.row .col:nth-child(4) .card {
    transition-delay: 0.4s;
}

.row .col:nth-child(5) .card {
    transition-delay: 0.5s;
}

.row .col:nth-child(6) .card {
    transition-delay: 0.6s;
}

/* Footer Enhancements - Keeping original background */
.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 50%;
    color: var(--accent-orange);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

.hover-link {
    transition: all 0.3s ease;
    position: relative;
}

.hover-link:hover {
    color: var(--accent-orange) !important;
    transform: translateX(5px);
}

.hover-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.hover-link:hover::after {
    width: 100%;
}

.footer .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
}

/* Homepage-only styles for Zeff IT (index.php) */
:root {
    --primary-bg: #4A2C3E;
    --accent-orange: #FF8C00;
    --text-white: #FFFFFF;
    --light-bg: #6A4B5D;
    --secondary-text: #D3D3D3;
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
}

body {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
    color: var(--text-white);
    background-color: var(--light-bg) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* =========================
   Homepage-Specific Styles
   ========================= */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, rgba(74, 44, 62, 0.9) 0%, rgba(106, 75, 93, 0.85) 100%), url('/images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    text-align: center;
    margin: 0;
}
.hero-title {
    color: var(--accent-orange);
    text-shadow: 0 4px 20px rgba(74,44,62,0.3);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    color: var(--text-white);
    font-weight: var(--font-weight-regular);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-size: var(--text-2xl);
    line-height: var(--leading-snug);
    margin-bottom: 2rem;
}
.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: var(--leading-relaxed);
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    font-weight: var(--font-weight-regular);
}
.hero-highlight {
    color: var(--accent-orange);
    font-weight: var(--font-weight-semibold);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 140, 0, 0.1) 0%, transparent 50%, rgba(74, 44, 62, 0.1) 100%);
    animation: shimmer 3s ease-in-out infinite alternate;
    z-index: 1;
}
.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #ff8c00 0%, #4a2c3e 100%);
    opacity: 0.2;
    z-index: 2;
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    text-align: center;
    z-index: 2;
}
.scroll-indicator div:first-child {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}
.scroll-indicator div:last-child {
    animation: bounce 2s infinite;
}
.scroll-indicator i {
    font-size: 1.2rem;
}

.trust-indicators {
    max-width: 800px;
    margin: 0 auto;
}
.trust-icon {
    color: var(--accent-orange);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.trust-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    line-height: var(--leading-normal);
}

.hero-cta-group {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

@keyframes shimmer {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Add only homepage-specific additional styles below as needed */