/* =========================================================
   NovaTechSole - main stylesheet
   Simple custom CSS, no build tools needed.
   ========================================================= */

/* ---------- 1. Colors and settings ---------- */
:root {
    --navy: #0B1120;
    --navy-light: #111a2e;
    --primary: #6366F1;
    --secondary: #8B5CF6;
    --accent: #06B6D4;
    --light: #F8FAFC;
    --text: #0F172A;
    --muted: #64748B;
    --muted-dark: #94A3B8;
    --white: #ffffff;
    --border: #E2E8F0;
    --gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-accent: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);
    --radius: 18px;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 45px rgba(99, 102, 241, 0.25);
    --transition: all 0.3s ease;
}

/* ---------- 2. Basic reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.25; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--muted-dark); margin-bottom: 25px; }

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- 3. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(99, 102, 241, 0.5); }
.btn-outline { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- 4. Navbar (glass effect) ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(11, 17, 32, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}
/* Navbar after scrolling (class added by JS) */
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(11, 17, 32, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px; font-weight: 800;
    color: var(--white);
}
.logo span:not(.logo-icon) { color: var(--accent); }
.logo-icon {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--gradient);
    font-size: 18px;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute; left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}
.nav-links a:not(.btn):hover,
.nav-links a.active { color: var(--white); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }

/* Hamburger icon (hidden on desktop) */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span {
    display: block; width: 26px; height: 2px; margin: 6px 0;
    background: var(--white); border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    background: radial-gradient(ellipse at top, #1e1b4b 0%, var(--navy) 60%);
    color: var(--white);
    overflow: hidden;
    text-align: center;
    padding: 120px 0 80px;
}
.hero-content { position: relative; z-index: 2; }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    margin-bottom: 25px;
}
.badge i { color: #FBBF24; }

.hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; margin-bottom: 25px; }
.cursor { color: var(--accent); animation: blink 0.8s infinite; font-weight: 300; }
.hero-text { max-width: 640px; margin: 0 auto 35px; font-size: 18px; color: var(--muted-dark); }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.scroll-down {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    color: var(--white); font-size: 20px;
    animation: bounce 2s infinite;
    z-index: 2;
}

/* Floating blurry blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: float 12s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: var(--primary); top: -100px; left: -100px; }
.blob-2 { width: 360px; height: 360px; background: var(--secondary); bottom: -80px; right: -80px; animation-delay: -4s; }
.blob-3 { width: 280px; height: 280px; background: var(--accent); top: 40%; left: 55%; opacity: 0.35; animation-delay: -8s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ---------- 6. Stats ---------- */
.stats { background: var(--navy); padding: 0 0 70px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat h3 { font-size: 44px; font-weight: 800; color: var(--white); }
.stat h3 span { background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { color: var(--muted-dark); }

/* ---------- 7. Sections ---------- */
.section { padding: 100px 0; }
.section.light { background: var(--light); }
.section.dark { background: var(--navy); color: var(--white); }

.section-title { text-align: center; max-width: 650px; margin: 0 auto 60px; }
.section-title h2, .section h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 15px; }
.section-title p { color: var(--muted); }
.section.dark .section-title p { color: var(--muted-dark); }

.subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 10px;
}
.section.dark .subtitle { color: var(--accent); }

/* ---------- 8. Service cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.service-card {
    position: relative;
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { color: var(--muted); margin-bottom: 20px; }

.card-number {
    position: absolute; top: 20px; right: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 48px; font-weight: 800;
    color: rgba(99, 102, 241, 0.08);
}

.service-icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: var(--gradient);
    color: var(--white);
    font-size: 26px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
    transition: var(--transition);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }

.link-arrow { color: var(--primary); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: var(--transition); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- 9. Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-list { display: grid; gap: 20px; }
.why-item {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 25px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}
.why-item:hover { background: rgba(99, 102, 241, 0.12); border-color: rgba(99, 102, 241, 0.4); transform: translateX(8px); }
.why-item i {
    flex-shrink: 0;
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--gradient);
    font-size: 20px;
}
.why-item h4 { margin-bottom: 5px; }
.why-item p { color: var(--muted-dark); font-size: 15px; }

/* ---------- 10. Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--gradient);    /* shown if the image fails to load */
    box-shadow: var(--shadow);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover img { transform: scale(1.1); }

.project-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 25px;
    color: var(--white);
    background: linear-gradient(to top, rgba(11, 17, 32, 0.95) 0%, rgba(99, 102, 241, 0.55) 100%);
    opacity: 0;
    transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay h3 { font-size: 20px; margin: 8px 0; transform: translateY(20px); transition: var(--transition); }
.project-overlay p { font-size: 14px; color: #CBD5E1; transform: translateY(20px); transition: var(--transition) 0.05s; }
.project-card:hover .project-overlay h3,
.project-card:hover .project-overlay p { transform: translateY(0); }

.project-cat {
    align-self: flex-start;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--accent);
    font-size: 12px; font-weight: 600;
}
.overlay-btn {
    position: absolute; top: 20px; right: 20px;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--white); color: var(--primary);
    transition: var(--transition);
}
.overlay-btn:hover { background: var(--accent); color: var(--white); }

/* Hidden cards when filtering */
.project-card.hide { display: none; }

.filter-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 45px; }
.filter-btn {
    padding: 10px 26px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--gradient); color: var(--white); border-color: transparent; box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35); }

/* ---------- 11. Testimonials slider ---------- */
.slider {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.slide { display: none; animation: fadeIn 0.6s ease; }
.slide.active { display: block; }
.quote-icon { font-size: 40px; color: var(--primary); margin-bottom: 20px; }
.slide-text { font-size: 19px; color: #E2E8F0; margin-bottom: 20px; font-style: italic; }
.stars { color: #FBBF24; margin-bottom: 25px; }
.slide-author { display: flex; align-items: center; justify-content: center; gap: 15px; text-align: left; }
.slide-author span { color: var(--muted-dark); font-size: 14px; }
.avatar {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--gradient);
    font-family: 'Poppins', sans-serif;
    font-size: 22px; font-weight: 700;
}
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 35px; }
.slider-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}
.slider-btn:hover { background: var(--gradient); border-color: transparent; }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50px; background: rgba(255, 255, 255, 0.25); cursor: pointer; transition: var(--transition); }
.dot.active { width: 30px; background: var(--accent); }

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

/* ---------- 12. Tech stack strip ---------- */
.tech-strip { background: var(--white); padding: 50px 0; border-bottom: 1px solid var(--border); }
.tech-title { text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 600; margin-bottom: 25px; }
.tech-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 40px; }
.tech-list span {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px; font-weight: 600;
    color: #94A3B8;
    transition: var(--transition);
}
.tech-list span i { font-size: 30px; }
.tech-list span:hover { color: var(--primary); transform: translateY(-4px); }

/* ---------- 13. CTA banner ---------- */
.cta { padding: 80px 0; background: var(--light); }
.cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    padding: 60px;
    border-radius: 28px;
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.35);
    position: relative;
    overflow: hidden;
}
.cta-box::after {
    content: '';
    position: absolute; right: -60px; top: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}
.cta-box h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 8px; }
.cta-box p { opacity: 0.9; }
.cta-box .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- 14. Inner page header ---------- */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    color: var(--white);
    background: radial-gradient(ellipse at top, #1e1b4b 0%, var(--navy) 70%);
    overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 10px; }
.page-header p { color: var(--muted-dark); max-width: 600px; margin: 0 auto 20px; }
.breadcrumb { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; padding: 8px 20px; border-radius: 50px; background: rgba(255, 255, 255, 0.08); }
.breadcrumb i { font-size: 10px; color: var(--muted-dark); }
.breadcrumb span { color: var(--accent); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 15. About page ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-grid p { color: var(--muted); margin-bottom: 15px; }
.story-image { position: relative; }
.story-image img { border-radius: 24px; box-shadow: var(--shadow); }
.experience-badge {
    position: absolute; bottom: -25px; right: -20px;
    padding: 25px 30px;
    border-radius: 20px;
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-hover);
    text-align: center;
}
.experience-badge h3 { font-size: 40px; }
.experience-badge p { color: var(--white); margin: 0; line-height: 1.3; font-size: 14px; }

.check-list li { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-weight: 500; }
.check-list i { color: var(--accent); }

.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mv-card {
    padding: 40px 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}
.mv-card:hover { transform: translateY(-8px); border-color: rgba(99, 102, 241, 0.5); background: rgba(99, 102, 241, 0.08); }
.mv-card h3 { margin-bottom: 10px; }
.mv-card p { color: var(--muted-dark); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { text-align: center; }
.team-card h4 { font-size: 19px; margin-top: 18px; }
.team-card span { color: var(--primary); font-size: 14px; font-weight: 500; }
.team-img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1.1; background: var(--gradient); box-shadow: var(--shadow); }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-img img { transform: scale(1.08); }
.team-socials {
    position: absolute; left: 0; right: 0; bottom: -60px;
    display: flex; justify-content: center; gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.9), transparent);
    transition: var(--transition);
}
.team-card:hover .team-socials { bottom: 0; }
.team-socials a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--white); color: var(--primary);
}
.team-socials a:hover { background: var(--accent); color: var(--white); }

/* Timeline: vertical line with dots */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
    content: '';
    position: absolute; left: 8px; top: 0; bottom: 0;
    width: 2px;
    background: var(--gradient-accent);
}
.timeline-item {
    position: relative;
    margin-bottom: 35px;
    padding: 25px 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.timeline-item::before {
    content: '';
    position: absolute; left: -40px; top: 30px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--navy);
    border: 4px solid var(--accent);
}
.timeline-year { display: inline-block; padding: 3px 14px; border-radius: 50px; background: var(--gradient); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.timeline-item p { color: var(--muted-dark); }

/* ---------- 16. Services page: process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.process-step {
    position: relative;
    text-align: center;
    padding: 45px 25px 35px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}
.process-step:hover { transform: translateY(-8px); border-color: var(--accent); }
.process-step > i { font-size: 34px; color: var(--accent); margin-bottom: 18px; }
.process-step h4 { font-size: 20px; margin-bottom: 8px; }
.process-step p { color: var(--muted-dark); font-size: 15px; }
.step-number {
    position: absolute; top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--gradient);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* ---------- 17. Contact page ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-bottom: 70px; }
.info-card {
    text-align: center;
    padding: 35px 20px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.info-card .service-icon { margin: 0 auto 18px; }
.info-card p { color: var(--muted); font-size: 15px; }

.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px;
    padding: 50px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.contact-side h2 { font-size: 32px; margin-bottom: 15px; }
.contact-side p { color: var(--muted); margin-bottom: 25px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--light);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.form-group textarea { resize: vertical; }
.is-invalid { border-color: #EF4444 !important; }
.error { display: block; color: #EF4444; font-size: 13px; margin-top: 6px; }

.alert { padding: 15px 20px; border-radius: 12px; margin-bottom: 25px; display: flex; gap: 10px; align-items: center; font-weight: 500; }
.alert-success { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.alert-error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

/* ---------- 18. Footer ---------- */
.footer { background: var(--navy); color: var(--muted-dark); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: var(--white); margin-bottom: 20px; font-size: 18px; }
.footer-text { margin: 20px 0; font-size: 15px; }
.footer ul li { margin-bottom: 12px; font-size: 15px; }
.footer ul a { transition: var(--transition); }
.footer ul a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 5px; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    transition: var(--transition);
}
.socials a:hover { background: var(--gradient); transform: translateY(-4px); }
.footer-bottom { text-align: center; padding: 25px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }

/* ---------- 19. Back to top button ---------- */
.back-to-top {
    position: fixed; right: 25px; bottom: 25px;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.45);
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 20. Responsive (tablet and mobile) ---------- */
@media (max-width: 992px) {
    .cards-grid, .portfolio-grid, .mv-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid, .process-grid, .info-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { row-gap: 45px; }
    .why-grid, .story-grid, .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-box { flex-direction: column; text-align: center; padding: 45px 30px; }

    /* Mobile menu */
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        flex-direction: column; align-items: flex-start;
        gap: 25px;
        padding: 100px 35px;
        background: var(--navy);
        backdrop-filter: blur(14px);
        transition: right 0.4s ease;
        z-index: -1;
    }
    .nav-links.open { right: 0; }
    .nav-links a:not(.btn) { font-size: 18px; }
}

@media (max-width: 600px) {
    .cards-grid, .portfolio-grid, .mv-grid, .team-grid,
    .process-grid, .info-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }
    .stat h3 { font-size: 34px; }
    .slider { padding: 35px 22px; }
    .slide-text { font-size: 16px; }
    .contact-wrapper { padding: 30px 22px; }
    .experience-badge { right: 10px; }
}

/* ---------- 21. Hero entrance animation (pure CSS, no AOS needed) ---------- */
.hero-anim { animation: fadeIn 0.9s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
