﻿:root {
    --primary: #7C9A8E;
    --primary-dark: #4A6358;
    --primary-light: #A8C5B8;
    --primary-lighter: #E8F0EC;
    --accent: #C9A962;
    --accent-light: #E8D5A3;
    --dark: #1A2421;
    --dark-soft: #243029;
    --light: #F8FAF9;
    --light-warm: #F0F4F2;
    --white: #FFFFFF;
    --border: #D4E0D9;
    --text: #1A2421;
    --text-muted: #5A6B62;
    --shadow: rgba(123, 154, 142, 0.15);
    --shadow-lg: rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.section-title {
    letter-spacing: -0.03em;
}

/* Container - Mobile First */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==================== HEADER - Mobile First ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 30px var(--shadow-lg);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
}

/* Navigation - Hidden on Mobile */
nav {
    display: none;
}

nav a {
    color: var(--dark-soft);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 4px;
}

/* ==================== ABOUT - Mobile First ==================== */
.about {
    min-height: 100vh;
    padding: 140px 0 60px;
    background: var(--white);
    display: flex;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(124, 154, 142, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.contact .section-tag {
    background: rgba(201, 169, 98, 0.2);
    color: var(--accent);
}

.section-title {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 100%;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.about-image img {
    width: 82%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(201, 169, 98, 0.3);
}

.experience-badge .number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    display: block;
}

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 500;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: left;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.credential-item:hover {
    background: var(--primary);
    color: white;
    transform: translateX(8px);
}

.credential-item:hover i {
    color: white;
}

.credential-item i {
    color: var(--accent);
    font-size: 1rem;
}

.credential-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Certifications - Mobile First */
.certifications {
    padding: 60px 0;
    background: var(--primary-lighter);
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.cert-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(123, 154, 142, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 154, 142, 0.1);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(123, 154, 142, 0.12);
}

.cert-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.cert-card h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.cert-card ul {
    list-style: none;
}

.cert-card li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cert-card li:last-child {
    border-bottom: none;
}

.cert-card li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}

/* ==================== SERVICES - Mobile First ==================== */
.services {
    padding: 60px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 4px 20px rgba(123, 154, 142, 0.08);
    border: 1px solid rgba(123, 154, 142, 0.1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(123, 154, 142, 0.12);
}

.service-header {
    padding: 28px 24px 0;
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-light);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card > p {
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-card .service-intro {
    margin: 0 24px 20px;
}

.service-content {
    padding: 0 24px 28px;
}

.service-details {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.service-details h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    margin-top: 20px;
}

.service-details h4:first-child {
    margin-top: 0;
}

.service-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-details ul {
    list-style: none;
    margin-bottom: 16px;
}

.service-details li {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.service-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.service-intro {
    background: var(--primary-lighter);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
}

.service-intro p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.service-intro p:last-child {
    margin-bottom: 0;
}

.service-intro strong {
    color: var(--dark);
    font-weight: 600;
}

.service-features {
    margin-bottom: 20px;
}

.service-features h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.service-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-features li i {
    color: var(--accent);
    font-size: 0.75rem;
}

.service-card .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
}

/* ==================== SERVICE DETAILS SECTION - Mobile First ==================== */
.service-details-section {
    padding: 60px 0;
    background: var(--primary-lighter);
}

.service-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-detail-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(123, 154, 142, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 154, 142, 0.1);
}

.service-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 154, 142, 0.12);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.service-detail-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.service-detail-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
}

.service-detail-content h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.service-detail-content h4:first-of-type {
    margin-top: 0;
}

.service-detail-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.service-detail-content ul {
    list-style: none;
    margin: 16px 0;
}

.service-detail-content li {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
}

.service-detail-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.service-detail-content strong {
    color: var(--dark);
    font-weight: 600;
}

/* Quill.js HTML içeriği için ek stiller */
.service-detail-content h1,
.service-detail-content h2,
.service-detail-content h3 {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-detail-content h1 {
    font-size: 1.5rem;
}

.service-detail-content h2 {
    font-size: 1.3rem;
}

.service-detail-content h3 {
    font-size: 1.1rem;
}

.service-detail-content h1:first-child,
.service-detail-content h2:first-child,
.service-detail-content h3:first-child,
.service-detail-content h4:first-child {
    margin-top: 0;
}

.service-detail-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 16px;
    margin: 16px 0;
    font-style: italic;
    color: var(--text-muted);
}

.service-detail-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.service-detail-content a {
    color: var(--primary);
    text-decoration: underline;
}

.service-detail-content a:hover {
    color: var(--primary-dark);
}

/* Quill.js içeriği için özel stiller */
.service-detail-content.quill-content {
    line-height: 1.8;
    color: var(--text-muted);
}

.service-detail-content.quill-content > *:first-child {
    margin-top: 0;
}

.service-detail-content.quill-content > *:last-child {
    margin-bottom: 0;
}

/* Quill.js'den gelen p ve div formatlamaları */
.service-detail-content.quill-content p {
    margin-bottom: 12px;
    line-height: 1.8;
    color: var(--text-muted);
}

.service-detail-content.quill-content p:last-child {
    margin-bottom: 0;
}

.service-detail-content.quill-content div {
    margin-bottom: 12px;
}

.service-detail-content.quill-content div:last-child {
    margin-bottom: 0;
}

/* Quill.js başlık formatlamaları */
.service-detail-content.quill-content h1,
.service-detail-content.quill-content h2,
.service-detail-content.quill-content h3,
.service-detail-content.quill-content h4 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 600;
}

.service-detail-content.quill-content h1:first-child,
.service-detail-content.quill-content h2:first-child,
.service-detail-content.quill-content h3:first-child,
.service-detail-content.quill-content h4:first-child {
    margin-top: 0;
}

/* Quill.js liste formatlamaları */
.service-detail-content.quill-content ul,
.service-detail-content.quill-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.service-detail-content.quill-content ul {
    list-style: none;
}

.service-detail-content.quill-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--text-muted);
}

.service-detail-content.quill-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.service-detail-content.quill-content ol li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Quill.js hizalama class'ları için */
.service-detail-content.quill-content [class*="ql-align-center"],
.service-detail-content.quill-content p[style*="text-align: center"],
.service-detail-content.quill-content div[style*="text-align: center"] {
    text-align: center;
}

.service-detail-content.quill-content [class*="ql-align-right"],
.service-detail-content.quill-content p[style*="text-align: right"],
.service-detail-content.quill-content div[style*="text-align: right"] {
    text-align: right;
}

.service-detail-content.quill-content [class*="ql-align-justify"],
.service-detail-content.quill-content p[style*="text-align: justify"],
.service-detail-content.quill-content div[style*="text-align: justify"] {
    text-align: justify;
}

/* Quill.js bold, italic, underline formatlamaları */
.service-detail-content.quill-content strong,
.service-detail-content.quill-content b {
    color: var(--dark);
    font-weight: 600;
}

.service-detail-content.quill-content em,
.service-detail-content.quill-content i {
    font-style: italic;
}

.service-detail-content.quill-content u {
    text-decoration: underline;
}

.service-detail-content.quill-content s,
.service-detail-content.quill-content strike {
    text-decoration: line-through;
}

/* ==================== BLOG - Mobile First ==================== */
.blog {
    padding: 60px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(123, 154, 142, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 154, 142, 0.1);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(123, 154, 142, 0.12);
}

.blog-card.featured {
    grid-column: span 1;
}

.blog-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card.featured .blog-image {
    height: 200px;
}

.blog-image i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: white;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--primary);
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 12px;
}

/* ==================== CONTACT - Mobile First ==================== */
.contact {
    padding: 60px 0;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.contact-info h3 {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--accent);
    color: var(--dark);
}

.contact-item h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.contact-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
}

/* ==================== FOOTER - Mobile First ==================== */
footer {
    background: var(--dark);
    padding: 60px 0 32px;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-col h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ==================== BLOG MODAL ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    max-width: 100%;
    width: 100%;
    border-radius: 20px;
    padding: 32px 24px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.modal h2 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.modal-content {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.modal-content p {
    margin-bottom: 16px;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 1500;
    padding: 80px 24px 24px;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px var(--shadow-lg);
}

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

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    font-size: 1.1rem;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.mobile-menu nav a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1499;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== FORM VALIDATION ==================== */
.form-error {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.contact .form-error {
    color: #ff6b6b;
}

.form-group.error .form-error {
    display: block;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

.contact .form-group.error input,
.contact .form-group.error textarea {
    border-color: #ff6b6b;
}

.form-group.success input,
.form-group.success textarea {
    border-color: var(--primary);
}

.contact .form-group.success input,
.contact .form-group.success textarea {
    border-color: var(--accent);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.toast {
    position: fixed;
    bottom: 100px;
    right: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-lg);
    z-index: 2001;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-width: calc(100% - 40px);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: #27ae60;
}

.toast.error {
    background: #e74c3c;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed !important;
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow-lg);
    font-size: 1.1rem;
    padding: 0;
    margin: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: manipulation;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 6px 25px var(--shadow-lg);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top:focus {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.back-to-top * {
    pointer-events: none;
}

/* ==================== TABLET STYLES (min-width: 768px) ==================== */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header-inner {
        padding: 18px 0;
    }

    .logo {
        font-size: 1.3rem;
        gap: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .mobile-toggle {
        display: none;
    }

    nav {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .header-cta {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .btn {
        padding: 12px 26px;
        font-size: 0.9rem;
    }

    .about {
        min-height: 100vh;
        padding: 160px 0 80px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-tag {
        padding: 8px 18px;
        font-size: 0.85rem;
        margin-bottom: 18px;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 14px;
    }

    .section-subtitle {
        font-size: 1.05rem;
        max-width: 600px;
    }

    .about-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 48px;
    }

    .about-content .section-title {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 1rem;
        margin-bottom: 22px;
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-top: 28px;
    }

    .certifications {
        padding: 70px 0;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .cert-card {
        padding: 28px;
    }

    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .service-header {
        padding: 32px 32px 0;
    }

    .service-number {
        font-size: 3.5rem;
    }

    .service-card h3 {
        font-size: 1.6rem;
    }

    .service-card .service-intro {
        margin: 0 32px 22px;
    }

    .service-content {
        padding: 0 32px 32px;
    }

    .service-features ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-details-section {
        padding: 80px 0;
    }

    .service-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .service-detail-card {
        padding: 36px;
    }

    .blog {
        padding: 80px 0;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .blog-card.featured {
        grid-column: span 2;
    }

    .blog-image {
        height: 200px;
    }

    .blog-card.featured .blog-image {
        height: 240px;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 48px;
    }

    .contact-info h3 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 36px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    footer {
        padding: 70px 0 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .whatsapp-float {
        bottom: 24px;
        right: 24px;
        width: 58px;
        height: 58px;
    }

    .back-to-top {
        bottom: 100px;
        right: 24px;
    }

    .toast {
        bottom: 120px;
        right: 24px;
        left: auto;
        max-width: 400px;
    }

    .modal {
        max-width: 600px;
        padding: 40px;
    }
}

/* ==================== DESKTOP STYLES (min-width: 1024px) ==================== */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 24px;
    }

    .header-inner {
        padding: 20px 0;
    }

    .logo {
        font-size: 1.5rem;
        gap: 12px;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    nav {
        gap: 40px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .about {
        min-height: 100vh;
        padding: 180px 0 100px;
    }

    .section-header {
        margin-bottom: 64px;
    }

    .section-tag {
        padding: 8px 20px;
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 2.8rem;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .about-grid {
        gap: 80px;
    }

    .about-content .section-title {
        font-size: 2.2rem;
        margin-bottom: 24px;
    }

    .about-content p {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }

    .credentials-grid {
        gap: 16px;
        margin-top: 32px;
    }

    .certifications {
        padding: 80px 0;
    }

    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .cert-card {
        padding: 32px;
    }

    .cert-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .cert-card h4 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .cert-card li {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .services {
        padding: 120px 0;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .service-header {
        padding: 40px 40px 0;
    }

    .service-number {
        font-size: 4rem;
        margin-bottom: 16px;
    }

    .service-card h3 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .service-card > p {
        padding: 0 40px;
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .service-card .service-intro {
        margin: 0 40px 24px;
    }

    .service-content {
        padding: 0 40px 40px;
    }

    .service-details-section {
        padding: 120px 0;
    }

    .service-details-grid {
        gap: 40px;
    }

    .service-detail-card {
        padding: 48px;
    }

    .service-detail-header {
        gap: 20px;
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .service-detail-icon {
        width: 64px;
        height: 64px;
        font-size: 1.8rem;
    }

    .service-detail-header h3 {
        font-size: 2rem;
    }

    .service-detail-content h4 {
        font-size: 1.3rem;
        margin-top: 32px;
        margin-bottom: 16px;
    }

    .service-detail-content p {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .service-detail-content li {
        font-size: 1rem;
        padding: 10px 0;
        padding-left: 28px;
    }

    .blog {
        padding: 120px 0;
    }

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .blog-image {
        height: 220px;
    }

    .blog-card.featured .blog-image {
        height: 280px;
    }

    .blog-content {
        padding: 28px;
    }

    .blog-card h3 {
        font-size: 1.3rem;
    }

    .blog-card p {
        font-size: 0.95rem;
    }

    .contact {
        padding: 120px 0;
    }

    .contact-grid {
        gap: 80px;
    }

    .contact-info h3 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .contact-info > p {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }

    .contact-item {
        gap: 20px;
        margin-bottom: 28px;
    }

    .contact-icon {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }

    .contact-item h5 {
        font-size: 0.85rem;
    }

    .contact-item p {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 48px;
    }

    .form-row {
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .form-group textarea {
        min-height: 140px;
    }

    .contact-form .btn {
        padding: 18px 28px;
    }

    footer {
        padding: 80px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 60px;
        margin-bottom: 60px;
    }

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

    .footer-brand p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .social-links {
        gap: 12px;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .footer-col li {
        margin-bottom: 12px;
    }

    .footer-col a {
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding-top: 40px;
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }

    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .back-to-top {
        bottom: 120px;
        right: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .toast {
        bottom: 180px;
        right: 30px;
        left: auto;
        padding: 16px 24px;
        max-width: none;
    }

    .modal {
        max-width: 700px;
        padding: 48px;
    }

    .modal h2 {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .modal-content {
        font-size: 1.05rem;
    }

    .modal-content p {
        margin-bottom: 20px;
    }

    .mobile-menu {
        max-width: 400px;
        padding: 100px 40px 40px;
    }

    .mobile-menu nav {
        gap: 24px;
        align-items: center;
    }

    .mobile-menu nav a {
        font-size: 1.2rem;
    }
}

/* ==================== SCREEN READER ONLY ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==================== RESPONSIVE EXTREME SIZES ==================== */
/* 320px and below */
@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* 4K and above */
@media (min-width: 2560px) {
    .container {
        max-width: 1400px;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .about-content .section-title {
        font-size: 2.6rem;
    }
}

/* ==================== CROSS-BROWSER FALLBACKS ==================== */
/* Flexbox fallback for older browsers */
@supports not (display: flex) {
    .header-inner,
    .about-grid,
    .services-grid {
        display: block;
    }
}

/* Grid fallback */
@supports not (display: grid) {
    .services-grid,
    .cert-grid,
    .blog-grid {
        display: block;
    }
    
    .services-grid > *,
    .cert-grid > *,
    .blog-grid > * {
        margin-bottom: 24px;
    }
}

/* Backdrop filter fallback */
@supports not (backdrop-filter: blur(20px)) {
    header {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}
