/* ===================================
   hugmypc - Custom CSS
   Gold Coast IT Support & Home Automation
   =================================== */

/* ===================================
   CSS Variables - Color Scheme
   =================================== */
:root {
    /* Override Bootstrap's primary color with our brand color */
    --bs-primary: #399fe0;
    --bs-primary-rgb: 57, 159, 224;

    /* Primary Colors - Brand Light Blue */
    --primary-light: #52b3f3;
    --primary-medium: #399fe0;
    --primary-dark: #208bcc;

    /* Secondary Colors - Cloud White & Grey */
    --white: #ffffff;
    --light-grey: #f5f5f5;
    --medium-grey: #e5e5e5;
    --text-grey: #6c757d;
    --black: #111111;

    /* Accent Color - Orange */
    --accent: #399fe0;
    --accent-hover: #52b3f3;

    /* Deep Blue - Headers/Footers */
    --deep-blue: #26333c;
    --deep-blue-light: #2d3d49;

    /* Semantic Colors */
    --success: #92cd28;
    --warning: #ffa33f;
    --danger: #b95755;
    --info: #53b3cb;

    /* Typography */
    --font-primary: "Baloo 2", cursive;
    --font-secondary: "Open Sans", sans-serif;

    /* Spacing */
    --section-padding: 5rem;
    --section-padding-mobile: 3rem;

    /* Transitions */
    --transition-speed: 0.3s;

    /* Material Design Shadows */
    --shadow-sm:
        rgba(14, 63, 126, 0.04) 0px 0px 0px 1px,
        rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px,
        rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px,
        rgba(42, 51, 70, 0.04) 0px 6px 6px -3px,
        rgba(14, 63, 126, 0.04) 0px 12px 12px -6px,
        rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    --shadow-md: 0 3px 5px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   Bootstrap Customizations
   =================================== */
.btn {
    font-family: var(--font-primary);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    font-size: 1rem !important;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem !important;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* Default hover - no change for fixed/default navbar */
.navbar-default .btn-call:hover,
.navbar.scrolled .btn-call:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white) !important;
    transform: none;
}

/* Overlay navbar hover - white background with blue text */
.navbar-dark .btn-call:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-medium) !important;
    transform: none;
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
}

.btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.btn-outline-dark {
    border-color: var(--black);
    color: var(--black);
    border-width: 2px;
}

.btn-outline-dark:hover {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/* Custom Color Utilities */
.text-deep-blue {
    color: var(--deep-blue) !important;
}

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

.bg-deep-blue {
    background-color: var(--deep-blue) !important;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    padding: 10px 0;
    transition: all var(--transition-speed) ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
}

.navbar .dropdown {
    position: static;
}

@media (min-width: 992px) {
    .navbar .dropdown {
        position: relative;
    }
}

/* Non-overlay navbar for subpages */
.navbar.navbar-default {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar.navbar-default .navbar-brand,
.navbar.navbar-default .brand-name {
    color: var(--deep-blue) !important;
}

.navbar.navbar-default .navbar-brand i {
    color: var(--primary-medium) !important;
}

.navbar.navbar-default .nav-link {
    color: var(--deep-blue) !important;
}

.navbar.navbar-default .nav-link:hover,
.navbar.navbar-default .nav-link:focus {
    color: var(--primary-medium) !important;
}

.navbar.navbar-default .nav-link::after {
    background-color: var(--primary-medium);
}

/* Add padding to body for fixed navbar */
body.has-overlay-nav {
    padding-top: 0;
}

body.has-default-nav {
    padding-top: 80px;
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white) !important;
    transition: all var(--transition-speed) ease;
}

.navbar-brand:hover {
    color: var(--primary-light) !important;
    transform: scale(1.05);
}

.brand-name {
    color: var(--white);
}

.navbar-brand i {
    color: var(--white) !important;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--white) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: all var(--transition-speed) ease;
    transform: translateX(-50%);
}

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

/* Prevent underline on dropdown toggles */
.dropdown-toggle.nav-link::after {
    display: none;
}

.btn-call {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    border: none !important;
    color: var(--white) !important;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

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

/* White/light background - black icon */
.navbar.navbar-default .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23111111' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Scrolled state - black icon */
.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23111111' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar scrolled state */
.navbar.scrolled .navbar-brand,
.navbar.scrolled .brand-name {
    color: var(--deep-blue) !important;
}

.navbar.scrolled .navbar-brand i {
    color: var(--primary-medium) !important;
}

.navbar.scrolled .nav-link {
    color: var(--deep-blue) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link:focus {
    color: var(--primary-medium) !important;
}

.navbar.scrolled .nav-link::after {
    background-color: var(--primary-medium);
}

.site-logo {
    width: 135px;
    height: auto;
}

/* Dropdown Menu Styles */
.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle:focus {
    box-shadow: none !important;
    outline: none !important;
}

.dropdown-toggle .fa-chevron-down,
.nav-link .fa-chevron-left {
    font-size: 0.75rem;
    transition: transform var(--transition-speed) ease;
}

/* Desktop: rotate on hover */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-toggle .fa-chevron-down {
        transform: rotate(180deg);
    }
}

/* Mobile: rotate when dropdown is shown */
.dropdown .dropdown-toggle[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0;
    margin-top: 0;
    min-width: 240px;
    overflow: hidden;
    z-index: 1050;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

/* Desktop: show dropdown on hover */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
    }
}

.dropdown-item {
    color: var(--deep-blue);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    border: none;
}

/* Desktop: hover effects */
@media (min-width: 992px) {
    .dropdown-item:hover {
        background-color: var(--primary-medium);
        color: var(--white);
    }

    .dropdown-item:hover i {
        color: var(--white);
    }
}

.dropdown-item i {
    color: var(--primary-medium);
    transition: color var(--transition-speed) ease;
    width: 1.25rem;
    text-align: center;
    display: inline-block;
}

/* ===================================
   Hero Section
   =================================== */
/* Hero Jumbotron - Desktop: 768px, Mobile: 100vh */
.hero-jumbotron {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url("/img/hero-bkg.jpg");
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.hero-jumbotron::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero section Book a Service button - use brand green */
.hero-jumbotron .btn-accent {
    background-color: var(--primary-medium) !important;
    border-color: var(--primary-medium) !important;
    color: var(--white) !important;
}

.hero-jumbotron .btn-accent:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--white) !important;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
    opacity: 0.9;
    visibility: visible;
    text-decoration: none;
}

.scroll-indicator:hover {
    color: var(--white);
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ===================================
   Trust Section
   =================================== */
.trust-section {
    border-top: 1px solid var(--medium-grey);
    border-bottom: 1px solid var(--medium-grey);
}

.trust-item i {
    transition: color var(--transition-speed) ease;
}

.trust-item:hover i {
    color: var(--primary-medium) !important;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    padding: var(--section-padding) 0;
}

.card {
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--bs-box-shadow-sm) !important;
    border: 1px solid #ededed;
}

/* ===================================
   Icon System - Standardized
   =================================== */
/* All icons use green outline with white background */
.service-icon {
    margin: auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 2px dashed var(--primary-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-speed) ease;
}

.service-icon i {
    color: var(--primary-medium);
    font-size: 2rem;
}

.service-card .service-icon {
    margin: inherit;
}

.number-icon {
    color: var(--primary-medium);
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-us-section {
    padding: var(--section-padding) 0;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
}

/* Testimonial card base styles moved to standardized card system above */

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: var(--primary-light);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.stars i {
    font-size: 1rem;
}

.testimonial-avatar i {
    opacity: 0.7;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: var(--section-padding) 0;
    padding-bottom: 100px !important;
}

.contact-form-card {
    border-radius: 20px;
}

.form-control,
.form-select {
    border: 2px solid var(--medium-grey);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 0.2rem rgba(118, 196, 0, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ===================================
   Hero Section for Subpages
   =================================== */
.hero-section {
    padding: 5rem 0 3rem;
    display: flex;
    align-items: center;
    position: relative;
}

.min-vh-50 {
    min-height: 50vh;
}

/* ===================================
   Booking Page Styles
   =================================== */
.faq-section .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.faq-section .accordion-button {
    background: white;
    color: var(--deep-blue);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--medium-grey);
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--primary-medium);
    color: var(--white);
    border-color: var(--primary-dark);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-medium);
}

.faq-section .accordion-body {
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--medium-grey);
    border-top: none;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: var(--primary-medium);
}

/* ===================================
   Offer Section
   =================================== */
.offer-section {
    background: #e8f4fc;
    border-top: 3px dashed var(--primary-medium);
    border-bottom: 3px dashed var(--primary-medium);
}

/* Offer section buttons - full width on mobile */
@media (max-width: 767.98px) {
    .offer-section .d-flex {
        flex-direction: column !important;
        width: 100%;
    }

    .offer-section .d-flex .btn {
        width: 100%;
    }
}

.discount-badge-modern {
    border: 3px solid var(--primary-medium);
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 3rem 0 2rem;
}

.footer.bg-deep-blue {
    background-color: #26333c !important;
}

.footer a:hover {
    color: var(--white) !important;
}

.social-links a {
    display: inline-block;
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    color: var(--accent) !important;
}

.footer-copyright {
    background-color: var(--primary-dark);
}

/* ===================================
   Scroll to Top Button
   =================================== */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    background-color: var(--accent);
    border-color: var(--accent);
    padding: 0;
    aspect-ratio: 1 / 1;
}

#scrollToTop:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

#scrollToTop.show {
    display: flex;
}

/* ===================================
   Accessibility Improvements
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 3px solid var(--primary-medium);
    outline-offset: 3px;
}

/* ===================================
   Card Layouts - Icon Alignment
   =================================== */
/* Vertically center icons in cards on all screens */
.card-body .d-flex.align-items-start,
.card .d-flex.align-items-start {
    align-items: center !important;
}

/* Reduce bottom margin on card flex containers */
.card-body .d-flex.mb-3 {
    margin-bottom: 0 !important;
}

/* Match icon spacing to card padding (p-4 = 1.5rem) */
.card-body .service-icon.me-3,
.card .service-icon.me-3 {
    margin-right: 1.5rem !important;
}

/* Mobile Card Layouts - Stack Icons Vertically */
@media (max-width: 767.98px) {
    /* Stack horizontal flex cards vertically on mobile */
    .card-body .d-flex.align-items-start,
    .card .d-flex.align-items-start {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    /* Center the icon */
    .card-body .d-flex.align-items-start .service-icon,
    .card .d-flex.align-items-start .service-icon {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
}

/* ===================================
   Responsive Design
   =================================== */

/* Large Desktops (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Tablets and below (992px and down) */
@media (max-width: 991.98px) {
    html {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .services-section,
    .why-us-section,
    .testimonials-section,
    .contact-section {
        padding: 4rem 0;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-collapse {
        background-color: var(--white);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 10px;
    }

    .navbar-default .navbar-collapse {
        background-color: var(--white);
    }

    .navbar-collapse .nav-link {
        color: var(--deep-blue) !important;
        padding: 0.75rem 1rem !important;
    }

    .btn-call {
        margin-top: 1rem;
        width: 100%;
    }

    .navbar-collapse .btn-call {
        border: none;
    }

    /* Mobile dropdown behavior - hide by default, show on click */
    .navbar-collapse .dropdown-menu {
        position: static;
        float: none;
        visibility: visible;
        opacity: 1;
        display: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        background: transparent;
    }

    .navbar-collapse .dropdown-menu.show {
        display: block;
    }

    .navbar-collapse .dropdown-item {
        padding: 0.5rem 1rem 0.5rem 2rem;
        background: transparent;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
    .service-icon i {
        font-size: 2rem;
    }
}

/* Mobile devices (768px and down) */
@media (max-width: 767.98px) {
    html {
        font-size: 16px;
    }

    .display-4 {
        font-size: 2.25rem;
    }

    .display-5 {
        font-size: 1.9rem;
    }

    .display-6 {
        font-size: 1.6rem;
    }

    .hero-jumbotron {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        background-attachment: scroll;
        background-position: left 80%;
    }

    .hero-content {
        padding: 0 1rem;
        margin-top: 0;
    }

    .hero-content h1 {
        margin-bottom: 1rem !important;
    }

    .hero-content .lead {
        margin-bottom: 1.5rem !important;
        width: 95% !important;
    }

    .hero-content .d-flex {
        margin-bottom: 1.5rem !important;
        flex-direction: column !important;
        gap: 0.75rem;
    }

    .hero-content .d-flex .btn {
        width: 100%;
        flex: 1;
    }

    .hero-content > p:last-of-type {
        margin-bottom: 0 !important;
    }

    /* Subpage hero sections - full width buttons on mobile */
    .hero-section .d-flex {
        flex-direction: column !important;
        width: 100%;
    }

    .hero-section .d-flex .btn {
        width: 100%;
    }

    .scroll-indicator {
        bottom: 15px;
    }

    .btn {
        padding: 0.7rem 1.75rem;
    }

    .btn-lg {
        padding: 0.875rem 2rem;
    }

    .service-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .service-icon i {
        font-size: 1.9rem;
    }

    #scrollToTop {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .card {
        margin-bottom: 1.5rem;
    }

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

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

    /* Better spacing for mobile */
    .mb-4 {
        margin-bottom: 1.25rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Subpage hero sections */
    .hero-section {
        padding: 3rem 0 2rem;
        min-height: 300px;
    }

    .min-vh-50 {
        min-height: auto;
    }
}

/* Small mobile devices (576px and down) */
@media (max-width: 575.98px) {
    html {
        font-size: 16px;
    }

    .hero-section {
        padding: 2.5rem 0 2rem;
    }

    .services-section,
    .why-us-section,
    .testimonials-section,
    .contact-section {
        padding: 2.5rem 0;
    }

    .hero-jumbotron {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }

    .hero-content {
        padding: 0 0.75rem;
        margin-top: 10px;
    }

    .hero-content h1 {
        margin-bottom: 0.75rem !important;
        font-size: 2rem !important;
    }

    .hero-content .lead {
        margin-bottom: 1.25rem !important;
        width: 98% !important;
    }

    .hero-content .d-flex {
        margin-bottom: 1.25rem !important;
        flex-direction: column !important;
        gap: 0.75rem;
    }

    .hero-content .d-flex .btn {
        width: 100%;
        flex: 1;
    }

    .hero-content > p:last-of-type {
        margin-bottom: 0 !important;
    }

    /* Subpage hero sections - full width buttons on mobile */
    .hero-section .d-flex {
        flex-direction: column !important;
        width: 100%;
    }

    .hero-section .d-flex .btn {
        width: 100%;
    }

    .scroll-indicator {
        bottom: 10px;
    }

    .display-4 {
        font-size: 1.9rem;
    }

    .display-5 {
        font-size: 1.6rem;
    }

    .display-6 {
        font-size: 1.4rem;
    }

    .cta-section .btn-lg {
        width: auto;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .service-icon i {
        font-size: 1.6rem;
    }

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

    /* Tighter spacing for small mobile */
    .mb-3 {
        margin-bottom: 0.875rem !important;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .py-4 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    /* Better mobile touch targets */
    .nav-link {
        padding: 1rem !important;
        font-size: 1rem;
    }

    .btn-call {
        padding: 0.75rem 1.5rem;
    }

    /* Trust section stacking */
    .trust-section .col-md-4 {
        margin-bottom: 1rem;
    }

    .trust-section .col-md-4:last-child {
        margin-bottom: 0;
    }

    /* Form elements touch friendly */
    .form-control,
    .form-select {
        min-height: 48px;
        font-size: 16px;
    }

    textarea.form-control {
        min-height: 120px;
    }

    /* Booking form cards */
    .service-selector-card {
        padding: 1.25rem !important;
    }

    .info-card {
        padding: 1.25rem !important;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .navbar,
    .footer,
    #scrollToTop,
    .cta-section {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.rounded-20 {
    border-radius: 20px !important;
}
