﻿:root {
    --red: #c00;
    --white: #fff;
    --gray: #f5f5f5;
    --dark: #333;
}
html, body {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    scroll-behavior: smooth;
}

header {
    background: var(--white);
    padding: 0px 40px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    white-space: nowrap; /* Prevents logo text from wrapping */
}

    .logo .red {
        color: var(--red);
    }



nav.navbar {
    display: flex;
    align-items: center; /* Vertically center links */
    justify-content: center; /* Center horizontally */
    height: 60px; /* Match header height */
}

    nav.navbar a {
        margin: 0 15px; /* Spacing between links */
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        position: relative;
        transition: color 0.3s;
        display: flex;
        align-items: center; /* Ensure text centers vertically */
        padding: 15px 0px 0 0px; /* 15px top padding, 10px horizontal */
        font-size: 1.5rem; /* Increase font size */
        font-weight: 700; /* Bold text */
    }

    nav a::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 2px;
        background: var(--red);
        left: 0;
        bottom: -5px;
        transition: 0.3s;
    }

    nav a:hover {
        color: var(--red);
    }

        nav a:hover::after {
            width: 100%;
        }

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../Images/ChattBridge.jpg') no-repeat center center;
    background-size: cover;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
    padding-bottom: 200px;
}

    .hero h1 {
        font-size: 3.5em;
        margin: 0;
        font-weight: 700;
        opacity: 0;
        transform: translateY(-20px);
        animation: fadeInUp 1s ease-out forwards 0.3s;

    }

        .hero h1 .black {
            color: #000; /* Black for Chattanooga */
        }

        .hero h1 .red {
            color: var(--red); /* Red for Propane */
        }

    .hero p {
        font-size: 1.3em;
        margin: 20px 0;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 1s ease-out forwards 0.6s;
    }

.btn {
    padding: 14px 30px;
    border: none;
    font-size: 1em;
    border-radius: 30px;
    transition: 0.3s ease-in-out;
    margin: 10px;
    cursor: pointer;
}

.btn-red {
    background: var(--red);
    color: var(--white);
}

    .btn-red:hover {
        background: #a00;
        transform: scale(1.05);
    }

.btn-white {
    background: var(--white);
    color: var(--red);
    border: 2px solid var(--red);
}

    .btn-white:hover {
        background: var(--red);
        color: var(--white);
        transform: scale(1.05);
    }

.section {
    background-color: var(--gray); /* Ensure a clean base */
    padding: 60px 20px;
    max-width: 1100px;
    margin: 40px auto; /* Add spacing between sections */
    border-radius: 12px; /* Smooth edges */
    border: 1px solid #000; /* Black outline */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); /* Soft shadow for depth */
}

    /* Section Title */
    .section h2 {
        text-align: center;
        font-size: 3rem; /* Larger heading */
        margin-bottom: 50px;
        color: #000; /* Black title */
        font-weight: 900; /* Very bold */
        text-transform: uppercase;
        position: relative;
    }

        .section h2::after {
            content: "";
            display: block;
            width: 100px;
            height: 4px;
            background: var(--red);
            margin: 15px auto 0;
            border-radius: 4px;
        }

/* Cards Layout */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
    padding: 0 20px;
}

/* Card Styling */
.card {
    background: var(--gray);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    text-align: center;
    border: 2px solid transparent;
}

    .card h3 {
        margin-top: 0;
        color: #000; /* Black titles */
        font-size: 2rem; /* Bigger titles */
        font-weight: 900; /* Very bold */
        margin-bottom: 20px;
    }

    .card p {
        font-size: 1.5rem; /* Larger text */
        line-height: 1.6;
        color: #333;
        font-weight: 500;
    }

    /* Hover Animation */
    .card:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--red);
    }

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}


ul {
    list-style: none;
    padding: 0;
}

    ul li::before {
        content: "✔ ";
        color: var(--red);
        font-weight: bold;
    }

form input,
form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1em;
}
footer {
    background: var(--dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.5s;
}

.footer-info p {
    margin: 5px 0; /* Reduce extra spacing between lines */
}

.footer-actions {
    display: flex;
    gap: 10px; /* Space between text box and button */
    align-items: center;
}

.menu-toggle {
    display: none; /* Hidden by default (desktop) */
}
/*=======================================================/
/*                     Dropdown faq                    */
/*=======================================================*/
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content styling */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px; /* Matches mobile menu width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    z-index: 999;
}

    /* Dropdown links (same as hamburger links) */
    .dropdown-content a {
        display: block;
        padding: 15px 20px; /* Same padding as nav links */
        color: #333;
        text-decoration: none;
        font-weight: bold;
        border-bottom: 1px solid #ddd; /* Same divider style */
        transition: background 0.3s;
    }

        .dropdown-content a:last-child {
            border-bottom: none; /* Remove border for last link */
        }

        .dropdown-content a:hover {
            background-color: var(--gray);
            color: var(--red);
        }

    /* When dropdown is active */
    .dropdown-content.show {
        display: block;
    }

/* FAQ toggle button */
.dropdown-toggle {
    cursor: pointer;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    padding: 15px 20px; /* Match other links */
    display: block;
    transition: color 0.3s;
}

    .dropdown-toggle:hover {
        color: var(--red);
    }


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 2em;
        padding: 15px 0px 20px 50px;
        cursor: pointer;
    }

    nav.navbar {
        display: none;
        position: absolute;
        top: 60px; /* right below the header */
        right: 10px;
        background: #fff;
        width: 200px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        z-index: 999;
        flex-direction: column; /* stack links vertically */
        overflow: visible; /* ensures box adjusts to content */
        height: auto; /* allow height to grow with content */
    }

        nav.navbar.active {
            display: block; /* Not flex, let it grow naturally */
        }

        nav.navbar a {
            padding: 15px 20px;
            display: block;
            color: #333;
            text-decoration: none;
            font-weight: bold;
            border-bottom: 1px solid #ddd;
            transition: background 0.3s;
        }

            nav.navbar a:last-child {
                border-bottom: none;
            }

            nav.navbar a:hover {
                background: #f5f5f5;
            }

    .dropdown-content {
        top: 0; /* Align with FAQ vertically */
        left: -180px; /* Move to the left (adjust based on width) */
        transform: translateY(0);
    }

    nav.navbar .dropdown {
        width: 100%;
        margin: 0;
    }

        nav.navbar .dropdown > a {
            display: block;
            padding: 15px 20px; /* Same left padding as other links */
        }


}









