/* ============================================================
   OSWAGO TECH - style.css
   One place per section; phone/tablet rules sit right after each section.
   Breakpoints: 992px (tablet), 768px (phone), 480px (small phone), 380px (very small phone).
   Fade-in animations only apply when the script runs (html.js); otherwise everything is shown.
   ============================================================ */

:root {
    --primary: #2b0fc8;
    --primary-dark: #1a0a8a;
    --white: #ffffff;
    --black: #212529;
    --gray: #6c757d;
    --light: #f8f9fa;
    --border: #e9ecef;
    --green: #0aa124;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --container: 1200px;
    --header-offset: 84px; /* where a section title lands below the fixed header */
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--black); background: var(--light); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(43, 15, 200, 0.4); outline-offset: 2px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section[id] { scroll-margin-top: var(--header-offset); }

/* Shared: section headings (two or more words, each with its own colour/weight) */
.about-title, .services-title, .portfolio-title, .process-title, .testimonials-title, .faq-title, .contact-title {
    font-size: 2.5rem; font-weight: 800; line-height: 1.25; margin-bottom: 0.5rem;
}
.services-title, .portfolio-title, .process-title, .testimonials-title, .faq-title, .contact-title { text-align: center; }
.services-subtitle, .portfolio-subtitle, .process-subtitle, .testimonials-subtitle, .contact-subtitle {
    text-align: center; color: var(--gray); font-size: 1.1rem; font-weight: 400; margin-bottom: 2.5rem;
}
.about, .services, .portfolio, .process, .testimonials, .faq, .contact { padding: 80px 0; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: transparent; padding: 16px 0;
    border-bottom: 1px solid transparent; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.12);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 12px 0; min-height: 30px;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-image { height: 55px; width: auto; display: block; transition: all 0.3s ease; }
.logo:hover .logo-image { transform: scale(1.02); opacity: 0.9; }

.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0 auto; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--green); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.header.scrolled .nav-links a { color: #159f0b; }
.header.scrolled .nav-links a:hover { color: var(--primary); }

.language-switch { display: flex; align-items: center; gap: 8px; margin-left: 1rem; }
.lang-btn {
    display: flex; align-items: center; gap: 4px;
    background: transparent; border: none; border-radius: 6px; padding: 6px 10px; cursor: pointer;
    font-size: 0.9rem; color: #495057; transition: all 0.2s ease;
}
.lang-btn:hover { background: rgba(0, 0, 0, 0.05); }
.lang-btn.active { background: rgba(43, 15, 200, 0.1); color: var(--primary); font-weight: 600; }
.lang-btn .flag { font-size: 1.4rem; line-height: 1; }
.lang-btn .lang-label { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; }

.hamburger { display: none; flex-direction: column; cursor: pointer; background: none; border: none; padding: 4px; z-index: 1001; }
.hamburger-line { width: 28px; height: 3px; margin: 3px 0; border-radius: 2px; background: var(--white); transition: all 0.3s ease; }
.header.scrolled .hamburger-line { background: #1b15ba; }
.hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    :root { --header-offset: 68px; }
    .header { padding: 12px 0; }
    .header.scrolled { padding: 10px 0; min-height: 50px; }
    .header-right { gap: 5px; }
    .logo-image { height: 45px; }
    .hamburger { display: flex; }
    .nav-links {
        display: none; flex-direction: column; gap: 5px;
        position: absolute; top: 100%; left: 0; width: 100%; margin: 0; padding: 20px;
        background: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); z-index: 1000;
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a, .header.scrolled .nav-links a { display: block; padding: 12px 20px; font-size: 1rem; color: var(--black); border-radius: 8px; }
    .nav-links a:hover { background: var(--light); }
    .language-switch { margin-left: auto; margin-right: 10px; }
    .lang-btn { padding: 4px 6px; }
    .lang-btn .lang-label { display: none; }
    .lang-btn .flag { font-size: 1.2rem; }
}
@media (max-width: 480px) {
    :root { --header-offset: 60px; }
    .header { padding: 8px 0; }
    .header.scrolled { padding: 8px 0; min-height: 45px; }
    .logo-image { height: 38px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative; min-height: 110vh; display: flex; align-items: center; justify-content: flex-start;
    overflow: hidden; padding: 20px 0 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: left; max-width: 800px; margin: 0; padding: 2px 40px 20px; }

.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 0.5rem; }
.hero-title span { font-size: 4rem; font-weight: 300; color: var(--white); }
.hero-title .hero-title-word-5 { color: #e7980f; }
.hero-description { color: rgba(180, 170, 170, 0.85); font-size: 1rem; max-width: 650px; margin: 0 0 1.5rem; }
.hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-hero, .btn-hero-outline {
    display: inline-block; color: #0eae0e; font-size: 1rem; font-weight: 600; border-radius: 50px; transition: all 0.3s;
}
.btn-hero { padding: 14px 40px; box-shadow: 0 4px 20px rgba(43, 15, 200, 0.3); }
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(43, 15, 200, 0.4); }
.btn-hero-outline { padding: 12px 36px; margin-left: 10px; }
.btn-hero-outline:hover { color: #0fc831; }

@media (max-width: 992px) {
    .hero { min-height: 90vh; padding: 10px 0 40px; }
    .hero-content { max-width: 100%; margin: 0 auto; text-align: center; padding: 0 20px; }
    .hero-title { font-size: 3.5rem; font-weight: 300; line-height: 1.15; }
    .hero-title span { font-size: 3.5rem; display: inline-block; }
    .hero-title .hero-title-word-5 { color: #c8970f; display: block; margin-top: 2px; }
    .hero-description { font-size: 1.1rem; max-width: 100%; margin: 0 auto 1.5rem; line-height: 1.6; color: rgba(255, 255, 255, 0.85); padding: 0 10px; }
    .hero-buttons { flex-direction: column; gap: 8px; width: 100%; max-width: 300px; margin: 0 auto; }
    .btn-hero, .btn-hero-outline {
        display: block; width: 100%; text-align: center; margin: 8px 0;
        font-weight: 400; padding: 8px 0; border-radius: 0; box-shadow: none; letter-spacing: 0.5px;
    }
    .btn-hero { color: #10b353; }
    .btn-hero:hover { color: #4329d6; transform: translateX(5px); box-shadow: none; }
    .btn-hero-outline { color: rgba(255, 255, 255, 0.7); }
    .btn-hero-outline:hover { color: #08a11d; transform: translateX(5px); }
}
@media (max-width: 768px) {
    .hero-content { padding-bottom: 20px; }
}
@media (max-width: 480px) {
    .hero-title, .hero-title span { font-size: 2.8rem; }
    .hero-description { font-size: 0.95rem; }
    .btn-hero { font-size: 0.9rem; }
    .btn-hero-outline { font-size: 0.85rem; }
}
@media (max-width: 380px) {
    .hero-title, .hero-title span { font-size: 2.2rem; }
    .hero-description { font-size: 0.85rem; }
    .btn-hero { font-size: 0.85rem; }
    .btn-hero-outline { font-size: 0.8rem; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-title { margin-bottom: 1rem; }
.about-title-word-1 { color: var(--black); font-weight: 400; }
.about-title-word-2 { color: var(--primary); font-weight: 800; }
.about-title-word-3 { color: var(--primary); font-weight: 400; }
.about-description-1, .about-description-2 { color: var(--gray); font-size: 1.05rem; margin-bottom: 1rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 1.5rem; }
.about-stats .stat { text-align: center; background: var(--light); padding: 20px; border-radius: 12px; }
.about-stats .stat-number { font-size: 2rem; font-weight: 800; color: #89a943; line-height: 1.3; }
.about-stats .stat-label { font-size: 0.85rem; color: var(--gray); }
.about-image {
    position: relative; height: 400px; overflow: hidden; border-radius: 16px; background: #f0f0f0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1); transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-image:hover { transform: scale(1.02); box-shadow: 0 12px 60px rgba(0, 0, 0, 0.15); }
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px) {
    .about { padding: 50px 0; }
    .about-grid { display: flex; flex-direction: column; gap: 30px; }
    .about-image { height: 250px; width: 100%; }
    .about-stats { display: flex; justify-content: space-around; gap: 10px; width: 100%; }
    .about-stats .stat { flex: 1; min-width: 0; padding: 15px 10px; }
    .about-stats .stat-number { font-size: 1.5rem; }
    .about-stats .stat-label { font-size: 0.7rem; margin-top: 2px; line-height: 1.2; overflow-wrap: anywhere; }
    .about-description-1, .about-description-2 { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .about-image { height: 200px; }
    .about-stats { gap: 6px; }
    .about-stats .stat { padding: 12px 6px; }
    .about-stats .stat-number { font-size: 1.2rem; }
    .about-stats .stat-label { font-size: 0.6rem; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--light); }
.services-title span { font-size: 2.4rem; font-weight: 800; color: var(--black); }
.services-title .services-title-word-3 { color: var(--primary); font-weight: 300; }
.services-list { max-width: 800px; margin: 0 auto; }
.service-item {
    display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border);
    transition: border-color 0.3s ease, padding-left 0.3s ease;
}
.service-item:hover { padding-left: 10px; border-bottom-color: var(--primary); }
.service-item:last-child { border-bottom: none; }
.service-icon {
    width: 2rem; height: 2rem; min-width: 50px; margin-top: 2px; flex-shrink: 0; color: var(--primary);
    stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: all 0.3s ease;
}
.service-item:hover .service-icon { color: var(--primary-dark); transform: scale(1.1); }
.service-content { flex: 1; }
.service-title { font-size: 1.1rem; font-weight: 300; color: #10bd41; margin-bottom: 0.25rem; }
.service-description { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 768px) {
    .services { padding: 50px 0; }
    .service-item { flex-direction: column; align-items: center; text-align: center; padding: 15px 0; }
    .service-icon { width: 1.8rem; height: 1.8rem; min-width: auto; margin-bottom: 0.5rem; }
    .service-title { font-size: 1rem; }
    .service-description { font-size: 0.85rem; }
}
@media (max-width: 480px) {
    .service-icon { width: 1.5rem; height: 1.5rem; }
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio { background: var(--white); }
.portfolio-title-word-1 { color: var(--black); font-weight: 400; }
.portfolio-title-word-2 { color: var(--primary); font-weight: 800; }
.portfolio-list { max-width: 900px; margin: 0 auto; }
.portfolio-project {
    display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center;
    padding: 30px 0; border-bottom: 1px solid #087224; transition: border-color 0.3s ease;
}
.portfolio-project:hover { border-bottom-color: var(--primary); }
.portfolio-project:last-child { border-bottom: none; }
.portfolio-image { width: 200px; height: 150px; border-radius: 12px; overflow: hidden; background: #f0f0f0; }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.portfolio-image img:hover { transform: scale(1.05); }
.portfolio-project-title { font-size: 1.2rem; font-weight: 700; color: var(--black); margin-bottom: 0.25rem; }
.portfolio-project-description { color: var(--gray); font-size: 0.95rem; margin-bottom: 0.5rem; }
.portfolio-link { display: inline-block; color: #0fc821; font-size: 0.9rem; font-weight: 600; transition: all 0.3s ease; }
.portfolio-link:hover { text-decoration: underline; padding-left: 5px; }

@media (max-width: 768px) {
    .portfolio { padding: 50px 0; }
    .portfolio-project { grid-template-columns: 1fr; gap: 20px; text-align: center; padding: 20px 0; }
    .portfolio-image { width: 100%; height: 160px; margin: 0 auto; }
    .portfolio-project-title { font-size: 1rem; }
    .portfolio-project-description { font-size: 0.85rem; }
}
@media (max-width: 480px) {
    .portfolio-image { height: 120px; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--light); }
.process-title-word-1, .process-title-word-2 { color: var(--black); font-weight: 400; }
.process-title-word-3 { color: var(--primary); font-weight: 800; }
.process-timeline { max-width: 700px; margin: 0 auto; }
.process-step { position: relative; display: flex; gap: 24px; padding: 24px 0 24px 30px; border-left: 2px solid var(--border); }
.process-step:last-child { border-left-color: transparent; }
.process-step-number {
    position: absolute; left: -16px; top: 24px; width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary); color: var(--white); font-size: 0.9rem; font-weight: 700;
}
.process-step-content { flex: 1; }
.process-step-title { font-size: 1.1rem; font-weight: 500; color: #be7e11; }
.process-step-description { color: var(--gray); font-size: 0.9rem; }

@media (max-width: 768px) {
    .process { padding: 50px 0; }
    .process-step { padding-left: 20px; gap: 16px; }
    .process-step-number { width: 24px; height: 24px; left: -12px; font-size: 0.7rem; }
    .process-step-title { font-size: 1rem; }
    .process-step-description { font-size: 0.85rem; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--white); }
.testimonials-title span { font-weight: 400; color: var(--black); }
.testimonials-title .testimonials-title-word-2, .testimonials-title .testimonials-title-word-3 { color: #2c16bc; }
.testimonials-list { max-width: 800px; margin: 0 auto; }
.testimonial-item { padding: 24px 0; border-bottom: 1px solid var(--border); transition: border-color 0.3s ease; }
.testimonial-item:hover { border-bottom-color: var(--primary); }
.testimonial-item:last-child { border-bottom: none; }
.testimonial-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; margin-bottom: 0.5rem; }
.testimonial-text { font-style: italic; color: #495057; font-size: 1.05rem; line-height: 1.8; margin-bottom: 0.5rem; }
.testimonial-author { font-weight: 600; color: var(--black); font-size: 0.95rem; }

@media (max-width: 768px) {
    .testimonials { padding: 50px 0; }
    .testimonial-item { padding: 16px 0; }
    .testimonial-text { font-size: 0.9rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--light); }
.faq-title span { font-weight: 400; color: var(--black); }
.faq-title .faq-title-word-3 { color: var(--primary); }
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--border); transition: border-color 0.3s ease; }
.faq-item:hover { border-bottom-color: var(--primary); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 8px 0; background: none; border: 0; text-align: left; cursor: pointer;
    font-size: 1rem; font-weight: 600; color: #2ba034; transition: color 0.2s ease;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { color: var(--primary); font-size: 1.2rem; font-weight: 700; flex-shrink: 0; transition: transform 0.3s ease; }
.faq-answer {
    max-height: 0; overflow: hidden; padding: 0; color: var(--gray); font-size: 0.9rem; line-height: 1.8;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 400px; padding-top: 12px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

@media (max-width: 768px) {
    .faq { padding: 50px 0; }
    .faq-item { padding: 16px 0; }
    .faq-question { font-size: 0.9rem; }
    .faq-answer { font-size: 0.85rem; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--white); }
.contact-title span { font-weight: 400; color: var(--black); }
.contact-title .contact-title-word-3 { color: var(--primary); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    background: var(--light); padding: 40px; border-radius: 16px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.contact-info-title { font-size: 1.3rem; font-weight: 700; color: var(--black); margin-bottom: 1rem; }
.contact-info-item { color: var(--gray); margin-bottom: 0.5rem; }
.contact-info-icon { font-size: 1.2rem; margin-right: 10px; }
.contact-info-availability { color: var(--black); margin-top: 1.5rem; }
.contact-info-response { color: var(--gray); font-size: 0.9rem; }
.contact-link { color: var(--primary); font-weight: 500; transition: color 0.3s; }
.contact-link:hover { color: var(--primary-dark); text-decoration: underline; }

.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 16px; margin-bottom: 1rem; font-family: inherit; font-size: 1rem;
    border: 2px solid var(--border); border-radius: 8px; background: var(--white); transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form .contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-error { color: #b91c1c; background: #fef2f2; border-radius: 8px; padding: 10px 14px; font-size: 0.9rem; margin-bottom: 1rem; }
.contact-submit-btn {
    width: 100%; padding: 14px 32px; border: none; border-radius: 8px; cursor: pointer;
    background: var(--primary); color: var(--white); font-size: 1rem; font-weight: 600; transition: all 0.3s;
}
.contact-submit-btn:hover { background: var(--primary-dark); }
.contact-submit-btn:disabled { opacity: 0.7; cursor: wait; }
.contact-form-wrapper { position: relative; }

.contact-success {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    min-height: 350px; padding: 40px 30px; background: var(--light); border-radius: 16px;
    animation: successFadeIn 0.6s ease-out;
}
.success-icon { font-size: 4rem; margin-bottom: 1rem; animation: successBounce 0.6s ease-out 0.2s both; }
.success-title { color: var(--primary); font-size: 1.8rem; font-weight: 700; margin-bottom: 0.75rem; }
.success-message { color: #495057; font-size: 1.05rem; line-height: 1.6; max-width: 400px; margin-bottom: 1.5rem; }
.success-reset-btn {
    margin-top: 0.5rem; padding: 12px 32px; border: none; border-radius: 50px; cursor: pointer;
    background: var(--primary); color: var(--white); font-size: 0.95rem; font-weight: 600; transition: all 0.3s ease;
}
.success-reset-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
@keyframes successFadeIn { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes successBounce { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 70% { transform: scale(0.9); } 100% { transform: scale(1); } }

@media (max-width: 768px) {
    .contact { padding: 50px 0; }
    .contact-grid { grid-template-columns: 1fr; padding: 20px; gap: 25px; }
    .contact-info-title { font-size: 1.1rem; }
    .contact-info-item { font-size: 0.9rem; }
    .contact-form input, .contact-form textarea { font-size: 0.9rem; padding: 10px 12px; }
    .contact-success { min-height: 280px; padding: 30px 20px; }
    .success-icon { font-size: 3rem; }
    .success-title { font-size: 1.4rem; }
    .success-message { font-size: 0.95rem; }
    .success-reset-btn { padding: 10px 24px; font-size: 0.9rem; }
}
@media (max-width: 480px) {
    .contact-success { min-height: 240px; padding: 24px 16px; }
    .success-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
    .success-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
    .success-message { font-size: 0.85rem; max-width: 100%; margin-bottom: 1rem; }
    .success-reset-btn { padding: 8px 20px; font-size: 0.85rem; width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: #adb5bd; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 2rem; }
.footer-logo { display: flex; align-items: center; }
.footer-logo-image { height: 60px; width: 144px; object-fit: cover; border-radius: 8px; display: block; transition: all 0.3s ease; }
.footer-logo:hover .footer-logo-image { transform: scale(1.02); opacity: 0.9; }
.footer-tagline { font-size: 0.9rem; margin: 0.5rem 0; }
.footer-description { font-size: 0.85rem; font-weight: 300; line-height: 1.6; margin-top: 0.5rem; max-width: 300px; }
.footer-heading { color: var(--white); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 1rem; }
.footer-links ul, .footer-contact-list { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-link { color: #0a8425; font-size: 0.9rem; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-link:hover { color: #c8810f; padding-left: 5px; }
.footer-contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-contact-icon { font-size: 1.1rem; min-width: 25px; }
.footer-social-icons { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-social-link { display: flex; align-items: center; gap: 12px; padding: 4px 0; color: #c86f0f; transition: all 0.3s ease; }
.footer-social-link:hover { color: #0fc856; transform: translateX(4px); }
.social-icon { width: 1.3rem; height: 1.3rem; flex-shrink: 0; fill: currentColor; transition: transform 0.3s ease; }
.footer-social-link:hover .social-icon { transform: scale(1.1); }
.social-text { font-size: 0.9rem; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; margin-top: 2rem;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-back-to-top { font-size: 0.85rem; transition: color 0.3s ease; }
.footer-back-to-top:hover { color: var(--primary); }

@media (min-width: 1400px) {
    .footer-grid { gap: 50px; }
    .social-icon { width: 1.5rem; height: 1.5rem; }
    .social-text { font-size: 0.95rem; }
}
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 768px) {
    .footer { padding: 40px 0 15px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .footer-logo { justify-content: center; }
    .footer-logo-image { height: 50px; width: 120px; }
    .footer-description { max-width: 100%; margin: 0 auto; }
    .footer-tagline { font-size: 0.8rem; }
    .footer-heading { font-size: 1rem; margin-bottom: 0.5rem; }
    .footer-link { font-size: 0.85rem; }
    .footer-contact-list li { justify-content: center; font-size: 0.85rem; }
    .footer-social-icons { align-items: center; }
    .social-icon { width: 1.2rem; height: 1.2rem; }
    .social-text { font-size: 0.85rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
    .footer-bottom p, .footer-back-to-top { font-size: 0.75rem; }
}

/* ============================================================
   SECTION HEADINGS ON PHONES (all sections)
   ============================================================ */
@media (max-width: 768px) {
    .about-title, .services-title, .portfolio-title, .process-title, .testimonials-title, .faq-title, .contact-title,
    .about-title span, .services-title span, .portfolio-title span, .process-title span,
    .testimonials-title span, .faq-title span, .contact-title span { font-size: 2rem; }
    .services-subtitle, .portfolio-subtitle, .process-subtitle, .testimonials-subtitle, .contact-subtitle { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .about-title span, .services-title span, .portfolio-title span, .process-title span,
    .testimonials-title span, .faq-title span, .contact-title span { font-size: 1.6rem; }
}

/* ============================================================
   FADE-IN ANIMATIONS (only with the script; each section once)
   ============================================================ */
.js .hero-title, .js .hero-description, .js .hero-buttons,
.js .about-title, .js .about-description-1, .js .about-description-2, .js .about-stats,
.js .services-title, .js .services-subtitle, .js .portfolio-title, .js .portfolio-subtitle,
.js .process-title, .js .process-subtitle, .js .testimonials-title, .js .testimonials-subtitle,
.js .faq-title, .js .contact-title, .js .contact-subtitle {
    opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.js .hero-title, .js .hero-description, .js .hero-buttons { transform: translateY(30px); transition-duration: 0.8s; }
.js .hero-title { transition-delay: 0.2s; }
.js .hero-description { transition-delay: 0.4s; }
.js .hero-buttons { transition-delay: 0.6s; }
.js .about-title, .js .about-description-1, .js .about-description-2, .js .about-stats { transform: translateX(-30px); }
.js .about-description-1, .js .services-subtitle, .js .portfolio-subtitle, .js .process-subtitle,
.js .testimonials-subtitle, .js .contact-subtitle { transition-delay: 0.1s; }
.js .about-description-2 { transition-delay: 0.2s; }
.js .about-stats { transition-delay: 0.3s; }

.js .about-image { opacity: 0; transform: translateX(300px); transition: opacity 0.98s ease-out, transform 0.98s ease-out, box-shadow 0.4s ease; }
.js .service-item, .js .process-step { opacity: 0; transform: translateX(-30px); }
.js .service-item { transition: opacity 0.5s ease-out, transform 0.5s ease-out, border-color 0.3s ease, padding-left 0.3s ease; }
.js .process-step { transform: translateX(-20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.js .portfolio-project { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.3s ease; }
.js .testimonial-item { opacity: 0; transform: scale(0.95); transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.3s ease; }
.js .faq-item { opacity: 0; transform: translateY(15px); transition: opacity 0.5s ease-out, transform 0.5s ease-out, border-color 0.3s ease; }
.js .contact-info { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease-out 0.2s, transform 0.7s ease-out 0.2s; }
.js .contact-form-wrapper { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease-out 0.3s, transform 0.7s ease-out 0.3s; }

/* list items one after another (works for any number of items) */
.js .visible .service-item:nth-child(2), .js .visible .portfolio-project:nth-child(2), .js .visible .process-step:nth-child(2), .js .visible .testimonial-item:nth-child(2) { transition-delay: 0.2s; }
.js .visible .service-item:nth-child(3), .js .visible .portfolio-project:nth-child(3), .js .visible .process-step:nth-child(3), .js .visible .testimonial-item:nth-child(3) { transition-delay: 0.3s; }
.js .visible .service-item:nth-child(n+4), .js .visible .portfolio-project:nth-child(n+4), .js .visible .process-step:nth-child(n+4) { transition-delay: 0.4s; }
.js .visible .faq-item:nth-child(2) { transition-delay: 0.1s; }
.js .visible .faq-item:nth-child(n+3) { transition-delay: 0.15s; }

.js .visible .hero-title, .js .visible .hero-description, .js .visible .hero-buttons,
.js .visible .about-title, .js .visible .about-description-1, .js .visible .about-description-2, .js .visible .about-stats,
.js .visible .services-title, .js .visible .services-subtitle, .js .visible .portfolio-title, .js .visible .portfolio-subtitle,
.js .visible .process-title, .js .visible .process-subtitle, .js .visible .testimonials-title, .js .visible .testimonials-subtitle,
.js .visible .faq-title, .js .visible .contact-title, .js .visible .contact-subtitle,
.js .visible .about-image, .js .visible .service-item, .js .visible .process-step, .js .visible .portfolio-project,
.js .visible .testimonial-item, .js .visible .faq-item, .js .visible .contact-info, .js .visible .contact-form-wrapper {
    opacity: 1; transform: none;
}
.js .visible .process-step-number { animation: popNumber 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
@keyframes popNumber { 0% { transform: scale(0); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
/* hover effects still work after the fade-in */
.js .visible .service-item:hover { padding-left: 10px; }
.js .visible .about-image:hover { transform: scale(1.02); }

@media (max-width: 1024px) { .js .about-image { transform: translateX(150px); } }
@media (max-width: 768px) { .js .about-image { transform: translateX(50px); transition-duration: 0.7s; } }
@media (max-width: 480px) { .js .about-image { transform: translateX(30px); transition-duration: 0.5s; } }

/* People who ask their phone/computer for less motion: no fade-ins */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .hero-title, .js .hero-description, .js .hero-buttons, .js .about-title, .js .about-description-1,
    .js .about-description-2, .js .about-stats, .js .about-image, .js .services-title, .js .services-subtitle,
    .js .portfolio-title, .js .portfolio-subtitle, .js .process-title, .js .process-subtitle,
    .js .testimonials-title, .js .testimonials-subtitle, .js .faq-title, .js .contact-title, .js .contact-subtitle,
    .js .service-item, .js .process-step, .js .portfolio-project, .js .testimonial-item, .js .faq-item,
    .js .contact-info, .js .contact-form-wrapper { opacity: 1; transform: none; transition: none; }
}
