/* Lufga Font Family */
@font-face {
    font-family: 'Lufga';
    src: url('assets/Lufga-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('assets/Lufga-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('assets/Lufga-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('assets/Lufga-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('assets/Lufga-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('assets/Lufga-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('assets/Lufga-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('assets/Lufga-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

:root {
    /* Haq Power Brand Colors from Logo */
    --brand-green: #00D26A;
    /* Vibrant green from logo */
    --brand-blue: #002060;
    /* Dark blue from logo */

    --dark-bg: #000000;
    --darker-bg: #0a0a0a;
    --light-bg: #ffffff;

    --text-white: #ffffff;
    --text-gray: #a1a1a6;
    --text-dark: #1d1d1f;

    --glass-bg: rgba(10, 10, 10, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 500;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.1;
}

h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--text-white);
    color: var(--text-dark);
    border-color: var(--text-white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-dark {
    background-color: var(--dark-bg);
    color: var(--text-white);
}

.btn-dark:hover {
    background-color: #333;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background-color: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 2rem;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-links li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-links li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-links li:nth-child(4) { transition-delay: 0.25s; }

.mobile-menu-links a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-white);
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: var(--brand-green);
}

.mobile-menu-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-cta .btn {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    z-index: 1;
    max-width: 900px;
    padding: 0 1rem;
    margin-top: -50px;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-stats {
    position: absolute;
    bottom: 50px;
    display: flex;
    gap: 4rem;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

/* Feature Sections */
.feature-section {
    padding: 6rem 0;
    overflow: hidden;
}

.dark-bg {
    background-color: var(--darker-bg);
}

.light-bg {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-grid.reverse .feature-text {
    order: 2;
}

.feature-grid.reverse .feature-image {
    order: 1;
}

.feature-text h2 {
    margin-bottom: 1rem;
}

.feature-text p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    opacity: 0.85;
    font-weight: 300;
    line-height: 1.7;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "✓";
    color: var(--brand-green);
    margin-right: 12px;
    font-weight: bold;
    font-size: 1.1rem;
}

.feature-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

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

/* About / Bento Grid */
.about-section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.bento-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.bento-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--brand-green);
    font-weight: 400;
    letter-spacing: -0.5px;
}

.bento-card ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--darker-bg), #000);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info address {
    margin-top: 2rem;
    font-style: normal;
    line-height: 2;
}

.contact-form-wrapper {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: var(--text-white);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-gray);
}

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

.footer-logo img {
    height: 30px;
    margin-bottom: 0.5rem;
    filter: grayscale(100%) brightness(200%);
    /* Make logo white/grey */
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 992px) {

    .feature-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-grid.reverse .feature-text {
        order: 1;
    }

    .feature-grid.reverse .feature-image {
        order: 2;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        width: 100%;
        justify-content: space-around;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Process Page Styles */
.process-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
}

.process-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--brand-green);
}

.process-objective {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    opacity: 0.8;
    border-left: 3px solid var(--brand-green);
    padding-left: 1.5rem;
    text-align: left;
}

.process-steps {
    padding: 4rem 0;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.process-step.reverse {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    position: relative;
}

.step-image {
    flex: 1;
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -3rem;
    left: -1rem;
    z-index: -1;
    line-height: 1;
}

.step-content h2 {
    color: var(--brand-green);
    margin-bottom: 1.5rem;
}

.step-content ul {
    margin-bottom: 2rem;
    list-style: disc;
    padding-left: 1.5rem;
}

.step-content ul li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.step-deliverables {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--brand-blue);
    font-size: 0.9rem;
}

.warranty-section {
    padding: 6rem 0;
    background: var(--darker-bg);
    border-top: 1px solid var(--glass-border);
}

.warranty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.warranty-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.warranty-item:hover {
    transform: translateY(-5px);
    border-color: var(--brand-green);
}

.warranty-years {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
}

.warranty-label {
    text-transform: uppercase;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 992px) {

    .feature-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-grid.reverse .feature-text {
        order: 1;
    }

    .feature-grid.reverse .feature-image {
        order: 2;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        width: 100%;
        justify-content: space-around;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Process Page Styles */
.process-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
}

.process-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--brand-green);
}

.process-objective {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    opacity: 0.8;
    border-left: 3px solid var(--brand-green);
    padding-left: 1.5rem;
    text-align: left;
}

.process-steps {
    padding: 4rem 0;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.process-step.reverse {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    position: relative;
}

.step-image {
    flex: 1;
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -3rem;
    left: -1rem;
    z-index: -1;
    line-height: 1;
}

.step-content h2 {
    color: var(--brand-green);
    margin-bottom: 1.5rem;
}

.step-content ul {
    margin-bottom: 2rem;
    list-style: disc;
    padding-left: 1.5rem;
}

.step-content ul li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.step-deliverables {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--brand-blue);
    font-size: 0.9rem;
}

.warranty-section {
    padding: 6rem 0;
    background: var(--darker-bg);
    border-top: 1px solid var(--glass-border);
}

.warranty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.warranty-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.warranty-item:hover {
    transform: translateY(-5px);
    border-color: var(--brand-green);
}

.warranty-years {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
}

.warranty-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .process-hero {
        padding: 6rem 0 3rem;
    }

    .process-hero h1 {
        font-size: 3rem;
    }

    .process-step {
        gap: 2rem;
    }

    .step-number {
        font-size: 4rem;
        top: -2.5rem;
    }
}

@media (max-width: 768px) {
    .process-hero h1 {
        font-size: 2.5rem;
    }

    .process-objective {
        font-size: 1rem;
        padding-left: 1rem;
    }

    .process-step,
    .process-step.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
        margin-bottom: 4rem;
    }

    .step-image {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .process-steps .step-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    .step-number {
        font-size: 3rem;
        top: -2rem;
        left: 0;
    }

    .warranty-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .warranty-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .process-hero h1 {
        font-size: 2rem;
    }

    .warranty-grid {
        grid-template-columns: 1fr;
    }

    .step-number {
        font-size: 2.5rem;
        top: -1.5rem;
    }
}

/* Fix for process page images - prevents horizontal scroll on mobile */
.step-image {
    overflow: hidden;
    box-sizing: border-box;
}

.step-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    box-sizing: border-box;
}