/**
 * League Leader - Main Site Theme
 * 
 * This is the theme for the main marketing/subscription site.
 */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #FBE359;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-family: 'Arial', sans-serif;
    --heading-font-family: 'Arial', sans-serif;
}

/* Base styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    /* height: 100vh; */
}

.logo {
    width: 200px;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.781));
}

h1, h3, h4, h5, h6 {
    font-family: var(--heading-font-family);
    margin-bottom: 1rem;
    color: var(--dark-color);
    cursor: default;
}

h1 {
    background: linear-gradient(to right, rgba(255, 217, 0, 0.637), rgba(255, 255, 255, 0));
    padding-left: 10px;
}

h2 {
    font-family: var(--heading-font-family);
    color: var(--primary-color);
    text-shadow: 1px 1px 3px #03030375, 1px 1px 3px #00000075, 1px 1px 3px #00000075;
    cursor: default;
}

p {
    cursor: default;
}


.features h3 {
    font-family: var(--heading-font-family);
    color: rgb(114, 114, 114);
    text-shadow: 0px 0px 2px #00000075, 0px 0px 2px #00000075, 0px 0px 2px #00000075;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Layout */
.container {
    /* width: 100%; */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.login-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input {
    width: 94%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-size: 1rem;
}

.form-group .error {
    color: red;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-actions {
    margin-top: 2rem;
}

.form-actions .btn {
    margin-right: 1rem;
}

.register-link {
    margin-top: 1.5rem;
    text-align: center;
}

.register-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

#register-form {
    width: 35%;
}

.form-container {
    width: 600px;
    max-width: 600px;
}

.form-actions button {
    height: 2.5rem;
    /* width: 5rem; */
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 0;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

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

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center; /* Vertically center all items in the navigation */
}

header nav ul li {
    margin-left: 1rem;
    display: flex; /* Use flexbox for list items */
    align-items: center; /* Vertically center content */
    height: 100%; /* Full height of the navigation */
}

header nav ul li a {
    color: white;
    text-decoration: none;
    display: flex; /* Use flexbox for links */
    align-items: center; /* Vertically center text */
    height: 100%; /* Full height of the list item */
}

header nav ul li a.active {
    color: yellow;
    text-shadow: 0px 0px 5px #000000, 0px 0px 5px #000000, 0px 0px 5px #000000;
    padding: 0.5rem 1rem;

}

header nav ul li a.active:hover {
    cursor: default;
}

header nav ul li a:hover {
    text-decoration: none;
}

/* Main content */
main {
    padding: 0;
    min-height: calc(100vh - 150px);
}

/* Hero section */
.hero {
    background-color: #f4f4f4;
    color: var(--dark-color);
    padding: 0;
    margin-bottom: 0.5rem;
}

.hero h1 {
    /* background: linear-gradient(to right, rgba(30, 180, 0, 0.637), rgba(30, 180, 0, 0)); */
    background: none;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: yellow;
    text-align: left;
    padding-left: 10px;
    text-shadow: 0px 0px 3px #ffffff75, 0px 0px 3px #ffffff75, 0px 0px 3px #ffffff75;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-align: left;
    text-shadow: 1px 1px 1px #000000;
}

.hero .row {
    align-items: center;
}

.hero .col {
    padding: 0 2rem;
}

/* Features section */
.features {
    padding: 1rem 0;
    background-color: var(--light-color);
}

.feature-card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 0.75rem;
    text-align: center;
    position: relative;
    padding-bottom: 2rem; /* Space for button */
}

.feature-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-top: 0;
    min-height: 3rem; /* Ensure consistent height for headings */
}

/* Feature page specific styling */
.row h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.row ul {
    padding-left: 1.5rem;
}

.row ul li {
    margin-bottom: 0.5rem;
}

/* Pricing section */
.pricing {
    padding: 1rem 0;
}

.pricing-plans {
    height: 650px;
}

/* Pricing cards with grid layout for perfect alignment */
.pricing-card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: grid;
    grid-template-rows: auto auto auto auto 1fr auto;
    grid-template-areas: 
        "ribbon"
        "title"
        "price"
        "description"
        "features"
        "button";
    padding: 0 2rem 2rem;
    flex: none;
}

/* Pricing card borders */
.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.pricing-card.basic {
    border: 2px solid var(--success-color);
}

.pricing-card.premium {
    border: 2px solid var(--warning-color);
}

.staff-role {
    font-size: 0.9rem;
    color: red;
    font-style: italic;
}


.staff-member {
    position: relative;
    overflow: hidden;
}

.staffbg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    object-fit: contain;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
    margin: 15px 20px;
}

/* Ribbon styling */
.ribbon {
    grid-area: ribbon;
    color: white;
    padding: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 -1.5rem 1.5rem;
}

/* Standard ribbon (Most Popular) */
.featured .ribbon {
    background-color: var(--primary-color);
}

/* Basic ribbon (Getting Started) */
.ribbon-basic {
    background-color: var(--success-color);
}

/* Premium ribbon (Best Value) */
.ribbon-premium {
    background-color: var(--warning-color);
    color: var(--dark-color); /* Dark text for better contrast on yellow */
}


/* Plan title */
.pricing-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 1.5rem;
}

/* Price styling */
.pricing-card .price {
    grid-area: price;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.pricing-card .annualprice {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--primary-color);
    margin: 0;
}

/* Plan description */
.pricing-card > p {
    grid-area: description;
    margin: 0 0 1.5rem;
}

/* Features list */
.pricing-card ul {
    grid-area: features;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pricing-card ul li {
    padding: 0px 35px;
    border-bottom: 1px dotted #eee;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* Button positioning */
.pricing-card .btn {
    grid-area: button;
    /* margin-top: 2rem; */
    justify-self: center;
}

.price-reason {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: red;
}

/* Contact section */
.contact {
    padding: 1rem 0;
    background-color: var(--light-color);
}


/* Components */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Button positioning in cards */
.card .btn {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0069d9;
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    text-decoration: none;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
}

.card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 4px 6px 3px rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 1.5rem; /* Add space at bottom for buttons */
}

.card-transparent {
    background-color: transparent;
}

.card-title {
    font-size: 1.25rem;
    margin-top: 0;
}

/* Equal height cards within a row */
.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height .col {
    display: flex;
    flex-direction: column;
}

.row.equal-height .card {
    margin-bottom: 14px;
}

/* Ensure vertical symmetry for lists in adjacent cards */
.row.equal-height .card ul {
    min-height: 200px; /* Adjust based on your content */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.row.equal-height .card ul li {
    margin-bottom: 0.5rem;
}

/* Ensure consistent height for paragraphs in cards */
.row.equal-height .card p {
    margin: 0px 0px 9px 0px;
    /* min-height: 3rem; */ /* Adjust based on your content */
}

/* FAQ cards specific styling */
.faq .card, .faq-preview .card {
    padding-bottom: 2rem;
}

.faq .card h3, .faq-preview .card h3 {
    margin-top: 0;
    min-height: 3rem; /* Ensure consistent height for headings */
}

/* Team member cards specific styling */
.team .card {
    text-align: center;
    padding-bottom: 2rem;
}

.team .card img {
    margin-bottom: 1rem;
    height: 200px; /* Fixed height for team member images */
    object-fit: cover; /* Maintain aspect ratio while covering the container */
    width: 100%;
}

.team .card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.team .card p {
    margin-bottom: 0.5rem;
}

/* Contact info cards specific styling */
.contact-info .card {
    padding-bottom: 2rem;
}

.contact-info .card p {
    margin: 0px
}

.contact-info .card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Office locations cards specific styling */
.office-locations .card {
    text-align: center;
    padding-bottom: 2rem;
}

.office-locations .card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.office-locations .card p {
    margin-bottom: 1.5rem;
    min-height: 4.5rem; /* Ensure consistent height for address text */
}

.office-locations .map-container {
    height: 200px; /* Fixed height for map images */
    overflow: hidden;
}

.alert {
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

table th,
table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    width: 25%;
}

table th {
    background-color: var(--light-color);
    font-weight: bold;
}

/* Forms */
form {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0.5rem;
    position: relative;
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

/* Modern contact form specific styles */
.contact-form {
    display: flex;
    justify-content: center;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    margin: 2rem 0;
}

.contact-entry-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-form-container {
    background-color: white !important;
    border-radius: 0.5rem !important;
    padding: 2rem !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    max-width: 800px !important;
}

.modern-form {
    margin-bottom: 0;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
}

.contact-form h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Override any conflicting styles */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    display: block;
    width: 95%;
    padding: 0.5rem;
    font-size: 1rem;
    line-height: 1;
    color: #495057;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-form textarea {
    resize: vertical;
    overflow: auto;
}

.contact-form select {
    width: 50%;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form-grid .form-group:last-child,
.contact-form-grid .form-group.full-width {
    grid-column: span 2;
}

.contact-form button.btn-primary {
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    border-radius: 0.375rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    min-width: 150px !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
}

.contact-form button.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    background-color: #0069d9 !important;
}

.contact-form .form-submit {
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-grid .form-group:last-child,
    .contact-form-grid .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form .container {
        padding: 1.5rem;
    }
}

/* FAQ Accordion Styles */
.faq-content {
    margin-bottom: 2rem;
}

.faq-categories {
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    border-bottom: 1px solid #dee2e6;
}

.tabs li {
    margin-right: 1rem;
}

.tabs li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.tabs li.active a, 
.tabs li a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    text-decoration: none;
}

.faq-section {
    display: none;
}

.faq-section.active {
    display: block;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    overflow: hidden;
}

.faq-item h3 {
    margin: 0;
    padding: 1rem;
    background-color: var(--light-color);
    cursor: pointer;
    position: relative;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-item h3:hover {
    background-color: #e9ecef;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active h3 {
    background-color: #e9ecef;
}

.faq-item.active h3::after {
    content: '−';
    transform: rotate(0deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    position: relative;
}

.faq-answer p {
    margin: 0;
    opacity: 0;
    transition: opacity 0.1s ease;
    position: absolute;
    width: calc(100% - 2rem); /* Account for padding when visible */
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 500px; /* Adjust based on your content */
}

.faq-item.active .faq-answer p {
    opacity: 1;
    position: relative;
    transition: opacity 0.2s ease 0.2s; /* Delay the fade-in until after expansion */
}

/* Footer */
footer {
    background-color: #e6e6e6;
    color: white;
    padding: 0;
    text-align: center;
    margin-top: 20px;
    height: 39px;    
}

footer .footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

footer .footer-links a {
    color: white;
    margin: 0 1rem;
}

footer p {
    line-height: 0.8rem;
}

.testimonal-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    font-style: italic;
}

.testimonal-signature {
    font-family: "Allura", cursive;
    font-size: 1.5rem;
    font-weight: normal;
}

footer .copyright {
    font-size: 0.875rem;
    color: rgb(10, 0, 143);
    text-shadow: 0px 0px 2px #2a09a177, 0px 0px 2px #2a09a177, 0px 0px 2px #2a09a177;
/*    background-color: #F4F4F4;
    max-width: 1200px;
    padding: 0 35% 0px 38%;
    height: 51px; */
}

.video-background-container {
    background-color: #808080;
    position: relative;
    width: 100%;
    height: 100%; /* Or use % depending on parent container */
    overflow: hidden;
  }
  
  .video-background {
    filter: blur(3px); /* brightness(2.0); grayscale(0.8); */
    /* filter: sepia(1.0);
    filter: grayscale(1.0); */
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    transition: opacity 1s ease;
    opacity: 0.4;   
    z-index: 0; 
  }

  .video-fade {
    opacity: 0;
  }

  .fade-in {
    opacity: 0.4;
    z-index: 1;
  }
  
  .fade-out {
    opacity: 0;
    z-index: 0;
  }
  
  .overlay-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 2rem;
  }
  
/* Utility classes */
.text-center {
    text-align: center;
}

.mt-auto {
    margin-top: auto;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    
    .col {
        margin-bottom: 1rem;
    }
    
    header nav {
        flex-direction: column;
    }
    
    header nav ul {
        margin-top: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tabs li {
        margin-bottom: 0.5rem;
    }
}
