 :root {
            /* Professional Color Palette */
            --primary-navy: #1a2332;
            --primary-gold: #c9a961;
            --secondary-navy: #2c3e50;
            --light-navy: #34495e;
            --accent-blue: #3498db;
            --success-green: #27ae60;
            
            /* Neutrals */
            --white: #ffffff;
            --off-white: #fafbfc;
            --light-gray: #f8f9fa;
            --medium-gray: #e9ecef;
            --text-gray: #6c757d;
            --border-color: #dee2e6;
            
            /* Shadows */
            --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.08);
            --shadow-md: 0 2px 8px rgba(26, 35, 50, 0.10);
            --shadow-lg: 0 4px 15px rgba(26, 35, 50, 0.12);
        }

        body {
            margin: 0;
            padding: 0;
            font-family: 'Nunito', sans-serif;
            color: var(--primary-navy);
            background: var(--light-gray);
        }

        /* Hero Section - Keeping Original Structure */

        .hero-section {
            position: relative;
            width: 100%;
            height: 25vh; /* Reduced from 30vh */
            min-height: 300px; /* Much smaller than your current min-height */
            max-height: 400px; /* Cap the maximum height */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            overflow: hidden;
            padding-top: 70px; /* Account for fixed nav height */
            box-sizing: border-box;
        }
        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('/images/4.png');
            background-size: cover;
            background-position: center;
            z-index: -1;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 35, 50, 0.75);
            z-index: -1;
        }

        .hero-content {
            z-index: 1;
            color: white;
        }

        .hero-content h1 {
            margin: 0 0 10px 0;
            font-size: 2rem; /* Slightly smaller */
            font-family: 'Merriweather', serif;
            font-weight: 600;
            line-height: 1.2;
        }

        .hero-content p {
            margin: 8px 0 16px;
            font-size: 1rem; /* Slightly smaller */
            font-family: 'Nunito', sans-serif;
            line-height: 1.4;
            opacity: 0.95;
        }

        .breadcrumb {
            background: transparent;
            padding: 0;
            margin: 0;
            justify-content: center;
        }

        .breadcrumb a {
            color: var(--primary-gold);
            text-decoration: none;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        .breadcrumb-item+.breadcrumb-item::before {
            content: ">";
            color: var(--primary-gold);
            padding: 0 5px;
        }

        /* Your existing CSS variables and base styles */
        :root {
            --primary-navy: #1a2332;
            --primary-gold: #c9a961;
            --secondary-navy: #2c3e50;
            --light-navy: #34495e;
            --accent-blue: #3498db;
            --success-green: #27ae60;
            --white: #ffffff;
            --off-white: #fafbfc;
            --light-gray: #f8f9fa;
            --medium-gray: #e9ecef;
            --text-gray: #6c757d;
            --border-color: #dee2e6;
            --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.08);
            --shadow-md: 0 2px 8px rgba(26, 35, 50, 0.10);
            --shadow-lg: 0 4px 15px rgba(26, 35, 50, 0.12);
        }

        body {
            margin: 0;
            padding: 0;
            font-family: 'Nunito', sans-serif;
            color: var(--primary-navy);
            background: var(--light-gray);
        }

        .nav-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 2px 4%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: transparent;
            z-index: 999;
            box-sizing: border-box;
            transition: all 0.3s ease-in-out;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            height:70px;
        }

        .nav-menu.scrolled {
            background: white;
            color: black;
            box-shadow: var(--shadow-sm);
            border-bottom: 1px solid var(--border-color);
        }

        .nav-menu.scrolled .nav-links a {
            color: black;
        }

        /* LOGO STYLING - Like Home.php */
        .logo {
            display: flex;
            align-items: center;
            justify-content: start;
            padding: 10px 0;
        }

        .logo img {
            max-width: 100%;
            height: auto;
            width: 140px;
            transition: all 0.3s ease;
        }

        /* NAVIGATION LINKS - Enhanced like Home.php */
        .nav-links {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            align-items: center;
        }

        .nav-links a {
            color: #f5f5f5;
            text-decoration: none;
            font-size: 1.1rem;
            transition: color 0.3s;
            position: relative;
            overflow: hidden;
            font-weight: 500;
            padding: 5px 15px;
            margin: 0 5px;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover::before {
            width: 100%;
        }

        .nav-links a:hover {
            color: var(--primary-gold);
            transform: translateY(-2px);
            text-decoration: none;
        }

        .nav-menu.scrolled .nav-links a:hover {
            color: var(--primary-gold);
        }

        /* LANGUAGE DROPDOWN - From Home.php */
        .language-dropdown {
            position: relative;
            display: inline-block;
        }

        .language-toggle {
            display: flex !important;
            align-items: center;
            gap: 8px;
            position: relative;
            transition: all 0.3s ease;
            color: #f5f5f5;
            text-decoration: none;
            padding: 5px 15px;
        }

        .nav-menu.scrolled .language-toggle {
            color: black;
        }

        .language-toggle img {
            width: 16px;
            height: 12px;
            border-radius: 2px;
        }

        .language-toggle i {
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }

        .language-dropdown:hover .language-toggle i {
            transform: rotate(180deg);
        }

        .language-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            min-width: 140px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
            border: 1px solid #e8eaed;
        }

        .language-dropdown:hover .language-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .language-menu a {
            display: flex !important;
            align-items: center;
            gap: 8px;
            padding: 10px 15px !important;
            color: #333 !important;
            text-decoration: none;
            font-size: 0.9rem !important;
            transition: all 0.3s ease;
            border-radius: 6px;
            margin: 4px;
        }

        .language-menu a:hover {
            background: #f8f9fa;
            color: var(--primary-gold) !important;
            transform: translateX(3px);
        }

        .language-menu img {
            width: 16px;
            height: 12px;
            border-radius: 2px;
        }

        /* HAMBURGER MENU */
        .hamburger {
            display: none;
        }

        .ham8 .line {
            stroke: white;
        }

        .nav-menu.scrolled .ham8 .line {
            stroke: black;
        }

        /* Hamburger animations */
        .ham8 .top {
            stroke-dasharray: 40 160;
        }
        .ham8 .middle {
            stroke-dasharray: 40 142;
            transform-origin: 50%;
            transition: transform 400ms;
        }
        .ham8 .bottom {
            stroke-dasharray: 40 85;
            transform-origin: 50%;
            transition: transform 400ms, stroke-dashoffset 400ms;
        }
        .ham8.active .top {
            stroke-dashoffset: -64px;
        }
        .ham8.active .middle {
            transform: rotate(90deg);
        }
        .ham8.active .bottom {
            stroke-dashoffset: -64px;
        }
        .hamRotate.active {
            transform: rotate(45deg);
        }
        .ham {
            -webkit-tap-highlight-color: transparent;
            transition: transform 400ms;
            -moz-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
        .line {
            fill:none;
            transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
            stroke:#000;
            stroke-width:2;
            stroke-linecap:round;
        }

        /* MOBILE RESPONSIVE */
        @media (max-width: 768px) {
            .nav-menu {
                padding: 5px 4%;
                height: 60px;
            }
            .nav-links {
                display: none;
                flex-direction: column;
                background: white;
                color: black;
                position: absolute;
                top: 70px;
                right: 0;
                padding: 20px;
                border-radius: 0 0 10px 10px;
                width: 100%;
                box-sizing: border-box;
                box-shadow: var(--shadow-md);
            }

            .nav-links a {
                color: black !important;
                padding: 12px 0;
                text-align: center;
                display: block;
            }

            .nav-links.active {
                display: flex;
            }

            .hamburger {
                display: flex;
                cursor: pointer;
            }

            /* Language dropdown mobile styles */
            .language-dropdown {
                width: 100%;
                border-bottom: 1px solid #eee;
                padding-bottom: 10px;
                margin-bottom: 10px;
            }
            
            .language-toggle {
                justify-content: center;
                padding: 10px 0;
                color: black !important;
            }
            
            .language-menu {
                position: static;
                background: #f8f9fa;
                border: none;
                border-radius: 6px;
                margin-top: 10px;
                width: 100%;
                opacity: 0;
                visibility: hidden;
                max-height: 0;
                overflow: hidden;
                transform: none;
                transition: all 0.3s ease;
                box-shadow: none;
            }
            
            .language-dropdown.mobile-open .language-menu {
                opacity: 1 !important;
                visibility: visible !important;
                /* max-height: 200px !important; */
            }
            
            .language-menu a {
                color: black !important;
                margin: 0;
                justify-content: center;
                padding: 8px 15px !important;
            }
            
            .language-menu a:hover {
                background: white;
            }
        }

        .second-section {
            width: 90%;
            margin: -50px auto 40px; /* Reduced negative margin, added bottom margin */
            background-color: var(--white);
            color: var(--primary-navy);
            z-index: 10;
            box-shadow: var(--shadow-lg);
            border-radius: 12px;
            padding: 20px; /* Reduced padding */
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }

        .second-section h2 {
            font-family: 'Merriweather', serif;
            font-size: 1.4rem; /* Slightly smaller */
            color: var(--primary-navy);
            margin-bottom: 6px;
        }

        .second-section p {
            font-family: 'Nunito', sans-serif;
            font-size: 0.9rem;
            line-height: 1.4;
            text-align: center;
            color: var(--text-gray);
            margin-bottom: 20px; /* Reduced margin */
        }

        /* Improved Stepper */
        .stepper {
            display: flex;
            justify-content: space-between;
            width: 80%;
            max-width: 800px;
            margin: 0 auto 20px;
            position: relative;
        }

        .step {
            flex: 1;
            height: 50px;
            padding: 10px;
            font-size: 0.8rem;
            text-align: center;
            font-family: 'Nunito', sans-serif;
            color: var(--text-gray);
            position: relative;
            background: var(--medium-gray);
            margin-right: -18px;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .step:first-child {
            clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
            border-radius: 8px 0 0 8px;
        }

        .step:not(:first-child):not(:last-child) {
            clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%);
        }

        .step:last-child {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10% 50%);
            border-radius: 0 8px 8px 0;
        }

        .step:hover {
            background: var(--primary-gold);
            color: white;
            transform: translateY(-1px);
        }

        .step.active {
            background: var(--primary-navy);
            color: white;
            font-weight: 600;
        }





                /* Footer - Keeping Original */
        .arian-footer {
            font-size: 14px;
            background: #222831;
            padding: 4em 0 2.5em 0;
            font-family: 'Poppins', sans-serif;
            margin-top: 40px;
        }

        .arian-footer .logo {
            font-size: 28px !important;
            text-transform: uppercase;
            font-weight: 700 !important;
            line-height: 1;
        }

        .arian-footer .logo a {
            color: #fff;
        }

        .arian-footer .logo a span {
            color: #008be2;
            font-size: 14px !important;
            display: block;
        }

        .arian-footer .arian-footer-widget h2 {
            font-weight: 600;
            color: #fff;
            margin-bottom: 32px;
            font-size: 1.1rem;
        }

        .arian-footer .arian-footer-widget ul li a {
            color: #fff;
            font-size: 0.9rem;
        }

        .arian-footer .arian-footer-widget ul li a span {
            color: #fff;
        }

        .arian-footer .arian-footer-widget ul li a:hover {
            color: #008be2;
        }

        .arian-footer .arian-footer-widget ul li a:hover span {
            color: #008be2;
        }

        .arian-footer .arian-footer-widget .btn-primary {
            background: #fff !important;
            border: 2px solid #fff !important;
        }

        .arian-footer .arian-footer-widget .btn-primary:hover {
            background: #fff;
            border: 2px solid #fff !important;
        }

        .arian-footer p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
        }

        .arian-footer a {
            color: rgba(255, 255, 255, 0.7);
        }

        .arian-footer a:hover {
            color: #fff;
        }

        .arian-footer .arian-heading-2 {
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            position: relative;
        }

        .arian-footer .opening-hours h4 {
            color: #008be2;
            font-size: 0.9rem;
        }

        .arian-footer .opening-hours p span {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.85rem;
        }

        .arian-footer-social li {
            list-style: none;
            margin: 0 8px 0 0;
            display: inline-block;
        }

        .arian-footer-social li a {
            height: 42px;
            width: 42px;
            display: block;
            float: left;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            position: relative;
        }

        .arian-footer-social li a span {
            position: absolute;
            font-size: 18px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .arian-footer-social li a:hover {
            color: #fff;
        }

        /* Smooth Scrolling */
        html {
            scroll-behavior: smooth;
        }
        @media (max-width: 1024px) {
            .three-parts {
                flex-direction: column;
                margin-top: 15px;
            }

            .part {
                border-right: none;
                border-bottom: 1px solid var(--border-color);
                min-height: auto;
            }

            .part:last-child {
                border-bottom: none;
            }

            /* More compact appointment cards for tablet */
            .appointment-type-card {
                padding: 10px 12px;
            }

            .appointment-icon {
                width: 28px;
                height: 28px;
                font-size: 0.8rem;
            }

            .appointment-title {
                font-size: 0.85rem;
            }

            .appointment-meta-compact {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                height: 30vh;
                min-height: 250px;
                max-height: 300px;
                padding-top: 60px; /* Account for smaller mobile nav */
            }

            .hero-content h1 {
                font-size: 1.6rem;
            }

            .hero-content p {
                font-size: 0.9rem;
            }

            .second-section h2 {
                font-size: 1.2rem;
            }

            .stepper {
                width: 95%; /* Slightly reduce width for better spacing */
                margin: 0 auto 15px; /* Center with auto margins */
                padding: 0 10px; /* Add padding for breathing room */
                box-sizing: border-box;
            }

            .step {
                font-size: 0.7rem;
                padding: 8px 6px; /* Balanced padding */
                height: 35px;
                margin-right: -15px; /* Slightly less overlap for mobile */
            }

            .step:first-child {
                clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
                margin-left: 0; /* Ensure no left margin */
            }

            .step:not(:first-child):not(:last-child) {
                clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%, 15% 50%);
            }

            .step:last-child {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 15% 50%);
                margin-right: 0; /* Remove right margin on last item */
            }
            .second-section{
                width: 100%;
            }
            .section-content,
            .calendar-container,
            .hours-container {
                padding: 0;
            }
            .container-cal{
                margin: 0;
            }
            .three-parts {
                flex-direction: column;
                margin-top: 10px;
                min-height: auto;
            }

            /* Extra compact appointment cards for mobile */
            .appointment-types {
                padding: 12px;
                gap: 6px;
                max-height: 70vh;
                overflow-y: auto;
            }

            .appointment-type-card {
                padding: 8px 10px;
                border-radius: 6px;
            }

            .appointment-header {
                margin-bottom: 6px;
            }

            .appointment-icon-wrapper {
                gap: 8px;
            }

            .appointment-icon {
                width: 24px;
                height: 24px;
                font-size: 0.75rem;
                border-radius: 4px;
            }

            .appointment-title {
                font-size: 0.8rem;
                line-height: 1.2;
            }

            .appointment-arrow {
                font-size: 0.7rem;
            }

            .appointment-meta-compact {
                font-size: 0.7rem;
                padding-top: 6px;
            }

            .meta-duration i,
            .meta-price i {
                font-size: 0.65rem;
            }

            .selected-indicator {
                top: 4px;
                right: 4px;
                padding: 1px 4px;
                font-size: 0.6rem;
                border-radius: 6px;
            }

            #hours-section .available-hours {
                grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
                gap: 6px;
            }

            .hour-slot {
                padding: 8px 4px;
                font-size: 0.75rem;
            }

            .btn-rdv-submit {
                padding: 12px 16px;
                font-size: 0.85rem;
            }

            .btn-rdv-sect {
                padding: 0 14px 14px 14px;
            }
        }

        /* Extra small devices */
        @media (max-width: 480px) {
        .stepper {
            width: 98%; /* Almost full width but with tiny margins */
            padding: 0 5px; /* Minimal padding */
        }

        .step {
            font-size: 0.65rem;
            padding: 6px 4px;
            height: 32px;
            margin-right: -12px; /* Less overlap for very small screens */
        }

        /* More conservative clip-paths for tiny screens */
        .step:first-child {
            clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
        }

        .step:not(:first-child):not(:last-child) {
            clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%, 12% 50%);
        }

        .step:last-child {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12% 50%);
        }
            .appointment-types {
                max-height: 65vh;
            }

            .appointment-type-card {
                padding: 6px 8px;
            }

            .appointment-icon {
                width: 22px;
                height: 22px;
                font-size: 0.7rem;
            }

            .appointment-title {
                font-size: 0.75rem;
            }

            .appointment-meta-compact {
                font-size: 0.65rem;
            }
        }
        /* ——— Shrink vertical padding/margins everywhere ——— */
.second-section {
  padding: 16px;            /* was 24px */
  margin-top: -2vh;         /* less negative so it sits higher */
}

.stepper {
  margin-bottom: 16px;      /* was 24px */
}
