* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #f8f9fa;
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), #1a2530);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

        .logo h1 {
            font-family: 'Oswald', sans-serif;
            font-size: 2.2rem;
            font-weight: 700;
            color: black;
        }

        .logo a {
            text-decoration: none;
        }

        .logo span {
            color: black;}

.logo i {
    margin-right: 10px;
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.contact-info a i {
    margin-right: 8px;
    color: var(--secondary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}


/* Hero Section */
        .hero {
            background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.9)), url('./images/logo.jpeg') no-repeat center center/cover;    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--secondary);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: #2980b9;
}

/* Services Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-content p {
    margin-bottom: 20px;
    color: #555;
}

.service-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-content ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.service-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Featured Colors Section */
#featured-colors {
    background: #f8f9fa;
}

.color-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.color-item {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.color-item:hover {
    transform: translateY(-5px);
}

.color-item h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.color-item .brand {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
}

.color-item .description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    min-height: 60px; /* Ensure consistent height */
}

.color-swatch-display {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--secondary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.color-disclaimer {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

/* Pricing Section */
#pricing {
    background: #f8f9fa;
}

.pricing-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-component {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-component:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pricing-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
    background: var(--light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.pricing-component h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.pricing-component p {
    color: #555;
    margin-bottom: 15px;
}

.pricing-component ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.pricing-component ul li {
    font-weight: 500;
    color: #333;
    padding: 5px 0;
}

.quote-formula {
    text-align: center;
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    border: 2px dashed var(--secondary);
}

.quote-formula h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.quote-formula p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}

/* About Section */
.about {
    background: #f1f5f8;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact {
    background: #f1f5f8;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info-box {
    flex: 1;
}

.contact-info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

        .contact-item i {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-right: 15px;
            min-width: 30px;
        }

        .contact-item p a {
            color: inherit; /* Or specify a color like #333 */
            text-decoration: none;
        }

.contact-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary);
    outline: none;
}

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

.map-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    height: 0;
    margin-bottom: 30px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.footer-column p {
    margin-bottom: 20px;
    color: #bbb;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row; /* Override previous column direction */
        justify-content: space-between;
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background: var(--primary);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        padding: 20px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-info {
        display: none; /* Hide contact info in header on mobile */
    }
    
    .logo {
        margin-bottom: 0; /* Override previous margin */
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 300px;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero {
        height: 70vh;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 80px;
    right: 0;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.5;
}

.bot-message {
    background: #f1f5f8;
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-message {
    background: var(--secondary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input {
    padding: 10px;
    border-top: 1px solid #eee;
}

.chat-input form {
    display: flex;
}

.chat-input input {
    flex-grow: 1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 20px;
    margin-right: 10px;
}

.chat-input button {
    background: var(--accent);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

/* VantaCoat Advantage & Estimator Section */
.vantacoat-advantage {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.vantacoat-advantage h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

.vantacoat-advantage p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: center;
}

.vantacoat-advantage p:last-of-type {
    margin-bottom: 0;
}

.contact-info-box .vantacoat-advantage {
    margin-top: 30px;
}

/* Chat Tooltip */
.chat-tooltip {
    position: absolute;
    bottom: 90px; /* Adjusted for bounce */
    right: 0;
    background: white;
    color: var(--text);
    padding: 15px 40px 15px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    font-size: 1rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    z-index: 1002;
    font-weight: 500;
}

.chat-tooltip.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.close-tooltip {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.3s;
}

.close-tooltip:hover {
    color: var(--accent);
}
