/* ================================
   RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================
   ROOT VARIABLES (LIGHT & MODERN)
================================ */
:root {
    --blue-main: #3fa9f5;
    --blue-soft: #8fd3ff;
    --blue-light: #eaf6ff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.75);
    --border: rgba(255, 255, 255, 0.4);
}

/* ================================
   BODY
================================ */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text-dark);
}

/* ================================
   HEADER
================================ */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

/* ================================
   NAVBAR
================================ */
.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo img {
    width: 38px;
}

.logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* NAV LINKS */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue-main);
}

/* CTA */
.nav-cta {
    padding: 0.45rem 1.3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue-main), var(--blue-soft));
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(63, 169, 245, 0.35);
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
}

/* ================================
   MOBILE NAV FIX
================================ */
@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
        z-index: 1100;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        right: 1rem;

        width: 260px;
        padding: 1.6rem;

        display: flex;
        flex-direction: column;
        gap: 1.4rem;

        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(18px);
        border-radius: 22px;

        box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);

        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px) scale(0.98);
        transition: all 0.3s ease;

        z-index: 1050;
    }

    .nav-links.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-links a {
        color: var(--text-dark);
        font-size: 1rem;
    }

    .nav-cta {
        text-align: center;
    }
}


/* ================================
   HERO
================================ */
.hero {
    min-height: 100vh;
    padding-top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("https://i.pinimg.com/736x/17/fd/14/17fd1404dbc7a6336c18dc1578204906.jpg");
    background-size: cover;
    background-position: center;
}

/* HERO CONTENT */
.hero-content {
    max-width: 820px;
    padding: 3.2rem 2.8rem;
    border-radius: 28px;
    text-align: center;

    box-shadow:
        0 40px 80px rgba(15, 23, 42, 0.15);
}

/* HERO TEXT */
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.3rem;
}

.hero-content h1 span {
    color: var(--blue-main);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 2.4rem;
}

/* BUTTONS */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* PRIMARY */
.btn.primary {
    background: linear-gradient(135deg, var(--blue-main), var(--blue-soft));
    color: #fff;
    box-shadow: 0 12px 30px rgba(63, 169, 245, 0.4);
}

.btn.primary:hover {
    transform: translateY(-3px);
}

/* OUTLINE */
.btn.outline {
    border: 2px solid var(--blue-main);
    color: var(--blue-main);
    background: transparent;
}

.btn.outline:hover {
    background: var(--blue-light);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 1.5rem;
        background: var(--glass);
        backdrop-filter: blur(14px);
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem;
        border-radius: 18px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}



/* ================================
   ABOUT SECTION
================================ */
.about {
    padding: 5rem 1.5rem;
    background: #ffffff;
}

.about-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3rem;
}

/* TEXT */
.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 520px;
}

/* LOGO */
.about-logo {
    display: flex;
    justify-content: center;
}

.about-logo img {
    width: 220px;
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(63, 169, 245, 0.25));
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text p {
        margin: auto;
    }

    .about-logo img {
        width: 180px;
    }
}



/* ================================
   PORTFOLIO PREVIEW
================================ */
.portfolio-preview {
    padding: 5rem 1.5rem;
    background: var(--blue-light);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.portfolio-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ================================
   PORTFOLIO GRID (FIXED)
================================ */
.portfolio-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns desktop */
    gap: 1.5rem;
}

/* EACH ITEM */
.portfolio-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 0.75rem;

    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
}

/* IMAGE */
.portfolio-item img {
    width: 100%;
    height: auto;
    max-height: 260px;

    object-fit: contain; /* ✅ shows full image */
    display: block;

    background: #f8fafc;
    border-radius: 14px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   PORTFOLIO ACTION (HARD CENTER FIX)
================================ */
.portfolio-action {
    grid-column: 1 / -1;     /* ⬅️ spans full grid width */
    width: 100%;
    margin-top: 4rem;

    text-align: center;     /* ⬅️ strongest centering */
}

/* ensure button itself doesn't float */
.portfolio-action a {
    display: inline-block;
    margin: 0 auto;
}





/* ================================
   MODERN FOOTER (UNIFIED)
================================ */
.site-footer {
    background: var(--blue-light);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* MAIN FOOTER CONTENT */
.footer-container {
    max-width: 1100px;
    margin: auto;
    padding: 3rem 1.5rem 1.8rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* BRAND */
.footer-brand img {
    width: 44px;
    margin-bottom: 0.4rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* LINKS */
.footer-links {
    display: flex;
    gap: 1.6rem;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--blue-main);
}

/* COPYRIGHT (SUBTLE, NOT SEPARATE) */
.footer-bottom {
    max-width: 1100px;
    margin: auto;
    padding: 0.8rem 1.5rem 1.4rem;

    text-align: center;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding-bottom: 1.2rem;
    }

    .footer-links {
        justify-content: center;
    }
}







/* ================================
   ABOUT HERO
================================ */
.about-hero {
    height: 60vh;
    padding-top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("/assets/images/17.jpg");
    background-size: cover;
    background-position: center;
}

.about-hero-content {
    background: rgba(255, 255, 255, 0.85);
    padding: 1.6rem 3rem;
    border-radius: 999px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.about-hero-content h1 {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ================================
   MAIN ABOUT SECTION
================================ */
.about-main {
    padding: 5rem 1.5rem;
    background: #ffffff;
}

.about-main-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

/* TEXT */
.about-main-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.about-main-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

/* LOGO */
.about-main-logo {
    display: flex;
    justify-content: center;
}

.about-main-logo img {
    width: 240px;
    max-width: 100%;
    filter: drop-shadow(0 25px 50px rgba(63, 169, 245, 0.25));
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .about-hero {
        height: 50vh;
    }

    .about-hero-content h1 {
        font-size: 2rem;
    }

    .about-main-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-main-logo img {
        width: 180px;
    }
}








/* ================================
   SERVICES HERO
================================ */
.services-hero {
    height: 60vh;
    padding-top: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image: url("https://i.pinimg.com/1200x/47/da/2d/47da2d09a9bb2394dd764adc789ab193.jpg");
    background-size: cover;
    background-position: center;
}

.services-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.services-hero p {
    font-size: 1rem;
    color: var(--text-muted);
}


/* ================================
   SERVICES SECTIONS
================================ */
.services-section {
    padding: 4rem 1.5rem;
    background: #ffffff;
}

.services-section.alt {
    background: var(--blue-light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2.8rem;
}

/* ================================
   SERVICES GRID
================================ */
.services-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* reduced gap */
}

/* ================================
   SERVICE CARD (SLIM VERSION)
================================ */
.service-card {
    background: #ffffff;
    border-radius: 16px; /* reduced radius */
    padding: 1.4rem;    /* reduced padding */
    text-align: center;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); /* softer shadow */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* IMAGE */
.service-card img {
    width: 100%;
    height: auto;
    max-height: 220px; /* reduced height */

    object-fit: contain;
    background: #f9fafb;

    padding: 0.6rem; /* reduced padding */
    border-radius: 12px;
    margin-bottom: 1.1rem;
}

/* TITLE */
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

/* LIST */
.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    font-size: 0.92rem;
    color: var(--text-muted);
    padding: 0.25rem 0; /* tighter list */
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-hero h1 {
        font-size: 2.1rem;
    }
}




/* ================================
   CONTACT HERO
================================ */
.contact-hero {
    height: 60vh;
    padding-top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("https://i.pinimg.com/1200x/47/da/2d/47da2d09a9bb2394dd764adc789ab193.jpg");
    background-size: cover;
    background-position: center;
}

.contact-hero-content {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem 3.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.contact-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.contact-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ================================
   CONTACT MAIN
================================ */
.contact-main {
    padding: 5rem 1.5rem;
    background: #ffffff;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* FORM */
.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-family: 'Poppins', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-main);
}

.contact-form button {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, var(--blue-main), var(--blue-soft));
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(63, 169, 245, 0.35);
}

/* INFO */
.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.contact-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ================================
   MAP
================================ */
.contact-map {
    width: 100%;
    height: 420px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }
}
