/* ============================================
   ACT ONE CREATIVE - MAIN STYLESHEET
   Author: Rudy Mayorga
   
   TABLE OF CONTENTS:
   1. Global Styles & CSS Variables
   1A. Animations & Keyframes
   2. Typography
   3. Header & Navigation
   4. Buttons & CTAs
   5. Hero Section
   5A. Stylized Quote Section
   6. Content Sections
   6A. Services Section
   6B. Packages & Service Cards
   6C. Process Section
   6D. CTA Section
   7. Blog Section
   9. Contact Section
   10. Tabs (Services Page)
   11. Footer
   12. Responsive Design
   ============================================ */

/* ============================================
   1. GLOBAL STYLES & CSS VARIABLES
   ============================================ */
:root {
    --accent: #3aafa9;
    --accent-dark: #2e8d89;
    --accent-light: #5fc4bf;
    --cta: #3aafa9;
    --cta-dark: #2e8d89;
    --cta-hover: #2a9891;
    --background: #ffffff;
    --background-secondary: #f5f7fa;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-heading: #0a0a0a;
    --border-light: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 8px 30px rgba(58, 175, 169, 0.25);
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   1A. ANIMATIONS & KEYFRAMES
   ============================================ */

/* Utility Gradient Classes */
.gradient-accent {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.gradient-accent-vertical {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.gradient-light-bg {
    background: linear-gradient(135deg, rgba(77, 168, 255, 0.05) 0%, rgba(77, 168, 255, 0.02) 100%);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up[data-delay="0"] { animation-delay: 0s; }
.fade-in-up[data-delay="100"] { animation-delay: 0.1s; }
.fade-in-up[data-delay="200"] { animation-delay: 0.2s; }
.fade-in-up[data-delay="300"] { animation-delay: 0.3s; }

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 2px;
    animation: expandWidth 0.6s ease-out forwards;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 60px; }
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition-base);
    position: relative;
}

a:hover {
    color: var(--accent-dark);
}

a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   3. HEADER & NAVIGATION
   ============================================ */
.header {
    background-color: var(--background);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-heading);
    padding: 0.5rem;
}

/* Logo */
.logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 700;
    z-index: 101;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover .logo-bottom {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-top {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    line-height: 1;
}

.logo-bottom {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

/* Navigation */
.navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navigation a {
    color: var(--text-primary);
    font-weight: 600;
    padding: 8px 10px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.navigation a::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navigation a:hover {
    color: var(--accent);
}

.navigation a:hover::before {
    transform: scaleX(1);
}

.navigation a:hover::before {
    transform: scaleX(1);
}

/* Services Dropdown */
.services-menu {
    position: relative;
}

.services-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.services-link::after {
    content: '▾';
    font-size: 0.8rem;
    margin-left: 6px;
    color: var(--accent);
    transform: translateY(1px);
}

.services-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    min-width: 250px;
    display: none !important;
    z-index: 200;
    list-style: none;
    margin: 0;
}

.services-menu:hover .services-dropdown {
    display: block !important;
}

.services-dropdown li {
    margin: 0;
}

.services-dropdown li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.services-dropdown li a:hover {
    background-color: rgba(77, 168, 255, 0.08);
    color: var(--accent);
}

/* ============================================
   4. BUTTONS & CTAs
   ============================================ */
.cta-button {
    display: inline-block;
    background: var(--cta);
    color: white;
    padding: 10px 24px;
    border-radius: 3px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.cta-button:hover {
    background: var(--accent-light);
}

.cta-button:active {
    background: var(--cta-dark);
}

.cta-button:focus {
    outline: 3px solid var(--accent-light);
    outline-offset: 3px;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.cta-button.secondary:hover {
    background-color: rgba(77, 168, 255, 0.1);
    border-color: var(--accent-dark);
    color: var(--accent-dark);
}

/* ============================================
   5. HERO SECTION
   ============================================ */
.hero {
    background: none;
    color: var(--text-heading);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';\n    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.profile-image img {
    width: 450px;
    height: 450px;
    border-radius: 12px;
    border: 5px solid rgba(0, 0, 0, 0.06);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-text {
    flex: 1;
}

.hero h1 {
    color: var(--text-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -1.5px;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #444;
    line-height: 1.7;
    transition: all 0.3s ease;
    position: relative;
}

/* ============================================
   5A. STYLIZED QUOTE SECTION
   ============================================ */
.quote-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(77, 168, 255, 0.05) 0%, rgba(77, 168, 255, 0.02) 100%);
    margin: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(77, 168, 255, 0.1), transparent);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.quote-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(77, 168, 255, 0.08), transparent);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10%;
    font-size: 200px;
    font-family: Georgia, serif;
    color: rgba(77, 168, 255, 0.08);
    line-height: 1;
    z-index: 0;
}

.featured-quote {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0;
    padding: 0;
    border: none;
}

.quote-text {
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    font-family: var(--font-serif);
}

.quote-text::before {
    content: '\201C';
    font-size: 3rem;
    position: absolute;
    left: -2rem;
    top: -0.5rem;
    color: var(--accent);
    font-style: normal;
}

.quote-text::after {
    content: '\201D';
    font-size: 3rem;
    position: absolute;
    right: -2rem;
    bottom: -1rem;
    color: var(--accent);
    font-style: normal;
}

.quote-accent {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 1.5rem auto 0;
    animation: pulse 3s ease-in-out infinite;
}

/* ============================================
   6. CONTENT SECTIONS
   ============================================ */
section {
    padding: 80px 20px;
    background-color: var(--background);
    margin: 20px 0;
    border-radius: 8px;
}

.section-intro {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.7;
}

/* About Section */
.about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: left;
    background-color: var(--background);
}

.about h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.about h1:first-of-type {
    margin-top: 2rem;
}

.about h1:last-of-type {
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: 400;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-content h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 2px;
}

.about-content h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 2rem 0;
    text-align: center;
    font-style: italic;
    letter-spacing: -0.5px;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.about-content ul li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-content ul li:last-child {
    border-bottom: none;
}

.about-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-content ul li strong {
    color: var(--text-heading);
    font-weight: 600;
}

/* Credentials Section */
.credentials-section {
    margin-top: 2rem;
}

.credentials-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.certifications-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.cert-item {
    width: 100%;
    max-width: 200px;
}

.cert-item.cert-left {
    align-self: flex-start;
}

.cert-item.cert-right {
    align-self: flex-end;
}

.cert-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   6A. SERVICES SECTION
   ============================================ */
.services-section {
    background: linear-gradient(135deg, var(--background-secondary) 0%, rgba(0, 102, 204, 0.04) 100%);
    padding: 50px 20px;
    margin: 20px 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(77, 168, 255, 0.05), rgba(43, 134, 217, 0.05), rgba(77, 168, 255, 0.05));
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.6;
    z-index: 0;
}

.services-section > * {
    position: relative;
    z-index: 1;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.services-section .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Section Headers - Consolidated (Used across services, process, and blog sections) */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(58, 175, 169, 0.1);
}

.section-header.block-layout {
    display: block;
    gap: 0;
}

/* Section Titles - Consolidated (Used across services, process, and blog sections) */
.section-title {
    font-size: 3.5rem;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 800;
    letter-spacing: -1px;
    font-family: var(--font-serif);
}

.section-title.with-underline {
    position: relative;
    margin-bottom: 1rem;
}

.section-title.with-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 2px;
}

.highlight-text {
    color: var(--accent);
    position: relative;
    display: inline-block;
    font-style: italic;
    font-weight: 600;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: -5px;
    right: -5px;
    height: 16px;
    background: linear-gradient(90deg, rgba(58, 175, 169, 0.15), rgba(95, 196, 191, 0.1));
    z-index: -1;
    transform: skewX(-8deg);
    border-radius: 3px;
}

.section-header .section-intro {
    text-align: left;
    max-width: none;
    margin: 0;
    flex: 1;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.section-header.block-layout .section-intro {
    margin: 1.5rem 0 0;
    flex: none;
}

/* ============================================
   6B. PACKAGES & SERVICE CARDS
   ============================================ */
/* Packages Section */
.packages-section {
    padding: 50px 20px;
    background-color: var(--background);
}

.package-section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-serif);
    font-size: 2.5rem;
}

.package-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    padding: 1.5rem;
}

.package-card:nth-child(1) { animation-delay: 0.1s; }
.package-card:nth-child(2) { animation-delay: 0.2s; }
.package-card:nth-child(3) { animation-delay: 0.3s; }

.package-card h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--text-heading);
    margin: 0 0 0.25rem 0;
    position: relative;
    padding-bottom: 0.25rem;
}

.package-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 2px;
}

.package-card h4 {
    font-size: 0.9rem;
    color: var(--accent-dark);
    margin: 0.5rem 0 0.25rem 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-card > p {
    color: var(--text-secondary);
    margin: 0 0 0.75rem 0;
    line-height: 1;
}

.package-price {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0.75rem 0;
    font-weight: 400;
}

.package-price strong {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
    display: block;
    margin-top: 0.1rem;
    font-family: var(--font-serif);
}

.package-for {
    margin: 0.75rem 0 0 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(77, 168, 255, 0.05) 0%, rgba(43, 134, 217, 0.08) 100%);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1;
}

.package-for strong {
    color: var(--accent-dark);
    display: block;
    margin: 0 0 0.25rem 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-note {
    display: none;
}

/* Popular Package Badge */
.package-card.popular,
.package-card.most-popular {
    border: 3px solid var(--accent);
    box-shadow: 0 8px 30px rgba(58, 175, 169, 0.2);
}

.popular-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--accent);
    color: white;
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card.service-card {
    padding: 1.5rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transition: left 0.4s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    position: relative;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-shrink: 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.7;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 50%, var(--accent) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.learn-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transition: width 0.3s ease;
}

.learn-more:hover::after {
    width: 100%;
}

.learn-more:hover {
    background-position: 100% 0;
    transform: translateX(5px);
}

.learn-more:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
}

.service-card:focus-within {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

/* ============================================
   6C. PROCESS SECTION
   ============================================ */
.process-section {
    background: white;
    padding: 50px 20px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
}

.process-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.column-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent);
    letter-spacing: -0.02em;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 0;
    transition: transform 0.3s ease;
    border-radius: 8px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.step-number {
    width: auto;
    height: auto;
    margin: 0;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-family: var(--font-serif);
    line-height: 1.2;
    padding-top: 0.2rem;
}

.process-step:hover .step-number {
    color: var(--accent-dark);
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.process-step h4 {
    font-size: 1.2rem;
    color: var(--text-heading);
    margin: 0;
    font-weight: 600;
}

.step-content > p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   6D. CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 50px 20px;
    margin: 20px 0;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}

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

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Missing Something CTA */
.missing-cta {
    background: rgba(58, 175, 169, 0.05);
    padding: 60px 20px;
    border-top: 1px solid rgba(58, 175, 169, 0.1);
}

.missing-cta .container {
    max-width: 1200px;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.missing-cta h2 {
    color: var(--text-heading);
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin: 0;
    flex: 1;
    text-align: left;
}

.missing-cta-content {
    flex: 1;
    text-align: left;
}

.missing-cta-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.missing-cta-content .cta-button {
    display: inline-block;
}

/* Section Styling */
.blog-preview {
    padding: 40px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Service Page Hero */
.service-hero {
    padding: 50px 20px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.service-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* ============================================
   7. BLOG SECTION
   ============================================ */
.blog {
    max-width: 1200px;
    margin: 20px auto;
    padding: 50px 20px;
    text-align: left;
    background-color: var(--background);
}

.blog-page-title {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: -1px;
    font-family: var(--font-serif);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.blog-page-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 2px;
}

/* Blog Grid (for blog.html listing page) */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.blog-grid-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    flex: 0 1 calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1.5rem);
}

.blog-grid-item:nth-child(n) {
    animation-delay: calc(0.1s * var(--item-index, 1));
}

.blog-grid-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.blog-grid-item h3 {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    color: var(--text-heading);
    line-height: 1.4;
    font-weight: 400;
    position: relative;
}

.blog-grid-item h3 a {
    color: var(--text-heading);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.blog-grid-item h3 a:hover {
    color: var(--accent);
}

.blog-grid-summary {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.blog-grid-link {
    color: var(--accent);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.25s ease;
}

.blog-grid-link:hover {
    color: var(--accent-dark);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.pagination-prev,
.pagination-next {
    background-color: transparent;
    border: none;
    color: var(--accent);
    padding: 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: normal;
    transition: color 0.25s ease;
}

.pagination-prev:hover,
.pagination-next:hover {
    color: var(--accent-dark);
}

.pagination-prev:disabled,
.pagination-next:disabled {
    color: #ccc;
    cursor: not-allowed;
    visibility: hidden;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.pagination-numbers button,
.pagination-numbers span {
    background-color: transparent;
    border: none;
    color: var(--accent);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: normal;
    transition: color 0.25s ease;
}

.pagination-numbers button:hover {
    color: var(--accent-dark);
}

.pagination-numbers button.active {
    font-weight: bold;
    text-decoration: underline;
}

.pagination-numbers .ellipsis {
    color: #666;
    cursor: default;
}

/* Blog Post Individual Page */
.blog-post-content {
    max-width: 800px;
    margin: 20px auto;
    padding: 50px 20px;
    text-align: left;
    background-color: var(--background);
}

.blog-post-content h1 {
    text-align: center;
    margin-top: 2rem;
    font-size: 3rem;
    font-weight: 400;
}

.blog-post-content h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 3rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

.blog-post-content p {
    color: var(--text-primary);
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

.blog-category {
    color: var(--accent);
    font-weight: 600;
}

.blog-post-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.blog-post-content li {
    padding: 0.3rem 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-post-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.swot-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.swot-table thead th {
    background: var(--accent);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.swot-table tbody td {
    padding: 1.5rem;
    vertical-align: top;
    border: 1px solid #e5e5e5;
}

.swot-table tbody td ul {
    margin: 0;
    padding: 0;
}

.swot-table tbody td li {
    padding: 0.4rem 0;
    padding-left: 1.75rem;
}

.swot-table tbody tr:first-child td:first-child {
    background: rgba(58, 175, 169, 0.05);
}

.swot-table tbody tr:first-child td:last-child {
    background: rgba(255, 99, 71, 0.05);
}

.swot-table tbody tr:last-child td:first-child {
    background: rgba(76, 175, 80, 0.05);
}

.swot-table tbody tr:last-child td:last-child {
    background: rgba(255, 152, 0, 0.05);
}

.post-cover {
    margin-left: -200px;
    margin-right: -200px;
    margin-bottom: 1rem;
}

.post-cover img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
}

/* Blog Cards - Consolidated */
.blog-preview-item,
.blog-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: var(--background);
    box-shadow: var(--shadow-sm);
    flex: 0 1 calc(25% - 1.125rem);
    max-width: 320px;
    position: relative;
}

.blog-card::before,
.blog-preview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.blog-card:hover::before,
.blog-preview-item:hover::before {
    transform: scaleX(1);
}

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

.blog-preview-item img,
.blog-card-image {
    width: 100%;
    transition: opacity 0.25s ease;
}

.blog-card-image {
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.blog-preview-item:hover img,
.blog-card:hover .blog-card-image {
    opacity: 0.85;
}

.blog-preview-item h3,
.blog-card-content h3 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-heading);
    line-height: 1.4;
    transition: color 0.25s ease;
    padding: 0 1rem 1rem;
}

.blog-preview-item:hover h3,
.blog-card:hover h3 {
    color: var(--accent);
}

/* Blog Preview Grid */
.blog-preview-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-cta-wrapper {
    text-align: center;
    margin-top: 3.5rem;
}

.blog-link {
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--accent-dark);
}

.blog-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.blog-card-content h3 {
    margin: 0;
    font-size: 1.125rem;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.blog-card-footer {
    margin-top: auto;
}

/* ============================================
   9. CONTACT SECTION
   ============================================ */
.contact {
    max-width: 1200px;
    margin: 20px auto;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(77, 168, 255, 0.08) 0%, rgba(77, 168, 255, 0.03) 100%);
    border-radius: 12px;
    z-index: -1;
}

.contact h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.contact h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 2px;
}

.contact > .container > p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 1.5rem auto 3rem;
    line-height: 1.8;
}

.contact-cta {
    background: linear-gradient(135deg, rgba(77, 168, 255, 0.12) 0%, rgba(77, 168, 255, 0.06) 100%);
    text-align: center;
}

.contact-preview-content {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.contact-preview-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--accent);
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(77, 168, 255, 0.1);
}

.contact-form:hover {
    box-shadow: 0 12px 40px rgba(77, 168, 255, 0.15);
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-heading);
    text-align: left;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(77, 168, 255, 0.1);
    background: white;
}

.contact-info {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(77, 168, 255, 0.05) 0%, rgba(77, 168, 255, 0.02) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.contact-info a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transition: width 0.3s ease;
}

.contact-info a:hover::after {
    width: 100%;
}

.contact-info a:hover {
    color: var(--accent-dark);
}

.contact-info em {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   10. TABS (Services Page)
   ============================================ */
.tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0 1.5rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent-dark);
}

.tab-contents {
    max-width: 800px;
    margin: 0 auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.service-links-section {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(58, 175, 169, 0.05);
    border-radius: 12px;
}

.service-links-section h2 {
    margin-bottom: 1rem;
}

.service-links-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-links-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   11. FOOTER
   ============================================ */
.footer {
    background-color: transparent;
    color: var(--text-secondary);
    padding: 2rem 20px;
    text-align: center;
    margin-top: 8rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.75rem;
}

.social-media-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.social-media-buttons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-decoration: none;
    pointer-events: auto;
}

.social-media-buttons .social-icon:hover {
    color: inherit;
    transform: none;
    background: inherit;
}

.social-media-buttons .social-icon.linkedin {
    background: #0077b5;
    color: white;
}

.social-media-buttons .social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-media-buttons .social-icon svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   12. RESPONSIVE DESIGN
   ============================================ */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .profile-image img {
        width: 350px;
        height: 350px;
    }
    
    .blog-preview-grid {
        justify-content: center;
    }
    
    .blog-preview-item {
        flex: 0 1 calc(50% - 0.75rem);
        max-width: 320px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    section {
        padding: 60px 20px;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--background);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }
    
    .navigation.active {
        right: 0;
    }
    
    .navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px;
        align-items: stretch;
    }
    
    .navigation li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navigation a {
        display: block;
        padding: 15px 10px;
    }
    
    /* Services Dropdown - Mobile */
    .services-menu {
        position: static;
    }
    
    /* Process Section - Tablet/Mobile */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }
    
    .process-steps::before {
        display: none;
    }
    
    /* Header Layout */
    .header .container {
        flex-direction: row;
        padding: 1rem 20px;
    }
    
    /* Hero Section */
    .hero {
        padding: 40px 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-section {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .profile-image img {
        width: 250px;
        height: 250px;
    }

    /* Typography */
    h1 { font-size: 2.25rem; line-height: 1.2; }
    h2 { font-size: 1.75rem; line-height: 1.3; }
    h3 { font-size: 1.4rem; }
    p { font-size: 1rem; line-height: 1.7; }

    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h1::after {
        width: 70%;
        height: 3px;
    }

    /* Grids */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-preview-grid {
        justify-content: center;
        gap: 1rem;
    }
    
    .blog-preview-item {
        flex: 0 1 calc(50% - 0.5rem);
        max-width: 320px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* Services Header */
    .section-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        padding-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-header .section-intro {
        text-align: left;
        font-size: 1.05rem;
    }
    
    .highlight-text::after {
        height: 12px;
        bottom: 6px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    /* Quote Section */
    .quote-section::before {
        font-size: 120px;
        left: 5%;
    }
    
    .quote-text {
        font-size: 1.5rem;
        padding: 0 2rem;
    }
    
    .quote-text::before {
        left: -1.5rem;
        font-size: 2.5rem;
    }
    
    .quote-text::after {
        right: -1.5rem;
        font-size: 2.5rem;
    }

    section {
        padding: 40px 20px;
    }

    .contact-form {
        padding: 1.5rem;
    }
    
    /* Tabs */
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 100px;
    }
    
    /* Footer */
    .footer .container {
        gap: 1.5rem;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .navigation {
        width: 85%;
    }

    .navigation ul {
        padding: 70px 15px 15px;
    }

    /* Typography */
    h1 { font-size: 1.85rem; line-height: 1.25; }
    h2 { font-size: 1.5rem; line-height: 1.3; }
    h3 { font-size: 1.25rem; }
    p { font-size: 0.95rem; line-height: 1.65; }

    .section-intro {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .hero h1::after {
        width: 80%;
        height: 3px;
        bottom: -3px;
    }

    .hero-description {
        font-size: 0.9rem;
    }
    
    /* Process Section - Mobile */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-section {
        padding: 60px 15px;
    }
    
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .quote-section {
        padding: 40px 15px;
    }
    
    .quote-section::before {
        font-size: 80px;
        left: 0;
        top: -10px;
    }
    
    .quote-text {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .quote-text::before,
    .quote-text::after {
        display: none;
    }
    
    .quote-accent {
        width: 60px;
        margin-top: 1rem;
    }
    
    /* Services Header Mobile */
    .section-title {
        font-size: 2rem;
        white-space: normal;
        letter-spacing: -0.5px;
    }
    
    .section-header .section-intro {
        font-size: 1rem;
    }
    
    .highlight-text::after {
        height: 10px;
        bottom: 4px;
    }
    
    /* Profile */
    .profile-image img {
        width: 200px;
        height: 200px;
    }
    
    /* Blog */
    .blog-preview-grid {
        justify-content: center;
    }
    
    .blog-preview-item {
        flex: 0 1 100%;
        max-width: 320px;
    }
    
    .blog-grid-item h3 {
        font-size: 1.5rem;
    }
    
    .blog-preview-item h3 {
        font-size: 1rem;
    }
    
    /* Buttons */
    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    /* Sections */
    section {
        padding: 30px 15px;
    }
    
    .hero {
        padding: 30px 15px;
    }
    
    .blog-preview {
        padding: 40px 15px;
    }
    
    /* Tabs */
    .tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer */
    .social-links {
        gap: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .logo-top { font-size: 0.8rem; }
    .logo-bottom { font-size: 1.1rem; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }

    .profile-image img {
        width: 180px;
        height: 180px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Landscape Mode Optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .navigation {
        width: 50%;
    }
    
    .navigation ul {
        padding: 60px 15px 15px;
    }
    
    .hero {
        padding: 30px 20px;
    }
    
    section {
        padding: 40px 20px;
    }
}
