/* ========== BASE RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #edf1f7; 
    color: #111827;
    line-height: 1.6;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== TOP BAR & NAV ========== */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    gap: 1.25rem;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
}

.brand-tagline {
    font-size: 0.83rem;
    color: #6b7280;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.9rem;
}

.main-nav a {
    text-decoration: none;
    color: #111827;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    background-color: rgba(19, 87, 228, 0.08);
    color: #1357e4;
}

.nav-cta {
    background: #1357e4;
    color: #ffffff !important;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(19, 87, 228, 0.35);
}

.lang-switch {
    display: flex;
    gap: 0.3rem;
    margin-left: 0.3rem;
}

.lang-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #d1d5db;
    color: #374151;
    background: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lang-icon.active {
    background: linear-gradient(135deg, #1357e4, #2563eb);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
    cursor: default;
}

/* ========== HERO WITH BACKGROUND VIDEO ========== */
.hero {
    position: relative;
    padding: 0;
    min-height: 520px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    overflow: hidden;
    background: #020617;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(15,23,42,0.2), transparent 55%),
                linear-gradient(to bottom, rgba(15,23,42,0.55), rgba(15,23,42,0.9));
}

/* hero content */
.hero-inner {
    display: flex;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-inner-overlay {
    position: relative;
    z-index: 1;
}

.hero-text-wrapper {
    padding: 4.5rem 1.5rem 4.5rem 1.5rem;
}

.hero-text {
    max-width: 640px;
    color: #e5e7eb;
}

.hero-text h1 {
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 1.1rem;
    color: #f9fafb;
}

.hero-text p {
    font-size: 1.03rem;
    color: #e5e7eb;
    margin-bottom: 1.1rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.4rem;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #1357e4, #2563eb);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    color: #1357e4;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 2px solid #1357e4;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-outline:hover {
    background: #1357e4;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-link {
    font-size: 0.95rem;
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-link::after { content: "↗"; font-size: 0.8rem; }
.btn-link:hover { text-decoration: underline; }

/* ========== SECTIONS ========== */
.section { padding: 3.2rem 0; }
.section-alt {
    padding: 3.2rem 0;
    background: #f4f5fb;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.section h2 {
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.6rem;
}

.section-intro {
    color: #4b5563;
    margin-bottom: 1.9rem;
    max-width: 680px;
}

.section > .container {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.1rem 2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.95);
}
.section-alt > .container { background: #ffffff; }

/* ========== SERVICE CARDS ========== */
.cards-grid { display: grid; gap: 1.5rem; }

.card {
    border-radius: 16px;
    padding: 1.5rem 1.4rem;
    background: linear-gradient(135deg, #ffffff, #f5f7ff);
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    border-color: #1357e4;
}

.card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; color: #111827; }
.card p { font-size: 0.95rem; color: #4b5563; margin-bottom: 0.7rem; }
.card ul {
    list-style: disc;
    margin-left: 1.1rem;
    font-size: 0.9rem;
    color: #4b5563;
}

/* ========== PROJECT CARDS WITH IMAGES ========== */
.project-list { display: grid; gap: 1.4rem; }

.project-item {
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(209, 213, 219, 0.5);
}

.project-content {
    padding: 1.4rem 1.3rem;
    flex-grow: 1;
}

.project-content h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.project-meta { font-size: 0.85rem; color: #6b7280; margin-bottom: 0.5rem; }

/* ========== PROCESS STEPS ========== */
.steps { display: grid; gap: 1.3rem; }

.step {
    border-radius: 14px;
    padding: 1.25rem 1.2rem;
    background: #f9fafb;
    border: 1px solid rgba(209, 213, 219, 0.9);
}

.step-number {
    font-weight: 700;
    color: #1357e4;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    letter-spacing: 0.12em;
}

.step h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.step p { font-size: 0.95rem; color: #4b5563; }

/* ========== ABOUT AS FULL-WIDTH PHOTO BAND ========== */
.about-hero {
    position: relative;
    padding: 0;
    background: none;
    border-top: none;
    border-bottom: none;
}

.about-hero-overlay {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

/* background image layer – mirrored, shifted up */
.about-hero-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/myphoto.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center -600px; /* move photo up */
    transform: scaleX(-1);             /* mirror photo only */
    transform-origin: center;
    z-index: 0;
}

/* dark gradient overlay on top of photo */
.about-hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,23,42,0.80),
                                         rgba(15,23,42,0.45),
                                         rgba(15,23,42,0.60));
    z-index: 1;
}

.about-hero-inner {
    position: relative;
    z-index: 2; /* text/card above image and overlay */
    padding: 3.2rem 1.5rem;
    display: flex;
    justify-content: flex-start;
}

.about-hero-card {
    max-width: 520px;
    background: rgba(15, 23, 42, 0.80);
    border-radius: 18px;
    padding: 2.1rem 2rem;
    color: #e5e7eb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.about-hero-card h2 {
    color: #f9fafb;
}

.about-hero-card .section-intro {
    color: #e5e7eb;
}

.about-hero-card p {
    color: #e5e7eb;
    margin-bottom: 1rem; /* space between paragraphs */
}


/* keep for any future inline uses */
.about-photo {
    width: 100%;
    max-width: 320px;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(209, 213, 219, 0.8);
}

/* ========== CONTACT ========== */
.contact-section {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    background: radial-gradient(circle at top right, rgba(19, 87, 228, 0.09), transparent 60%), #edf1f7;
}

.contact-layout {
    display: grid;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    border-radius: 16px;
    padding: 1.7rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.95);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.field { margin-bottom: 1rem; }
.field label {
    display: block;
    font-size: 0.86rem;
    margin-bottom: 0.25rem;
    color: #374151;
    font-weight: 500;
}

.field input, .field textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 0.6rem 0.7rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: #f9fafb;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: #1357e4;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(19, 87, 228, 0.3);
}

.form-note { font-size: 0.85rem; color: #6b7280; margin-top: 0.7rem; }
.form-note a { color: #1357e4; text-decoration: none; }
.form-note a:hover { text-decoration: underline; }
.contact-info h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-info p, .contact-info ul { font-size: 0.95rem; color: #4b5563; }
.contact-info ul { list-style: disc; margin-left: 1.1rem; }
.footer-note { font-size: 0.8rem; color: #9ca3af; text-align: center; }

/* ========== RESPONSIVE ========== */
@media (min-width: 720px) {
    .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .project-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-layout { grid-template-columns: 1.4fr 1fr; align-items: flex-start; }
}

@media (max-width: 900px) {
    .hero-inner {
        justify-content: center;
    }
    .hero-text-wrapper {
        padding: 3.5rem 1.5rem;
    }
}

@media (max-width: 720px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    .main-nav { row-gap: 0.25rem; }
    .hero-text h1 { font-size: 1.55rem; }
    .section > .container, .section-alt > .container {
        padding: 1.8rem 1.4rem;
        border-radius: 16px;
    }
    .about-hero-inner {
        padding: 2.4rem 1.5rem;
        justify-content: center;
    }
    .about-hero-card {
        padding: 1.7rem 1.5rem;
    }
}

/* Force‑hide any leftover project slider below the cards */
#project-slider,
.project-slider,
.project-slider-main,
.slider-frame,
.slider-image,
.slider-meta,
.slider-btn {
  display: none !important;
}
