﻿/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --black-color: #000000;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-height: 70px;
    --footer-height: 300px;
}



/* ========================================
   MOBILE NAVBAR FIX
   ======================================== */

/* When navbar is collapsed on mobile */
@media (max-width: 991.98px) {
    /* The collapse container */
    .navbar-collapse {
        background: #1a1a2e; /* solid dark background */
        padding: 15px 20px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        margin-top: 8px;
        /* Optional: add a subtle border */
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

        /* All nav links inside the collapse */
        .navbar-collapse .nav-link {
            color: #ffffff !important; /* solid white */
            padding: 12px 16px !important;
            border-radius: 8px;
            font-weight: 500;
            transition: background 0.2s ease;
            opacity: 1 !important; /* override any transparency */
            background: transparent;
        }

            /* Hover/active states on mobile */
            .navbar-collapse .nav-link:hover,
            .navbar-collapse .nav-link.active {
                background: rgba(108, 99, 255, 0.2);
                color: #ffffff !important;
            }

        /* Dropdown toggles (if you have nested dropdowns) */
        .navbar-collapse .dropdown-toggle {
            color: #ffffff !important;
        }

        /* Dropdown menu inside mobile */
        .navbar-collapse .dropdown-menu {
            background: rgba(26, 26, 46, 0.95) !important;
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            padding: 8px 0;
            margin-top: 4px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
        }

        .navbar-collapse .dropdown-item {
            color: rgba(255, 255, 255, 0.9) !important;
            padding: 10px 20px;
            border-left: 3px solid transparent;
            transition: all 0.2s ease;
        }

            .navbar-collapse .dropdown-item:hover {
                background: rgba(108, 99, 255, 0.2);
                color: #ffffff !important;
                border-left-color: #6C63FF;
                padding-left: 26px;
            }

        /* Any buttons inside the collapse (like WhatsApp, call) */
        .navbar-collapse .btn {
            margin: 6px 0;
            width: 100%;
            justify-content: center;
            color: white !important;
        }

        .navbar-collapse .btn-outline-light {
            border-color: rgba(255, 255, 255, 0.3);
            background: transparent;
        }

            .navbar-collapse .btn-outline-light:hover {
                background: rgba(108, 99, 255, 0.3);
                border-color: #6C63FF;
                color: white !important;
            }

    /* Ensure toggler icon is visible */
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.4) !important;
    }

    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    /* Optional: add a small close indicator */
    .navbar-toggler[aria-expanded="true"] {
        background: rgba(108, 99, 255, 0.2);
        border-radius: 8px;
    }
}

/* For very small screens (optional extra padding) */
@media (max-width: 480px) {
    .navbar-collapse {
        padding: 12px 15px;
    }

        .navbar-collapse .nav-link {
            padding: 10px 12px !important;
            font-size: 0.95rem;
        }
}










/* ========================================
   BASE RESET & TYPOGRAPHY
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--dark-color);
    background-color: var(--white-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--navbar-height);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
}

    a:hover {
        color: var(--primary-dark);
        text-decoration: none;
    }

/* ========================================
   SKIP TO MAIN CONTENT
   ======================================== */
.skip-to-main {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white-color);
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    transition: top 0.3s;
    font-weight: 600;
}

    .skip-to-main:focus {
        top: 0;
    }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    background: var(--dark-color) !important;
    padding: 12px 0;
    box-shadow: var(--box-shadow);
    height: var(--navbar-height);
    transition: box-shadow var(--transition-speed) var(--transition-ease);
}

    .navbar.scrolled {
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    }

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

    .navbar-brand .fa-tools {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-right: 8px;
    }

    .navbar-brand span {
        color: var(--white-color);
    }

    .navbar-brand small {
        font-size: 0.75rem;
        color: var(--secondary-color);
        margin-left: 4px;
    }

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    transition: all var(--transition-speed) var(--transition-ease);
    font-weight: 500;
    border-radius: var(--border-radius);
}

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        color: var(--white-color);
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar-dark .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.15);
    }

.navbar-dark .navbar-nav .dropdown-menu {
    background: var(--dark-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 8px 0;
    margin-top: 8px;
}

.navbar-dark .navbar-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    transition: all var(--transition-speed) var(--transition-ease);
}

    .navbar-dark .navbar-nav .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white-color);
    }

.navbar-dark .navbar-nav .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Navbar buttons */
.navbar .btn {
    border-radius: var(--border-radius);
    padding: 8px 16px;
    font-weight: 500;
    transition: all var(--transition-speed) var(--transition-ease);
}

    .navbar .btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--box-shadow);
    }

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        transform: rotate(45deg);
    }

    .hero-section h1 {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .hero-section p {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 2rem;
    }

    .hero-section .btn {
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all var(--transition-speed) var(--transition-ease);
    }

        .hero-section .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

    .hero-section .badge {
        padding: 8px 16px;
        font-weight: 500;
        font-size: 0.8rem;
    }

    .hero-section img {
        border-radius: var(--border-radius);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        transition: transform var(--transition-speed) var(--transition-ease);
    }

        .hero-section img:hover {
            transform: scale(1.02);
        }

/* Hero responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

        .hero-section p {
            font-size: 1rem;
        }

        .hero-section .d-flex {
            justify-content: center;
            flex-wrap: wrap;
        }

            .hero-section .d-flex .btn {
                margin: 5px;
            }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: 80px 0;
    background: var(--light-color);
}

    .services-section h2 {
        color: var(--dark-color);
        margin-bottom: 2rem;
    }

    .services-section .card {
        border: none;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        transition: all var(--transition-speed) var(--transition-ease);
        overflow: hidden;
        height: 100%;
    }

        .services-section .card:hover {
            transform: translateY(-10px);
            box-shadow: var(--box-shadow-hover);
        }

        .services-section .card .card-body {
            padding: 2rem;
        }

        .services-section .card i {
            font-size: 3rem;
            margin-bottom: 1rem;
            transition: transform var(--transition-speed) var(--transition-ease);
        }

        .services-section .card:hover i {
            transform: scale(1.1) rotate(-5deg);
        }

        .services-section .card h3 {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
        }

        .services-section .card p {
            color: var(--secondary-color);
            font-size: 0.95rem;
        }

        .services-section .card .btn {
            border-radius: 50px;
            padding: 8px 24px;
            font-weight: 500;
            transition: all var(--transition-speed) var(--transition-ease);
        }

            .services-section .card .btn:hover {
                transform: translateY(-2px);
            }

/* Services page */
.services-page {
    padding: 80px 0;
}

    .services-page h1 {
        color: var(--dark-color);
    }

    .services-page .card {
        border: none;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        transition: all var(--transition-speed) var(--transition-ease);
    }

        .services-page .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--box-shadow-hover);
        }

        .services-page .card i {
            font-size: 2.5rem;
        }

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 80px 0;
}

    .contact-section .contact-info {
        background: var(--light-color);
        border-radius: var(--border-radius);
        padding: 2rem;
        height: 100%;
    }

        .contact-section .contact-info i {
            width: 30px;
            color: var(--primary-color);
        }

        .contact-section .contact-info .whatsapp-float {
            margin-top: 20px;
        }

        .contact-section .contact-info .btn {
            border-radius: 50px;
            padding: 12px 30px;
            font-weight: 600;
        }

/* Contact Page */
.contact-page {
    padding: 80px 0;
}

    .contact-page .card {
        border: none;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }

        .contact-page .card .card-body {
            padding: 3rem;
        }

    .contact-page .form-control {
        border-radius: var(--border-radius);
        padding: 12px 16px;
        border: 2px solid #e9ecef;
        transition: all var(--transition-speed) var(--transition-ease);
    }

        .contact-page .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.1);
        }

    .contact-page .btn {
        border-radius: 50px;
        padding: 12px 30px;
        font-weight: 600;
    }

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--white-color);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

    .whatsapp-float:hover {
        transform: scale(1.1) rotate(-5deg);
        color: var(--white-color);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    }

    .whatsapp-float .whatsapp-tooltip {
        position: absolute;
        right: 75px;
        background: rgba(0, 0, 0, 0.8);
        color: var(--white-color);
        padding: 6px 12px;
        border-radius: var(--border-radius);
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .whatsapp-float:hover .whatsapp-tooltip {
        opacity: 1;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   CALL FLOATING BUTTON (Mobile)
   ======================================== */
.call-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s;
}

    .call-float:hover {
        transform: scale(1.1);
        color: var(--white-color);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
    }

/* Show call button only on mobile */
@media (max-width: 768px) {
    .call-float {
        display: flex;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .footer h5, .footer h6 {
        color: var(--white-color);
        font-weight: 700;
    }

    .footer p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
    }

    .footer a {
        color: rgba(255, 255, 255, 0.7);
        transition: all var(--transition-speed) var(--transition-ease);
    }

        .footer a:hover {
            color: var(--white-color);
            text-decoration: none;
            padding-left: 5px;
        }

    .footer ul {
        list-style: none;
        padding: 0;
    }

        .footer ul li {
            margin-bottom: 8px;
        }

    .footer .social-links a {
        display: inline-block;
        width: 35px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        transition: all var(--transition-speed) var(--transition-ease);
        color: var(--white-color);
    }

        .footer .social-links a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
            padding-left: 0;
        }

    .footer hr {
        border-color: rgba(255, 255, 255, 0.1);
        margin: 30px 0;
    }

    .footer .text-muted {
        color: rgba(255, 255, 255, 0.5) !important;
    }

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: var(--white-color);
    padding: 15px 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

    .cookie-consent p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0;
    }

    .cookie-consent .btn {
        margin-left: 8px;
        border-radius: 50px;
        padding: 6px 20px;
        font-weight: 500;
    }

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast-container {
    z-index: 9999;
}

.toast {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    min-width: 300px;
}

    .toast .toast-body {
        padding: 12px 16px;
    }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    :root {
        --navbar-height: 60px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --navbar-height: 56px;
    }

    body {
        padding-top: var(--navbar-height);
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Navbar */
    .navbar {
        padding: 8px 0;
    }

    .navbar-brand {
        font-size: 1rem;
    }

        .navbar-brand .fa-tools {
            font-size: 1.2rem;
        }

    .navbar .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Hero */
    .hero-section {
        padding: 40px 0;
    }

        .hero-section h1 {
            font-size: 1.75rem;
        }

        .hero-section p {
            font-size: 0.95rem;
        }

        .hero-section .btn {
            padding: 10px 20px;
            font-size: 0.9rem;
        }

    /* Services */
    .services-section {
        padding: 40px 0;
    }

        .services-section .card .card-body {
            padding: 1.5rem;
        }

    /* Contact */
    .contact-section {
        padding: 40px 0;
    }

    .contact-page .card .card-body {
        padding: 1.5rem;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }

        .whatsapp-float .whatsapp-tooltip {
            display: none;
        }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }

        .footer .social-links {
            justify-content: center;
        }

    /* Cookie Consent */
    .cookie-consent .row {
        text-align: center;
    }

    .cookie-consent .btn {
        margin: 5px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section .d-flex .btn {
        width: 100%;
        margin: 5px 0;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    .call-float {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 15px;
        left: 15px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-primary-custom {
    color: var(--primary-color);
}

.bg-primary-custom {
    background: var(--primary-color);
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-hover {
    transition: box-shadow var(--transition-speed) var(--transition-ease);
}

    .shadow-hover:hover {
        box-shadow: var(--box-shadow-hover);
    }

.rounded-custom {
    border-radius: var(--border-radius);
}

.transition-all {
    transition: all var(--transition-speed) var(--transition-ease);
}

/* Spacing utilities */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 40px 0;
}

.section-padding-lg {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }

    .section-padding-lg {
        padding: 60px 0;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease forwards;
}

.animate-zoomIn {
    animation: zoomIn 0.6s ease forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
}

    .stagger-children > *:nth-child(1) {
        animation-delay: 0.1s;
    }

    .stagger-children > *:nth-child(2) {
        animation-delay: 0.2s;
    }

    .stagger-children > *:nth-child(3) {
        animation-delay: 0.3s;
    }

    .stagger-children > *:nth-child(4) {
        animation-delay: 0.4s;
    }

    .stagger-children > *:nth-child(5) {
        animation-delay: 0.5s;
    }

    .stagger-children > *:nth-child(6) {
        animation-delay: 0.6s;
    }

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .navbar {
        background: var(--black-color) !important;
    }

    .whatsapp-float {
        background: #00cc66 !important;
    }

    .hero-section {
        background: #1a1a2e !important;
    }
}

/* Print styles */
@media print {
    .whatsapp-float,
    .call-float,
    .cookie-consent,
    .navbar-toggler,
    .btn {
        display: none !important;
    }

    .navbar {
        position: static !important;
    }

    body {
        padding-top: 0 !important;
    }

    .hero-section {
        background: #f8f9fa !important;
        color: var(--dark-color) !important;
    }

        .hero-section .badge {
            border: 1px solid var(--dark-color);
        }

    .footer {
        background: #f8f9fa !important;
        color: var(--dark-color) !important;
    }

        .footer a,
        .footer .text-muted {
            color: var(--secondary-color) !important;
        }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

/* ========================================
   SELECTION COLOR
   ======================================== */
::selection {
    background: var(--primary-color);
    color: var(--white-color);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white-color);
}

/* ========================================
   LOADING SPINNER
   ======================================== */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

    .spinner-overlay .spinner-border {
        width: 3rem;
        height: 3rem;
    }

/* ========================================
   CUSTOM BADGES
   ======================================== */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 50px;
}

.badge-primary-custom {
    background: var(--primary-color);
    color: var(--white-color);
}

.badge-success-custom {
    background: var(--success-color);
    color: var(--white-color);
}

.badge-warning-custom {
    background: var(--warning-color);
    color: var(--dark-color);
}

.badge-danger-custom {
    background: var(--danger-color);
    color: var(--white-color);
}

/* ========================================
   RESPONSIVE TABLES
   ======================================== */
.table-responsive-custom {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

    .table-responsive-custom table {
        width: 100%;
        min-width: 600px;
    }

/* ========================================
   CARDS WITH ICONS
   ======================================== */
.icon-card {
    text-align: center;
    padding: 2rem;
    transition: all var(--transition-speed) var(--transition-ease);
}

    .icon-card:hover {
        transform: translateY(-5px);
    }

    .icon-card .icon-wrapper {
        width: 70px;
        height: 70px;
        margin: 0 auto 1rem;
        background: rgba(0, 123, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: var(--primary-color);
        transition: all var(--transition-speed) var(--transition-ease);
    }

    .icon-card:hover .icon-wrapper {
        background: var(--primary-color);
        color: var(--white-color);
        transform: scale(1.1);
    }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    padding: 2rem;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) var(--transition-ease);
}

    .testimonial-card:hover {
        box-shadow: var(--box-shadow-hover);
    }

    .testimonial-card .avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--primary-color);
        color: var(--white-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .testimonial-card .stars {
        color: #ffc107;
        letter-spacing: 2px;
    }

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) var(--transition-ease);
    text-align: center;
    height: 100%;
}

    .pricing-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--box-shadow-hover);
    }

    .pricing-card.featured {
        border: 2px solid var(--primary-color);
        position: relative;
    }

    .pricing-card .featured-badge {
        position: absolute;
        top: -12px;
        right: 20px;
        background: var(--primary-color);
        color: var(--white-color);
        padding: 4px 16px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
    }

    .pricing-card .price {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary-color);
    }

        .pricing-card .price span {
            font-size: 1rem;
            color: var(--secondary-color);
        }

    .pricing-card ul {
        list-style: none;
        padding: 0;
        text-align: left;
    }

        .pricing-card ul li {
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
        }

            .pricing-card ul li:last-child {
                border-bottom: none;
            }

            .pricing-card ul li i {
                margin-right: 10px;
            }

                .pricing-card ul li i.fa-check {
                    color: var(--success-color);
                }

                .pricing-card ul li i.fa-times {
                    color: var(--danger-color);
                }

/* ========================================
   DARK MODE SUPPORT (Optional)
   ======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #1a1a2e;
        --dark-color: #e9ecef;
        --white-color: #16213e;
        --secondary-color: #a8b5c2;
    }

    body {
        background: #0f0f1a;
        color: #e9ecef;
    }

    .services-section {
        background: #1a1a2e;
    }

    .contact-section .contact-info {
        background: #1a1a2e;
    }

    .card {
        background: #1a1a2e !important;
        color: #e9ecef !important;
    }

        .card .text-muted {
            color: #a8b5c2 !important;
        }

    .form-control {
        background: #1a1a2e;
        border-color: #2d2d44;
        color: #e9ecef;
    }

        .form-control:focus {
            background: #1a1a2e;
            color: #e9ecef;
        }

    .table {
        color: #e9ecef;
    }

    .table-hover tbody tr:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .pricing-card {
        background: #1a1a2e;
    }

        .pricing-card ul li {
            border-color: #2d2d44;
        }
}

/*Service Design*/
/* Services Dropdown Styling */
.dropdown-menu-lg {
    min-width: 320px;
    padding: 10px 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

    .dropdown-menu-lg .dropdown-header {
        color: #2c3e50;
        font-weight: 700;
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .dropdown-menu-lg .dropdown-item {
        padding: 10px 20px;
        transition: all 0.3s;
        border-left: 3px solid transparent;
    }

        .dropdown-menu-lg .dropdown-item:hover {
            background: #f8f9fa;
            border-left-color: #4e73df;
            padding-left: 25px;
        }

        .dropdown-menu-lg .dropdown-item i {
            width: 20px;
            text-align: center;
        }

        .dropdown-menu-lg .dropdown-item small {
            font-size: 0.75rem;
            color: #6c757d;
        }

    .dropdown-menu-lg .dropdown-divider {
        margin: 5px 0;
    }

@media (max-width: 768px) {
    .dropdown-menu-lg {
        min-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Reserves space for a standard 300x250 sidebar rectangle GOOGLE ADS DESIGN*/
.ad-container-sidebar {
    min-width: 300px;
    min-height: 250px;
    margin: 25px 0; /* Creates explicit buffer space above and below the ad */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fafafa; /* Optional placeholder background */
}


/* ========================================
   ADSENSE STYLES
   ======================================== */

/* Ad Container Styles */
.ad-container {
    min-height: 90px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ad-container ins {
        min-height: 90px;
        width: 100%;
    }

/* Sidebar Ad */
.ad-sidebar {
    min-height: 250px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ad-sidebar ins {
        min-height: 250px;
        width: 100%;
    }

/* In-Article Ad */
.ad-in-article {
    min-height: 120px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ad-in-article ins {
        min-height: 90px;
        width: 100%;
    }

/* Footer Ad */
.ad-footer {
    min-height: 90px;
    background: #f8f9fa;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ad-footer ins {
        min-height: 90px;
        width: 100%;
    }

/* Ad Label */
.ad-label {
    font-size: 0.7rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ad-container {
        min-height: 60px;
    }

        .ad-container ins {
            min-height: 60px;
        }

    .ad-sidebar {
        min-height: 200px;
    }

        .ad-sidebar ins {
            min-height: 200px;
        }

    .ad-in-article {
        min-height: 90px;
    }

        .ad-in-article ins {
            min-height: 60px;
        }

    .ad-footer {
        min-height: 60px;
    }

        .ad-footer ins {
            min-height: 60px;
        }
}

/* Print - Hide Ads */
@media print {
    .ad-container,
    .ad-sidebar,
    .ad-in-article,
    .ad-footer,
    .adsbygoogle {
        display: none !important;
    }
}