/* =========================================================
   WEBNEST TECH - STYLE.CSS
   Laravel + PHP Artisan Serve
========================================================= */

/* -------------------------
   ROOT
------------------------- */

:root {
    --primary: #0d47d9;
    --primary-dark: #08339c;
    --secondary: #00a86b;
    --dark: #111827;
    --text: #374151;
    --muted: #6b7280;
    --light: #f5f8ff;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* -------------------------
   RESET
------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 25px;
    font-weight: 800;
    white-space: nowrap;
}

.logo span {
    color: var(--dark);
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Navigation */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    position: relative;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Header Button */

.nav-btn {
    padding: 10px 18px;
    border-radius: 7px;
    background: var(--primary);
    color: var(--white) !important;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

.nav-btn::after {
    display: none !important;
}

/* Mobile menu */

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--dark);
    font-size: 28px;
    cursor: pointer;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 550px;
    /* padding: 100px 0; */
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, #eef4ff 0%, #ffffff 55%, #f0fff8 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--dark);
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 650px;
    margin-bottom: 30px;
    color: var(--text);
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* =========================================================
   COMMON SECTION
========================================================= */

section {
    scroll-margin-top: 85px;
}

.section {
    padding: 55px 0;
}

.section-light {
    background: var(--light);
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 38px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
}

/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.about-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.about-content h2 {
    margin-bottom: 18px;
    color: var(--dark);
    font-size: 40px;
}

.about-content p {
    margin-bottom: 15px;
}

.about-list {
    margin-top: 25px;
    padding: 0;
    list-style: none;
}

.about-list li {
    margin-bottom: 12px;
    font-weight: 600;
}

/* =========================================================
   SERVICES
========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary);
}

.service-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eaf0ff;
    color: var(--primary);
    font-size: 25px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

/* =========================================================
   PACKAGES
========================================================= */

.packages-section {
    background: #ffffff;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 24px 24px;
    background: #ffffff;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.package-starter {
    border: 2px solid #b77ac8;
    background: linear-gradient(180deg, #ffffff 0%, #fcf7ff 100%);
}

.package-growth {
    border: 2px solid #5b9fe8;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.package-pro {
    border: 2px solid #e6c34d;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf4 100%);
}

.package-featured {
    transform: translateY(-7px);
    box-shadow: 0 16px 38px rgba(13, 71, 217, 0.14);
}

.package-featured:hover {
    transform: translateY(-13px);
}

.package-popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 0 0 8px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.package-icon {
    width: 70px;
    height: 70px;
    margin: -55px auto 12px;
    border: 6px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.starter-icon {
    background: #8e24aa;
}

.growth-icon {
    background: var(--primary);
}

.pro-icon {
    background: #e3a900;
}

.package-card h3 {
    margin: 4px 0 12px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 1px;
}

.package-starter h3,
.package-starter .package-price {
    color: #7b218f;
}

.package-growth h3,
.package-growth .package-price {
    color: var(--primary);
}

.package-pro h3,
.package-pro .package-price {
    color: #c78900;
}

.package-ribbon {
    display: inline-block;
    align-self: center;
    max-width: 100%;
    padding: 7px 15px;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.starter-ribbon {
    background: #7b218f;
}

.growth-ribbon {
    background: var(--primary);
}

.pro-ribbon {
    background: #d49500;
}

.package-price {
    margin-bottom: 10px;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 900;
}

.package-price span {
    font-size: 19px;
    font-weight: 800;
}

.package-divider {
    width: 92%;
    height: 1px;
    margin: 0 auto 12px;
    background: #d9dfe8;
}

.package-list {
    flex: 1;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.package-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 6px 0;
    color: #252525;
    font-size: 12.5px;
    line-height: 1.35;
}

.package-list li span {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
    font-weight: 800;
}

.package-starter .package-list li span {
    color: #8e24aa;
}

.package-growth .package-list li span {
    color: var(--primary);
}

.package-pro .package-list li span {
    color: #dda100;
}

.package-bold {
    font-weight: 800;
}

.package-action {
    display: block;
    width: 100%;
    padding: 12px 18px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transition: 0.3s ease;
}

.starter-action {
    background: #8e24aa;
}

.starter-action:hover {
    background: #702080;
}

.growth-action {
    background: var(--primary);
}

.growth-action:hover {
    background: var(--primary-dark);
}

.pro-action {
    background: #e0a300;
}

.pro-action:hover {
    background: #c58e00;
}

/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-card {
    overflow: hidden;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.portfolio-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h3 {
    color: var(--dark);
}

/* =========================================================
   REVIEWS
========================================================= */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.review-stars {
    margin-bottom: 12px;
    color: #f59e0b;
    font-size: 20px;
}

.review-card h4 {
    margin-top: 18px;
    color: var(--dark);
}

/* =========================================================
   FAQ
========================================================= */

.faq-list {
    max-width: 850px;
    margin: auto;
}

.faq-item {
    margin-bottom: 15px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.faq-item h3 {
    color: var(--dark);
    font-size: 18px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    padding: 55px;
    background: var(--dark);
    color: var(--white);
    border-radius: 20px;
}

.contact-box h2 {
    margin-bottom: 15px;
    font-size: 38px;
}

.contact-info {
    margin-top: 25px;
}

.contact-info div {
    margin-bottom: 12px;
}

.contact-form {
    display: grid;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    background: var(--white);
    color: var(--dark);
    font-size: 15px;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 60px 0 20px;
    background: #071126;
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 25px;
    font-weight: 800;
}

.site-footer h3 {
    margin-bottom: 18px;
    color: var(--white);
}

.footer-links {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    font-size: 14px;
}

/* =========================================================
   WHATSAPP FLOAT BUTTON
========================================================= */

.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #25d366;
    color: white;

    font-size: 28px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.2);

    transition: 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .nav-menu {
        position: absolute;
        top: 78px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;
        align-items: flex-start;

        padding: 20px;

        background: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content,
    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .packages-grid,
    .portfolio-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-featured {
        transform: none;
    }

    .package-featured:hover {
        transform: translateY(-7px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: 90%;
    }

    .navbar {
        min-height: 68px;
    }

    .nav-menu {
        top: 68px;
    }

    .logo {
        font-size: 21px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .hero {
        min-height: auto;
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2,
    .about-content h2,
    .contact-box h2 {
        font-size: 30px;
    }

    .services-grid,
    .packages-grid,
    .portfolio-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .package-featured {
        transform: none;
    }

    .package-featured:hover {
        transform: translateY(-7px);
    }

    .package-card {
        padding: 34px 20px 22px;
    }

    .package-card h3 {
        font-size: 30px;
    }

    .package-price {
        font-size: 34px;
    }

    .contact-box {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

