/* =========================================
   CostticGreen -- Main Stylesheet
   E-Waste Recycling & Recovery
========================================= */

/* -- Reset & Base -- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #183883;
    --primary-dark: #183883;
    --primary-light: #3bb3c3;
    --accent: #d4a017;
    --accent-light: #f0c940;
    --dark: #111a12;
    --dark-2: #1b2a1d;
    --dark-3: #2e4430;
    --gray: #5a6b5c;
    --gray-light: #8a9b8c;
    --light: #f4f7f4;
    --white: #fafdf9;
    --white-pure: #ffffff;
    --border: #d0ddd2;
    --shadow: 0 6px 28px rgba(10, 40, 15, 0.1);
    --shadow-lg: 0 14px 44px rgba(10, 40, 15, 0.16);
    --shadow-brutal: 4px 4px 0 var(--dark);
    --transition: all 0.25s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
    --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

html {
    scroll-behavior: smooth;
}
.logo img{border-radius: 10px}
body {
    font-family: var(--font-main);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 110px 0 90px;
    position: relative;
}

/* grain overlay mixin via pseudo */
.section::after,
.hero::after,
.process-section::after,
.cta-section::after,
.footer::after {
    pointer-events: none;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: var(--dark);
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.section-tag svg {
    width: 13px;
    height: 13px;
}

.section-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 18px;
    color: var(--dark);
    letter-spacing: -1.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray);
    max-width: 560px;
    line-height: 1.75;
    font-weight: 400;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }


/* =========================================
   Header / Navigation
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 253, 249, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(10, 40, 15, 0.1);
    border-bottom-color: var(--primary);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 17px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--dark);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
}

.btn-primary:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 122, 58, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--dark);
    font-weight: 900;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-lg {
    padding: 15px 34px;
    font-size: 15px;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 0;
    transition: var(--transition);
}


/* =========================================
   Hero Slider
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
    padding-top: 74px;
}

/* Slider wrapper */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for when no real image is loaded */
.hero-slide-bg.placeholder {
    background: linear-gradient(135deg, #111a12 0%, #1b3a22 40%, #0d1f10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(17, 26, 18, 0.92) 0%,
        rgba(17, 26, 18, 0.7) 50%,
        rgba(17, 26, 18, 0.4) 100%
    );
    z-index: 1;
}

/* Grain on top of hero */
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    background-repeat: repeat;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgb(24 56 131);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary-light);
}

.slider-arrow.prev {
    left: 28px;
}

.slider-arrow.next {
    right: 28px;
}

.slider-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-light);
    border-color: var(--primary-light);
    width: 32px;
}

/* Hero Content (over the slider) */
.hero-grid {

    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(26, 122, 58, 0.2);
    border: 1px solid rgba(46, 204, 84, 0.35);
    border-radius: 4px;
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.02;
    margin-bottom: 22px;
    letter-spacing: -2.5px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 17px;
    color: #9aab9c;
    line-height: 1.7;
    margin-bottom: 38px;
    max-width: 500px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 14px;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    gap: 44px;
    padding-top: 32px;
    border-top: 2px solid rgba(255, 255, 255, 0.07);
}

.hero-stat h3 {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-light);
    letter-spacing: -1px;
}

.hero-stat p {
    font-size: 12px;
    color: #6b7c6d;
    margin-top: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual (right side card) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 36px;
    width: 100%;
    max-width: 460px;
}

.hero-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 26px;
}

.hero-card h3 {
    font-size: 21px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.hero-card p {
    font-size: 14px;
    color: #8a9b8c;
    line-height: 1.6;
    margin-bottom: 18px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #b3c4b5;
    font-weight: 600;
}

.hero-feature svg {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
    flex-shrink: 0;
}


/* =========================================
   Image Placeholder Styles
========================================= */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light);
    border: 2px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    position: relative;
}

.img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(26, 122, 58, 0.03) 10px,
        rgba(26, 122, 58, 0.03) 20px
    );
}

.img-placeholder .icon {
    font-size: 40px;
    opacity: 0.4;
}

.img-placeholder span {
    position: relative;
    z-index: 1;
}

/* Real image containers */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-rounded { border-radius: 8px; }
.img-rounded-lg { border-radius: 20px; }


/* =========================================
   Services Section
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.service-card {
    background: var(--white-pure);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 32px 26px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Alternating card accents */
.service-card:nth-child(2) { border-radius: 20px; }
.service-card:nth-child(4) { border-radius: 20px; }
.service-card:nth-child(5) { border-radius: 4px; }

.service-number {
    font-size: 52px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.service-icon {
      width: 120px;
    height: 120px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
}

.service-icon.green { background: #d4edda; color: var(--primary); }
.service-icon.blue { background: #d6e4f0; color: #1d5fa0; }
.service-icon.purple { background: #e8ddf5; color: #6930c3; }
.service-icon.orange { background: #fce5cc; color: #c45e12; }
.service-icon.red { background: #f8d7da; color: #b22234; }
.service-icon.teal { background: #ccedea; color: #0a8070; }

.service-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 14px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

.service-list li svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}


/* =========================================
   About Section
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-img-placeholder {
    width: 100%;
    height: 460px;
    background: linear-gradient(160deg, #c8e6c9 0%, #a5d6a7 50%, #81c784 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--border);
}

.about-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    background-repeat: repeat;
    opacity: 0.6;
    pointer-events: none;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--dark);
    color: var(--primary-light);
    padding: 16px 22px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--primary);
}

.about-badge h4 {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.about-badge p {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
    color: #8a9b8c;
}

.about-content .section-title {
    margin-top: 8px;
}

.about-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 34px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: var(--dark);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.about-feature-icon svg {
    width: 18px;
    height: 18px;
}

.about-feature h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 12px;
    color: var(--gray);
}


/* =========================================
   Process / How We Work
========================================= */
.process-section {
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    background-repeat: repeat;
    opacity: 0.4;
    pointer-events: none;
}

.process-section .section-tag {
    background: rgba(46, 204, 84, 0.12);
    color: var(--primary-light);
}

.process-section .section-title {
    color: white;
}

.process-section .section-subtitle {
    color: #8a9b8c;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 52px;
    position: relative;
    z-index: 2;
}

.process-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 30px 22px;
    text-align: center;
    transition: var(--transition);
}

.process-card:nth-child(2) { border-radius: 20px; }
.process-card:nth-child(3) { border-radius: 4px; }

.process-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.process-step {
    width: 46px;
    height: 46px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 18px;
    font-weight: 900;
    color: white;
}

.process-card h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.process-card p {
    font-size: 13px;
    color: #7a8b7c;
    line-height: 1.65;
}


/* =========================================
   CTA Section
========================================= */
.cta-section {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    background-repeat: repeat;
    opacity: 0.35;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 34px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    position: relative;
    z-index: 2;
}


/* =========================================
   Contact Section
========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    margin-top: 52px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: var(--light);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.contact-card-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: var(--dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 3px;
}

.contact-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.55;
}

/* Contact Form */
.contact-form {
    background: var(--white-pure);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 22px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

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

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--dark);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 122, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}


/* =========================================
   Footer
========================================= */
.footer {
    background: var(--dark);
    color: white;
    padding: 65px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 2;
}

.footer-brand .logo {
    margin-bottom: 14px;
    color: white;
}

.footer-brand p {
    font-size: 13px;
    color: #6b7c6d;
    line-height: 1.75;
    max-width: 280px;
}

.footer h4 {
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-light);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: #8a9b8c;
    padding: 5px 0;
    font-weight: 500;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 13px;
    color: #4a5b4c;
    position: relative;
    z-index: 2;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7c6d;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}


/* =========================================
   Page Header (Inner Pages)
========================================= */
.page-header {
    background: var(--dark);
    padding: 140px 0 70px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    background-repeat: repeat;
    opacity: 0.4;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 122, 58, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    letter-spacing: -2px;
}

.page-header p {
    font-size: 16px;
    color: #7a8b7c;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 13px;
    color: #4a5b4c;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.breadcrumb a {
    color: #6b7c6d;
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb span {
    color: var(--primary-light);
}


/* =========================================
   Services Page - Detail Cards
========================================= */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
    padding: 55px 0;
    border-bottom: 2px solid var(--border);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-visual {
    background: var(--light);
    border-radius: 20px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border: 2px solid var(--border);
    overflow: hidden;
    position: relative;
}

.service-detail-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    background-repeat: repeat;
    opacity: 0.5;
    pointer-events: none;
}

.service-detail-content h3 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 14px;
    color: var(--dark);
    letter-spacing: -1px;
}

.service-detail-content p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 18px;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-3);
    font-weight: 600;
}

.detail-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}


/* =========================================
   About Page - Team / Values
========================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.value-card {
    background: var(--white-pure);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 34px 26px;
    text-align: center;
    transition: var(--transition);
}

.value-card:nth-child(2) { border-radius: 20px; }

.value-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px;
    background: var(--dark);
    color: var(--primary-light);
}

.value-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
}

/* Counter Stats */
.counter-section {
    background: var(--dark);
    color: white;
    padding: 55px 0;
    position: relative;
}

.counter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.counter-item h3 {
    font-size: 46px;
    font-weight: 900;
    color: var(--primary-light);
    letter-spacing: -2px;
}

.counter-item p {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================
   Map Placeholder
========================================= */
.map-section {
    width: 100%;
    height: 380px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 16px;
    font-weight: 800;
    border-top: 2px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =========================================
   Responsive
========================================= */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text { margin: 0 auto 36px; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .slider-arrow { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }

    .section { padding: 80px 0 60px; }
    .hero-title { font-size: 38px; letter-spacing: -1.5px; }
    .section-title { font-size: 32px; letter-spacing: -1px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }

    .slider-dots { bottom: 20px; }
    .slider-dot { width: 10px; height: 10px; }
    .slider-dot.active { width: 24px; }

    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail.reverse { direction: ltr; }
    .about-features { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .hero-btns { flex-direction: column; align-items: center; }
    .cta-btns { flex-direction: column; align-items: center; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

    .page-header { padding: 120px 0 50px; }
    .page-header h1 { font-size: 34px; }

    .contact-form { border-radius: 8px; padding: 24px; }
    .about-img-placeholder { height: 320px; border-radius: 8px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 30px; }
    .section-title { font-size: 26px; }
    .hero-stat h3 { font-size: 28px; }
    .counter-item h3 { font-size: 34px; }
    .cta-section h2 { font-size: 28px; }
}


/* =========================================
   Scroll Animations
========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
