/* =========================
   GENERAL WEBSITE
   ========================= */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #ffffff;
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
    position: relative;
    min-height: calc(100vh - 67px);

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

    text-align: center;

    padding: 80px 20px;

    box-sizing: border-box;

    overflow: hidden;
}
.hero::before {
    content: "";

    position: absolute;
    inset: -10px;

    background-image: url("../images/hero-background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: blur(3px);

    transform: scale(1.03);

    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.42);

    z-index: 1;
}
.hero-content {
    position: relative;

    max-width: 750px;

    margin: 0 auto;

    z-index: 2;
}

.hero h1 {
    font-size: 62px;
    line-height: 1.1;
    margin: 0 0 25px;
    color: #111827;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* =========================
   BUTTON
   ========================= */

.button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #222222;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.button:hover {
    opacity: 0.8;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

}



/* =========================
   NAVIGATION
   ========================= */

.navbar {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #222222;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: #777777;
}




/* =========================
   NAVIGATION
   ========================= */

.navbar {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #222222;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: #777777;
}
/* =========================
   WHY CHOOSE RUWICONNECTS
   ========================= */

.why-us {
    padding: 90px 20px;

    background-color: #ffffff;

    text-align: center;
}

.why-us-content {
    max-width: 1100px;

    margin: 0 auto;
}

.why-us h2 {
    font-size: 42px;

    margin-bottom: 20px;

    color: #111827;
}

.section-intro {
    max-width: 700px;

    margin: 0 auto 50px;

    font-size: 18px;

    line-height: 1.7;

    color: #4b5563;
}

.features {
    display: flex;

    justify-content: center;

    gap: 30px;
}

.feature {
    flex: 1;

    padding: 35px 25px;

    background-color: #f5f7fa;

    border-radius: 10px;
}

.feature h3 {
    font-size: 24px;

    margin-bottom: 15px;

    color: #111827;
}

.feature p {
    font-size: 16px;

    line-height: 1.6;

    color: #4b5563;
}
@media (max-width: 768px) {

    .features {
        flex-direction: column;
    }

    .feature {
        width: 100%;

        box-sizing: border-box;
    }

    .why-us h2 {
        font-size: 34px;
    }

}
/* =========================
   HOW RUWICONNECTS WORKS
   ========================= */

.how-it-works {
    padding: 90px 20px;

    background-color: #f5f7fa;

    text-align: center;
}

.how-it-works-content {
    max-width: 1100px;

    margin: 0 auto;
}

.how-it-works h2 {
    font-size: 42px;

    margin-bottom: 20px;

    color: #111827;
}

.steps {
    display: flex;

    justify-content: center;

    gap: 30px;

    margin-top: 50px;
}

.step {
    flex: 1;

    padding: 35px 25px;

    background-color: #ffffff;

    border-radius: 10px;
}

.step-number {
    font-size: 18px;

    font-weight: 700;

    margin-bottom: 20px;

    color: #111827;
}

.step h3 {
    font-size: 23px;

    margin-bottom: 15px;

    color: #111827;
}

.step p {
    font-size: 16px;

    line-height: 1.6;

    color: #4b5563;
}
@media (max-width: 768px) {

    .steps {
        flex-direction: column;
    }

    .step {
        width: 100%;

        box-sizing: border-box;
    }

    .how-it-works h2 {
        font-size: 34px;
    }

}
/* =========================
   VIRTUAL ASSISTANT SERVICES
   ========================= */

.services {
    padding: 90px 20px;

    background-color: #ffffff;

    text-align: center;
}

.services-content {
    max-width: 1100px;

    margin: 0 auto;
}

.services h2 {
    font-size: 42px;

    margin-bottom: 20px;

    color: #111827;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin-top: 50px;
}

.service-card {
    padding: 35px 25px;

    background-color: #f5f7fa;

    border-radius: 10px;
}

.service-card h3 {
    font-size: 22px;

    margin-bottom: 15px;

    color: #111827;
}

.service-card p {
    font-size: 16px;

    line-height: 1.6;

    color: #4b5563;

    margin: 0;
}
@media (max-width: 768px) {

    .service-grid {
        grid-template-columns: 1fr;
    }

    .services h2 {
        font-size: 34px;
    }

}
/* =========================
   FOR BUSINESSES SECTION
========================= */

.businesses {
    width: 100%;
    padding: 100px 20px;
    background-color: #f5f7fa;
    text-align: center;
    box-sizing: border-box;
}

.business-content {
    max-width: 900px;
    margin: 0 auto;
}

.businesses h2 {
    font-size: 42px;
    margin: 0 0 20px;
    color: #111827;
}

.businesses h3 {
    font-size: 28px;
    margin: 0 0 20px;
    color: #111827;
}

.businesses p {
    max-width: 800px;
    margin: 0 auto 35px;
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
}

.business-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #222222;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.business-button:hover {
    background-color: #111111;
}
/* MOBILE */

@media (max-width: 768px) {

    .business-section {
        padding: 70px 20px;
    }

    .business-section h2 {
        font-size: 34px;
    }

    .business-section h3 {
        font-size: 24px;
    }

    .business-section p {
        font-size: 16px;
    }

}
/* =========================
   CONTACT SECTION
   ========================= */

.contact-section {
    padding: 100px 20px;

    background-color: #ffffff;

    text-align: center;
}

.contact-content {
    max-width: 800px;

    margin: 0 auto;
}

.contact-section h2 {
    font-size: 42px;

    margin-bottom: 20px;

    color: #111827;
}

.contact-intro {
    font-size: 18px;

    line-height: 1.7;

    color: #4b5563;

    margin-bottom: 45px;
}


/* CONTACT FORM */

.contact-form {
    max-width: 650px;

    margin: 0 auto;

    text-align: left;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 16px;

    font-weight: bold;

    color: #111827;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px;

    border: 1px solid #d1d5db;

    border-radius: 6px;

    font-family: Arial, sans-serif;

    font-size: 16px;

    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;

    border-color: #111827;
}


/* SUBMIT BUTTON */

.contact-button {
    display: block;

    width: 100%;

    padding: 16px;

    margin-top: 10px;

    background-color: #222222;

    color: #ffffff;

    border: none;

    border-radius: 6px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;
}

.contact-button:hover {
    background-color: #111827;
}


/* MOBILE */

@media (max-width: 768px) {

    .contact-section {
        padding: 70px 20px;
    }

    .contact-section h2 {
        font-size: 34px;
    }

    .contact-intro {
        font-size: 16px;
    }

}
/* =========================
   FOOTER
   ========================= */

.site-footer {
    background-color: #111827;

    color: #ffffff;

    padding: 70px 20px 0;
}

.footer-content {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1.5fr;

    gap: 60px;
}

.footer-brand h2 {
    font-size: 28px;

    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 400px;

    color: #d1d5db;

    line-height: 1.6;
}

.footer-content h3 {
    font-size: 18px;

    margin-bottom: 20px;
}

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links a {
    color: #d1d5db;

    text-decoration: none;

    font-size: 15px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    color: #d1d5db;

    line-height: 1.6;

    margin-bottom: 20px;
}

.footer-button {
    display: inline-block;

    padding: 12px 20px;

    background-color: #ffffff;

    color: #111827;

    text-decoration: none;

    border-radius: 6px;

    font-weight: bold;
}

.footer-button:hover {
    background-color: #e5e7eb;
}

.footer-bottom {
    max-width: 1100px;

    margin: 60px auto 0;

    padding: 20px 0;

    border-top: 1px solid #374151;

    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;

    font-size: 14px;

    margin: 0;
}


/* MOBILE FOOTER */

@media (max-width: 768px) {

    .footer-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .site-footer {
        padding-top: 50px;
    }

}
html {
    scroll-behavior: smooth;
}
/* ================================
   CONTACT FORM
================================ */

.contact-form {
    width: 100%;
    max-width: 650px;
    margin: 40px auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #111827;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Submit button */

.contact-button {
    width: 100%;
    padding: 15px;
    margin-top: 5px;
    border: none;
    border-radius: 6px;
    background-color: #222222;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.contact-button:hover {
    background-color: #111111;
}
/* =========================================
   MOBILE RESPONSIVE FIX
   ========================================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    * {
        box-sizing: border-box;
    }

    /* Header */
    header,
    nav {
        width: 100%;
        max-width: 100%;
    }

    /* Navigation */
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
        padding: 10px 15px;
        margin: 0;
    }

    nav li {
        white-space: nowrap;
    }

    nav a {
        font-size: 15px;
    }

    /* Hero */
    .hero,
    .hero-section {
        width: 100%;
        max-width: 100%;
        min-height: 650px;
        margin: 0;
        padding: 60px 20px;
        background-size: cover;
        background-position: center;
    }

    .hero-content,
    .hero-text {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.12;
        margin-bottom: 25px;
    }

    .hero p {
        font-size: 18px;
        line-height: 1.5;
        max-width: 100%;
        margin: 0 auto 30px;
    }

    .hero button,
    .hero .btn,
    .hero a {
        max-width: 100%;
    }

    /* All main sections */
    section {
        width: 100%;
        max-width: 100%;
    }

    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Forms */
    form {
        width: 100%;
        max-width: 100%;
    }

    input,
    select,
    textarea {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================
   FINAL MOBILE NAVIGATION FIX
   ========================================= */

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 30px;
    line-height: 1;
    padding: 6px 4px;
    cursor: pointer;
}

@media (max-width: 768px) {

    .navbar {
        width: 100%;
        overflow: visible;
    }

    .nav-container {
        width: 100%;
        max-width: none;
        padding: 14px 18px;
        position: relative;
        min-width: 0;
    }

    .logo {
        font-size: 22px;
        white-space: nowrap;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 10px 18px 16px;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        gap: 0;
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 13px 4px;
        font-size: 16px;
        line-height: 1.2;
        white-space: normal;
    }

    .hero {
        min-height: 620px;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 42px);
        line-height: 1.12;
    }

    .hero p {
        font-size: 17px;
        line-height: 1.55;
    }

    .button,
    .business-button {
        width: 100%;
        max-width: 330px;
        text-align: center;
        box-sizing: border-box;
    }

    .why-us,
    .how-it-works,
    .services,
    .businesses,
    .contact-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .why-us-content,
    .how-it-works-content,
    .services-content,
    .business-content,
    .contact-content {
        width: 100%;
        max-width: 100%;
    }
}
