/*CSS - Handy Daniel Services*/

/* Root Variables - Start */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #667eea 20%, #764ba2 80%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 30%, #1e3c72 80%);
    --gradient-dark: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --feedback-success: #10b981;
    --feedback-error: #ef4444;
    --feedback-warning: #f59e0b;
    --feedback-info: #3b82f6;
}

/*Reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    will-change: scroll-position;
}

/* Font Loading */
.fonts-loaded body,
.fonts-loaded h1,
.fonts-loaded h2,
.fonts-loaded h3,
.fonts-loaded .hero-title,
.fonts-loaded .hero-subtitle,
.fonts-loaded .section-title {
    font-family: 'Poppins', system-ui, sans-serif;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* Interactive Feedback */
.interactive-feedback::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.interactive-feedback.clicked::after {
    width: 200px;
    height: 200px;
}

/* Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    will-change: transform, box-shadow;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.btn.btn-loading {
    pointer-events: none;
    position: relative;
}

.btn.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: btn-spinner 0.8s linear infinite;
}

@keyframes btn-spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-primary {
    background: var(--gradient-secondary);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    color: white;
}

.btn-outline-light {
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Link Feedback */
a:not(.btn) {
    position: relative;
    transition: color 0.3s ease;
}

a:not(.btn):hover {
    color: var(--primary-color);
}

a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

a:not(.btn):hover::after {
    width: 100%;
}

/* Footer Link Styles */
.footer-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover {
    color: #fbbf24; /* Lighter amber for hover */
    text-decoration: underline;
}

.footer .row h6 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Modern Header Styles */
.modern-header {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1000;
}

.modern-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.modern-header .container {
    position: relative;
    z-index: 2;
}

.top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tagline-wrapper {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tagline-text {
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.contact-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.social-location {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn,
.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-btn:hover,
.location-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: scale(1.05);
}

.social-btn i,
.location-btn i {
    font-size: 1.1rem;
}

/* Navigation Styles */
.navbar {
    background: var(--gradient-primary) !important;
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 900;
}

.navbar.sticky-top {
    backdrop-filter: blur(10px);
    background: rgba(37, 99, 235, 0.95) !important;
}

.navbar.sticky-top.scrolled {
    background: var(--primary-dark) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section & Carousel */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
    will-change: scroll-position;
    contain: layout style paint;
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: opacity;
    contain: layout style paint;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(37, 99, 235, 0.6));
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--light-color);
    padding: 2rem 15px;
    max-width: 1000px;
    margin: 0 auto;
    transform: translateZ(0);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    contain: layout;
}

.hero-section .hero-slider .slide .slide-content .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--light-color) !important;
    font-family: 'Poppins', system-ui, sans-serif;
}

.hero-section .hero-slider .slide .slide-content .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--light-color) !important;
    font-family: 'Poppins', system-ui, sans-serif;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Carousel Buttons */
.carousel-fixed-buttons {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    contain: layout;
}

.custom-carousel-btn {
    width: 280px;
    height: 65px;
    font-size: 1.1rem;
    margin: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    will-change: transform;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    will-change: transform;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 0;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator::after {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

.indicator:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Pulse Animation */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.pulse-feedback {
    animation: pulse-glow 2s infinite;
}
/* Pulse Animation - End */

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Modern Cookie Consent Banner */
.modern-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 450px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    color: var(--dark-color);
    font-family: 'Poppins', system-ui, sans-serif;
    display: none;
}

.modern-cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: flex;
}

.modern-cookie-banner .cookie-content p {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.modern-cookie-banner .cookie-content .privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.modern-cookie-banner .cookie-content .privacy-link:hover {
    color: var(--primary-dark);
}

.cookie-settings-panel {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    position: relative;
    z-index: 10001;
    width: 100%;
}

.modern-cookie-banner .cookie-settings-panel.show {
    display: block !important;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-info {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-info label {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-left: 40px;
}

.category-info input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 48px;
    height: 28px;
    background: #e2e8f0;
    transition: 0.3s;
    border-radius: 28px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked + .switch-slider {
    background: var(--primary-color);
}

input:checked + .switch-slider:before {
    transform: translateX(20px);
}

input:disabled + .switch-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.category-info h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.category-info p {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.settings-actions {
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
}

.btn-save-preferences {
    width: 100%;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-save-preferences:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-cookie-reject {
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-width: 120px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-cookie-reject:hover {
    background: rgba(239, 68, 68, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.btn-cookie-settings {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.btn-cookie-settings:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-cookie-accept {
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 767.98px)
    {

    .modern-cookie-banner {         
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .cookie-content {
        padding: 20px;
        gap: 14px;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .btn-cookie-settings,
    .btn-cookie-accept,
    .btn-cookie-reject {
        flex: none;
        width: 100%;
    }

    .category-info label {
        padding-left: 56px;
    }

    .switch-slider {
        width: 48px;
    }
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    will-change: transform;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--light-color);
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-info-card h3 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.contact-info-card .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.contact-info-card .contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-info-card .contact-item div {
    flex: 1;
}

.contact-info-card .contact-item strong {
    color: var(--dark-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-info-card .contact-item p {
    margin: 0;
    color: var(--secondary-color);
}

.contact-info-card .contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-card .contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1000;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;

  color: var(--light-color);
  font-size: 1.2rem;
  text-decoration: none;

  transition: var(--transition);
}

.social-icon-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hover-accent:hover {
    color: var(--accent-color) !important;
}

.social-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-color);
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; /* Added background to transition */
}

.social-icon-wrapper:hover {
    background: linear-gradient(135deg, #764ba2 20%, #667eea 80%); /* Swapped gradient for a subtle color shift */
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    z-index: 1000;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section .text-white {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-color, #2563eb);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Skip Link */
.skip-link {
    position: fixed;
    top: -100px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Keyboard Navigation */
/* Adds focus outlines for better accessibility during keyboard navigation. */
.keyboard-navigation :focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Before/After Slider */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    contain: layout style paint;
    z-index: 1;
    background: var(--light-color);
    user-select: none;
}

.before-after-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block !important;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.before-image {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.after-image {
    z-index: 1;
    clip-path: inset(0 0 0 50%);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    cursor: ew-resize;
    z-index: 3;
    transition: background var(--transition);
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--box-shadow);
}

.slider-handle:hover,
.slider-handle.active {
    background: var(--primary-dark);
}

.slider-handle:hover::before,
.slider-handle.active::before {
    background: var(--primary-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-color);
    font-weight: 600;
    border-radius: var(--border-radius);
    z-index: 4;
    user-select: none;
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

/* Testimonial Styles */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.stars {
    color: var(--warning-color);
}

/* Responsiveness */

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .contact-info,
    .social-location {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .carousel-fixed-buttons {
        bottom: 100px;
    }

    .custom-carousel-btn {
        width: 250px;
        font-size: 1rem;
        height: 60px;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-overview,
    .contact-section {
        padding: 60px 0;
    }

    .service-card,
    .contact-info-card,
    .contact-form {
        padding: 2rem;
    }

    .modern-header .main-header-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .modern-cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .cookie-content {
        padding: 20px;
        gap: 14px;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .btn-cookie-settings,
    .btn-cookie-accept {
        flex: none;
        width: 100%;
    }

    .slider-nav {
        top: 40%;
        transform: translateY(-50%);
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .custom-carousel-btn {
        width: 220px;
        font-size: 0.9rem;
        height: 55px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .carousel-fixed-buttons {
        flex-direction: column;
        gap: 0.5rem;
        height: auto;
        bottom: 60px;
    }

    .tagline-text {
        font-size: 0.9rem;
    }

    .contact-item,
    .social-btn,
    .location-btn {
        font-size: 0.8rem;
    }

    .slider-nav {
        top: 35%;
        transform: translateY(-50%);
    }

    .social-icon-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

.service-features {
            list-style: none;
            padding: 0;
            margin-top: 1rem;
        }
        
        .service-features li {
            padding: 0.25rem 0;
            color: var(--secondary-color);
            font-size: 0.9rem;
        }
        
        .service-features li:before {
            content: "•";
            color: var(--primary-color);
            font-weight: bold;
            margin-right: 0.5rem;
        }
        
        .process-step {
            text-align: center;
            padding: 2rem;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            height: 100%;
        }
        
        .process-step:hover {
            transform: translateY(-5px);
            box-shadow: var(--box-shadow-hover);
        }
        
        .process-number {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 auto 1rem;
        }
        
        .service-highlights ul {
            margin-bottom: 0;
        }

        .modern-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 2.5rem 1.5rem;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.benefit-icon-container {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary); /* Uses a variable from your stylesheet */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: var(--light-color);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon-wrapper {
    width: 48px;
    height: 48px;
    background:linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-color);
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.social-icon-wrapper:hover {
    background: var(--gradient-modern-cool);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* tips-section */
.tips-section .list-unstyled li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.tips-section .list-unstyled li::before {
    content: "\f26a";
    font-family: "bootstrap-icons";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--bs-primary);
}

.about-tagline {
    color: #212529;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.5;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}
.thank-you-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    max-width: 500px;
    width: 90%;
}
.popup-content {
    text-align: center;
}
.close-popup-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}
.close-popup-btn:hover {
    background: #0056b3;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* Fallback for older browsers */
    @supports not (object-fit: cover) {
        width: 100%;
        height: auto;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
}


/* === Lighter CTA hover/focus variant === */
.hero__cta{
  transition: box-shadow .25s ease, transform .25s ease, background-color .25s ease, color .2s;
}
.hero__cta:hover,
.hero__cta:focus-visible{
  /* lighter blue gradient on hover for a brighter feel */
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
  color: #0b1220; /* dark text for strong contrast on light blue */
  text-shadow: none;
  box-shadow: 0 12px 28px rgba(96,165,250,.45);
  transform: translateY(-1px);
  outline: none;
}
.hero__cta:focus-visible{
  /* accessible focus ring on light hover */
  box-shadow:
    0 0 0 3px rgba(147,197,253,.85),
    0 10px 26px rgba(96,165,250,.45);
}



/* ===== HERO (fast, CSS-only, cross-fade) ===== */
:root{ --hero-max:92svh; --brand:#2563eb; --ink:#0b1220; }

.hero{
  position: relative;
  min-height: clamp(56svh, 70svh, var(--hero-max));
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: clip;
  contain: layout paint;
  background: #0a0f1a;
}

/* media stack sits under content */
.hero__media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__content{ position: relative; z-index: 1; }

/* base LCP image fills the frame */
.hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* layers overlay absolutely and cross-fade */
.hero__layer{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity, transform;
}
.layer2{ animation: cross 18s ease-in-out 4s infinite; }
.layer3{ animation: cross 18s ease-in-out 13s infinite; }

@keyframes cross{
  0%,12%{ opacity:0; transform: scale(1.01) }
  22%,48%{ opacity:1; transform: scale(1) }
  58%,100%{ opacity:0; transform: scale(1.01) }
}

/* overlay for readability */
.hero__scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35) 40%, rgba(0,0,0,.55));
}

/* content */
.hero__content{
  text-align: center;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  max-width: 68rem;
}
.hero__title{
  font: 700 clamp(1.6rem, 4.5vw, 3.2rem)/1.1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  letter-spacing: .2px;
  text-wrap: balance;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}
.hero__sub{
  margin: .75rem auto 1.5rem;
  font: 500 clamp(.95rem, 2.3vw, 1.2rem)/1.35 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  opacity: .94;
}

/* CTA (light hover) */
.hero__cta{
  display: inline-block;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: 700 1rem/1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37,99,235,.28);
  transition: box-shadow .25s ease, transform .25s ease, background-color .25s ease, color .2s;
}
.hero__cta:hover,
.hero__cta:focus-visible{
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
  color: var(--ink);
  text-shadow: none;
  box-shadow: 0 12px 28px rgba(96,165,250,.45);
  transform: translateY(-1px);
  outline: none;
}
.hero__cta:focus-visible{
  box-shadow: 0 0 0 3px rgba(147,197,253,.85), 0 10px 26px rgba(96,165,250,.45);
}

/* park secondary art without affecting layout metrics */
.hero-preload.bucket{
  position: absolute; inset: auto auto 0 0;
  width: 1px; height: 1px; overflow: hidden;
  content-visibility: auto;
  contain: content;
}

@media (prefers-reduced-motion: reduce){
  .hero__layer{ animation: none !important; opacity: 0 !important; }
}

.brand-logo-container.mb-4 {
    background-color: rgba(96,165,250,.45);
    /* You can use !important here too, but try without it first */
}