/* ==========================================================================
   KINETI SOLAR — MAIN STYLESHEET
   A complete, modern, responsive solar company website
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary:         #008090;
    --primary-dark:    #005f6b;
    --primary-light:   #00a8bc;
    --primary-glow:    rgba(0, 128, 144, 0.18);
    --yellow:          #FDB813;
    --yellow-dark:     #e5a010;
    --yellow-glow:     rgba(253, 184, 19, 0.25);

    /* Neutral Palette */
    --white:           #ffffff;
    --off-white:       #f8f9fb;
    --light-gray:      #f1f4f8;
    --border:          #e2e8f0;
    --text:            #1e293b;
    --text-muted:      #64748b;
    --dark:            #0d1b2a;
    --dark-2:          #162232;

    /* Shadows */
    --shadow-sm:       0 2px 8px rgba(0, 0, 0, 0.07);
    --shadow:          0 4px 18px rgba(0, 0, 0, 0.10);
    --shadow-lg:       0 10px 40px rgba(0, 0, 0, 0.14);
    --shadow-primary:  0 6px 24px rgba(0, 128, 144, 0.28);
    --shadow-yellow:   0 6px 24px rgba(253, 184, 19, 0.35);

    /* Typography */
    --font-heading:    'Poppins', sans-serif;
    --font-body:       'Inter', sans-serif;

    /* Layout */
    --section-py:      90px;
    --container-max:   1200px;
    --container-px:    24px;

    /* Border Radius */
    --radius-sm:       6px;
    --radius:          12px;
    --radius-lg:       20px;
    --radius-xl:       32px;
    --radius-full:     9999px;

    /* Transitions */
    --transition:      all 0.3s ease;
    --transition-fast: all 0.18s ease;
    --transition-slow: all 0.55s ease;

    /* Header */
    --header-h:        110px;
}

/* ==========================================================================
   2. CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol { list-style: none; }

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

button { cursor: pointer; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-primary   { color: var(--primary); }
.text-yellow    { color: var(--yellow); }
.text-white     { color: var(--white); }
.text-muted     { color: var(--text-muted); }
.text-dark      { color: var(--dark); }

/* Section Title Block */
.section-label {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title span { color: var(--primary); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle { margin: 0 auto; }

/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section {
    padding: var(--section-py) 0;
}

.section-light { background: var(--off-white); }
.section-dark  { background: var(--dark); color: var(--white); }
.section-primary { background: var(--primary); color: var(--white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex       { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}
.btn-yellow:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.65);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

.btn i { font-size: 0.9em; }

/* ==========================================================================
   6. PRELOADER
   ========================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 180px;
    animation: pulse-glow 1.5s infinite ease-in-out;
    filter: brightness(0) invert(1);
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 40%;
    background: var(--yellow);
    border-radius: var(--radius-full);
    animation: loading-bar 1.2s ease-in-out infinite;
}

@keyframes loading-bar {
    0%   { transform: translateX(-100%); }
    50%  { transform: translateX(150%); }
    100% { transform: translateX(400%); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.75; transform: scale(0.95); }
}

/* ==========================================================================
   7. HEADER & NAVIGATION
   ========================================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: var(--transition);
    background: transparent;
}

#header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 64px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

#header.scrolled .logo img {
    filter: none;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: var(--radius-full);
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

#header.scrolled .nav-links a {
    color: var(--text);
}

#header.scrolled .nav-links a:hover,
#header.scrolled .nav-links a.active {
    color: var(--primary);
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--yellow) !important;
    color: var(--dark) !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--yellow-dark) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

#header.scrolled .nav-toggle span { background: var(--text); }

.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 20px 24px 30px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-nav .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.mobile-nav .nav-links a {
    color: var(--text);
    width: 100%;
    padding: 13px 10px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 1rem;
}

.mobile-nav .nav-links a:hover { color: var(--primary); background: var(--light-gray); }
.mobile-nav .nav-links a::after { display: none; }

.mobile-nav .nav-cta {
    background: var(--yellow) !important;
    border-radius: var(--radius) !important;
    margin-top: 16px !important;
    border-bottom: none !important;
    justify-content: center;
}

/* ==========================================================================
   8. HERO — HOME PAGE
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/bghomekineti.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slow-zoom 20s ease-in-out infinite alternate;
}

@keyframes slow-zoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(0, 80, 100, 0.92) 0%,
        rgba(13, 27, 40, 0.78) 60%,
        rgba(13, 27, 40, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 184, 19, 0.15);
    border: 1px solid rgba(253, 184, 19, 0.4);
    color: var(--yellow);
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero h1 span { color: var(--yellow); }

.hero p {
    color: rgba(255,255,255,0.82);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    margin-top: 4px;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: bounce-down 2s infinite;
    cursor: pointer;
}

.scroll-indicator i { font-size: 1.1rem; }

@keyframes bounce-down {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================================
   9. PAGE BANNER (Secondary Pages Hero)
   ========================================================================== */
.page-banner {
    position: relative;
    padding: 130px 0 80px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    background: var(--dark);
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,128,144,0.75) 0%, rgba(13,27,40,0.90) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 14px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}

.breadcrumb a { color: var(--yellow); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.75rem; }

/* ==========================================================================
   10. STATS COUNTER SECTION
   ========================================================================== */
.stats-section {
    background: var(--dark);
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius);
    background: var(--primary-glow);
    border: 1px solid rgba(0,160,180,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-suffix {
    font-size: 1.8rem;
    color: var(--yellow);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   11. SERVICES SECTION (HOME + SERVICES PAGE)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 66px;
    height: 66px;
    border-radius: var(--radius);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.service-link i { transition: transform 0.25s ease; font-size: 0.8em; }
.service-link:hover i { transform: translateX(4px); }
.service-link:hover { color: var(--primary-dark); }

/* Full Services Page */
.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-detail-image {
    height: 200px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail-card:hover .service-detail-image img { transform: scale(1.07); }

.service-detail-body {
    padding: 28px 26px;
}

.service-detail-body h3 { margin-bottom: 10px; }
.service-detail-body p  { color: var(--text-muted); margin-bottom: 18px; font-size: 0.93rem; }

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-features li i {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Services Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--yellow));
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
    box-shadow: var(--shadow-primary);
}

.process-step h4 { margin-bottom: 8px; }
.process-step p  { font-size: 0.88rem; color: var(--text-muted); }

/* ==========================================================================
   12. PROJECTS / PORTFOLIO
   ========================================================================== */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 44px;
}

.filter-btn {
    padding: 9px 22px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--white);
    color: var(--text-muted);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.filter-btn:hover { border-color: var(--primary); color: var(--primary); }

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.project-card:hover .project-image img { transform: scale(1.08); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(13,27,40,0.92) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-overlay-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay-icon { transform: scale(1); }

.project-info {
    background: var(--white);
    padding: 22px 24px 24px;
    border-top: 0;
}

.project-info h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.project-meta-item i { color: var(--primary); font-size: 0.78rem; }

.project-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    background: var(--primary-glow);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    margin-right: 6px;
    margin-bottom: 8px;
}

/* Project Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.lightbox-modal.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.35s ease;
    position: relative;
}

.lightbox-modal.open .lightbox-content { transform: scale(1); }

.lightbox-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.lightbox-body {
    padding: 32px;
}

.lightbox-body h2 { margin-bottom: 16px; }

.lightbox-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 22px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
}

.lightbox-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lightbox-meta-item i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.lightbox-meta-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.lightbox-meta-item span {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    transition: var(--transition);
}

.lightbox-close:hover { background: var(--primary); transform: rotate(90deg); }

/* ==========================================================================
   13. WHY CHOOSE US
   ========================================================================== */
.why-us-section {
    background: var(--dark);
    padding: var(--section-py) 0;
    overflow: hidden;
    position: relative;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,128,144,0.15) 0%, transparent 70%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.why-us-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-us-image img { width: 100%; height: 480px; object-fit: cover; }

.why-us-image-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--yellow);
    color: var(--dark);
    padding: 16px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-yellow);
}

.why-us-image-badge .num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.why-us-image-badge span {
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-top: 4px;
}

.why-us-content .section-label { background: rgba(0,128,144,0.25); }
.why-us-content .section-title { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2rem); }
.why-us-content .section-title span { color: var(--yellow); }
.why-us-content > p { color: rgba(255,255,255,0.68); margin-bottom: 36px; }

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.why-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-glow);
    border: 1px solid rgba(0,160,180,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.why-feature-text h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 4px; }
.why-feature-text p  { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin: 0; }

/* ==========================================================================
   14. TESTIMONIALS
   ========================================================================== */
.testimonials-section { background: var(--off-white); }

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.55s ease;
}

.testimonial-item {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 28px;
    left: 36px;
    font-size: 3rem;
    color: var(--primary-glow);
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 18px;
}

.testimonial-stars i { color: var(--yellow); font-size: 1rem; }

.testimonial-text {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-author-info strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text);
    text-align: left;
}

.testimonial-author-info span {
    font-size: 0.83rem;
    color: var(--text-muted);
    text-align: left;
    display: block;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.testimonials-prev,
.testimonials-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.testimonials-prev:hover,
.testimonials-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonials-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.testimonials-dots .dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* Testimonials Page Grid */
.testimonials-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card-full {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card-full::after {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 16px;
    right: 24px;
    font-size: 5rem;
    color: var(--light-gray);
    line-height: 1;
}

.testimonial-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.testimonial-card-full .testimonial-stars { justify-content: flex-start; margin-bottom: 14px; }
.testimonial-card-full .testimonial-text  { text-align: left; font-size: 0.95rem; }

.testimonial-card-full .testimonial-author { justify-content: flex-start; margin-top: 22px; }
.testimonial-card-full .testimonial-author-info { text-align: left; }

/* ==========================================================================
   15. CTA BANNER
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    display: none;
}

.cta-section::after {
    display: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 10px; }
.cta-text p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin: 0; }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
    transform: translateY(-2px);
}

/* ==========================================================================
   16. ABOUT PAGE
   ========================================================================== */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.about-image-main {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--yellow);
    color: var(--dark);
    padding: 14px 20px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 800;
    text-align: center;
    box-shadow: var(--shadow-yellow);
}

.about-badge .num { font-size: 2rem; line-height: 1; display: block; }
.about-badge .txt { font-size: 0.75rem; }

.about-content .section-label { margin-bottom: 12px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; }

.about-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0 30px;
}

.about-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
}

.about-check i { color: var(--primary); font-size: 1rem; }

/* Mission & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.mv-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.mv-card:nth-child(2) { border-top-color: var(--yellow); }
.mv-card:nth-child(3) { border-top-color: var(--primary-light); }

.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.mv-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 18px;
}

.mv-card:nth-child(2) .mv-icon { background: var(--yellow-glow); color: var(--yellow-dark); }

.mv-card h3 { margin-bottom: 12px; }
.mv-card p  { color: var(--text-muted); font-size: 0.93rem; }

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top;
}

.team-body {
    padding: 22px 18px;
}

.team-body h4 { font-size: 1rem; margin-bottom: 4px; }
.team-role {
    font-size: 0.83rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 14px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.team-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Certifications */
.certifications {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.cert-badge:hover { transform: translateY(-4px); }

.cert-badge i {
    font-size: 2.2rem;
    color: var(--primary);
}

.cert-badge span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

.cert-badge img {
    height: 55px;
    width: 140px;
    object-fit: contain;
    transition: var(--transition);
}

/* ==========================================================================
   17. PRODUCTS PAGE
   ========================================================================== */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.products-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.products-section-title i {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
}

.products-section-title h2 { margin: 0; font-size: 1.5rem; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-image {
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img { transform: scale(1.06); }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-new { background: var(--yellow); color: var(--dark); }
.badge-popular { background: var(--primary); color: var(--white); }

.product-body {
    padding: 22px;
}

.product-body h3 { font-size: 1.05rem; margin-bottom: 6px; }

.product-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
    padding: 14px;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
}

.product-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.83rem;
}

.product-spec-label { color: var(--text-muted); }
.product-spec-value { font-weight: 600; color: var(--text); }

/* ==========================================================================
   18. FAQ PAGE
   ========================================================================== */
.faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.faq-nav {
    position: sticky;
    top: calc(var(--header-h) + 30px);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.faq-nav h4 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.faq-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    margin-bottom: 4px;
}

.faq-nav a i { color: var(--primary); font-size: 0.85rem; }
.faq-nav a:hover, .faq-nav a.active { background: var(--primary-glow); color: var(--primary); }

.faq-categories { display: flex; flex-direction: column; gap: 40px; }

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.faq-category-title i {
    color: var(--primary);
    font-size: 1.1rem;
}

.faq-category-title h3 { font-size: 1.2rem; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.open .faq-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.75;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.faq-item.open .faq-answer { max-height: 400px; }

/* ==========================================================================
   19. CONTACT PAGE
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 50px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 42px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-muted); margin-bottom: 30px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.form-group label span { color: var(--primary); }

.form-control {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.93rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 44px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control.error { border-color: #e53e3e; }
.form-control.success { border-color: #38a169; }

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.field-error {
    display: block;
    font-size: 0.8rem;
    color: #e53e3e;
    margin-top: 6px;
}

.contact-info-wrap { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: var(--transition);
}

.contact-info-card:hover { transform: translateX(4px); border-color: var(--primary-light); }

.contact-info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-card h4 { font-size: 0.9rem; margin-bottom: 5px; }
.contact-info-card p, .contact-info-card a {
    font-size: 0.92rem;
    color: var(--text-muted);
}
.contact-info-card a:hover { color: var(--primary); }

.contact-social {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 4px;
}

.contact-social h4 { color: var(--white); margin-bottom: 16px; font-size: 0.92rem; }

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-link:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.social-link.whatsapp:hover { background: #25D366; }
.social-link.facebook:hover { background: #1877F2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.twitter:hover { background: #1DA1F2; }
.social-link.linkedin:hover { background: #0A66C2; }
.social-link.youtube:hover { background: #FF0000; }

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 240px;
    border: 2px solid var(--border);
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 20px;
}

.map-embed i { font-size: 2rem; color: var(--primary); }

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.35s ease;
    max-width: 340px;
}

.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid #38a169; }
.toast.error   { border-left: 4px solid #e53e3e; }
.toast i       { font-size: 1.1rem; }
.toast.success i { color: #38a169; }
.toast.error i   { color: #e53e3e; }

/* ==========================================================================
   20. FOOTER
   ========================================================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
    display: inline-flex;
    margin-bottom: 18px;
}

.footer-brand .logo img {
    height: 58px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-social a.fb:hover { background: #1877F2; }
.footer-social a.ig:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.footer-social a.yt:hover { background: #FF0000; }

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i { color: var(--primary); font-size: 0.7rem; }
.footer-links a:hover { color: var(--white); transform: translateX(4px); }

.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-contact-item a:hover { color: var(--yellow); }

.footer-bottom {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom p a { color: var(--yellow); }
.footer-bottom p a:hover { color: var(--white); }

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--white); }

/* ==========================================================================
   21. BACK TO TOP
   ========================================================================== */
#backToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    border: none;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: var(--transition);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,128,144,0.45);
}

/* ==========================================================================
   22. SCROLL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.scale-in   { transform: scale(0.92); }

.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Partners/Logos Strip */
.partners-strip {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-strip p {
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.partner-logo img {
    height: 45px;
    width: 120px;
    object-fit: contain;
}

.partner-logo:hover { transform: translateY(-3px); }

/* ==========================================================================
   23. RESPONSIVE DESIGN
   ========================================================================== */

/* Large Desktop */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .team-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet */
@media (max-width: 1024px) {
    :root { --section-py: 70px; }

    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-nav { display: block; }

    .hero h1 { font-size: 2.4rem; }

    .stats-grid          { grid-template-columns: repeat(2, 1fr); }
    .stat-item::after    { display: none; }

    .services-grid       { grid-template-columns: repeat(2, 1fr); }
    .projects-grid       { grid-template-columns: repeat(2, 1fr); }
    .process-steps       { grid-template-columns: repeat(2, 1fr); }
    .process-steps::before { display: none; }

    .why-us-grid         { grid-template-columns: 1fr; gap: 40px; }
    .why-us-image        { max-width: 600px; margin: 0 auto; }
    .why-us-image-badge  { right: 10px; }

    .about-story         { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrap    { max-width: 580px; }
    .about-image-accent  { display: none; }

    .mv-grid             { grid-template-columns: 1fr 1fr; }

    .cta-inner           { flex-direction: column; text-align: center; }
    .cta-actions         { justify-content: center; }

    .faq-layout          { grid-template-columns: 1fr; }
    .faq-nav             { display: none; }

    .contact-layout      { grid-template-columns: 1fr; }
    .contact-form-wrap   { order: 1; }
    .contact-info-wrap   { order: 2; max-width: 600px; }

    .products-grid       { grid-template-columns: repeat(2, 1fr); }

    .testimonials-page-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --section-py: 56px; --header-h: 85px; }

    .hero          { min-height: 100svh; }
    .hero-actions  { flex-direction: column; align-items: flex-start; }
    .hero-stats    { gap: 22px; }
    .hero-stat-num { font-size: 1.5rem; }

    .hero-badge    { font-size: 0.75rem; }

    .services-grid     { grid-template-columns: 1fr; }
    .projects-grid     { grid-template-columns: 1fr; }
    .grid-2            { grid-template-columns: 1fr; }
    .grid-3            { grid-template-columns: 1fr; }
    .grid-4            { grid-template-columns: repeat(2, 1fr); }

    .why-features      { grid-template-columns: 1fr; }

    .mv-grid           { grid-template-columns: 1fr; }

    .lightbox-meta     { grid-template-columns: 1fr; }
    .lightbox-body     { padding: 22px; }
    .lightbox-image    { height: 240px; }

    .testimonial-card  { padding: 28px 22px; }

    .footer-grid       { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom     { flex-direction: column; text-align: center; }

    .form-row          { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 28px 22px; }

    .testimonials-page-grid { grid-template-columns: 1fr; }

    .products-grid     { grid-template-columns: 1fr; }

    .team-grid         { grid-template-columns: 1fr 1fr; }

    .process-steps     { grid-template-columns: 1fr; }

    .partners-logos    { gap: 28px; }

    .page-banner       { min-height: 280px; padding: 110px 0 60px; }
    .page-banner h1    { font-size: 1.8rem; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1           { font-size: 1.9rem; }
    .btn               { padding: 12px 24px; font-size: 0.88rem; }
    .stat-number       { font-size: 2.2rem; }
    .section-title     { font-size: 1.7rem; }
    .team-grid         { grid-template-columns: 1fr; }
    .grid-4            { grid-template-columns: 1fr; }
    .hero-stats        { flex-wrap: wrap; gap: 16px; }
    #backToTop         { bottom: 20px; right: 20px; width: 42px; height: 42px; }
    .toast             { left: 16px; right: 16px; bottom: 16px; }
}
