/*
 * Kancelaria Adwokacka Nobilis - Custom Styles
 * Colors: Brown/Beige theme
 * Primary: #8B7355 (warm brown)
 * Secondary: #D4C4B0 (light beige)
 * Background: #F5F0EB (cream)
 * Dark: #1a1a1a (text)
 * Accent: #6B5344 (dark brown)
 */

:root {
    --primary-color: #8B7355;
    --primary-dark: #6B5344;
    --primary-light: #A68B6A;
    --secondary-color: #D4C4B0;
    --background-light: #F5F0EB;
    --background-white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-gray: #5a5a5a;
    --text-light: #888888;
    --border-color: #e0d6cc;
    --shadow-light: rgba(139, 115, 85, 0.1);
    --shadow-medium: rgba(139, 115, 85, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

.section-padding {
    padding: 100px 0;
}

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

/* ==========================================
   Cookie Consent Banner
========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: 0 -4px 20px var(--shadow-medium);
    z-index: 99999;
    padding: 20px 0;
    border-top: 3px solid var(--primary-color);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.cookie-text i {
    font-size: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-gray);
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.cookie-btn-primary:hover {
    background: var(--primary-dark);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.cookie-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* ==========================================
   Header
========================================== */
.header-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: transparent;
    transition: var(--transition);
}

.header-area.sticky {
    position: fixed;
    background: rgba(26, 26, 26, 0.85);
    box-shadow: 0 2px 20px var(--shadow-light);
    padding: 10px 0;
    animation: slideDown 0.3s ease;
}

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

.header-logo img {
    max-height: 124px;
    height: 96px;
    min-height: 60px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.sticky .header-logo img {
    max-height: 96px;
    height: 83px;
    min-height: 54px;
    filter: none;
}

.header-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.header-menu ul li a {
    font-size: 13px;
    font-weight: 600;
    color: var(--background-white);
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.sticky .header-menu ul li a {
    color: var(--background-white);
}

.header-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.header-menu ul li a:hover::after,
.header-menu ul li a.active::after {
    width: 100%;
}

.header-menu ul li a:hover {
    color: var(--secondary-color);
}

.sticky .header-menu ul li a:hover {
    color: var(--secondary-color);
}

.header-contact {
    text-align: right;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--background-white);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid var(--background-white);
    border-radius: 4px;
}

.sticky .header-phone {
    color: var(--background-white);
    border-color: var(--background-white);
}

.header-phone:hover {
    background: var(--background-white);
    color: var(--primary-dark);
}

.sticky .header-phone:hover {
    background: var(--primary-dark);
    color: var(--background-white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--background-white);
    cursor: pointer;
    padding: 10px;
    z-index: 100;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-left: auto;
}

.sticky .mobile-menu-toggle {
    color: var(--background-white);
}

/* ==========================================
   Mobile Menu
========================================== */
.mobile-menu-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.mobile-menu-area.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--background-white);
    padding: 30px;
    transition: var(--transition);
    overflow-y: auto;
    z-index: 10;
}

.mobile-menu-area.active .mobile-menu {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 20;
    padding: 10px;
}

.mobile-nav {
    margin-top: 50px;
}

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

.mobile-nav ul li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
}

.mobile-nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-contact {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 14px;
}

.mobile-contact a:hover {
    color: var(--primary-color);
}

/* ==========================================
   Hero Section
========================================== */
.hero-area {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/images/hero/hero-bg-3840.webp');
    /*background: linear-gradient(135deg, #3d3d3d 0%, #1a1a1a 100%);*/
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 1920px) {
    .hero-area {
        background-image: url('assets/images/hero/hero-bg-1920.webp');
    }
}

@media (max-width: 1200px) {
    .hero-area {
        background-image: url('assets/images/hero/hero-bg-1200.webp');
    }
}

@media (max-width: 768px) {
    .hero-area {
        background-image: url('assets/images/hero/hero-bg-768.webp');
    }
}

@media (max-width: 480px) {
    .hero-area {
        background-image: url('assets/images/hero/hero-bg-480.webp');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(107, 83, 68, 0.7) 100%);
}

.hero-area .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    background: rgba(26, 26, 26, 0.5);
    padding: 40px;
    border-radius: 12px;
    /*backdrop-filter: blur(10px);*/
    /*-webkit-backdrop-filter: blur(10px);*/
    margin-top: 80px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-left: 60px;
    position: relative;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45px;
    height: 2px;
    background: var(--primary-color);
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--background-white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-contact-info {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-contact-item span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-contact-item a {
    color: var(--background-white);
    font-size: 18px;
    font-weight: 600;
}

.hero-contact-item a:hover {
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--background-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

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

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: transparent;
    color: var(--background-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: var(--background-white);
    font-size: 20px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* ==========================================
   Section Titles
========================================== */
.section-title {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.title-separator {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 25px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 17px;
}

/* ==========================================
   About Section
========================================== */
.about-content h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.about-content .lead {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.about-feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Specializations Grid */
.specializations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-card {
    background: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 30px var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    margin-bottom: 20px;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-medium);
}

.spec-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: 50%;
    transition: var(--transition);
}

.spec-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.spec-card:hover .spec-icon {
    background: var(--primary-color);
}

.spec-card:hover .spec-icon i {
    color: var(--background-white);
}

.spec-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.spec-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* ==========================================
   Services Section
========================================== */
.service-card {
    background: var(--background-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 30px var(--shadow-light);
    transition: var(--transition);
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: 50%;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
}

.service-card:hover .service-icon i {
    color: var(--background-white);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 15px;
}

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

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: var(--primary-color);
    font-size: 16px;
}

/* CTA Box */
.cta-box {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 8px;
    color: var(--background-white);
}

.cta-box h4 {
    color: var(--background-white);
    font-size: 26px;
    margin-bottom: 10px;
}

.cta-box p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-box .btn-primary-custom {
    background: var(--background-white);
    color: var(--primary-color);
    border-color: var(--background-white);
}

.cta-box .btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--background-white);
    border-color: var(--primary-dark);
}

/* ==========================================
   Business Section
========================================== */
.business-area {
    background: var(--background-white);
}

.business-card {
    background: var(--background-light);
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition);
    margin-bottom: 30px;
    border: 1px solid transparent;
}

.business-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--shadow-light);
}

.business-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 8px;
    margin-bottom: 25px;
}

.business-icon i {
    font-size: 28px;
    color: var(--background-white);
}

.business-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.business-card > p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 15px;
}

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

.business-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: var(--text-gray);
    font-size: 14px;
}

.business-list li i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Business CTA */
.business-cta {
    background: var(--background-light);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.business-cta h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.business-cta p {
    color: var(--text-gray);
    margin-bottom: 0;
}

/* ==========================================
   Contact Section
========================================== */
.contact-info-card {
    background: var(--background-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 30px var(--shadow-light);
    margin-bottom: 30px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-medium);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
}

.contact-info-icon i {
    font-size: 32px;
    color: var(--background-white);
}

.contact-info-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: var(--text-gray);
    margin-bottom: 5px;
    line-height: 1.8;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}

.contact-link:hover {
    color: var(--primary-dark);
}

.contact-hours {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.contact-hours small {
    color: var(--text-light);
}

/* Map */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--shadow-light);
}

.map-placeholder {
    height: 450px;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-content {
    text-align: center;
    padding: 40px;
}

.map-placeholder-content i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.map-placeholder-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.map-frame iframe {
    display: block;
}

/* ==========================================
   Footer
========================================== */
.footer-area {
    background: var(--text-dark);
    padding: 80px 0 0;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 60px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-widget h5 {
    color: var(--background-white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-menu li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* ==========================================
   Scroll to Top
========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
}

#scroll-top-btn {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: var(--background-white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px var(--shadow-medium);
}

#scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================
   Responsive Styles
========================================== */
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 44px;
    }

    .section-title h2 {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-area {
        padding-top: 140px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .specializations-grid {
        margin-top: 50px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .about-content h3 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    /* Mobile header - fixed position to prevent overlap issues */
    .header-area {
        padding: 15px 0;
        background: rgba(26, 26, 26, 0.95);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .header-area .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-area .mobile-logo-col {
        padding-left: 8px;
    }

    .header-logo {
        display: inline-block;
    }

    .header-logo img {
        max-height: 100px;
        height: 90px;
        min-height: 80px;
        width: auto;
    }

    .sticky .header-logo img {
        max-height: 90px;
        height: 80px;
        min-height: 70px;
        filter: none;
    }

    .sticky.header-area {
        background: rgba(26, 26, 26, 0.95);
        padding: 8px 0;
    }

    /* Hero section - proper spacing for fixed header */
    .hero-area {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
        padding-top: 130px; /* Space for fixed header with larger logo */
        padding-bottom: 40px;
        margin-top: 0;
        background-attachment: scroll; /* Fix for iOS - fixed attachment causes issues */
    }

    .hero-content {
        padding: 25px;
        margin-top: 20px;
        background: rgba(26, 26, 26, 0.5);
    }

    /* Ensure hero row takes proper height */
    .hero-area .row.min-vh-100 {
        min-height: calc(100vh - 130px);
        min-height: calc(100dvh - 130px);
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 12px;
        padding-left: 40px;
    }

    .hero-subtitle::before {
        width: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-description {
        font-size: 15px;
    }

    .specializations-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .service-card,
    .business-card {
        padding: 30px 20px;
    }

    .business-cta {
        text-align: center;
    }

    .business-cta .btn-primary-custom {
        margin-top: 20px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
        align-items: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-contact-item {
        flex-direction: column;
        text-align: center;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 25px;
        font-size: 14px;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .cta-box h4 {
        font-size: 22px;
    }

    .contact-info-card {
        padding: 30px 20px;
    }
}

/* Extra small devices - ensure consistent behavior */
@media (max-width: 479px) {
    .header-area {
        padding: 12px 0;
    }

    .header-logo img {
        max-height: 85px;
        height: 75px;
        min-height: 65px;
    }

    .hero-area {
        padding-top: 110px;
        padding-bottom: 30px;
    }

    .hero-content {
        padding: 20px 15px;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 11px;
        padding-left: 35px;
    }

    .hero-subtitle::before {
        width: 25px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .hero-contact-info {
        margin-bottom: 25px;
    }
}

