/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    /* PREVENT PAGE SHIFT */

}

body {
    font-family: Poppins, sans-serif;
    color: #333;
    background: #fff;
    padding-top: 80px;
    /* FIX NAVBAR OVERLAP */

}

.logo {
    height: 10vh;
    width: auto;
    object-fit: contain;
    margin-left: 90px;
}


/* GLOBAL */
section {
    padding: 70px 10%;
}

.container {
    max-width: 1100px;
    margin: auto;
}

/* NAVBAR (SYNCED FOR ALL PAGES) */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 10%;
    z-index: 1030;

    background: transparent;
    transition: all 0.3s ease;
}

header.navbar.scrolled {
    background: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

header.navbar.scrolled a {
    color: #333;
}

/* DEFAULT (HERO MODE) */
.navbar a {
    color: white;
}

header h2 {
    color: white;
}

.navbar {
    /* force no white on load */
    transition: all 0.3s ease;
}

.navbar.scrolled a:hover {
    color: #007BFF;

    ;
}

/* SCROLLED STATE */
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* TEXT COLORS WHEN SCROLLED */
header.scrolled h2 {
    color: #007BFF;
}

header.scrolled nav a {
    color: #333;
}

/* LINKS */
nav a {
    margin-left: 25px;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
}

nav a:hover {
    color: #007BFF;
}

nav a.active {
    color: #007BFF;
    font-weight: 600;
}

/* HERO (LANDING PAGE) */
.hero {
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -120px;

    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
        url('../pics/hero.jpg') center/cover;
}

.hero h1 {
    font-size: 60px;
    font-weight: 900;
}

.hero p {
    margin: 15px 0;
    opacity: .9;
    font-size: 20px;
}

/* HERO (PLANS PAGE) */
.hero.simple {
    height: auto;
    padding: 140px 10% 60px;
    background: white;
    color: #333;
}

.breadcrumb {
    color: gray;
    font-size: 14px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 30px;

    /* ADD THIS */
    border: 2px solid #007BFF;

    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);

    /* KEEP BORDER ON HOVER */
    border: 2px solid #007BFF;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #007BFF;
    color: #007BFF;
    border-radius: 30px;
    text-decoration: none;
}

/* SECTION HEADER */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #007BFF;
    font-weight: 600;
}

.section-header .line {
    width: 25px;
    height: 2px;
    background: #007BFF;
}

.section-title {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 40px;
    max-width: 700px;
}

/* STORY */
.story h2 {
    font-size: 35px;
    max-width: 700px;
}

.story-text {
    margin-top: 20px;
    color: #666;
    max-width: 650px;
}

/* SERVICES + WHY */
.services-section,
.why {
    background: #eef1f3;
}

.services-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card,
.why-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.service-card:hover,
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.icon {
    font-size: 28px;
    margin-bottom: 15px;
    color: #007BFF;
}

.service-card h3,
.why-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.service-card p,
.why-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* PLANS PAGE */
.packages {
    padding: 60px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: .3s;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
}

.popular {
    border: 2px solid #007BFF;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #007BFF;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 20px;
}

.speed {
    font-size: 22px;
    color: #007BFF;
    font-weight: 600;
}

.price {
    font-size: 32px;
    margin: 15px 0;
    font-weight: 700;
}

/* CTA */
.cta {
    text-align: center;
    padding: 60px 10%;
    background: #111;
    color: white;
}

.cta h2 {
    margin-bottom: 10px;
}

/* STATS (optional) */
.stats {
    background: #111;
    color: white;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stats h2 {
    color: #007BFF;
    font-size: 40px;
}

/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }

    header {
        padding: 15px 5%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* ===== PLANS PAGE ONLY ===== */

.plans-page .hero.simple {
    height: auto;
    padding: 140px 10% 60px;
    background: white;
    color: #333;
    text-align: center;
}

.plans-page header.navbar {
    background: #fff !important;
}

.plans-page .navbar a {
    color: #333 !important;
}

.plans-page .packages {
    padding: 60px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.plans-page .card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: .3s;
    position: relative;
}

.plans-page .card:hover {
    transform: translateY(-10px);
}

.plans-page .popular {
    border: 2px solid #007BFF;
}

.plans-page .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #007BFF;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 20px;
}

.plans-page .speed {
    font-size: 22px;
    color: #007BFF;
    font-weight: 600;
}

.plans-page .price {
    font-size: 32px;
    margin: 15px 0;
    font-weight: 700;
}

/* ===== LANDING PAGE PLANS (FIXED) ===== */

.plans-section {
    text-align: center;
}

.plans-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* FIXED CARD DESIGN */
.plan-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* POPULAR PLAN */
.plan-card.popular {
    border: 2px solid #007BFF;
    background: #fff;
}

/* TEXT FIX (important override) */
.plan-card .speed {
    color: #007BFF;
    font-weight: 600;
    font-size: 18px;
}

.plan-card .price {
    font-size: 28px;
    margin: 15px 0;
    font-weight: 700;
}

.plans-intro {
    text-align: center;
    background: #eef1f3;
}

.plans-intro h1 {
    font-size: 42px;
}

.plans-intro .intro-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

p.section-label.reveal.active {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #007BFF;
    font-weight: 600;
}

p.section-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #007BFF;
    font-weight: 600;
}

.footer {
    background: #eef1f3;
    color: #fff;
    padding: 60px 10% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-box h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #007BFF;
}

.footer-box p {
    font-size: 14px;
    line-height: 1.6;
    color: black;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 13px;
    color: #888;
}

/* ===== PORTFOLIO PAGE ===== */

.portfolio-hero {
    text-align: center;
    background: #eef1f3;
}

.portfolio-hero h1 {
    font-size: 42px;
}

.portfolio-hero p {
    max-width: 600px;
    margin: auto;
    color: #666;
    font-size: 18px;
}

/* FILTER BUTTONS */
.filters {
    margin-top: 25px;
}

.filters button {
    padding: 8px 18px;
    margin: 5px;
    border-radius: 20px;
    border: none;
    background: #ddd;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
}

.filters button.active,
.filters button:hover {
    background: #007BFF;
    color: white;
}

/* GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.portfolio-item {
    overflow: hidden;
    border-radius: 10px;
    background: white;

    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.portfolio-item.show {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item img {
    width: 100%;
    height: 600px;       /* fixed height = uniform look */
    object-fit: cover;   /* crops everything evenly */
    object-position: center;
    display: block;
        transition: transform 0.5s ease; /* 👈 THIS IS THE FIX */

}

.portfolio-item:hover img {
    transform: scale(1.08);
}

/* FILTER SECTION (SEPARATE LIKE IMAGE) */
.portfolio-filters {
    text-align: center;
    padding: 20px 10% 10px;
    background: #fff;
}

.filters {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}

.filters button {
    padding: 8px 18px;
    margin: 5px;
    border-radius: 20px;
    border: none;
    background: #eee;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
}

.filters button.active,
.filters button:hover {
    background: #007BFF;
    /* match screenshot red */
    color: white;
}

/* LIGHTBOX */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

#close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* DEFAULT NAVBAR (HOME) */
.navbar {
    height: 80px;
    /* FIXED HEIGHT */
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: transparent;
    transition: all 0.3s ease;
}

/* SCROLLED STATE */
.navbar.scrolled {
    background: #fff;
}

/* FORCE WHITE NAVBAR ON PLANS PAGE */
.plans-page .navbar {
    background: #fff !important;
}

.solid-navbar .navbar {
    background: #fff !important;
}

/* FORCE DARK TEXT ON WHITE NAVBAR (PLANS PAGE) */
.plans-page .navbar a {
    color: #333 !important;
}

.plans-page .navbar .logo {
    filter: none;
    /* if your logo was inverted */
}

.plans-page .navbar a:hover {
    color: #007BFF !important;
}

p.story-text.reveal.active {
    font-size: 20px;
}

/* FORCE WHITE NAVBAR */
.portfolio-page .navbar {
    background: #fff !important;
}

/* DARK TEXT */
.portfolio-page .navbar a {
    color: #333;
}

/* HOVER */
.portfolio-page .navbar a:hover {
    color: #007BFF;
}



.footer-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #007BFF;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 10px;
    margin-top: 10px;
}

.faq-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #007bff;
    color: white;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1040;
    transition: 0.3s;
}

.faq-float:hover {
    transform: scale(1.1);
}

.faq-float::after {
    content: "FAQs";
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
}

.faq-float:hover::after {
    opacity: 1;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    cursor: pointer;
}

.faq-question {
    font-weight: 600;
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-answer {
    display: none;
    margin-top: 10px;
    color: #555;
}

.faq-item.active .faq-answer {
    display: block;
}

.modal {
    z-index: 2000 !important;
}

.modal-backdrop {
    z-index: 1990 !important;
}

p.story-tagline.reveal.active {
    font-weight: 700;
    font-size: 30px;
}
