@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #ea580c;
    --primary-hover: #c2410c;
    --primary-light: #ffedd5;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --accent: #3b82f6;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: #e2e8f0;
    --border-glass: rgba(255, 255, 255, 0.4);
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-title: 'Outfit', system-ui, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 20px rgba(234, 88, 12, 0.35);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1280px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-medium);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

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

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--secondary) 0%, #020617 100%);
    color: var(--bg-white);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #fef3c7 0%, #ffedd5 100%);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    gap: 0.5rem;
    border: none;
    font-family: var(--font-title);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    margin-bottom: 1rem;
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
}

/* Homepage Header Navigation Styles (Transparent overlaying dark hero) */
.home-page header:not(.scrolled) .logo {
    color: var(--bg-white);
}

.home-page header:not(.scrolled) .logo-title {
    color: var(--bg-white);
}

.home-page header:not(.scrolled) .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.home-page header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.home-page header:not(.scrolled) .nav-link:hover {
    color: var(--primary);
}

.home-page header:not(.scrolled) .menu-toggle span {
    background-color: var(--bg-white);
}

.top-bar {
    background-color: var(--secondary);
    color: var(--bg-white);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

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

.top-bar-contact {
    display: flex;
    gap: 1.5rem;
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-contact a:hover {
    color: var(--primary);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-family: var(--font-title);
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 800;
    font-size: 1.65rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.logo-subtitle {
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: none;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
}

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

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

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

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

.navbar .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

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

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 7.5rem 0 3.5rem 0;
    overflow: hidden;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    min-height: auto;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.about-grid-normal, .about-grid-reverse {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.about-grid-normal {
    grid-template-columns: 0.9fr 1.1fr;
}

.about-grid-reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

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

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--bg-white);
}

#typewriter-title {
    min-height: 2.4em; /* Stabilize height during typewriter animation */
}

.hero-content p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-call-highlight {
    background: rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.75rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    display: inline-flex;
    flex-direction: column;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--primary);
}

.hero-call-highlight span {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.hero-call-highlight a {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(234, 88, 12, 0.2);
    font-family: var(--font-title);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-image-wrapper {
    position: relative;
    z-index: 6;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid rgba(255, 255, 255, 0.15);
    max-height: 380px;
    width: 100%;
    object-fit: cover;
}

.hero-badge-overlay {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-badge-overlay .icon {
    font-size: 2rem;
    color: var(--primary);
}

.hero-badge-overlay h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-badge-overlay p {
    font-size: 0.8rem;
    margin: 0;
    color: #cbd5e1;
}

/* Trust Badges / Stats Bar */
.trust-bar {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item h3 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.trust-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trust-item.mobile-only-dup {
    display: none;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(234, 88, 12, 0.2);
}

.service-img-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img-container img {
    transform: scale(1.08);
}

.service-price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-title);
    border-left: 3px solid var(--primary);
}

.service-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-card-body p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.service-features-list li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.service-card-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: auto;
}

.service-card-ctas .btn {
    padding: 0.65rem 0.5rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* Why Choose Us Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.why-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.why-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.why-img-container {
    height: 160px;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.why-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.why-card:hover .why-img-container img {
    transform: scale(1.05);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* Steps / How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

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

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--shadow-glow);
    font-family: var(--font-title);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question svg {
    transition: var(--transition);
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0 1.5rem;
    color: var(--text-medium);
    font-size: 0.95rem;
    border-top: 0px solid transparent;
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* high value to allow expansion */
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* Contact Page / Form */
.contact-section-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-card h3 svg {
    color: var(--primary);
}

.contact-info-card p, .contact-info-card a {
    font-size: 1.05rem;
    color: var(--text-medium);
}

.contact-info-card a:hover {
    color: var(--primary);
}

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

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

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

/* Call to Action Banner */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #020617 100%);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    margin: 4rem auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-banner h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-banner p {
    color: #cbd5e1;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-banner-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Blog Listing */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

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

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

.blog-img-container {
    height: 220px;
    overflow: hidden;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-body p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--primary-hover);
    gap: 0.5rem;
}

/* Article Page Details */
.article-header {
    padding: 10rem 0 4rem 0;
    background: linear-gradient(180deg, #fef3c7 0%, var(--bg-light) 100%);
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    font-weight: 800;
}

.article-contact-alert {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    max-width: 700px;
    margin: 2rem auto 0 auto;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.article-contact-alert span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-contact-alert-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.article-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.article-main-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

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

.article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

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

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-dark);
}

/* Footer Section */
footer {
    background-color: var(--secondary);
    color: #cbd5e1;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-about p {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Floating / Mobile Sticky Bar */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
    z-index: 999;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.sticky-mobile-cta .btn {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    width: 100%;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .about-grid-normal, .about-grid-reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero {
        padding: 10rem 0 6rem 0;
        min-height: auto;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    #typewriter-title {
        min-height: 3.6em;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
    .hero-image {
        transform: none;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .contact-section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .trust-container-scroll {
        overflow: hidden;
        padding: 0;
        width: 100%;
    }
    .trust-grid.scroll-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        animation: marqueeLoop 18s linear infinite;
        width: max-content;
        gap: 4rem; /* wider gap for spacing */
        padding: 0 2rem;
        grid-template-columns: none !important; /* disable grid */
    }
    .trust-grid:hover {
        animation-play-state: paused;
    }
    .trust-item {
        width: 260px;
        flex-shrink: 0;
    }
    .trust-item.mobile-only-dup {
        display: block !important;
    }
    .trust-item h3 {
        font-size: 1.75rem;
    }
    @keyframes marqueeLoop {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    .hero-ctas .btn-whatsapp {
        display: none !important;
    }
    .section-padding {
        padding: 4.5rem 0; /* Perfectly even spacing across all sections on mobile */
    }
    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    .section-header h2 {
        font-size: 2.1rem;
    }
    .section-header p {
        font-size: 1rem;
    }
    .top-bar {
        display: none;
    }
    .navbar {
        padding: 0.75rem 0;
    }
    header.scrolled {
        background: rgba(255, 255, 255, 0.98);
    }
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: 998;
    }
    .nav-menu.active {
        left: 0;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-ctas {
        display: none;
    }
    
    /* Spacing fixes for grid systems on mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .step-card {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 8rem 0 4.5rem 0;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
    }
    .hero-badge-overlay {
        left: 0;
        bottom: 1rem;
        padding: 0.75rem 1.25rem;
    }
    
    .sticky-mobile-cta {
        display: grid;
    }
    body {
        padding-bottom: 65px; /* Offset for mobile call bar */
    }
    
    .article-header {
        padding: 8rem 0 3rem 0;
    }
    .article-header h1 {
        font-size: 2.1rem;
        padding: 0 1rem;
    }
    .article-contact-alert {
        padding: 1.25rem;
        margin: 1.5rem 1rem 0 1rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-grid, .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .container {
        padding: 0 1.25rem; /* Slightly tighter container padding for compact screens */
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    #typewriter-title {
        min-height: 4.8em;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .service-card-ctas {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .cta-banner {
        padding: 3.5rem 1rem;
        margin: 2rem auto;
    }
    .cta-banner h2 {
        font-size: 1.8rem;
    }
    .cta-banner p {
        font-size: 1rem;
    }
}

/* Typewriter Blinking Cursor */
.typewriter-cursor {
    display: inline-block;
    color: var(--primary);
    margin-left: 4px;
    animation: blinkCursor 0.8s step-end infinite;
    font-weight: 500;
}

@keyframes blinkCursor {
    from, to { color: transparent }
    50% { color: var(--primary) }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered grid loading */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.35s; }
.delay-4 { transition-delay: 0.5s; }

/* Page Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white); /* White background as requested */
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader-logo {
    height: 80px;
    width: auto;
    animation: pulseLogo 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
