:root {
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

/* Ensure visible cursor on interactive elements */
a, button, .btn, .nav-link, [role="button"], .navbar-toggler {
    cursor: pointer !important;
}

input, textarea, select, .form-control, .form-select, [contenteditable="true"] {
    cursor: text !important;
}

/* Allow default cursor inside auth/login and admin forms */
.auth-page, .auth-page *,
.contact-form, .contact-form *,
.newsletter-form-dark, .newsletter-form-dark * {
    cursor: auto !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Fluid Cursor */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--black);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.15s ease-out,
                background-color 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-outline {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease,
                background-color 0.3s ease;
    opacity: 0.9;
    mix-blend-mode: difference;
}

.cursor-dot.hover {
    transform: translate(-50%, -50%) scale(2);
    background: var(--white);
    mix-blend-mode: normal;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
    opacity: 1;
}

.cursor-text {
    position: fixed;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    mix-blend-mode: difference;
    will-change: transform, opacity;
}

.cursor-text.visible {
    opacity: 1;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-3px);
    }
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot,
    .cursor-outline,
    .cursor-text {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
}

/* Override Bootstrap defaults - Harmonized buttons */
.btn, .btn-primary, .btn-dark, .btn-outline-dark, .btn-outline-light, .btn-light {
    border-radius: 0 !important; /* Square corners */
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    border: 2px solid !important;
    position: relative !important;
    overflow: hidden !important;
    font-size: 0.9rem !important;
}

.btn-primary {
    background-color: var(--black) !important;
    border-color: var(--black) !important;
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--gray-700) !important;
    border-color: var(--gray-700) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

.btn-dark {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--black);
    transform: translateY(-2px) ;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-dark {
    background-color: transparent !important;
    border-color: var(--black) !important;
    color: var(--black) !important;
}

.btn-outline-dark:hover {
    background-color: var(--black) !important;
    color: var(--white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

.btn-outline-light {
    background-color: transparent !important;
    border-color: var(--white) !important;
    color: var(--white) !important;
}

.btn-outline-light:hover {
    background-color: var(--white) !important;
    color: var(--black) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(255,255,255,0.2) !important;
}

.btn-light {
    background-color: var(--white) !important;
    border-color: var(--white) !important;
    color: var(--black) !important;
}

.btn-light:hover {
    background-color: transparent !important;
    color: var(--white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(255,255,255,0.2) !important;
}

.text-primary {
    color: var(--black) !important;
}

.text-muted {
    color: var(--gray-600) !important;
}

.text-warning {
    color: var(--black) !important;
}

.bi-star-fill {
    color: var(--black) !important;
}

a {
    color: var(--black);
    text-decoration: none;
}

a:hover {
    color: var(--gray-600);
}

/* Navigation */
.navbar-custom {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-custom.scrolled {
    padding: 0.75rem 0;
    background: var(--black);
    border-bottom: 1px solid var(--gray-800);
}

.navbar-custom.scrolled .navbar-brand,
.navbar-custom.scrolled .nav-link {
    color: var(--white) !important;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--black) !important;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateX(5px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-custom.scrolled .navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    font-weight: 500;
    color: var(--black) !important;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--black);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar-custom.scrolled .nav-link::before {
    background: var(--white);
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Contact button in navbar */
.navbar-nav .btn-dark {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 0.4rem 1.5rem !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.navbar-nav .btn-dark:hover {
    background: transparent;
    transform: translateY(-2px);
    color: var(--black);
}

.navbar-custom.scrolled .navbar-nav .btn-dark {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.navbar-custom.scrolled .navbar-nav .btn-dark:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section - Minimalist Black & White */
.hero-section {
    min-height: 100vh;
    background: var(--black) url('/images/background-hero.png') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.03) 2px,
            rgba(255,255,255,0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.03) 2px,
            rgba(255,255,255,0.03) 4px
        );
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero-title .outline-text {
    -webkit-text-stroke: 2px var(--white);
    -webkit-text-fill-color: transparent;
    text-stroke: 2px var(--white);
    text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 600px;
}

.btn-hero {
    padding: 1rem 3rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: 2px solid;
}

.btn-primary-custom {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-primary-custom:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

/* Hero Image - Real Image */
.hero-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border: 3px solid var(--white);
    z-index: 3;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%) contrast(1.2);
    transition: all 0.5s ease;
}

.hero-image-container:hover img {
    filter: grayscale(0%) contrast(1.4) brightness(1.1);
    transform: scale(1.05);
}


/* Services Section - Clean Minimal */
.services-section {
    padding: 120px 0;
    background: var(--gray-100);
    position: relative;
}

.services-section::before {
    content: '02';
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 8rem;
    font-weight: 900;
    color: var(--gray-100);
    z-index: 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-weight: 400;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 3rem 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-card:hover * {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--black);
    color: var(--white);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-card p {
    line-height: 1.7;
    color: var(--gray-600);
}

.service-card a {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.service-card a i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover a {
    color: var(--white);
}

.service-card:hover a i {
    transform: translateX(5px);
}

/* About Section - Asymmetric Layout */
.about-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section::after {
    content: 'ABOUT';
    position: absolute;
    top: 50%;
    right: -100px;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    transform: translateY(-50%) rotate(90deg);
    letter-spacing: -0.05em;
}

.about-image {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: all 0.5s ease;
}

.about-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Stats Section - Bold Typography */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.05) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.05) 50%, transparent 51%);
    background-size: 50px 50px;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    font-weight: 600;
}

/* Testimonials - Cards with Quotes */
.testimonials-section {
    padding: 120px 0;
    background: var(--gray-100);
    position: relative;
}

.testimonial-card {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 3rem;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 8rem;
    font-weight: 900;
    color: var(--black);
    line-height: 1;
}

.testimonial-card:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-5px);
}

.testimonial-card:hover::before {
    color: var(--white);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--gray-300);
    padding-top: 1.5rem;
}

.testimonial-card:hover .testimonial-author {
    border-top-color: var(--gray-700);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--black);
    color: var(--white);
    border-radius: 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-card:hover .author-avatar {
    background: var(--white);
    color: var(--black);
}

/* CTA Section - High Impact */
.cta-section {
    padding: 150px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,0,0,0.03) 0 2px, transparent 2px) 0 0/22px 22px,
        radial-gradient(circle at 80% 60%, rgba(0,0,0,0.03) 0 2px, transparent 2px) 0 0/26px 26px,
        linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle vignette */
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.06) 100%);
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) rotate(45deg) scale(1); opacity: 0.9; }
    50% { transform: translate(-50%, -50%) rotate(45deg) scale(1.03); opacity: 0.75; }
    100% { transform: translate(-50%, -50%) rotate(45deg) scale(1); opacity: 0.9; }
}

.cta-section h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--black);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.cta-section .lead {
    color: #3a3a3a;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    background: var(--black);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid var(--black);
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-section .btn:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-section .btn-outline-light {
    background: rgba(255,255,255,0.6);
    border: 2px solid var(--black);
    color: var(--black);
    backdrop-filter: saturate(1.2) blur(2px);
}

.cta-section .btn-outline-light:hover {
    background: var(--black);
    color: var(--white);
}

/* Contact Form Styles */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--black);
}

.contact-form .form-control:focus {
    background: var(--white);
    border-color: var(--black);
    box-shadow: none;
    transform: translateY(-2px);
}

.contact-form .form-control::placeholder {
    color: var(--gray-500);
    font-weight: 400;
}

.contact-form select.form-control {
    cursor: pointer;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-dark {
    background: var(--black);
    border: 2px solid var(--black);
    padding: 1rem 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border-radius: 0;
}

.contact-form .btn-dark:hover {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Newsletter Form Dark */
.newsletter-form-dark {
    max-width: 100%;
}

.newsletter-form-dark .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--color-white) !important;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: auto;
}

.newsletter-form-dark .form-control-lg {
    padding: 14px 24px;
    font-size: 1.1rem;
}

.newsletter-form-dark .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form-dark .form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: var(--color-white) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
    outline: none;
}

.newsletter-form-dark .btn-light {
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    height: 100%;
}

.newsletter-form-dark .btn-light.btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
}

.newsletter-form-dark .btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* 404 Page Styles */
.error-content {
    position: relative;
    z-index: 2;
}

.error-code {
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.suggestion-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem !important;
    }
    
    .error-title {
        font-size: 2rem !important;
    }
    
    .error-description {
        font-size: 1rem !important;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn-hero {
        width: 100%;
        max-width: 300px;
    }
}

/* Privacy Page Styles */
.privacy-content {
    line-height: 1.8;
}

.privacy-card {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: 0;
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.privacy-card ul {
    margin-bottom: 0;
}

.privacy-card li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.privacy-content .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.privacy-content .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--black);
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--white);
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.blog-card:hover .blog-thumb img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--black);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--black);
}

.blog-content p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-link {
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.blog-link:hover {
    padding-left: 5px;
}

@media (max-width: 767.98px) {
    .blog-content h3 {
        font-size: 1.1rem;
    }
    
    .blog-content {
        padding: 20px;
    }
}

/* Footer - Minimal */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 40px;
    border-top: 1px solid var(--gray-800);
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Footer social icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons .social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.2s ease;
}

.social-icons .social-link:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.social-icons .bi {
    font-size: 1rem;
}

.footer hr {
    border-color: var(--gray-800);
    margin: 3rem 0 2rem;
}

.footer h6 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Service images */
.service-image-placeholder {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.service-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.service-card:hover .service-image-placeholder img {
    filter: grayscale(0%) brightness(1.2);
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    justify-content: center; /* center the whole grid when few items */
}

.partner-item {
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.partner-item img {
    max-width: 120px;
    width: 100%;
    height: auto;
    filter: grayscale(0%);
    transition: filter 0.2s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 991.98px) {
    .partners-grid { gap: 30px; }
}

@media (max-width: 575.98px) {
    .partners-grid { gap: 20px; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .about-section::after {
        font-size: 8rem;
        right: -50px;
    }
    
    .services-section::before {
        font-size: 5rem;
        top: 30px;
        left: 30px;
    }
    
    .hero-image-container {
        height: 350px;
    }
}

.navbar-custom .navbar-brand img {
    height: 28px;
    width: auto;
    display: inline-block;
    filter: invert(0);
    transition: filter 0.3s ease;
}

.navbar-custom.scrolled .navbar-brand img {
    filter: invert(1);
}

.footer .footer-brand img {
    filter: invert(1);
    transition: filter 0.3s ease;
}

/* Work Section */
.work-section {
    padding: 100px 0;
    background: var(--white);
}

.work-section .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
}

.work-section .section-subtitle {
    color: var(--gray-600);
}

.work-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.work-thumb {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    height: 200px; /* Fixed height for all images */
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio and fill container */
    display: block;
    filter: grayscale(0%);
    transform: scale(1.02);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.work-card:hover .work-thumb img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.work-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6px 0 2px;
}

.work-info h5 {
    font-size: 1rem;
    margin: 0;
    font-weight: 700;
}

.work-info span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

@media (max-width: 575.98px) {
    .work-info h5 { font-size: 0.95rem; }
    .work-info span { font-size: 0.8rem; }
    .work-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .work-info span {
        display: block;
        color: var(--gray-700);
    }
}

.table {
    margin-bottom: 0rem;
}