/* ===== HERO ===== */
.hero {
    width: 100%;
    min-height: 100vh;
    background-image: url('../images/heroimage.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    padding: 180px 20px 120px;
    padding-top: calc(10px + 80px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Form card */
.hero-contact {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
}

.hero-contact input,
.hero-contact textarea {
    width: 100%;
    padding: 12px 16px;
    margin: 10px 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.hero-contact input::placeholder,
.hero-contact textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.hero-contact button {
    width: 100%;
    padding: 16px;
    background: #0F172A;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.hero-contact button:hover {
    background: #1d4ed8;
}

/* Section Divider */
.section-divider {
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(to right, transparent, #cfcfcf, transparent);
    margin: 80px auto;
    opacity: 0.4;
}
/* -----Technology / Custom Build Section----- */

.tech-section {
    padding: 10px 0px;
    background: #3B3A36;
    color: #f5f5f5;
}

.tech-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Icons */
.tech-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 3.5rem;
}

.tech-icons img {
    width: 500px;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 12px 25px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}



/* Text */
.tech-text h2 {
    font-size: clamp(2.6rem, 5vw, 3.2rem);
    margin-bottom: 1.8rem;
    letter-spacing: -0.5px;
}

.tech-text p {
    font-size: 1.2rem;
    max-width: 820px;
    margin: 0 auto 1.6rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* Mobile */
@media (max-width: 768px) {
    .tech-icons {
        gap: 30px;
    }

    .tech-icons img {
        width: 70px;
    }

    .tech-text p {
        font-size: 1.1rem;
    }
}


.highlight {
    color: #cfcfcf;
    font-weight: 600;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #cfcfcf;
    margin-top: 2rem;
    font-size: 1.1rem;
}

/* ===== PORTFOLIO SCROLL ===== */
.portfolio-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.portfolio-scroll {
    width: 100%;
    overflow-x: auto;
    padding: 40px 0 60px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
}

.portfolio-scroll:active {
    cursor: grabbing;
}

.portfolio-scroll::-webkit-scrollbar {
    display: none;
}

.portfolio-track {
    display: flex;
    gap: 32px;
    padding-left: 10vw;
    padding-right: 10vw;
}

/* ===== PORTFOLIO CARD ===== */
.portfolio-card {
    position: relative;
    min-width: 600px;
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    scroll-snap-align: start;

    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

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

/* ===== OVERLAY ===== */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.15)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.portfolio-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: #cfcfcf;
}

.portfolio-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: #f5f5f5;
}

/* ===== ARROWS ===== */
.portfolio-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: white;

    font-size: 26px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.portfolio-arrow:hover {
    background: rgba(0,0,0,0.75);
    transform: translateY(-50%) scale(1.1);
}

.portfolio-arrow.left {
    left: 20px;
}

.portfolio-arrow.right {
    right: 20px;
}


/* Hide arrows on very small screens (optional) */
@media (max-width: 576px) {
    .portfolio-arrow {
        display: none;
    }
}

/* ===== PROCESS SECTION ===== */
.process-section {
    position: relative;
    padding: 120px 0;

    background-image: url('../images/processimg1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #f5f5f5;
}

.process-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65); /* adjust darkness here */
    z-index: 1;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

.process-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    margin-top: 20px;
}

/* ===== TABS ===== */
.process-tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.process-tab {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #f5f5f5;
    padding: 18px 22px;
    border-radius: 14px;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;

    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.process-tab:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(4px);
}

.process-tab.active {
    background: rgba(37,99,235,0.15);
    border-color: #ffffff;
}

/* ===== CONTENT ===== */
.process-content {
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 48px;
    backdrop-filter: blur(6px);
}

.process-panel {
    display: none;
}

.process-panel.active {
    display: block;
}

.process-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.process-panel p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* ==================SECTION HEADINGS ======================= */

.section-heading {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #cfcfcf;
    text-align: center;
}

.section-subheading {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    font-weight: 300;
    text-align: center;
    color: #e2e8f0;
}



/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(5, 17, 26, 0.95);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #3B3A36;
    border: 1px solid #cfcfcf;
    padding: 40px;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: #f5f5f5;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: #cfcfcf;
}

.modal-close:hover {
    color: white;
}

.modal h2 {
    margin-top: 0;
    font-size: 2.5rem;
    color: #cfcfcf;
}

.modal-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.modal-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #cfcfcf;
    margin: 1.5rem 0;
}

.modal ul {
    text-align: left;
    padding-left: 1.5rem;
    line-height: 1.8;
}

.modal-cta-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 16px 32px;
    background: #cfcfcf;
    color: #3B3A36;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.modal-cta-btn:hover {
    background: white;
    transform: translateY(-3px);
}


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

    .hero-content {
        gap: 2rem;
        padding: 4rem 1rem 6rem;
    }

    .hero-title {
            font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero-contact {
        max-width: 90%;
        padding: 2rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-photo {
        width: 300px;
    }
}
/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    /* HERO */
    .hero {
        padding: 80px 15px 60px; /* smaller padding for mobile */
        background-attachment: scroll; /* better performance */
    }

    .hero-content {
        grid-template-columns: 1fr; /* stack columns */
        gap: 1.5rem;
        text-align: center;
        padding: 0 10px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem); /* smaller title */
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem; /* smaller subtitle */
    }

    .hero-contact {
        max-width: 95%;
        padding: 1.5rem;
    }

    .hero-contact input,
    .hero-contact textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .hero-contact button {
        font-size: 1rem;
        padding: 12px;
    }

    /* TECHNOLOGY SECTION */
    .tech-icons {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tech-icons img {
        width: 60px; /* smaller icons */
    }

    .tech-text h2 {
        font-size: 1.8rem;
    }

    .tech-text p {
        font-size: 0.95rem; /* smaller text */
    }

    /* PORTFOLIO */
    .portfolio-track {
        padding-left: 5vw;
        padding-right: 5vw;
        gap: 16px;
    }

    .portfolio-card {
        min-width: 80%;
        height: 280px;
    }

    .portfolio-overlay h3 {
        font-size: 1.1rem;
    }

    .portfolio-overlay p {
        font-size: 0.85rem;
    }

    /* PROCESS SECTION */
    .process-layout {
        grid-template-columns: 1fr; /* stack content */
        gap: 20px;
    }

    .process-tabs {
        flex-direction: row; /* horizontal scroll */
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .process-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .process-content {
        padding: 20px;
    }

    .process-panel h3 {
        font-size: 1.4rem;
    }

    .process-panel p {
        font-size: 0.9rem;
    }

    /* SECTION HEADINGS */
    .section-heading {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .section-subheading {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* NAVBAR */
    .navbar-container {
        justify-content: flex-start;
        gap: 1px;
        padding: 5px 1px; /* mobile navbar padding */
    }

    .navbar-logo img {
        height: 50px;
        margin-right: 0;
    }

    .navbar-menu {
        gap: 15px;
        font-size: 14px;
        padding: 1px 0; /* smaller vertical padding */
    }
    }

    .navbar-menu a {
        font-size: 14px;
        padding: 6px 0;
    }
}

    /* LOCATION TEXT */
    .location {
        font-size: 0.95rem;
        gap: 6px;
    }
}


/* Animation */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}