/* The switch container */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Hide the default checkbox */
.theme-switch-wrapper input {
  display: none;
}

/* The slider track */
.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  height: 26px;
  position: relative;
  transition: .4s;
  width: 50px;
  border-radius: 34px;
}

/* The sliding knob */
.slider:before {
  background-color: white;
  bottom: 4px;
  content: "";
  height: 18px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 18px;
  border-radius: 50%;
}

/* When the checkbox is checked, change background to purple/blue */
input:checked + .slider {
  background-color: #6200ee;
}

/* When checked, move the knob to the right */
input:checked + .slider:before {
  transform: translateX(24px);
}

/* Label text next to the switch */
.switch-label {
  margin-right: 10px;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: bold;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    /* This rule overrides theme styles to remove extra space at the top */
    margin-top: 0 !important;
}
.page-section {
    display: none;
}
.page-section.active {
    display: block;
}
.nav-link.active {
    color: #f59e0b; /* amber-500 */
    border-bottom: 2px solid #f59e0b;
}
.hero-gradient {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}
.faq-item .answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.faq-item.open .answer {
    max-height: 200px; /* Adjust as needed */
}
.faq-item.open .icon {
    transform: rotate(180deg);
}

/* --- Import Fonts & Icons --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;500&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');


/* --- Global Styles for the VTI Block --- */
:root {
    --vti-primary-color: #0d47a1; /* Deep Space Blue */
    --vti-secondary-color: #f4f4f4; /* Light Gray Background */
    --vti-accent-color: #ff6f00; /* Rocket Orange */
    --vti-text-color: #333;
    --vti-light-text-color: #ffffff;
}

/* This targets the container for your custom HTML block */
.entry-content {
    --vti-container-max-width: 1100px;
}

.vti-container {
    max-width: var(--vti-container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
.vti-main-header, .vti-hero, .vti-content-section, .vti-main-footer {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--vti-text-color);
}

.vti-hero h1, .vti-hero h2, .vti-section-title, .vti-mission-vision h3, .vti-feature-card h3, .vti-partner-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* --- Header --- */
.vti-main-header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
}
.vti-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vti-primary-color) !important; /* !important to override theme styles */
    text-decoration: none;
}

/* --- Hero Section --- */
.vti-hero {
    background: linear-gradient(rgba(13, 71, 161, 0.7), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1614646941534-5020188b66a8?w=1080') no-repeat center center/cover;
    color: var(--vti-light-text-color);
    text-align: center;
    padding: 100px 20px;
}
.vti-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--vti-light-text-color);
}
.vti-hero h2 {
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin: 0;
    color: var(--vti-light-text-color);
}

/* --- General Section Styling --- */
.vti-content-section {
    padding: 60px 0;
}
.vti-content-section.vti-bg-light {
    background-color: var(--vti-secondary-color);
}
.vti-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--vti-primary-color);
}

/* --- Mission & Vision Section --- */
.vti-mission-vision {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.vti-mission-vision div {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}
.vti-mission-vision h3 {
    font-size: 1.8rem;
    color: var(--vti-primary-color);
    border-bottom: 3px solid var(--vti-accent-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* --- Why Titusville Section --- */
.vti-feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.vti-feature-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}
.vti-icon {
    font-size: 3rem;
    color: var(--vti-accent-color);
    margin-bottom: 20px;
}
.vti-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
        
/* --- Partner CTA Section --- */
.vti-partner-cta {
    background: var(--vti-primary-color);
    color: var(--vti-light-text-color);
    text-align: center;
}
.vti-partner-cta h2.vti-section-title {
    color: #fff; /* Override section title color */
}
.vti-partner-cta p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
}
.vti-btn {
    display: inline-block;
    background: var(--vti-accent-color);
    color: #fff !important; /* !important to override theme styles */
    padding: 15px 30px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.vti-btn:hover {
    background-color: #ff8f00;
    transform: translateY(-3px);
}

/* --- Footer --- */
.vti-main-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .vti-hero h1 { font-size: 2.5rem; }
    .vti-hero h2 { font-size: 1.2rem; }
    .vti-section-title { font-size: 2rem; }
}