/* ========================================
   BuildFlow Support
   Global Styles
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #ffffff;
    line-height: 1.6;
}

.page {
    min-height: 100vh;
}

/* ========================================
   Header
======================================== */

header {
    background: #111827;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    padding: 18px 40px;

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

    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand img {
    height: 45px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

nav a:hover {
    color: #3b82f6;
}

/* ========================================
   Hero
======================================== */

.hero {
    text-align: center;
    padding: 90px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 800px;
    margin: auto;
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* ========================================
   Buttons
======================================== */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    margin: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all .3s ease;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #111827;
    transform: translateY(-2px);
}

/* ========================================
   Hero Buttons
======================================== */

.hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========================================
   Services
======================================== */

.service-list,
.services-grid,
.why-grid,
.pricing-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 50px 40px;
}

.service-item,
.service-card,
.why-card,
.pricing-card,
.process-card {
    background: #1e293b;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: all .3s ease;
}

.service-item:hover,
.service-card:hover,
.why-card:hover,
.pricing-card:hover,
.process-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59,130,246,.25);
}

.service-item h2,
.service-card h3,
.why-card h3,
.pricing-card h2,
.process-card h3 {
    color: #60a5fa;
    margin-bottom: 15px;
}

.service-item p,
.service-card p,
.why-card p,
.pricing-card p,
.process-card p {
    color: #cbd5e1;
}

/* ========================================
   About
======================================== */

.about-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.about-section h2 {
    color: #60a5fa;
    margin-bottom: 15px;
}

.about-section p,
.about-section li {
    color: #cbd5e1;
}

.about-section ul {
    padding-left: 20px;
}

/* ========================================
   Pricing
======================================== */

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #3b82f6;
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    margin: 20px 0;
}

.pricing-card li {
    margin-bottom: 10px;
}
/* ========================================
   Contact Form
======================================== */

.contact-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-section h2 {
    color: #60a5fa;
    margin-bottom: 20px;
}

.contact-section form {
    display: flex;
    flex-direction: column;
}

.contact-section label {
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #1e293b;
    color: white;
    font-size: 1rem;
    transition: border-color .3s, box-shadow .3s;
}

.contact-section input:focus,
.contact-section textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(37,99,235,.2);
}

/* ========================================
   CTA
======================================== */

.cta {
    text-align: center;
    padding: 80px 20px;
    background: #1e293b;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: auto;
    margin-bottom: 30px;
    color: #cbd5e1;
}

/* ========================================
   Technologies
======================================== */

.technologies {
    padding: 60px 20px;
    text-align: center;
}

.technologies ul {
    list-style: none;
    max-width: 500px;
    margin: auto;
}

.technologies li {
    padding: 10px;
    color: #cbd5e1;
}

/* ========================================
   Timeline
======================================== */

.timeline {
    border-left: 3px solid #3b82f6;
    padding-left: 20px;
}

.timeline div {
    margin-bottom: 20px;
    color: #cbd5e1;
}
/* ========================================
   Footer
======================================== */

footer {
    background: #111827;
    text-align: center;
    padding: 40px 20px;
}

.footer-nav,
.footer-secondary {
    margin-bottom: 20px;
}

.footer-nav a,
.footer-secondary a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: .3s;
}

.footer-nav a:hover,
.footer-secondary a:hover {
    color: #60a5fa;
}

footer p {
    color: #94a3b8;
}

/* ========================================
   Floating Button
======================================== */

.floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 15px 22px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(37,99,235,.35);
    transition: all .3s ease;
    z-index: 999;
}

.floating-btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

/* ========================================
   Images
======================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Section Spacing
======================================== */

section {
    margin-bottom: 40px;
}

/* ========================================
   Text Selection
======================================== */

::selection {
    background: #2563eb;
    color: white;
}

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    nav a {
        padding: 8px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-list,
    .services-grid,
    .why-grid,
    .pricing-grid,
    .process-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .floating-btn {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
    }
}
/* ========================================
   Dark Mode
======================================== */

body.dark-mode {
    background: #111;
    color: #fff;
}

body.dark-mode header,
body.dark-mode footer {
    background: #1b1b1b;
}

body.dark-mode .service-card,
body.dark-mode .service-item,
body.dark-mode .why-card,
body.dark-mode .process-card,
body.dark-mode .pricing-card {
    background: #222;
    color: #fff;
    border: 1px solid #333;
}

body.dark-mode a {
    color: #4da3ff;
}

/* ========================================
   Back To Top Button
======================================== */

#topBtn {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    border: none;
    outline: none;
    background: #0077ff;
    color: white;
    cursor: pointer;
    padding: 14px 18px;
    border-radius: 50%;
    font-size: 18px;
    transition: all .3s ease;
}

#topBtn:hover {
    background: #005fcc;
}

/* ========================================
   End of BuildFlow Support Styles
======================================== */
