/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --text-dark: #0f172a; /* deeper text for contrast */
    --text-light: #475569;
    --bg-light: #f3f4f6; /* page background grey */
    --bg-white: #ffffff;
    --border-color: #e6e9ef;
    --shadow: 0 6px 18px rgba(15,23,42,0.06);
    --shadow-lg: 0 12px 36px rgba(15,23,42,0.08);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
}

/* Ensure main content grows to push footer to bottom */
main, .proj-article { flex: 1 0 auto; }

/* Make the content area larger and more readable */
.proj-article {
    max-width: 1100px;
    margin: 36px auto;
    padding: 48px 28px;
    background: linear-gradient(180deg, var(--bg-white), #fbfcff);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(16,24,40,0.06);
}

.proj-article h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: var(--primary-dark);
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.proj-article h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    color: var(--text-dark);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.proj-article p, .proj-article li {
    font-size: 1.075rem;
    line-height: 1.7;
    color: rgba(17,24,39,0.9);
}

.proj-article ul { padding-left: 1.25rem; }
.proj-article ul li { margin-bottom: 0.65rem; }
.proj-article ul li::marker { color: var(--primary-color); font-weight: 700; }

/* Footer should sit at the end and be visually separated */
.footer {
    margin-top: auto;
    padding: 48px 0;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    border-top: 1px solid var(--border-color);
}
.footer .container p { color: var(--text-light); }

@media (max-width: 760px) {
    .proj-article { padding: 28px 18px; margin: 20px auto; }
    .proj-article h2 { font-size: 1.4rem; }
    .proj-article h3 { font-size: 1.125rem; }
}

/* Blog diagrams: compact, centered immediately below sentences */
.blog-diagram {
    margin: 8px 0 12px;
    text-align: center;
    display: block;
}
.blog-diagram img {
    max-width: 520px;
    width: 100%;
    height: auto;
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 6px;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(11,22,50,0.06);
    cursor: default !important; /* prevent link cursor in browsers */
}
/* Inline blog diagram variant (for short inline images next to text) */
.blog-inline {
    display: inline-block;
    max-width: 260px;
    height: auto;
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(11,22,50,0.06);
    border: 1px solid var(--border-color);
    padding: 6px;
    background: var(--bg-white);
    cursor: default !important;
}
.figcaption-inline {
    display: inline-block;
    color: var(--text-light);
    margin-left: 8px;
    font-size: 0.95rem;
    vertical-align: middle;
}

/* Left-aligned code block variant used inside .blog-diagram */
.left-code {
    text-align: left;
    margin: 12px 0 0 0; /* keep under image */
    max-width: 720px;   /* prevent overly wide block */
    overflow: auto;
    white-space: pre;   /* preserve formatting */
    background: #f8fafc;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}
/* If any anchor remains around diagram images (cached versions or injected scripts), disable clicks inside .blog-diagram */
.blog-diagram a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}
.blog-diagram a img { pointer-events: none; }

@media (max-width: 480px) {
    .blog-diagram img { max-width: 100%; width: 100%; }
    .blog-inline { max-width: 140px; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
    display: inline-block;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Dropdown menu for nav */
.nav-item { position: relative; }
.nav-item .dropbtn { cursor: pointer; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    min-width: 220px;
    padding: 0.5rem 0;
    list-style: none;
    display: none;
    z-index: 1100;
}
.dropdown-menu li { padding: 0; }
.dropdown-menu a { display: block; padding: 8px 16px; color: var(--text-dark); text-decoration: none; }
.dropdown-menu a:hover { background: var(--bg-light); color: var(--primary-color); }
.nav-item:hover > .dropdown-menu { display: block; }

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 12px 20px;
        box-shadow: var(--shadow);
        z-index: 1200;
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { padding: 8px 0; border-bottom: 1px solid var(--border-color); }
    .nav-menu li:last-child { border-bottom: none; }
    .nav-item .dropdown-menu { position: static; border: none; box-shadow: none; display: none; padding-left: 12px; background: transparent; }
    .nav-item.open > .dropdown-menu { display: block; }
} 

/* Hero Section */
.hero {
    background: linear-gradient(180deg, rgba(37,99,235,0.04), rgba(99,102,241,0.02));
    color: var(--text-dark);
    padding: clamp(40px, 6vw, 80px) 20px;
    text-align: center;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin: 28px auto;
    max-width: 1100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -40px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 30% 30%, rgba(37,99,235,0.06), transparent 40%);
    pointer-events: none;
    opacity: 0.9;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 10px;
}

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 3.2rem);
    margin-bottom: 0.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.04;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37,99,235,0.12);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 38px rgba(37,99,235,0.16);
}

/* Keep .btn-outline as-is for contrast needs */

/* Services Section */
.services {
    padding: 80px 20px;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 80px;
    line-height: 80px;
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
}

.service-logo {
    width: 250px;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card:hover .service-logo {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 1.5rem;
    font-size: 1rem;
}

.service-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: inline-block;
    width: 100%;
}

.service-card ul li {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}

.service-card:hover ul li {
    color: var(--text-dark);
}

.service-card:hover ul li::before {
    color: var(--primary-dark);
}

/* Projects Section */
.projects {
    padding: 80px 20px;
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* EDI slides */
.edi-slides { max-width: 900px; margin: 24px auto 36px; }
.edi-slides .slides { position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--border-color); background: white; min-height: 140px; }
.edi-slides .slide { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transform: translateX(0); padding: 20px; transition: opacity 480ms ease, transform 480ms ease; pointer-events: none; }
.edi-slides .slide.active { opacity: 1; pointer-events: auto; position: relative; z-index: 2; }

/* Slide-in/out helpers (for slide effect) */
.edi-slides .slide.enter-from-right { transform: translateX(100%); }
.edi-slides .slide.enter-from-left { transform: translateX(-100%); }
.edi-slides .slide.exit-to-left { transform: translateX(-100%); opacity: 0; }
.edi-slides .slide.exit-to-right { transform: translateX(100%); opacity: 0; }
.edi-slides .slide h3 { margin-top: 0; margin-bottom: 8px; }

/* On-page slide items (card appearance, nicer typography) */
.edi-slides .slide-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 22px 28px;
    box-shadow: 0 8px 24px rgba(11,22,50,0.06);
    max-width: 980px;
    margin: 18px auto;
}
.edi-slides .slide-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}
.edi-slides .slide-item p {
    margin: 0 0 8px 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}
@media (max-width: 800px) {
    .edi-slides .slide-item { padding: 16px; }
    .edi-slides .slide-item h3 { font-size: 1.05rem; }
    .edi-slides .slide-item p { font-size: 0.95rem; }
}
/* Hide on-page source slide-items when they are marked hidden by the rotator init */
.edi-slides .slide-item[hidden] { display: none !important; }
.edi-slides[hidden] { display: none !important; }

/* Sequential content: show items one-by-one */
.edi-sequence .sequence { position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--border-color); background: white; min-height: 140px; }
.edi-sequence .seq-item { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transform: translateY(0); padding: 20px; transition: opacity 480ms ease, transform 480ms ease; pointer-events: none; }
.edi-sequence .seq-item.active { opacity: 1; pointer-events: auto; position: relative; z-index: 2; }
.edi-sequence .seq-item h3 { margin-top: 0; margin-bottom: 8px; }

.slide-controls { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:8px; }
.slide-prev, .slide-next { background: transparent; border: 1px solid var(--border-color); padding:6px 10px; border-radius:6px; cursor:pointer; }
.slide-indicators { display:flex; gap:8px; }
.slide-indicators button { width:10px; height:10px; border-radius:50%; border:none; background:#cbd5e1; cursor:pointer; }
.slide-indicators button.active { background:var(--primary-color); }

/* Play/Pause toggle */
.slide-toggle { background: transparent; border: 1px solid var(--border-color); padding:6px 10px; border-radius:6px; cursor:pointer; }
.slide-toggle[aria-pressed="true"] { background: var(--primary-color); color: white; border-color: var(--primary-color); }

/* Pop + Fade popup for single-message display */
.edi-popup {
    position: fixed;
    left: 50%;
    top: 20%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(180deg, var(--bg-white), var(--bg-light));
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
    z-index: 1200;
    max-width: 900px;
    width: calc(100% - 40px);
    text-align: center;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    animation: popfade var(--popup-duration, 6s) ease forwards;
}

@keyframes popfade {
    0%   { opacity: 0; transform: translateX(-50%) translateY(12px) scale(0.98); }
    10%  { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.02); }
    70%  { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .edi-popup { animation: none; opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* On-screen player inside the page content (centered, large) */
.edi-player {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, var(--bg-white), var(--bg-light));
    border-radius: 18px;
    padding: 48px 64px;
    box-shadow: 0 30px 72px rgba(11,22,50,0.14), 0 12px 30px rgba(11,22,50,0.06);
    color: var(--text-dark);
    z-index: 2200;
    max-width: 1400px;
    width: min(94%, 1400px);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    opacity: 0;
    animation: playerfade var(--play-duration, 6s) ease forwards;
    pointer-events: none; /* don't block underlying interactions */
}
.edi-player.persistent { pointer-events: auto; cursor: pointer; }
.edi-player-content {
    margin: 0 auto;
    max-width: 1100px;
    font-size: clamp(1.4rem, 4.5vw, 2.6rem);
    line-height: 1.32;
    font-weight: 400; /* normal weight, not bold */
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: rgba(17,24,39,0.95);
    letter-spacing: 0.2px;
    text-wrap: balance;
    transition: opacity 360ms ease, transform 360ms ease;
    will-change: opacity, transform;
}
.edi-player-content.fade-in { opacity: 1; transform: translateY(0); }
.edi-player-content.fade-out { opacity: 0; transform: translateY(-8px); }

@keyframes playerfade {
    0%   { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
    10%  { opacity: 1; transform: translate(-50%, -50%) scale(1.02); }
    80%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -52%) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .edi-player { animation: none; opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 1000px) {
    .edi-player { padding: 32px 36px; min-height: 260px; }
    .edi-player-content { font-size: clamp(1.05rem, 4.0vw, 1.35rem); }
}

@media (min-width: 1400px) {
    .edi-player { padding: 64px 96px; min-height: 480px; }
    .edi-player-content { font-size: 2.8rem; }
}

/* When the player is persistent allow interactions (click/tap) */
.edi-player.persistent { pointer-events: auto; cursor: pointer; }

@media (max-width: 640px) {
    .edi-player { padding: 18px 18px; }
    .edi-player-content { font-size: 1.1rem; }
}

@media (max-width: 600px) {
    .edi-slides .slide { padding: 14px; }
}

.project-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.project-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.project-card p { color: var(--text-light); margin-bottom: 0.75rem; }

/* Pricing Section */
.pricing {
    padding: 80px 20px;
    background: #ffffff;
    background: var(--bg-white, #ffffff);
    width: 100%;
    box-sizing: border-box;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #64748b;
    color: var(--text-light, #64748b);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.pricing-card {
    background: #ffffff;
    background: var(--bg-white, #ffffff);
    border: 2px solid #e2e8f0;
    border: 2px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    min-height: 400px;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    border-color: #2563eb;
    border-color: var(--primary-color, #2563eb);
}

.pricing-card.featured {
    border-color: #2563eb;
    border-color: var(--primary-color, #2563eb);
    border-width: 3px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    background: linear-gradient(135deg, var(--primary-color, #2563eb) 0%, var(--primary-dark, #1e40af) 100%);
    color: #ffffff;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 2rem;
    margin-top: 0;
    padding-top: 0;
}

.pricing-header h3 {
    font-size: 1.75rem;
    color: #1e293b;
    color: var(--text-dark, #1e293b);
    margin-bottom: 1rem;
    margin-top: 0;
    font-weight: 700;
    line-height: 1.2;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 1rem;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.price .amount {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
    width: 100%;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #1e293b;
    color: var(--text-dark, #1e293b);
    font-size: 1rem;
    border-bottom: 1px solid #e2e8f0;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    line-height: 1.6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
}

.btn-outline {
    background: transparent;
    background-color: transparent;
    color: #2563eb;
    color: var(--primary-color, #2563eb);
    border: 2px solid #2563eb;
    border: 2px solid var(--primary-color, #2563eb);
    text-decoration: none;
}

.btn-outline:hover {
    background: #2563eb;
    background-color: #2563eb;
    background: var(--primary-color, #2563eb);
    color: #ffffff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

/* About Section */
.about {
    padding: 80px 20px;
    background: var(--bg-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex: 1 1 260px;
    min-width: 220px;
}

.feature strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    /* Mobile: dropdown behaves like nested list inside mobile nav */
    .dropdown-menu { position: static; display: none; padding-left: 0; }
    .nav-item.open > .dropdown-menu { display: block; }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .price .amount {
        font-size: 2.5rem;
    }
}

/* Homepage Slider removed — slider styles were removed to prevent automatic sliding on the homepage. If you need to restore them, revert this change or reintroduce the styles selectively for pages that require a slider. */

