/* ==============================================
   WASTEKI ENTERPRISE LIMITED — style.css
   Pure CSS / No Framework
============================================== */

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== VARIABLES ===== */
:root {
    --blue:       #0056D2;
    --blue-dark:  #003e9e;
    --green:      #00A86B;
    --red:        #D62828;
    --yellow:     #F4B400;
    --dark:       #111111;
    --dark2:      #1e1e2e;
    --white:      #ffffff;
    --light-bg:   #f5f7fa;
    --border:     #e2e8f0;
    --shadow:     0 4px 24px rgba(0,0,0,0.09);
    --radius:     14px;
    --transition: 0.35s ease;
    --font:       'Montserrat', sans-serif;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--dark2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    text-align: center;
    animation: pulse 1.4s ease-in-out infinite;
}

.loader-logo img {
    width: 80px;
    margin: 0 auto 12px;
}

.loader-logo p {
    color: var(--white);
    font-size: 14px;
    letter-spacing: 2px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.06); opacity: 0.8; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 13px 28px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid var(--blue);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 168, 107, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

/* Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.4);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(60); opacity: 0; }
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--blue);
    position: relative;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    border-radius: 2px;
    margin: 12px auto 0;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 6%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.2;
}

.logo h2 span {
    color: var(--green);
}

nav ul {
    display: flex;
    gap: 28px;
}

nav ul li a {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--green);
    border-radius: 1px;
    transition: width var(--transition);
}

nav ul li a:hover,
nav ul li a.active-link {
    color: var(--blue);
}

nav ul li a:hover::after,
nav ul li a.active-link::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--blue);
    padding: 4px 8px;
    border-radius: 6px;
    transition: background var(--transition);
}

.menu-toggle:hover {
    background: var(--light-bg);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 580px;
    overflow: hidden;
    margin-top: 80px;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    display: none;
}

.slide.active {
    display: block;
    animation: heroFade 0.9s ease;
}

@keyframes heroFade {
    from { opacity: 0; transform: scale(1.03); }
    to   { opacity: 1; transform: scale(1); }
}

.slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(0,0,0,0.72) 0%,
        rgba(0,50,120,0.5) 60%,
        rgba(0,0,0,0.25) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: var(--white);
    max-width: 620px;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: clamp(26px, 4.5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(15px, 2vw, 20px);
    margin-bottom: 28px;
    opacity: 0.92;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dots .dot.active {
    background: var(--white);
    transform: scale(1.3);
    border-color: var(--green);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    right: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-scroll-hint span {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.4);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.hero-scroll-hint span::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 100%;
    background: var(--green);
    animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { top: -100%; }
    100% { top: 100%; }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 110px 8%;
    background: var(--light-bg);
}

.about-container {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-badge h3 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.about-badge p {
    font-size: 11px;
    opacity: 0.85;
}

.about-content {
    flex: 1;
    min-width: 280px;
}

.about-content h3 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 18px;
    line-height: 1.25;
}

.about-content > p {
    margin-bottom: 18px;
    font-size: 16px;
    color: #444;
}

.mission-vision {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 28px 0 32px;
}

.mission-box,
.vision-box {
    flex: 1;
    min-width: 220px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--blue);
    transition: var(--transition);
}

.vision-box {
    border-top-color: var(--green);
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-6px);
}

.mv-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.mission-box h4,
.vision-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
}

.vision-box h4 { color: var(--green); }

.mission-box p,
.vision-box p {
    font-size: 14px;
    color: #555;
}

/* ===== STATS ===== */
.stats {
    display: flex;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #0070e0 100%);
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 60px 20px;
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: background var(--transition);
}

.stat-box:last-child { border-right: none; }

.stat-box:hover {
    background: rgba(255,255,255,0.08);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.stat-box h2 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box p {
    font-size: 15px;
    opacity: 0.85;
    font-weight: 500;
}

/* ===== SERVICES ===== */
.services {
    padding: 110px 8%;
    background: var(--white);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0,86,210,0.14);
}

.service-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 86, 210, 0.88);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.service-info {
    padding: 20px 22px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.service-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
}

/* ===== PROJECTS ===== */
.projects {
    padding: 110px 8%;
    background: var(--light-bg);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 30px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--blue);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100px; height: 100px;
    background: var(--light-bg);
    border-radius: 0 0 0 100%;
    transition: width var(--transition), height var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-left-color: var(--green);
    box-shadow: 0 16px 40px rgba(0,168,107,0.14);
}

.project-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    margin-bottom: 12px;
}

.project-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
    line-height: 1.35;
}

.project-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 18px;
}

.project-tag {
    display: inline-block;
    background: var(--light-bg);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

/* ===== TEAM ===== */
.team {
    padding: 110px 8%;
    background: var(--white);
}

.team-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.team-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 28px;
}

.team-card {
    min-width: calc(33.33% - 20px);
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    flex-shrink: 0;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}

.team-img-wrap {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrap img {
    transform: scale(1.06);
}

.team-socials {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,86,210,0.85));
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 16px;
    opacity: 0;
    transition: opacity var(--transition);
}

.team-card:hover .team-socials {
    opacity: 1;
}

.team-socials a {
    background: var(--white);
    color: var(--blue);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    transition: background var(--transition);
}

.team-socials a:hover {
    background: var(--green);
    color: var(--white);
}

.team-info {
    padding: 20px 22px;
    text-align: center;
}

.team-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 6px;
}

.team-info p {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

.team-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.team-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.team-dots .dot.active {
    background: var(--blue);
    border-color: var(--blue);
    transform: scale(1.25);
}

/* ===== PARTNERS ===== */
.partners {
    padding: 80px 8%;
    background: var(--light-bg);
    overflow: hidden;
}

.partners-track-wrapper {
    overflow: hidden;
    position: relative;
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partners-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--light-bg), transparent);
}

.partners-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--light-bg), transparent);
}

.partners-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollPartners 22s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px 30px;
    min-width: 200px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.partner-item img {
    height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(60%);
    transition: filter var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%);
}

.partner-item p {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.partner-item:hover p {
    opacity: 1;
}

/* ===== CONTACT ===== */
.contact {
    padding: 110px 8%;
    background: var(--white);
}

.contact-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-form-wrap,
.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-form-wrap h3,
.contact-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 24px;
}

.contact-form-wrap {
    background: var(--light-bg);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,86,210,0.1);
}

.form-group input.err,
.form-group textarea.err {
    border-color: var(--red);
}

.form-msg {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-msg.success { color: var(--green); }
.form-msg.error   { color: var(--red); }

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 18px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.info-item:hover {
    background: #e8f0ff;
}

.info-icon {
    font-size: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.contact-map {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
footer {
    background: #0d0d1a;
    color: rgba(255,255,255,0.75);
    padding: 70px 8% 0;
}

.footer-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {
    width: 60px;
    margin-bottom: 14px;
}

.footer-logo h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-logo h2 span { color: var(--green); }

.footer-logo p {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.7;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: var(--green);
    padding-left: 6px;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}

.social-link:hover {
    color: var(--green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    background: var(--blue);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,86,210,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    nav ul { gap: 18px; }
    .team-card { min-width: calc(50% - 14px); }
}

@media (max-width: 900px) {
    header {
        flex-wrap: wrap;
        row-gap: 0;
    }

    nav {
        display: none;
        width: 100%;
        order: 3;
        padding: 12px 0 16px;
        border-top: 1px solid var(--border);
    }

    nav.show-menu { display: block; }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 15px;
    }

    .menu-toggle { display: block; }
    .btn-header  { display: none; }

    .hero { margin-top: 70px; }
    .hero-scroll-hint { display: none; }

    .about-container { flex-direction: column; }
    .about-badge { bottom: -15px; right: 10px; }

    .contact-container { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }

    .team-card { min-width: calc(50% - 14px); }

    .footer-content { flex-direction: column; gap: 32px; }
    .footer-bottom  { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    .hero-content { left: 5%; right: 5%; }
    .hero-content h1 { font-size: 26px; }
    .hero-btns { flex-direction: column; align-items: flex-start; }

    .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat-box:last-child { border-bottom: none; }

    .services-container { grid-template-columns: 1fr; }
    .projects-container { grid-template-columns: 1fr; }

    .team-card { min-width: 100%; }

    .contact-form { padding: 24px 20px; }

    .back-to-top { bottom: 18px; right: 18px; }
}

/* ===== ACTIVE NAV LINK HIGHLIGHT ===== */
nav ul li a.active-link {
    color: var(--blue);
}
