/* styles.css - Optimized for Core Web Vitals */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-dark: #273E47;
    --primary-light: #D8C99B;
    --accent: #D8973C;
    
    /* Derived Colors */
    --text-primary: #273E47;
    --text-secondary: rgba(39, 62, 71, 0.8);
    --text-light: rgba(39, 62, 71, 0.6);
    --bg-primary: #ffffff;
    --bg-secondary: rgba(216, 201, 155, 0.1);
    --bg-accent: rgba(216, 201, 155, 0.2);
    --border-color: rgba(39, 62, 71, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(39, 62, 71, 0.1);
    --shadow: 0 4px 6px -1px rgba(39, 62, 71, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(39, 62, 71, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(39, 62, 71, 0.15);
    --shadow-xl: 0 25px 50px -12px rgba(39, 62, 71, 0.25);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
}

/* Base Typography */
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
    padding-top: 40px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Optimized paragraph lengths for snippets */
p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    max-width: 75ch; /* Optimal reading length */
}

/* Short paragraphs for better snippet visibility */
.snippet-friendly p {
    max-width: 60ch;
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

strong {
    font-weight: 600;
    color: var(--primary-dark);
}

/* External link styling */
a[target="_blank"] {
    position: relative;
}

a[target="_blank"]:after {
    content: "↗";
    font-size: 0.75em;
    margin-left: 0.25em;
    opacity: 0.7;
}

/* Utility Classes */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.accent {
    color: var(--accent);
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-error {
    color: #ef4444;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 201, 155, 0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.floating-element:nth-child(1) {
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    bottom: -150px;
    left: -150px;
    animation-delay: 7s;
}

.floating-element:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--accent);
    color: white;
    z-index: 1001;
    height: 40px;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    gap: 1rem;
}

.top-bar-text {
    font-size: 0.875rem;
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.top-bar-phone:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    color: white;
}

.phone-icon {
    font-size: 1rem;
}

/* Navigation */
.navbar {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 40px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo:hover {
    color: var(--primary-dark);
}

.logo-text {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu > li > a:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--accent);
}

.nav-menu > li > a:hover:after,
.nav-menu > li > a.active:after {
    width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--bg-accent);
    color: var(--accent);
}

.nav-menu .cta-button {
    background-color: var(--accent);
    color: white !important;
    padding: 14px 48px !important;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
}

.cta-button {
    background-color: var(--accent);
    color: white !important;
    padding: 14px 48px !important;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
}

.cta-button:after {
    display: none !important;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: white !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: var(--bg-accent);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.section-header h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Buttons - NO transition on loading state */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 32px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    /* Only specific properties, not 'all' */
    transition: background-color 0.3s ease, 
                transform 0.3s ease, 
                box-shadow 0.3s ease;
}

/* Remove transition from loading buttons */
.btn.loading {
    transition: none !important;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.125rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(216, 151, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(216, 151, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 151, 60, 0); }
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(39, 62, 71, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(216, 201, 155, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(216, 151, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(216, 201, 155, 0.05) 0%, transparent 50%);
    animation: particles 30s linear infinite;
}

@keyframes particles {
    to { transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(216, 151, 60, 0.2);
    border: 1px solid var(--accent);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    font-weight: 800;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle strong {
    color: var(--primary-light);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .btn {
    min-width: 200px;
}

.hero .btn-secondary {
    border-color: white;
    color: white;
}

.hero .btn-secondary:hover {
    background-color: white;
    color: var(--primary-dark);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.trust-item {
    text-align: center;
}

.trust-item strong {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.trust-item span {
    opacity: 0.9;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.chart-container {
    width: 400px;
    height: 400px;
    opacity: 0.1;
}

/* SEO Definitions Section (NEW) */
.seo-definitions {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.definition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.definition-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.definition-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.definition-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.definition-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.definition-list {
    list-style: none;
    padding-left: 0;
}

.definition-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.definition-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Google Rank Checker Section */
.rank-checker-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.rank-checker-tool {
    max-width: 800px;
    margin: 0 auto;
}

.tool-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(216, 151, 60, 0.1);
}

#checkRankBtn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.rank-results {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.5s ease;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.results-content {
    space-y: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.result-item.highlight {
    background: var(--bg-accent);
    border: 2px solid var(--accent);
}

.result-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.result-value {
    font-size: 1.125rem;
    color: var(--text-primary);
}

.result-suggestions {
    margin-top: 2rem;
}

.suggestion {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.suggestion.success {
    background: #10b98133;
    border: 2px solid #10b981;
}

.suggestion.warning {
    background: #f59e0b33;
    border: 2px solid #f59e0b;
}

.suggestion.error {
    background: #ef444433;
    border: 2px solid #ef4444;
}

.suggestion h4 {
    margin-bottom: 0.5rem;
}

.suggestion p {
    margin-bottom: 1rem;
}

.tool-benefits {
    text-align: center;
    margin-top: 4rem;
}

.tool-benefits h3 {
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    margin-bottom: 0.5rem;
}

/* Client Logos Section (NEW) */
.client-logos {
    padding: var(--section-padding);
    background-color: white;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
    align-items: center;
}

.client-logo {
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

.client-testimonial {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
}

.client-testimonial blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
}

.client-testimonial cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    color: var(--text-primary);
    font-weight: 600;
}

/* Services Overview Section */
.services-overview {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.icon-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 70px;
    height: 70px;
    background: var(--bg-accent);
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-bg {
    transform: scale(1.2);
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Professional Content Section (NEW) */
.professional-content {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.methodology-content {
    margin-top: 3rem;
}

.methodology-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.methodology-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.methodology-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.check-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.25rem;
}

.check-list li strong {
    color: var(--primary-dark);
}

/* Team Section */
.team-section {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-accent);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.cert-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: var(--bg-accent);
    color: var(--accent);
    border-radius: 20px;
    font-weight: 600;
}

/* Case Studies Section */
.case-studies {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
}

.case-study-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.case-study-header {
    margin-bottom: 2rem;
}

.industry-badge {
    display: inline-block;
    padding: 4px 16px;
    background: var(--bg-accent);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Blog Preview Section */
.blog-preview {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.read-time {
    padding-left: 1rem;
    border-left: 1px solid var(--border-color);
}

.blog-card h3 {
    margin-bottom: 1rem;
}

.blog-card h3 a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: var(--accent);
}

.blog-card p {
    margin-bottom: 1.5rem;
}

/* Author info in blog cards (NEW) */
.author-info {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.author-info span[itemprop="name"] {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Why Choose Us Section */
.why-us {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-text .section-badge {
    margin-bottom: 1rem;
}

.why-us-text h2 {
    margin-bottom: 1.5rem;
}

.why-us-text p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-primary);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--bg-accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.stat-card-large {
    background: var(--bg-accent);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.stat-card-large h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Packages Section */
.packages {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.package-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.package-card.featured {
    border-color: var(--accent);
    background: var(--bg-accent);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.package-icon-float {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.2;
    animation: float 3s infinite ease-in-out;
}

.package-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.package-header h3 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 1.5rem 0;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.price .currency {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    color: var(--text-secondary);
}

.package-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.package-features li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.package-features li:before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    font-size: 1.25rem;
}

.package-features li.disabled {
    color: var(--text-light);
}

.package-features li.disabled:before {
    content: '✗';
    color: var(--text-light);
}

.package-card .btn-secondary {
    width: auto;
    max-width: 280px;
    margin: 0 auto 1rem;
    display: flex;
    text-align: center;
    justify-content: center;
}

.package-card .btn-primary {
    width: auto;
    max-width: 200px;
    margin: 0 auto;
    display: flex;
    text-align: center;
    justify-content: center;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    color: var(--bg-accent);
    font-family: Georgia, serif;
}

.stars {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

blockquote {
    margin-bottom: 1.5rem;
}

blockquote p {
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

cite {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

cite strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

cite span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-accent);
    border: 2px solid var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(39, 62, 71, 0.95) 100%);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background-color: white;
    color: var(--primary-dark);
}

/* Contact Form Section */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(216, 151, 60, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-submit {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.company-info {
    margin-bottom: 1.5rem;
}

.company-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.company-info strong {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-style: normal;
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--primary-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Floating Phone Button */
.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-phone:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
    color: white;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 50px;
    right: 30px;  /* Desktop: jobb oldalon */
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 998;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.visible {
    display: flex;
    animation: bounceIn 0.5s ease;
}

/* Mobile specific styles for floating buttons */
@media (max-width: 768px) {
    /* Scroll to top button - LEFT side on mobile */
    .scroll-to-top {
        bottom: 30px;
        left: 20px;  /* Bal oldalra mobilon */
        right: auto;
        width: 45px;  /* Kicsit kisebb mobilon */
        height: 45px;
        font-size: 1.25rem;
    }
    
    /* Phone button - RIGHT side on mobile */
    .floating-phone {
        display: flex;  /* Megjelenítjük mobilon */
        bottom: 30px;
        right: 20px;
        width: 55px;  /* Kicsit nagyobb mint a scroll gomb */
        height: 55px;
        font-size: 1.4rem;
    }
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* AOS-like animations - Initial states with specific transitions */
[data-aos] {
    /* Only animate what's needed */
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: ease-out;
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Add delay for staggered animations */
[data-aos][data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos][data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos][data-aos-delay="300"] {
    transition-delay: 0.3s;
}

/* Counter animations */
.counter {
    display: inline-block;
    min-width: 60px;
    transition: all 0.3s ease;
}

/* Testimonial - Simple fade without complex visibility */
.testimonial-card {
    flex: 0 0 100%;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    position: relative;
    opacity: 0;
    transition: opacity 0.4s ease !important;
}

.testimonial-card.active {
    opacity: 1;
}

.testimonial-track {
    display: flex;
    transition: transform 0.4s ease !important;
}

/* FAQ - Simple solution without complex animations */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Button loading state */
.btn {
    transition: all 0.3s ease;
}

.btn.loading {
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

/* Form animations */
.form-group {
    position: relative;
}

.form-group label {
    transition: color 0.3s ease;
}

.form-group.focused label {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Notification animations */
.notification {
    animation: slideInRight 0.3s ease forwards;
}

.notification.removing {
    animation: slideOutRight 0.3s ease forwards;
}

/* Smooth element transitions - Fix hover jump */
.service-card,
.package-card,
.blog-card,
.team-member,
.case-study-card,
.definition-card,
.methodology-card,
.benefit-card,
.client-logo {
    /* Initial transform state to prevent jump */
    transform: translateY(0) translateZ(0);
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    will-change: transform;
}

.service-card:hover,
.package-card:hover,
.blog-card:hover,
.team-member:hover,
.case-study-card:hover,
.definition-card:hover,
.methodology-card:hover,
.benefit-card:hover {
    transform: translateY(-8px) translateZ(0);
}

/* Client logo specific hover */
.client-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    transform: none; /* No translate for logos */
}

/* Hero animations - NO transitions here! */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta,
.trust-indicators {
    /* Animation is set in inline CSS with !important */
    /* NO transition here to avoid conflicts */
}

/* Notification styles - Complete with backgrounds */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    transform: translateX(0);
    opacity: 1;
}

.notification-error {
    background: #ef4444;
}

.notification-warning {
    background: #f59e0b;
}

.notification-info {
    background: #10b981;
}

/* Success message overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(39, 62, 71, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.success-message {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(39, 62, 71, 0.1);
    text-align: center;
    max-width: 500px;
    animation: bounceIn 0.5s ease;
}

/* Active nav link */
.nav-menu a.active {
    color: var(--accent);
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Form field animations */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    transition: all 0.3s ease;
}

.form-group.focused label {
    color: var(--accent);
}

/* Active nav link */
.nav-menu a.active {
    color: var(--accent);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .definition-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation - Proper animation without display change */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    /* Top Bar */
    .top-bar-text {
        display: none;
    }
    
    .top-bar-content {
        justify-content: center;
    }
    
    /* Navigation - Fixed animation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        gap: 0;
        /* Animation ready state */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, 
                    visibility 0.3s ease, 
                    transform 0.3s ease;
        display: flex !important; /* Always flex, control with opacity/visibility */
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu > li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-secondary);
        margin: 0;
        display: none;
        padding: 0 1rem;
    }
    
    .has-dropdown {
        position: relative;
    }
    
    .has-dropdown > a {
        position: relative;
        padding-right: 2rem;
    }
    
    .has-dropdown > a::after {
        content: '▼';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }
    
    .has-dropdown.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .has-dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .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(7px, -6px);
    }
    
    /* Hero */
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-indicators {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stats */
    .stat-row {
        grid-template-columns: 1fr;
    }
    
    /* Packages */
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    /* Floating Phone */
    .floating-phone {
        display: flex;
    }
    
    /* Form */
    .tool-form {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    /* Case study metrics */
    .case-study-metrics {
        grid-template-columns: 1fr;
    }
    
    /* Client logos */
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    /* Base */
    .container {
        padding: 0 15px;
    }
    
    /* Sections */
    :root {
        --section-padding: 60px 0;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    
    /* Benefits grid */
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    /* Case study metrics */
    .case-study-metrics {
        grid-template-columns: 1fr;
    }
    
    /* Blog grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Packages grid */
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    /* Case studies grid */
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .top-bar,
    .navbar,
    .floating-phone,
    .scroll-to-top,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
    
    .hero {
        background: none;
        color: var(--text-primary);
    }
    
    .hero-title,
    .hero-subtitle {
        color: var(--text-primary);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-dark: #000000;
        --accent: #ff6600;
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-primary: #ffffff;
        --bg-secondary: #f0f0f0;
    }
    
    .btn-primary {
        background-color: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }
    
    .btn-secondary {
        background-color: #ffffff;
        color: #000000;
        border: 2px solid #000000;
    }
}

/* Dark mode (if implemented) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}