/* ===========================
   Cangluu - Global Styles
   =========================== */

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

/* Smooth page transitions */
#app {
    animation: pageLoad 0.4s ease-out;
}

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

.page {
    animation: contentFadeIn 0.5s ease-out;
}

@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

html, body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    color: #2d2d2d;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #2563eb;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-outline-light {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    border-width: 2px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.btn-light {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    color: #1e40af;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.btn-light:hover {
    transform: translateY(-2px);
    color: #1e40af;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

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

/* ===========================
   Navbar
   =========================== */

.navbar {
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ===========================
   Slide Layout (PowerPoint style)
   =========================== */

.slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide-center {
    width: 100%;
    text-align: center;
}

.slide-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.slide-label-light {
    color: #60a5fa;
}

.slide-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #0f172a;
}

.slide-title-light {
    color: #fff;
}

.slide-subtitle {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.3);
    animation: bounceDown 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===========================
   Slide 1: Hero
   =========================== */

.slide-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
    color: #fff;
}

.slide-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 800px 600px at 20% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 600px 400px at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 60% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.slide-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #60a5fa;
    margin-bottom: 1.5rem;
}

.slide-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

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

/* Floating decorative shapes */
.hero-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-shape-1 {
    top: 15%;
    left: 8%;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    transform: rotate(15deg);
    animation: floatShape1 8s ease-in-out infinite;
}

.hero-shape-2 {
    top: 60%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 50%;
    animation: floatShape2 6s ease-in-out infinite;
}

.hero-shape-3 {
    bottom: 20%;
    left: 15%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(14, 165, 233, 0.12);
    border-radius: 12px;
    transform: rotate(45deg);
    animation: floatShape3 10s ease-in-out infinite;
}

.hero-shape-4 {
    top: 25%;
    right: 15%;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    animation: floatShape4 7s ease-in-out infinite;
}

.hero-shape-5 {
    top: 70%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 50%;
    animation: floatShape5 9s ease-in-out infinite;
}

/* Glowing dots */
.hero-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-dot-1 {
    top: 20%;
    left: 25%;
    width: 6px;
    height: 6px;
    background: rgba(96, 165, 250, 0.6);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
    animation: pulseDot 3s ease-in-out infinite;
}

.hero-dot-2 {
    top: 40%;
    right: 20%;
    width: 4px;
    height: 4px;
    background: rgba(167, 139, 250, 0.6);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
    animation: pulseDot 4s ease-in-out infinite 1s;
}

.hero-dot-3 {
    bottom: 30%;
    right: 30%;
    width: 5px;
    height: 5px;
    background: rgba(14, 165, 233, 0.6);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
    animation: pulseDot 3.5s ease-in-out infinite 0.5s;
}

.hero-dot-4 {
    top: 55%;
    left: 12%;
    width: 4px;
    height: 4px;
    background: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
    animation: pulseDot 5s ease-in-out infinite 2s;
}

@keyframes floatShape1 {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-20px) rotate(20deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(15px) scale(1.05); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(50deg); }
}

@keyframes floatShape4 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.03); }
}

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

@keyframes pulseDot {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* ===========================
   Section Styling (for sub-pages)
   =========================== */

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Slide 2: Services
   =========================== */

.slide-services {
    background: #fff;
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff, #f0f0ff);
    border-radius: 14px;
    color: #2563eb;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.service-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* ===========================
   Slide 3: Stats
   =========================== */

.slide-stats {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
}

.slide-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 25% 40%, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 500px 300px at 75% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.slide-stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.slide-stats .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.stats-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stats-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.stats-feature svg {
    color: #34d399;
    flex-shrink: 0;
}

/* ===========================
   Slide 4: Why
   =========================== */

.slide-why {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: left;
}

.why-item {
    padding: 2rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.why-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.why-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.why-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.why-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ===========================
   Slide 5: CTA
   =========================== */

.slide-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}

.slide-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 500px 300px at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.cta-content p {
    color: #bfdbfe;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* CTA section used on sub-pages */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 500px 300px at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .cta-content h2 {
    font-size: 2.2rem;
}

.cta-section .cta-content p {
    font-size: 1.15rem;
}

/* ===========================
   Page Header (Services, About, Contact)
   =========================== */

.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
    padding: 8rem 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 500px 300px at 70% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.page-header p {
    color: #94a3b8;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   Services Detail Page
   =========================== */

.services-detail {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
}

.service-detail-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2563eb, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-detail-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateX(4px);
}

.service-detail-card:hover::before {
    opacity: 1;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.service-detail-header svg {
    flex-shrink: 0;
    padding: 10px;
    background: linear-gradient(135deg, #eff6ff, #f0f0ff);
    border-radius: 12px;
    color: #2563eb;
    width: 52px;
    height: 52px;
}

.service-detail-header h2 {
    font-size: 1.35rem;
    margin: 0;
    color: #0f172a;
}

.service-detail-card > p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, #eff6ff, #f0f0ff);
    color: #2563eb;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    border-color: rgba(37, 99, 235, 0.2);
}

/* ===========================
   About Page
   =========================== */

.about-content {
    padding: 5rem 0;
}

.about-intro {
    max-width: 800px;
    margin-bottom: 4rem;
}

.about-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-intro p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.expertise-section {
    margin-bottom: 4rem;
}

.expertise-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.expertise-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.expertise-card h3 {
    font-size: 1.05rem;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-card ul li {
    color: #475569;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expertise-card ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    flex-shrink: 0;
}

.expertise-card ul li:last-child {
    border-bottom: none;
}

.approach-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

.approach-item {
    padding: 2rem;
    background: #fff;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #2563eb, #7c3aed) 1;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.approach-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.approach-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.approach-item p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* ===========================
   Contact Page
   =========================== */

.contact-content {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-info > p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.contact-detail-item:hover {
    background: #f8fafc;
}

.contact-detail-item svg {
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-item div strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
}

.contact-detail-item div p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #334155;
}

.form-group .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.form-group .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #fff;
}

.alert-success {
    border-radius: 12px;
    border: 1px solid #86efac;
    background: #f0fdf4;
    color: #166534;
}

/* ===========================
   Footer
   =========================== */

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    color: #f1f5f9;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #475569;
    font-size: 0.85rem;
    margin: 0;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
    .slide {
        min-height: auto;
        padding: 5rem 0 3rem;
    }

    .slide-hero {
        min-height: 100vh;
    }

    .slide-hero h1 {
        font-size: 2.2rem;
    }

    .slide-title {
        font-size: 2rem;
    }

    .hero-decoration, .hero-dot {
        display: none;
    }

    .scroll-hint {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header {
        padding: 7rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* ===========================
   Form Validation
   =========================== */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ===========================
   Blazor Infrastructure
   =========================== */

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #2563eb;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }
