/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d1155;
    --secondary-color: #3b1771;
    --accent-color: #4c1d95;
    --text-color: #1f2937;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --dark: #111827;
    --veteran-color: #c53030;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--white);
    color: var(--text-color);
    padding: 15px 0;
}

.header-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-image {
    max-height: 140px;
    width: auto;
    height: auto;
    display: block;
}

.header-caption {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

.header-caption-subtitle {
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.motto {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-contact .phone {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.header-contact .phone:hover {
    opacity: 0.8;
}

.veteran-badge {
    background: var(--veteran-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Holidays & Events Insert */
.holidays-insert {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 0;
    text-align: center;
    position: relative;
}

.holidays-content {
    width: 100%;
    margin: 0;
}

.holidays-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: block;
}

.holidays-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.holidays-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px 20px;
}

.holidays-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.holidays-caption {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fbbf24;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .holidays-title {
        font-size: 2rem;
    }
    
    .holidays-caption {
        font-size: 1.2rem;
    }
}

/* Navigation Styles */
.navbar {
    background: var(--white);
    border-top: 1px solid #e5e7eb;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 15px 0;
    margin: 0 auto;
    justify-content: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

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

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-motto {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 20px 0;
    color: #a855f7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-slogan {
    font-size: 1.3rem;
    font-style: italic;
    margin: 15px 0 30px;
    color: #a855f7;
    opacity: 0.95;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 17, 85, 0.4);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 50px;
}

/* TBS App Features Section */
.app-features {
    background: var(--light-bg);
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: #6b7280;
    line-height: 1.8;
}

/* Cost Calculator Section */
.calculator-section {
    background: var(--white);
    padding: 80px 0;
}

.calculator-container {
    max-width: 700px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.calculator-input-group {
    margin-bottom: 30px;
}

.calculator-input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.calculator-input-group input,
.calculator-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 18px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.calculator-input-group input:focus,
.calculator-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calculator-select {
    cursor: pointer;
    background: var(--white);
}

.calculator-results {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--primary-color);
}

.result-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.result-content {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-item.average {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 5px;
    margin-top: 15px;
    border: 2px solid var(--primary-color);
}

.result-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-item.average .result-value {
    font-size: 2rem;
    color: var(--primary-color);
}

.result-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.result-note p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 10px;
}

.premium-features-reminder {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.premium-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px !important;
    text-align: center;
}

.premium-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.premium-features-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

.premium-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.premium-note {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-top: 15px !important;
    font-style: italic;
}

.result-note .disclaimer {
    font-size: 0.9rem;
    font-style: italic;
    color: #9ca3af;
    margin-top: 15px;
}

.calculator-results .btn {
    width: 100%;
    margin-top: 20px;
}

/* Image Placeholder Section */
.image-placeholder-section {
    padding: 0;
    margin: 0;
}

.image-placeholder-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.image-placeholder-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Short banner variant for customer service image */
.image-placeholder-section.short-banner .image-placeholder-container img {
    height: 300px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .image-placeholder-section.short-banner .image-placeholder-container img {
        height: 200px;
    }
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.quote-content {
    max-width: 700px;
    margin: 0 auto;
}

.quote-section .section-title,
.quote-section .section-subtitle {
    color: var(--white);
}

.quote-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

.form-group select {
    cursor: pointer;
}

/* Form button keeps original purple styling */
.quote-form .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 17, 85, 0.4);
    border: none;
}

.quote-form .btn-primary:hover {
    background: #1f0c3d;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 17, 85, 0.6);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.service-card p {
    color: #6b7280;
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--light-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

.about-text p {
    margin-bottom: 20px;
}

.veteran-highlight {
    color: var(--veteran-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.slogan {
    font-size: 1.5rem;
    font-style: italic;
    color: #a855f7;
    font-weight: 600;
    margin-top: 30px;
}

/* Veterans Dedication Section */
.veterans {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.veterans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.veterans .section-title,
.veterans .section-subtitle {
    color: var(--white);
}

.veterans-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.veterans-icon {
    font-size: 4rem;
    margin-bottom: 30px;
}

.veterans-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}

.veterans-intro {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.veterans-text p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.veterans-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.veterans-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    margin-bottom: 10px;
}

.veterans-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: bold;
    font-size: 1.3rem;
}

.veterans-closing {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 30px;
    text-align: center;
    color: #fbbf24;
}

.veterans-motto {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 30px;
    text-align: center;
    color: #fbbf24;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 2px solid rgba(251, 191, 36, 0.3);
}

/* Target Customers Section */
.customers {
    background: var(--white);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.customer-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.customer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.customer-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.customer-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.customer-card p {
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}

/* FAQ Section */
.faq {
    background: var(--light-bg);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s;
    margin-left: 20px;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}

/* Call to Action Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
    opacity: 0.9;
}

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

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

.footer-motto {
    font-weight: 600;
    color: var(--white);
    margin-top: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 15px;
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-motto {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .header-info {
        flex-direction: column;
        text-align: center;
    }

    .quote-form-container {
        padding: 25px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-motto {
        font-size: 1.3rem;
    }

    .hero-slogan {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

