/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #3182ce;
    --primary-dark: #1a365d;
    --accent-color: #00d4ff;
    --success-color: #38a169;
    --warning-color: #ed8936;
    --danger-color: #e53e3e;

    --bg-dark: #0f1419;
    --bg-light: #f7fafc;
    --bg-card: #1a202c;
    --bg-card-light: #ffffff;

    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-dark: #2d3748;
    --text-muted: #718096;

    --border-color: #2d3748;
    --border-light: #e2e8f0;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --section-padding-sm: 3rem 0;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Contact Bar */
.contact-bar {
    background: var(--bg-card);
    margin-top:80px;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-contact-info {
    display: flex;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Header */
.main-header {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-list li {
    margin-bottom: 1rem;
}

.mobile-nav-link {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--accent-color);
}

Main Content
.main-content {
    margin-top: 80px; /* Account for fixed header */
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, var(--accent-color) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-description {
    font-size: 1.25rem;
    margin: 2rem 0;
    color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    left: -10%;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    right: -5%;
    animation-delay: 2s;
}

/* Sections */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    /* max-width: 600px; */
    /* margin: 0 auto; */
}

/* Services Section */
.services-section {
    background: var(--bg-card);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

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

.service-card p {
    margin-bottom: 1.5rem;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-price {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.service-price strong {
    color: var(--accent-color);
    font-size: 1.25rem;
}

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

.services-cta p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Process Section */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Achievements Section */
.achievements-section {
    background: var(--bg-card);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.achievement-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.achievement-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.achievement-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 400px;
    margin-bottom: -70px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
}

.member-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-position {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.member-company {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.member-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.member-linkedin:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    text-align: center;
}

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

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.main-footer {
    background: var(--bg-card);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: left;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-list li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.footer-list a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-contact-item:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-dark);
    color: var(--text-secondary);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-copyright p {
    color: var(--text-secondary);
    margin: 0;
}

/* Utility Components */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
}

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

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.feature-item i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-color);
}

.contact-methods {
    padding: 5rem 0;
    background: var(--bg-card);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.primary-contact {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.primary-contact h3,
.primary-contact p {
    color: white;
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-card:not(.primary-contact) .contact-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.contact-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-card p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-card .primary-text {
    color: #101828;
}

.contact-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:not(.primary-contact) .contact-info {
    border-top-color: var(--border-color);
}

.email-address {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.availability {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.primary-contact .availability {
    color: rgba(0, 0, 0, 0.8);
}

.contact-form-section {
    padding: 5rem 0;
}

.form-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.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,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background: var(--bg-dark);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
}

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

.sidebar-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.benefits-list i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--success-color);
}

.response-times {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.response-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.response-item i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-color);
}

.response-item div {
    display: flex;
    flex-direction: column;
}

.response-item strong {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.response-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.profile-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.profile-link i {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-faq {
    padding: 5rem 0;
    background: var(--bg-card);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Projects, Offers & Blog Hero Sections */
.projects-hero,
.offers-hero,
.blog-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
}

.projects-hero .hero-title,
.offers-hero .hero-title,
.blog-hero .blog-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-hero .hero-description,
.offers-hero .hero-description,
.blog-hero .blog-hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.projects-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

/* Contact Page Responsive */
@media (max-width: 1023px) {
    .form-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}



/* Offers Page Styles */
.offers-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, var(--accent-color) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

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

.offers-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offers-hero .hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.offers-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.offers-hero .stat-item {
    text-align: center;
}

.offers-hero .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.offers-hero .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.offers-hero .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Offer Cards */
.offer-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.offer-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.offer-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.offer-badge .rating {
    color: #ffd700;
}

.offer-badge .new-offer {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.offer-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.offer-category {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.offer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.offer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.offer-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.feature-item i {
    width: 1rem;
    height: 1rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.offer-tags .tag {
    display: inline-block;
    background: transparent;
    color: var(--primary-color, #3182ce);
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.2rem 0.4rem 0.2rem 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color, #3182ce);
    position: relative;
    overflow: hidden;
}

.offer-tags .tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(49, 130, 206, 0.2);
    background: var(--primary-color, #3182ce);
    color: white;
}

.offer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-dark);
}

.offer-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.offer-pricing .price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-color);
}

.offer-pricing .delivery {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.offer-actions {
    display: flex;
    gap: 0.5rem;
}

.offer-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Offers CTA */
.offers-cta {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.offers-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.offers-cta .lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Why Choose Us Section */
.why-choose-us {
    background: var(--bg-card);
}

.benefit-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

.benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    background: var(--bg-dark);
}

.testimonial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
}

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

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.testimonial-rating .stars {
    color: #ffd700;
    font-size: 1.125rem;
}

.testimonial-rating .rating-text {
    color: var(--text-secondary);
    font-weight: 600;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design for Offers */
@media (max-width: 767px) {
    .offers-hero .hero-title {
        font-size: 2rem;
    }
    
    .offers-hero .hero-stats {
        gap: 1.5rem;
    }
    
    .offers-hero .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .offers-hero .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .offer-actions {
        flex-direction: column;
    }
    
    .offers-cta {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .offers-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .offer-content {
        padding: 1rem;
    }
    
    .offer-footer {
        padding: 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}


/* Detailed Offer Page Styles */
.offer-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.offer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, var(--accent-color) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.offer-breadcrumb {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.offer-breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.offer-breadcrumb a:hover {
    text-decoration: underline;
}

.offer-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.offer-hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.offer-hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.offer-hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offer-hero-stats .stat-icon {
    font-size: 1.25rem;
}

.offer-hero-stats .stat-value {
    font-weight: 700;
    color: var(--text-primary);
}

.offer-hero-stats .stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.offer-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.offer-hero-image {
    position: relative;
}

.offer-hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Feature Cards for Offer Pages */
.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.feature-card .feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-card .feature-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

.feature-card .feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card .feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Use Case Cards */
.use-case-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.use-case-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Technology Stack Cards */
.tech-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.tech-card .tech-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.tech-card .tech-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.tech-card h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    font-size: 0.875rem;
}

/* Benefit Items */
.benefit-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.benefit-item .benefit-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item .benefit-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.benefit-item .benefit-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.benefit-item .benefit-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Industry Cards */
.industry-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    text-align: center;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.industry-card .industry-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.industry-card .industry-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

.industry-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.industry-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.faq-section .accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--bg-dark);
    color: var(--accent-color);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-section .accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Offer CTA */
.offer-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.offer-cta .cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.offer-cta .cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.offer-cta .cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.offer-cta .btn-primary:hover {
    background: var(--bg-card);
    border-color: var(--bg-card);
}

.offer-cta .btn-outline-primary {
    color: white;
    border-color: white;
}

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

/* Responsive Design for Offer Pages */
@media (max-width: 767px) {
    .offer-hero-title {
        font-size: 2rem;
    }
    
    .offer-hero-stats {
        gap: 1rem;
    }
    
    .offer-hero-actions {
        flex-direction: column;
    }
    
    .offer-hero-actions .btn {
        width: 100%;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .offer-hero {
        padding: 4rem 0 3rem;
    }
    
    .feature-card,
    .use-case-card,
    .industry-card {
        padding: 1.5rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
}


/* SEO and Performance Optimizations */

/* Critical CSS for above-the-fold content */
.offers-hero,
.offer-hero {
    contain: layout style paint;
    will-change: transform;
}

/* Optimize font loading */
@font-face {
    font-family: 'Inter';
    font-display: swap;
    src: local('Inter'), url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
    decoding: async;
}

/* Critical images should load immediately */
.hero-image img,
.offer-hero-image img {
    loading: eager;
}

/* Reduce layout shift */
.offer-card,
.feature-card {
    min-height: 300px;
    contain: layout;
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* GPU acceleration for smooth animations */
.offer-card:hover,
.feature-card:hover,
.btn:hover {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimize for Core Web Vitals */
.offers-grid {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
}

/* Lazy loading placeholder */
.lazy-placeholder {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--border-color) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Print styles for SEO */
@media print {
    .offer-hero,
    .offers-hero {
        background: white !important;
        color: black !important;
    }
    
    .btn,
    .cta-actions {
        display: none !important;
    }
    
    .offer-card {
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .offer-card,
    .feature-card {
        border: 2px solid currentColor;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Dark mode optimizations
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #a1a1aa;
        --bg-primary: #09090b;
        --bg-secondary: #18181b;
        --bg-card: #27272a;
        --border-color: #3f3f46;
    }
} */

/* Focus management for accessibility and SEO */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

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

/* Optimize for mobile-first indexing */
@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .offer-hero-title,
    .offers-hero-title {
        font-size: 1.875rem;
        line-height: 1.2;
    }
    
    .offer-hero-description,
    .offers-hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Optimize for largest contentful paint */
.hero-content,
.offer-hero-content {
    contain: layout style;
}

/* Reduce cumulative layout shift */
.offers-container {
    min-height: 100vh;
    contain: layout;
}

/* Optimize for first input delay */
.btn,
.offer-card {
    touch-action: manipulation;
}

/* Schema.org microdata styling */
[itemscope] {
    display: block;
}

.h-card,
.h-entry {
    border: none;
    background: transparent;
}


/* Blog Post Cards */
.featured-post-card, .post-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    margin-bottom: 2rem;
}

.featured-post-card:hover, .post-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.featured-post-card .post-image, .post-card .post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.featured-post-card .post-image img, .post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-post-card:hover .post-image img, .post-card:hover .post-image img {
    transform: scale(1.05);
}

.featured-post-card .post-category, .post-card .post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-post-card .post-content, .post-card .post-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-post-card .post-meta, .post-card .post-meta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.7rem;
    align-items: center;
}

.featured-post-card .post-title, .post-card .post-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.featured-post-card .post-title a, .post-card .post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.featured-post-card .post-title a:hover, .post-card .post-title a:hover {
    color: var(--accent-color);
}

.featured-post-card .post-excerpt,
.post-card .post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.8em;
    /* fallback for 3 lines */
}

.featured-post-card .post-tags, .post-card .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.featured-post-card .tag, .post-card .tag {
    display: inline-block;
    background: transparent;
    color: var(--primary-color, #3182ce);
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.2rem 0.4rem 0.2rem 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color, #3182ce);
    position: relative;
    overflow: hidden;
}

.featured-post-card .tag:hover, .post-card .tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(49, 130, 206, 0.2);
    background: var(--primary-color, #3182ce);
    color: white;
}

.featured-post-card .post-actions, .post-card .post-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.featured-post-card .btn, .post-card .btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
}

.featured-post-card .post-share, .post-card .post-share {
    display: flex;
    align-items: center;
}

.featured-post-card .share-btn, .post-card .share-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.featured-post-card .share-btn:hover, .post-card .share-btn:hover {
    background: var(--accent-color);
    color: #fff;
}


/* Blog Post Grids */
.featured-posts-grid, .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1023px) {
    .featured-posts-grid, .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .featured-posts-grid, .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .featured-posts-grid, .posts-grid {
        grid-template-columns: 1fr;
    }
    .featured-post-card, .post-card {
        margin-bottom: 1.5rem;
    }
}

.blog-stats {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.blog-stats .stat-item {
    text-align: center;
}

@media (max-width: 600px) {
    .blog-stats {
        flex-direction: column;
        gap: 1.2rem;
    }
}

/* Reduce vertical spacing between category filter and blog cards */
.blog-filter {
    margin-bottom: 0.3rem;
    padding-bottom: 0.1rem;
}

@media (max-width: 600px) {
    .blog-filter {
        margin-bottom: 0.1rem;
        padding-bottom: 0;
    }
}


/* Blog Post Detail Sidebar Styles */
.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 0;
    border: 1px solid var(--border-color);
}

.author-card .author-info {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.author-card .author-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
}

.author-card .author-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.author-card .author-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.author-social {
    display: flex;
    gap: 0.5rem;
}

.author-social a {
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.author-social a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Blog Post Detail Styles */
.post-hero-image {
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.post-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 320px;
}

.sidebar-section {
    margin-bottom: 0;
}

@media (max-width: 1023px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .post-sidebar {
        position: static;
        order: 2;
        max-width: 100%;
        flex-direction: row;
        gap: 1rem;
    }
    .sidebar-section {
        margin-bottom: 0;
        flex: 1;
    }
}

@media (max-width: 600px) {
    .post-sidebar {
        flex-direction: column;
        gap: 1rem;
    }
    .sidebar-section {
        padding: 1.2rem;
        flex: none;
    }
    .author-card .author-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    margin-top: 4rem;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.email-signup-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-signup-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    background: white;
    font-size: 1rem;
    color: #000000;
}

.email-signup-form input[type="email"]::placeholder {
    color: #666666;
}

.email-signup-form .btn {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.form-disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.form-disclaimer a {
    color: white;
    text-decoration: underline;
}

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

/* CTA Section */
.cta-section {
    background: var(--bg-dark);
    padding: 4rem 0;
    text-align: center;
}

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

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

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .newsletter-text h2 {
        font-size: 2rem;
    }
    
    .email-signup-form .form-group {
        flex-direction: column;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .member-image img {
        height: 450px;
    }
}

