/* Corporation Template 4 - Williams & Williams LLC Style
   Professional services / zoning consulting layout
   Fonts: Oswald (headings), Montserrat (body)
   Colors: Dark gray (#393939), Steel blue (#A4B6C2), White, Black */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============ Base ============ */
.t4-page {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    color: #393939;
    margin: 0;
    padding: 0;
}
.t4-page h1, .t4-page h2, .t4-page h3, .t4-page h4, .t4-page h5 {
    font-family: 'Oswald', sans-serif;
}

/* ============ Header / Nav ============ */
.t4-page { margin: 0 !important; padding: 0 !important; }
.t4-header .container { padding-top: 0 !important; padding-bottom: 0 !important; }
@media (max-width: 991px) {
    header.t4-header .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    header.t4-header .container > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    header.t4-header .container > .row > .col-6,
    header.t4-header .container > .row > .col-lg-2 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    header.t4-header .t4-auth-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.t4-header .row { align-items: center; }
.t4-header .t4-mobile-toggle { margin-top: 0; padding: 0 8px; }
.t4-header {
    background: transparent;
    padding: 0;
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.t4-header-logo {
    max-height: 55px;
    width: auto;
    margin: 0 !important;
    display: inline-block !important;
}
header.t4-header img {
    display: inline-block !important;
    margin: 0 !important;
}
@media (max-width: 991px) {
    header.t4-header .container > .row > .col-6:first-child,
    header.t4-header .container > .row > .col-lg-2:first-child {
        text-align: left !important;
    }
    header.t4-header .t4-header-logo {
        max-height: 50px;
    }
}
.t4-header .row { padding: 10px 0; margin: 0; }
.t4-header .col-lg-2,
.t4-header .col-lg-8,
.t4-header .col-6 { padding-top: 0; padding-bottom: 0; }

/* Auth row */
.t4-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    margin: 0;
    line-height: 1;
}
.t4-header a.t4-auth-link,
.t4-header a.t4-auth-link:visited,
.t4-header a.t4-auth-link:active {
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 2px 8px;
    transition: color 0.3s ease;
}
.t4-header a.t4-auth-link:hover {
    color: #A4B6C2 !important;
    text-decoration: none !important;
}
.t4-auth-name {
    color: rgba(255,255,255,0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    padding: 0 8px;
}

/* Center nav links */
.t4-nav {
    display: flex;
    align-items: center;
    gap: 0;
}
.t4-nav > a,
.t4-nav-dropdown > a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 8px 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.t4-nav > a:hover,
.t4-nav-dropdown > a:hover {
    color: #A4B6C2;
}

/* Dropdown */
.t4-nav-dropdown {
    position: relative;
}
.t4-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    min-width: 200px;
    padding: 8px 0;
    z-index: 1001;
}
.t4-nav-dropdown:hover .t4-nav-dropdown-menu {
    display: block;
}
.t4-nav-dropdown-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    padding: 8px 16px;
    transition: background 0.2s ease;
}
.t4-nav-dropdown-menu a:hover {
    background: #333;
    color: #A4B6C2;
}

/* Call Us button — pill shape */
.t4-header .t4-call-btn {
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 6px 16px;
    margin-right: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.t4-header .t4-call-btn:hover {
    background: #fff;
    color: #000;
}

/* Mobile menu */
.t4-mobile-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
}
.t4-mobile-nav {
    display: none;
    flex-direction: column;
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}
.t4-mobile-nav.show {
    display: flex;
}
.t4-mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-bottom: 1px solid #333;
    transition: color 0.2s ease;
}
.t4-mobile-nav a:last-child {
    border-bottom: none;
}
.t4-mobile-nav a:hover {
    color: #A4B6C2;
}

/* ============ Hero Section ============ */
.t4-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px 80px;
    transition: background-image 1.5s ease-in-out;
}
.t4-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}
.t4-hero .container {
    position: relative;
    z-index: 2;
}
.t4-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.4);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.t4-hero .t4-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0,0,0,0.4);
    margin-bottom: 2rem;
}
.t4-hero .btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
.t4-hero .btn-primary {
    background: #393939;
    border: 2px solid #fff;
    color: #fff;
}
.t4-hero .btn-primary:hover {
    background: #fff;
    color: #393939;
}

/* ============ About Section ============ */
.t4-about {
    padding: 80px 0;
    background: #fff;
}
.t4-about h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #393939;
    margin-bottom: 1rem;
}
.t4-about p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.t4-about .btn-dark {
    background: #393939;
    border: none;
    padding: 12px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.t4-about .btn-dark:hover {
    background: #000;
    transform: translateY(-2px);
}

/* ============ Services Banner (parallax) ============ */
.t4-services-banner {
    position: relative;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
}
.t4-services-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.t4-services-banner .container {
    position: relative;
    z-index: 2;
}
.t4-services-banner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0,0,0,0.4);
    margin-bottom: 1rem;
}
.t4-services-banner .t4-icons-row {
    margin: 2rem 0;
}
.t4-services-banner .t4-icon-item {
    padding: 1rem;
}
.t4-services-banner .t4-icon-item i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #A4B6C2;
}
.t4-services-banner p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.t4-services-banner .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.t4-services-banner .btn-outline-light:hover {
    background: #fff;
    color: #393939;
}

/* ============ Services Detail (alternating) ============ */
.t4-services {
    padding: 0;
}
.t4-service-row {
    padding: 80px 0;
}
.t4-service-row:nth-child(odd) {
    background: #f8f8f8;
}
.t4-service-row:nth-child(even) {
    background: #fff;
}
.t4-service-row h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #393939;
    margin-bottom: 1rem;
}
.t4-service-row p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.t4-service-row .btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 4px;
    letter-spacing: 0.03em;
}
.t4-service-row .btn-dark {
    background: #393939;
    border: none;
}
.t4-service-row .btn-dark:hover {
    background: #000;
}
.t4-service-row .btn-outline-dark {
    border: 2px solid #393939;
    color: #393939;
}
.t4-service-row .btn-outline-dark:hover {
    background: #393939;
    color: #fff;
}
.t4-service-img {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* ============ Community Section ============ */
.t4-community {
    padding: 100px 0;
    background: #f8f8f8;
}
.t4-community h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #393939;
    margin-bottom: 1rem;
}
.t4-community > .container > p {
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1rem;
    line-height: 1.8;
}
.t4-community-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.t4-community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.t4-community-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #393939;
    margin-bottom: 1rem;
}
.t4-community-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============ Feasibility Section ============ */
.t4-feasibility {
    padding: 100px 0;
    background: #fff;
}
.t4-feasibility h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #393939;
    margin-bottom: 1rem;
}
.t4-feasibility p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.t4-feasibility .btn-dark {
    background: #393939;
    border: none;
    padding: 12px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 4px;
}
.t4-feasibility .btn-dark:hover {
    background: #000;
}

/* ============ FAQ Section ============ */
.t4-faq {
    position: relative;
    padding: 100px 0;
    background: #f8f8f8;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.t4-faq::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(242, 244, 247, 0.88);
    z-index: 0;
}
.t4-faq > .container {
    position: relative;
    z-index: 1;
}
.t4-faq h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #393939;
    margin-bottom: 0.5rem;
}
.t4-faq .t4-faq-subtitle {
    color: #666;
    margin-bottom: 3rem;
}
.t4-faq .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.t4-faq .accordion-button {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #393939;
    background: #fff;
    padding: 1.2rem 1.5rem;
}
.t4-faq .accordion-button:not(.collapsed) {
    background: #393939;
    color: #fff;
    box-shadow: none;
}
.t4-faq .accordion-button:focus {
    box-shadow: none;
}
.t4-faq .accordion-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    padding: 1.5rem;
}

/* ============ Contact Section ============ */
.t4-contact {
    position: relative;
    padding: 100px 0;
    background: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.t4-contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
.t4-contact > .container {
    position: relative;
    z-index: 1;
}
.t4-contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #393939;
    margin-bottom: 0.5rem;
}
.t4-contact .t4-contact-subtitle {
    color: #666;
    margin-bottom: 3rem;
}
.t4-contact .t4-contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.t4-contact .t4-contact-form .form-control:focus {
    border-color: #393939;
    box-shadow: 0 0 0 2px rgba(57,57,57,0.1);
}
.t4-contact .t4-contact-form .btn-dark {
    background: #393939;
    border: none;
    padding: 14px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    width: 100%;
}
.t4-contact .t4-contact-form .btn-dark:hover {
    background: #000;
}
.t4-contact-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #393939;
    margin-bottom: 1.5rem;
}
.t4-contact-info p {
    color: #555;
    margin-bottom: 0.5rem;
}
.t4-contact-info a {
    color: #393939;
    text-decoration: none;
    font-weight: 500;
}
.t4-contact-info a:hover {
    color: #000;
    text-decoration: underline;
}
.t4-contact-info i {
    width: 24px;
    color: #A4B6C2;
    margin-right: 8px;
}

/* ============ Footer ============ */
.t4-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 30px;
}
.t4-footer h5 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.t4-footer p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}
.t4-footer a {
    color: #A4B6C2;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.t4-footer a:hover {
    color: #fff;
}
.t4-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.t4-footer ul li {
    margin-bottom: 0.4rem;
}
.t4-footer .t4-footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* ============ Responsive ============ */
@media (max-width: 991px) {
    .t4-hero h1 { font-size: 2.5rem; }
    .t4-hero .t4-subtitle { font-size: 0.9rem; }
    .t4-about h2,
    .t4-services-banner h2,
    .t4-community h2,
    .t4-faq h2,
    .t4-contact h2 { font-size: 2rem; }
    .t4-service-row h3,
    .t4-feasibility h3 { font-size: 1.6rem; }
}
@media (max-width: 767px) {
    .t4-hero { min-height: 60vh; padding: 80px 15px 60px; }
    .t4-hero h1 { font-size: 2rem; }
    .t4-about, .t4-community, .t4-feasibility, .t4-faq, .t4-contact { padding: 60px 0; }
    .t4-service-row { padding: 50px 0; }
    .t4-services-banner { padding: 60px 15px; }
}
