/*
Theme Name: PrivMed
Theme URI: https://privmed.com.tr
Author: PrivMed
Author URI: https://privmed.com.tr
Description: İstanbul'da evde sağlık hizmeti sunan PrivMed için özel WordPress teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: privmed
Tags: one-page, custom-menu, healthcare, medical
*/

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

:root {
    --primary: #0c4a6e;
    --primary-light: #0e7490;
    --secondary: #0891b2;
    --accent: #06b6d4;
    --accent-light: #67e8f9;
    --dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --bg-light: #f0f9ff;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

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

.site-logo span.highlight {
    color: var(--secondary);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 18px;
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 30%, #ffffff 70%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(12, 74, 110, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(8, 145, 178, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(12, 74, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 74, 110, 0.35);
}

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

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.hero-card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-card-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.hero-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.hero-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: center;
    flex: 1;
}

.hero-stat .number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stat .label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.floating-badge {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(226, 232, 240, 0.5);
    animation: float 3s ease-in-out infinite;
}

.floating-badge.badge-top {
    top: -20px;
    right: -20px;
    color: var(--success);
}

.floating-badge.badge-bottom {
    bottom: -15px;
    left: -20px;
    color: var(--secondary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-gray);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(8, 145, 178, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light), #e0f2fe);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--secondary);
}

.about-image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.4;
}

.about-image-placeholder span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-content > p {
    color: var(--text-light);
    font-size: 1.02rem;
    margin-bottom: 32px;
    line-height: 1.85;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    border: 1px solid rgba(8, 145, 178, 0.1);
    transition: var(--transition);
}

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

.about-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-feature-icon svg {
    width: 20px;
    height: 20px;
}

.about-feature h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--secondary);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    color: white;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), var(--secondary), var(--primary));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    background: white;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    transition: var(--transition);
    position: relative;
}

.process-step:hover .step-number {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
}

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    background: linear-gradient(160deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    color: white;
}

.contact-info h3 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 12px;
}

.contact-info > p {
    opacity: 0.85;
    font-size: 0.95rem;
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item-text h4 {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-item-text p,
.contact-item-text a {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-item-text a:hover {
    opacity: 0.85;
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 28px;
}

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

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

.form-row .form-group {
    margin-bottom: 0;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--bg-gray);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

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

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .site-logo .logo-icon {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 320px;
}

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

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

.footer-col ul li a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--accent);
}

.footer-bottom a:hover {
    opacity: 0.8;
}

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

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.6rem;
    }

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .section {
        padding: 70px 0;
    }

    .header-inner {
        height: 70px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        padding: 100px 30px 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.35s ease;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }

    .mobile-overlay.active {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.02rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card {
        max-width: 400px;
        padding: 28px;
    }

    .floating-badge.badge-top {
        right: 0;
        top: -10px;
    }

    .floating-badge.badge-bottom {
        left: 0;
        bottom: -10px;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

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

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

    .contact-info,
    .contact-form-wrapper {
        padding: 28px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat .number {
        font-size: 1.3rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   ABOUT IMAGE (when uploaded)
   ============================================ */
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* ============================================
   PAGE HERO (Archive / Inner pages)
   ============================================ */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 50%, #ffffff 100%);
    text-align: center;
}

.page-hero-content h1 {
    font-size: 2.6rem;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-hero-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
}

/* ============================================
   BLOG CARDS & GRID
   ============================================ */
.blog-archive {
    padding-top: 40px;
}

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

.blog-grid-home {
    margin-bottom: 40px;
}

.blog-view-all {
    text-align: center;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    overflow: hidden;
    background: var(--bg-light);
    flex-shrink: 0;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.blog-card-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: var(--secondary);
    opacity: 0.5;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-meta time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.blog-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

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

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
    margin-top: auto;
}

.blog-card:hover .blog-card-readmore {
    color: var(--primary);
    gap: 10px;
}

/* Blog pagination */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.blog-pagination a:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.blog-pagination .current {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.blog-empty svg {
    margin: 0 auto 20px;
    opacity: 0.3;
}

.blog-empty h2 {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 8px;
}

.blog-empty p {
    margin-bottom: 24px;
}

/* ============================================
   SINGLE ARTICLE
   ============================================ */
.single-article {
    padding-top: 80px;
}

.article-hero {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.article-hero-image {
    width: 100%;
    height: 100%;
}

.article-hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.article-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
}

.article-wrapper {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 28px;
    transition: var(--transition);
}

.article-back:hover {
    color: var(--primary);
    gap: 12px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.article-meta time,
.article-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.article-header h1 {
    font-size: 2.4rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 1.6rem;
    margin: 2em 0 0.8em;
}

.article-content h3 {
    font-size: 1.3rem;
    margin: 1.8em 0 0.6em;
}

.article-content ul,
.article-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 0.5em;
}

.article-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius);
    margin: 2em auto;
    display: block;
}

.article-content .wp-block-image,
.article-content figure {
    max-width: 100%;
    margin: 2em 0;
}

.article-content .wp-block-image img,
.article-content figure img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius);
}

.article-content figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 8px;
}

.article-content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 16px 24px;
    margin: 1.5em 0;
    background: var(--bg-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-light);
}

.article-content a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

/* Article footer */
.article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.article-share > span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: var(--transition);
}

.share-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.share-whatsapp:hover {
    background: #25D366;
    color: white;
}

.share-twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1DA1F2;
}

.share-twitter:hover {
    background: #1DA1F2;
    color: white;
}

.share-facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.share-facebook:hover {
    background: #1877F2;
    color: white;
}

/* Article navigation */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.article-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.article-nav-link:hover {
    border-color: var(--secondary);
    background: var(--bg-light);
}

.article-nav-next {
    text-align: right;
    justify-content: flex-end;
}

.article-nav-link span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.article-nav-link strong {
    font-size: 0.92rem;
    color: var(--dark);
}

/* ============================================
   BLOG RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 110px 0 40px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

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

    .blog-card-image {
        padding-bottom: 55%;
    }

    .blog-card-body {
        padding: 18px;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-hero {
        height: 280px;
    }

    .article-wrapper {
        padding: 24px 0 60px;
    }

    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .article-nav-next {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .article-hero {
        height: 200px;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .blog-card-image {
        padding-bottom: 50%;
    }
}
