/* ============================================
   ASL Construction - Styles Principaux
   Version Premium - Optimisé pour le référencement et l'expérience utilisateur
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
    /* Couleurs principales */
    --primary: #1a3a5f;
    --primary-dark: #0d2a4f;
    --primary-light: #2a4a6f;
    --secondary: #0d6efd;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    
    /* Typographie */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Espacements */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    
    /* Ombres */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --box-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* Taille max */
    --max-width: 1200px;
    --gutter: 1rem;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: 1rem;
    color: #555;
}

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

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

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

section {
    padding: 4rem 0;
}

@media (max-width: 767.98px) {
    section {
        padding: 3rem 0;
    }
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

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

.navbar-nav {
    margin-top: 0.5rem;
}

@media (min-width: 992px) {
    .navbar-nav {
        margin-top: 0;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    position: relative;
    color: var(--dark);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Mobile menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1rem;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        border-radius: var(--border-radius-sm);
    }
    
    .navbar-nav .nav-link:hover {
        background: var(--light);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: clamp(3rem, 10vw, 6rem) 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

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

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: fadeInDown 0.6s ease;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    opacity: 0.95;
    margin-bottom: 1.5rem;
    font-weight: 400;
    animation: fadeInDown 0.6s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInDown 0.6s ease 0.4s both;
}

.hero-image-container {
    position: relative;
    animation: fadeInRight 0.6s ease 0.2s both;
}

.hero-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,30.8,62.32,60.67,93.63C652.34,112.55,685.4,107.44,729,97.73c43.73-9.74,89.24-29.22,137.5-46.56,34.24-12.97,68.98-24.1,106.5-25.06C1059.54,59.02,1113,66.55,1200,67.73V0Z" opacity=".5" fill="%23ffffff"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION BADGE
   ============================================ */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Service Cards */
.service-card {
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.service-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -22px auto 1rem;
    box-shadow: var(--box-shadow);
    color: white;
}

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

.service-features {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-features div {
    font-size: 0.8rem;
}

/* Feature Cards */
.feature-card {
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-icon i {
    font-size: 1.8rem;
}

/* Photo Cards */
.photo-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    background: white;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.photo-overlay-wrapper {
    position: relative;
    overflow: hidden;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 58, 95, 0.9), transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    font-size: 2rem;
    transform: scale(0.8);
    transition: var(--transition);
}

.photo-card:hover .photo-overlay i {
    transform: scale(1);
}

/* Certification Cards */
.certification-card {
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.certification-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.certification-icon i {
    font-size: 1.8rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-primary:active {
    transform: translateY(0);
}

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

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

.btn-outline-light {
    color: white;
    border-color: white;
}

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

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

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

.btn-hero {
    min-width: 200px;
}

.btn-galerie {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 58, 95, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: #999;
}

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

.input-group {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--gray);
}

.input-group-text i {
    color: var(--gray);
}

.textarea-auto {
    min-height: 100px;
    resize: vertical;
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-info-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.contact-form-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.contact-details h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ============================================
   CARROUSEL
   ============================================ */
.carousel {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.carousel-item {
    height: 450px;
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 300px;
    }
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-caption h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background: rgba(26, 58, 95, 0.8);
    border-radius: 50%;
    padding: 0.5rem;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.carousel-indicators .active {
    background: white;
    width: 12px;
    height: 12px;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

.alert-dismissible .btn-close {
    padding: 0.75rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    padding: 0.35em 0.65em;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

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

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
}

.footer p i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.footer a i {
    margin-right: 0.5rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-hr {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.footer-copyright {
    text-align: center;
    padding-top: 1rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* ============================================
   MAP CONTAINER
   ============================================ */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   TABLES
   ============================================ */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--dark);
}

.table th {
    white-space: nowrap;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 2px solid #dee2e6;
    padding: 1rem;
    vertical-align: middle;
    background: var(--light);
}

.table td {
    padding: 0.75rem;
    vertical-align: middle;
    white-space: nowrap;
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(26, 58, 95, 0.05);
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.table-actions a,
.table-actions button {
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
}

.img-thumbnail {
    border-radius: var(--border-radius-sm);
    max-width: 100%;
    height: auto;
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.accordion-header {
    padding: 0;
}

.accordion-button {
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light);
    color: var(--primary);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-90deg);
    transition: var(--transition);
}

.accordion-button[aria-expanded="true"]::after {
    transform: rotate(0deg);
}

.accordion-body {
    padding: 1rem 1.5rem;
    color: var(--gray);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 575.98px) {
    :root {
        --gutter: 0.75rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column;
    }
    
    .hero-image-container {
        margin-top: 2rem;
    }
    
    .hero-image {
        max-width: 80%;
        margin: 0 auto;
        transform: none;
    }
    
    .d-flex.flex-column.flex-sm-row {
        flex-direction: column;
    }
    
    .d-flex.flex-column.flex-sm-row .btn {
        width: 100%;
    }
    
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .table-responsive {
        border-radius: var(--border-radius);
        overflow: hidden;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-features {
        min-height: 80px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-features {
        min-height: 90px;
    }
}

@media (min-width: 768px) {
    :root {
        --gutter: 1.5rem;
    }
    
    .hero-section {
        padding: 4rem 0;
        text-align: left;
    }
    
    .hero-image-container {
        text-align: right;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .d-flex.flex-column.flex-sm-row {
        flex-direction: row;
    }
    
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-features {
        min-height: 100px;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        margin-top: 0;
    }
    
    .photo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__fadeInDown {
    animation-name: fadeInDown;
}

.animate__delay-1s {
    animation-delay: 0.2s;
}

.animate__delay-2s {
    animation-delay: 0.4s;
}

.animate__delay-3s {
    animation-delay: 0.6s;
}

/* ============================================
   LIGHTBOX CUSTOM
   ============================================ */
.lightbox-overlay {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1050;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .footer,
    .btn,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* Service Icons Small - placed inside card-body */
.service-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    color: white;
}

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