/* Montserrat Fallback Font with Adjusted Metrics for CLS Optimization */
@font-face {
    font-family: 'Montserrat Fallback';
    src: local('Arial');
    size-adjust: 106.5%;
    ascent-override: 86%;
    descent-override: 24%;
    line-gap-override: 0%;
}

:root {
    /* Premium, Professional Red - Slightly deeper for elegance */
    --primary-color: #B91C1C;
    --primary-dark: #991B1B;

    /* Sophisticated Black/Dark Grey */
    --secondary-color: #111827;
    --accent-color: #374151;

    /* Clean, Warm White surface */
    --text-color: #374151;
    /* Lighter grey for better readability */
    --light-bg: #F9FAFB;
    --white: #ffffff;

    --font-main: 'Montserrat', 'Montserrat Fallback', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
    /* Faster, simpler transition */
    --container-width: 1200px;
    --content-width: 900px;

    /* Soft, diffused shadows for "polite" look */
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    /* Increased for better readability */
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* Header */
header {
    background-color: #ffffff;
    /* Use solid color for better mobile perf */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 71px;
    contain: layout;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
}

.logo {
    height: 60px;
    /* Slightly taller for the heart logo */
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    /* Subtle depth */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 2px;
}

/* Elegant underline effect */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    /* Fixed size for button */
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 50svh;
    min-height: 400px;
    background-color: #111827;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: 71px;
    overflow: hidden;
    contain: layout;
    /* Remove animation for stability if needed, but keeping fadeInUp for consistency */
}

@media (max-width: 768px) {
    /* ... existing mobile styles ... */

    .hero {
        height: auto;
        min-height: 400px;
        /* Increased min-height for better CLS stability on mobile */
        padding: 5rem 1rem 4rem;
        /* Increased top padding to account for fixed header + spacing */
    }

    /* Reduce hero text sizes for compact mode */
    .hero-content h1 {
        font-size: 1.7rem !important;
        margin-bottom: 0.75rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSlideUp {
    from {
        transform: translateY(20px);
    }

    to {
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: heroSlideUp 1s ease-out;
    text-align: center;
}

.hero-content h2 {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    opacity: 0.9;
}

.hero-content p {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.8;
    text-align: center;
}

.hero picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Improved Contrast Overlay */
    background: linear-gradient(rgba(17, 24, 39, 0.85), rgba(185, 28, 28, 0.75));
    /* Dark grey to Professional Red */
    z-index: 1;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    font-size: 0.83rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 50px;
    box-shadow: 0 8px 16px -4px rgba(185, 28, 28, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 270px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px -4px rgba(185, 28, 28, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(0.75rem - 2px) 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    font-size: 0.83rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 270px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Section Common */
.section-padding {
    padding: 8rem 5%;
}

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

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -2.5rem auto 4rem;
    /* Adjusted for new spacing */
    color: #4B5563;
    /* Darker grey for accessibility */
    font-size: 1.15rem;
    line-height: 1.8;
}

.process-section .section-title,
.services-overview .section-title {
    margin-bottom: 3rem;
}

/* Separator */
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    /* Smaller, more refined */
    height: 3px;
    background-color: var(--primary-color);
    margin: 25px auto 0;
    border-radius: 2px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: var(--container-width);
    margin: 3rem auto 0;
}

.service-card {
    background: var(--white);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    min-height: 420px;
}

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

.service-img {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    background: #f0f0f0;
}

.service-img picture {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
    display: block;
}

/* Elegant dark overlay on hover */
.service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0.6;
    transition: 0.3s;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
    /* Softer zoom */
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.35rem;
    font-weight: 600;
    min-height: 60px;
    /* Reserve space for 2-line titles */
    display: flex;
    align-items: center;
}

.service-content p {
    font-size: 1rem;
    color: #52525B;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.read-more::after {
    content: '→';
    transition: inherit;
}

/* Process Section */
.process-section {
    background-color: var(--light-bg);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.process-step {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    position: relative;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.process-step:hover {
    border-bottom-color: var(--primary-color);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary-color);
}

.process-step h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    background-color: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.about-features li {
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 2.5rem;
    font-size: 1.1rem;
    color: #52525B;
}

.about-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23B91C1C' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.feature-card {
    padding: 2rem;
    height: 100%;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.08), rgba(185, 28, 28, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.feature-card p {
    color: #52525B;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2535 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 0;
}

.contact-cta .phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1rem 2rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.contact-cta .phone:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    color: var(--white);
    background: #25D366;
    border: 2px solid #25D366;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.cta-whatsapp:hover {
    background: #1ebe5b;
    border-color: #1ebe5b;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

footer {
    background-color: #0F1115;
    /* Almost black */
    color: #9CA3AF;
    padding: 6rem 5% 3rem;
    /* More spacing */
    border-top: 5px solid var(--primary-color);
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.9;
}

.footer-links a {
    display: block;
    margin-bottom: 1rem;
    /* More space */
    transition: var(--transition);
    color: #D1D5DB;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Softer */
    margin-top: 5rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #6B7280;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }



    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 71px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding: 3rem 0;
        gap: 2rem;
    }

    .nav-links.active {
        left: 0;
    }



    .contact-cta .phone {
        font-size: 2.5rem;
    }
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.float-btn:hover {
    transform: scale(1.15) rotate(5deg);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-call {
    background-color: var(--primary-color) !important;
    /* Kırmızı - telefon butonu WhatsApp'tan ayrışsın */
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 15px;
        gap: 12px;
    }

    .float-btn {
        width: 45px;
        height: 45px;
    }

    .float-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* =====================
   TESTIMONIALS SECTION
   ===================== */
.testimonials-section {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 3rem auto 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.testimonial-stars {
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-size: 0.97rem;
    line-height: 1.75;
    color: #374151;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #F3F4F6;
    padding-top: 1rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #DC2626);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.testimonial-author strong {
    display: block;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: #6B7280;
}

/* =====================
   FAQ SECTION
   ===================== */
.faq-section {
    background-color: var(--light-bg);
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
}

.faq-item:first-child {
    border-top: 1px solid #E5E7EB;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    text-align: left;
    transition: color 0.25s;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question[aria-expanded="true"] {
    color: var(--primary-color);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 1.4rem;
}

.faq-answer p {
    color: #52525B;
    line-height: 1.8;
    font-size: 0.97rem;
}

/* =====================
   ABOUT TIMELINE
   ===================== */
.about-timeline {
    position: relative;
    padding-left: 2.5rem;
    margin: 3rem 0;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(185, 28, 28, 0.1));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-item h4 {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
}

.timeline-item p {
    color: #52525B;
    font-size: 0.97rem;
    line-height: 1.7;
}

/* Value badge icons */
.value-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.1), rgba(185, 28, 28, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin: 0 auto 1rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .phone,
    .cta-buttons .cta-whatsapp {
        width: 100%;
        max-width: 300px;
    }
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: #D1D5DB;
    transition: 0.3s;
}

.social-icon:hover svg {
    fill: white;
}

/* Services Page Details */
.service-detail-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    background: var(--white);
    padding: clamp(1.5rem, 5vw, 4rem);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

.service-detail-row:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.service-detail-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-img {
    flex: 1;
    min-width: 300px;
}

.service-detail-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: block;
}

.service-detail-content {
    flex: 1;
    min-width: 300px;
}

.service-detail-content h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-list {
    list-style: none;
    margin-top: 1.5rem;
}

.service-list li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    font-size: 1.05rem;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Blog Page Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.blog-card {
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

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

.blog-img {
    height: 240px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-color);
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.7;
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: var(--content-width);
    margin: 0 auto;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 320px;
}

.info-item {
    margin-bottom: 3rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.info-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

input,
textarea,
select {
    width: 100%;
    padding: 1.1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
    background: #F9FAFB;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.1);
}

button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 1.1rem 3rem;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(185, 28, 28, 0.3);
    letter-spacing: 1.5px;
}

button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(185, 28, 28, 0.4);
    filter: brightness(1.1);
}

.map-container {
    margin-top: 5rem;
    height: 500px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Blog Detail Page Styles */
.blog-header-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

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

.breadcrumb .sep {
    margin: 0 5px;
    font-size: 0.8em;
}

.blog-post-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-meta {
    font-size: 0.95rem;
    color: #9CA3AF;
    font-weight: 500;
}

.blog-layout {
    display: flex;
    gap: 4rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.blog-post-content {
    flex: 2;
    min-width: 0;
    /* Prevent flex overflow */
}

.blog-hero-img {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: var(--card-shadow);
}

.blog-hero-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.content-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.content-body p {
    margin-bottom: 1.5rem;
}

.content-body h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-body h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.content-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-body li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background-color: var(--light-bg);
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--secondary-color), #000);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
}

.cta-box h3 {
    color: white !important;
    margin-top: 0 !important;
}

.cta-box p {
    color: #D1D5DB;
    margin-bottom: 2rem;
}

/* Sidebar */
.blog-sidebar {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light-bg);
}

.sidebar-links li {
    border-bottom: 1px solid #F3F4F6;
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    display: block;
    padding: 0.8rem 0;
    font-weight: 500;
    color: #4B5563;
    transition: 0.2s;
}

.sidebar-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.btn-whatsapp-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
    transition: 0.3s;
}

.btn-whatsapp-sidebar:hover {
    background-color: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.sticky-widget {
    position: sticky;
    top: 90px;
}

@media (max-width: 900px) {
    .blog-layout {
        flex-direction: column;
    }

    .blog-sidebar {
        order: 2;
    }
}

/* Service Detail Page Specifics */
.service-header-section {
    background-color: var(--light-bg);
    padding: 3rem 5%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-intro-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-intro-table th,
.service-intro-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.service-intro-table th {
    background: #f9fafb;
    font-weight: 600;
    width: 30%;
    color: var(--secondary-color);
}

.service-cta-block {
    background: var(--secondary-color);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin-top: 3rem;
    text-align: center;
}

.service-cta-block h3 {
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 5%;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        gap: 0.75rem;
    }

    .stat-item {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .stat-icon {
        margin-bottom: 0;
        width: 28px;
        height: 28px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        text-align: left;
        font-size: 0.75rem;
    }
}