/* =========================================================
   TWIN CITY HOME SERVICES
   Main Website Styles
   ========================================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    background: #102a43;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 11px;
    letter-spacing: 3px;
    margin-top: 6px;
    color: #f5b335;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s ease;
}

.nav a:hover {
    color: #f5b335;
}

.nav-phone {
    background: #f5b335;
    color: #102a43;
    padding: 11px 18px;
    border-radius: 5px;
    font-weight: 800;
    white-space: nowrap;
    transition: 0.25s ease;
}

.nav-phone:hover {
    background: #ffffff;
    color: #102a43;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(16,42,67,0.88), rgba(16,42,67,0.82)),
        linear-gradient(135deg, #102a43, #1e4f73);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(245,179,53,0.18), transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06), transparent 30%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 750px;
}

.eyebrow {
    color: #f5b335;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 28px;
}

.hero-description {
    max-width: 650px;
    color: #e7eef5;
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 15px;
    transition: 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #f5b335;
    color: #102a43;
}

.btn-primary:hover {
    background: #ffffff;
    color: #102a43;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #102a43;
    transform: translateY(-2px);
}


/* =========================================================
   QUICK INFO
   ========================================================= */

.quick-info {
    background: #f5b335;
    color: #102a43;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.quick-item {
    min-height: 105px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.quick-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #102a43;
    color: #f5b335;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    flex-shrink: 0;
}

.quick-item strong,
.quick-item span {
    display: block;
}

.quick-item strong {
    font-size: 16px;
}

.quick-item span {
    font-size: 13px;
    opacity: 0.8;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 95px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2,
.about-content h2,
.more-services-content h2,
.contact-content h2 {
    color: #102a43;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}

.section-heading p:last-child {
    color: #64748b;
    font-size: 17px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: #f4f7fa;
    border: 1px solid #e0e7ee;
    border-radius: 8px;
    transition: 0.25s ease;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #f5b335;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(16,42,67,0.12);
    border-color: #cbd5df;
}

.service-number {
    color: #f5b335;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.service-card h3 {
    color: #102a43;
    font-size: 23px;
    margin-bottom: 13px;
}

.service-card p {
    color: #5b6b7a;
    font-size: 15px;
}


/* =========================================================
   MORE SERVICES
   ========================================================= */

.more-services-section {
    background: #102a43;
    color: #ffffff;
}

.more-services-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.more-services-content h2 {
    color: #ffffff;
}

.more-services-content p {
    color: #dce6ef;
    font-size: 17px;
    margin-bottom: 18px;
}

.more-services-lead {
    font-size: 21px !important;
    color: #ffffff !important;
    font-weight: 600;
}

.more-services-highlight {
    margin: 35px 0;
    padding: 20px;
    border-left: 5px solid #f5b335;
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    font-size: 19px;
}

.more-services-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: #f4f7fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image-box {
    min-height: 430px;
    border-radius: 10px;
    background:
        linear-gradient(rgba(16,42,67,0.9), rgba(16,42,67,0.9)),
        linear-gradient(135deg, #1e4f73, #102a43);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(16,42,67,0.18);
}

.about-image-box span {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 3px;
}

.about-image-box strong {
    color: #f5b335;
    letter-spacing: 4px;
    margin-top: 10px;
}

.about-content p {
    color: #5b6b7a;
    margin-bottom: 20px;
    font-size: 17px;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: #102a43;
    font-weight: 900;
    border-bottom: 3px solid #f5b335;
    padding-bottom: 4px;
}


/* =========================================================
   WHY US
   ========================================================= */

.why-section {
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #102a43;
    color: #f5b335;
    font-weight: 900;
}

.why-card h3 {
    color: #102a43;
    font-size: 20px;
    margin-bottom: 12px;
}

.why-card p {
    color: #64748b;
    font-size: 15px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    background: #f5b335;
    color: #102a43;
    padding: 65px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.cta .eyebrow {
    color: #102a43;
}

.cta h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    margin-bottom: 12px;
    font-weight: 900;
}

.cta p {
    font-size: 17px;
}

.cta .btn-primary {
    background: #102a43;
    color: #ffffff;
}

.cta .btn-primary:hover {
    background: #ffffff;
    color: #102a43;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    background: #f4f7fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.contact-content p {
    color: #5b6b7a;
    font-size: 17px;
}

.contact-details {
    margin-top: 35px;
}

.contact-detail {
    padding: 17px 0;
    border-bottom: 1px solid #d8e0e7;
}

.contact-detail strong {
    display: block;
    color: #102a43;
    margin-bottom: 5px;
}

.contact-detail a {
    color: #1e4f73;
    font-weight: 700;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(16,42,67,0.12);
}

.contact-form-wrapper h3 {
    color: #102a43;
    font-size: 28px;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #102a43;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #cbd5df;
    border-radius: 5px;
    padding: 13px;
    font-family: inherit;
    font-size: 15px;
    background: #ffffff;
    color: #222;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f5b335;
    box-shadow: 0 0 0 3px rgba(245,179,53,0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-button {
    width: 100%;
    border: none;
    font-size: 16px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #0b1f33;
    color: #ffffff;
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;
}

.footer-logo span {
    display: block;
    color: #f5b335;
    font-size: 11px;
    letter-spacing: 3px;
    margin-top: 5px;
}

.footer p {
    color: #b7c5d3;
    margin-top: 15px;
}

.footer h4 {
    color: #f5b335;
    margin-bottom: 15px;
}

.footer-grid > div:nth-child(2) a,
.footer-grid > div:nth-child(3) a {
    display: block;
    color: #dce6ef;
    margin-bottom: 9px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: #f5b335;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}


/* =========================================================
   FLOATING CALL BUTTON
   ========================================================= */

.floating-call {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #f5b335;
    color: #102a43;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 900;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 2000;
    transition: 0.25s ease;
}

.floating-call:hover {
    background: #102a43;
    color: #f5b335;
    transform: scale(1.08);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .nav {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .container {
        width: 92%;
    }

    .nav-container {
        min-height: 70px;
    }

    .logo-main {
        font-size: 20px;
    }

    .logo-sub {
        font-size: 9px;
    }

    .nav-phone {
        padding: 9px 13px;
        font-size: 13px;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .quick-item {
        min-height: 85px;
        border-bottom: 1px solid rgba(16,42,67,0.15);
    }

    .section {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-image-box {
        min-height: 300px;
    }

    .about-image-box span {
        font-size: 26px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .more-services-actions {
        flex-direction: column;
    }

    .more-services-actions .btn {
        width: 100%;
        text-align: center;
    }

}
/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-menu-button {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
    color: inherit;
}

.mobile-menu-button span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px auto;
    border-radius: 3px;
    background: currentColor;
    transition: all 0.3s ease;
}


/* =========================================================
   TABLETS & PHONES
   ========================================================= */

@media (max-width: 800px) {

    .nav-container {
        position: relative;
    }


    .mobile-menu-button {
        display: block;
        margin-left: 8px;
    }


    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 15px 20px 20px;
        flex-direction: column;
        gap: 0;
        z-index: 1000;
    }


    .nav.mobile-menu-open {
        display: flex;
    }


    .nav a {
        display: block;
        width: 100%;
        padding: 14px 10px;
        text-align: center;
    }


    .nav-phone {
        margin-left: auto;
    }


    /* Hamburger becomes an X */

    .mobile-menu-button.menu-open
    span:nth-child(1) {

        transform:
            translateY(8px)
            rotate(45deg);

    }


    .mobile-menu-button.menu-open
    span:nth-child(2) {

        opacity: 0;

    }


    .mobile-menu-button.menu-open
    span:nth-child(3) {

        transform:
            translateY(-8px)
            rotate(-45deg);

    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 500px) {

    .logo-main {
        font-size: 18px;
    }


    .logo-sub {
        font-size: 9px;
    }


    .nav-phone {
        padding: 9px 12px;
        font-size: 13px;
    }


    .mobile-menu-button {
        margin-left: 3px;
    }

}