/* Felix Forensics - Base Styles */

/* ==============================
   1. ESSENTIAL STYLES - VARIABLES, RESETS, BODY, BUTTONS, CURVES
   ============================== */

/* Local Font Declarations */
@font-face {
    font-family: 'Zeyn';
    src: url("../fonts/29LTZeyn-Regular.279518c447b4.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Custom Properties (Variables) */
:root {
    /* Color Variables */
    --color-primary: #0a1f33; /* Deep navy blue */
    --color-light: #f4f4f2; /* Off-white/cream */
    --color-dark: #2b2e34; /* Dark blue-grey */
    --color-accent: #3498db; /* Existing blue accent */
    --color-accent-hover: #2980b9; /* Existing hover blue */
    --color-alternative: #2f241d;
    --color-text: #2b2e34; /* Main text color */
    --color-text-light: #666; /* Secondary text */

    /* Font Family Variables */
    --font-primary: 'EB Garamond', serif;
    --font-secondary: 'Libre Baskerville', serif;
    --font-mono: 'Monoist', monospace;
    --font-display: 'Quattrocento', serif;
    --font-modern: 'Zeyn', sans-serif;

    --box-shadow-default: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
}

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

body {
    font-family: var(--font-primary), serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    height: 100%;
    overflow: hidden scroll;
    position: relative;
    width: 100%;
}

/* Logo Styles */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Footer Styles */
footer {
    margin-top: 2rem;
    padding: 1rem 0;
    background-color: var(--color-dark);
    color: white;
    text-align: center;
}

/* Color Utility Classes */
/* Background Colors */
.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-light {
    background-color: var(--color-light) !important;
}

.bg-dark {
    background-color: var(--color-dark) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

/* Text Colors */
.text-primary {
    color: var(--color-primary) !important;
}

.text-light {
    color: var(--color-light) !important;
}

.text-dark {
    color: var(--color-dark) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-muted {
    color: var(--color-text-light) !important;
}

/* Border Colors */
.border-primary {
    border-color: var(--color-primary) !important;
}

.border-light {
    border-color: var(--color-light) !important;
}

.border-dark {
    border-color: var(--color-dark) !important;
}

.border-accent {
    border-color: var(--color-accent) !important;
}

/* Font Family Utilities */
.font-primary {
    font-family: var(--font-primary), serif !important;
}

.font-secondary {
    font-family: var(--font-secondary), serif !important;
}

.font-mono {
    font-family: var(--font-mono), monospace !important;
}

.font-display {
    font-family: var(--font-display), serif !important;
}

.font-modern {
    font-family: var(--font-modern), sans-serif !important;
}

/* Button Styles */
.btn {
    /* Display & Layout */
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;

    /* Positioning & Spacing */
    padding: 12px 24px;

    /* Typography */
    font-family: var(--font-secondary), serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    /* Visual Styling */
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;

    /* Animation & Effects */
    transition: all 0.3s ease;

    /* Browser-specific Resets */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn:focus,
.btn:active {
    outline: none;
    opacity: .9;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(10, 31, 51, 0.2);
}

/* Primary Button */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-light) !important;
}

.btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(10, 31, 51, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(10, 31, 51, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--color-light);
    color: var(--color-primary) !important;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(10, 31, 51, 0.2);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(10, 31, 51, 0.2);
}

/* Link Button */
.btn-link {
    padding: 0;
    background-color: transparent;
    border-color: transparent;
    color: var(--color-accent) !important;
    text-decoration: underline;
}

.btn-link:hover {
    background-color: transparent;
    border-color: transparent;
    color: var(--color-accent-hover) !important;
    text-decoration: none;
    transform: none;
    box-shadow: none;
}

/* Button Size Variants */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-xl {
    padding: 9px 32px;
    font-size: 2rem;
    font-weight: 600;
}

.btn-hero {
    margin-top: 100px;
    font-weight: 400;
}

/* Button State Modifiers */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

/* Button Layout Modifiers */
.btn-block {
    display: block;
    width: 100%;
}

/* Button Group Support */
.btn + .btn {
    margin-left: 0.5rem;
}

/* Curve Divider */
.curve {
    position: relative;
    display: block;
    height: 140px;
    bottom: -140px;
    margin-top: -150px;
    overflow: hidden;
}

.curve::after {
    border-radius: 50%;
    height: 100px;
    bottom: 0;
    transform: translate(-5%, -100%);
    -ms-transform: translate(-5%, -100%);
    -webkit-transform: translate(-5%, -100%);
    content: "";
    position: absolute;
    width: 110%;
    /*background: deeppink;*/
    box-shadow: var(--box-shadow-default);
}

.curve-white::after {
    background: white;
}

.curve-light::after {
    background: var(--color-light);
}

/* ==============================
   2. NAVBAR
   ============================== */

/* Navbar Styles */
#mainNavbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    z-index: 1000;
}

#mainNavbar.transparent {
    background-color: transparent;
    box-shadow: none;
}

#mainNavbar.scrolled {
    background-image: radial-gradient(circle, #0a1f33, #092035, #082138, #07213a, #06223d);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--color-light);
}

.navbar-logo {
    height: 70px;
    width: auto;
}

#mainNavbar .nav-link {
    color: var(--color-light);
    font-size: 1.3rem;
    /*font-weight: 500;*/
    margin: 0 1rem;
    transition: color 0.3s ease;
    /*font-family: var(--font-modern);*/
}

#mainNavbar .nav-link:hover {
    color: var(--color-light);
}

#mainNavbar .nav-link-signup {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

#mainNavbar .nav-link-signup:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* ==============================
   3. HERO SECTION
   ============================== */

/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    text-transform: capitalize;
    margin-top: 85px;
    margin-bottom: 1.5rem;
    font-family: var(--font-modern);
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    /*line-height: 1.33;*/
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    font-family: var(--font-primary);
        font-family: var(--font-secondary);
    font-family: var(--font-mono);
    font-family: var(--font-display);
    font-family: var(--font-modern);
    line-height: 1.33;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2.5rem;
    /*font-size: 1.1rem;*/
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline-light {
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}

/* ==============================
   4. LEARN MORE SECTION
   ============================== */
#learn {
    padding: 3rem 1rem;
    /*background-image: linear-gradient( 135deg, #ABDCFF 10%, #0396FF 100%);*/
    /*background-image: radial-gradient(circle, #0a1f33, #092035, #082138, #07213a, #06223d);*/
    background-image: radial-gradient(circle, #0a1f33, #092035, #082138, #07213a, #06223d);
}

.learn-partnership-span {
    font-size: 1.3rem;
  background-image: radial-gradient(circle, #0a1f33, #092035, #082138, #07213a, #06223d);  font-weight: 100;
    opacity: 0.9;
}

#learn, #learn .section-title {
    color: var(--color-light) !important;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 1);
}

.learn-description {
    font-size: 1.5rem;
    margin: 0 auto;
    margin-top: 1rem;
    opacity: 0.85;
}

@media (max-width: 768px){
    #learn {
        padding: 1rem 1rem 0;
    }
}

@media (min-width: 992px){
    .learn-logos img {
        width: 450px;
        max-width: 400px;
    }
}
@media (max-width: 400px){
    .learn-logos img {
        max-width: 200px;
    }
}


/* Section */
.section {
    /*padding: 6rem 4rem;*/
}

.section-after-curve {
    padding-top: 100px;
}

.section-title {
    font-family: var(--font-secondary), serif;
    color: var(--color-primary);
    font-size: 4rem;
    letter-spacing: -0.046em;
    /*padding: 5% 0;*/
}

.section-subtitle {
    font-size: 1.5rem;
    margin-top: -1rem;
    opacity: 0.85;
}

@media (max-width: 576px) {
    .section-title {
        font-size: 3rem;
    }

    .section-after-curve {
        padding-top: 60px;
    }
}

@media (max-width: 768px) {
    .section-subtitle {
        padding: 0 2rem;
        text-align: start;
        margin: 10px 0 20px;
        line-height: 1.1;
    }
}

/* ==============================
   5. SCHEDULE SECTION (LOCATIONS)
   ============================== */

/* Location Card Styles */
.location-image-holder {
    border-radius: 1rem;
    overflow: hidden;
    max-width: 350px;
    box-shadow: var(--box-shadow-default);
}

.location-card-image {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.location-card-image:hover {
    transform: scale(1.1);
    transition-duration: 0.5s;
}

.location-card-title {
    font-size: 2rem;
    font-weight: 500;
    margin: 0.625rem 0;
}

.location-card-location {
    font-size: 70%;
    font-weight: 400;
}

.location-card-date span {
    font-size: 15px;
    color: var(--color-primary);
}

.location-ul-title {
    font-size: 22px;
    font-weight: 600;
    margin-top: 1rem;
}

.location-card-list {
    font-size: 20px;
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

/* Adjust schedule section to account for navbar */
#schedule {
    scroll-margin-top: 80px;
}

/* ==============================
   6. COURSE INFO SECTION
   ============================== */

/* Course Overview Styles */
.course-details {
    padding: 3rem 3rem 0 3rem;
    border: 3px solid var(--color-dark);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--box-shadow-default);
}

.course-title {
    font-size: 2.6rem;
    text-transform: capitalize;
    word-spacing: 15px;
    margin-bottom: 1.5rem;
}

.course-description {
    font-size: 23px;
    margin-bottom: 2rem;
    font-family: var(--font-primary);
    line-height: 1.2;
    color: var(--color-alternative);
    color: var(--color-text-light);
    color: var(--color-text);
}

.course-card-info {
    padding: 2rem 4rem 1rem 4rem;
}

.course-card-1 {
    padding-top: 3rem;
}

.course-details-1 {
    padding-top: 0;
    padding-left: 0;
}

.course-card-image-holder {
    margin-top: auto;
    position: relative;
    display: inline-block;
}

.course-card-image-holder::before {
    content: '';
    position: absolute;
    width: 74%;
    height: 83%;
    /*background-color: var(--color-primary);*/
    /*background-color: var(--color-light);*/
    background-color: white;
    /*top: -60px;*/
    top: 60px;
    left: 71px;
    border-radius: 1.5rem;
}

.course-card-image-holder-1::before {
    display: none;
}

.course-image {
    min-width: 500px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: block;
}

.course-instructor-price {
    font-family: var(--font-mono), monospace;
    text-transform: uppercase;
}

.course-details {
    /*background-color: var(--color-light) !important;*/
    background-color: white !important;
}

#course-info {
    /*background-color: white !important;*/
    background-color: var(--color-light) !important;
}

.course-card-image-holder::before {
    /*background-color: var(--color-primary) !important;*/
    /*background-color: white !important;*/
    background-color: var(--color-light) !important;
}

#course-info {
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    .course-card-info {
        padding: 2rem 1rem;
    }
}

/* ==============================
   7. INSTRUCTORS SECTION
   ============================== */

/* Instructor Styles */
.instructor-image-holder {
    /*border: 2px solid var(--color-dark);*/
    border-radius: 3%;
    overflow: hidden;
    width: 350px;
    height: 320px;
    /*box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;*/
    box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
}

.instructor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instructor-photo:hover {
    transform: scale(1.05);
    transition-duration: 0.5s;
}

.instructor-name {
    font-size: 30px;
    font-weight: 500;
    text-align: start;
}

.instructor-bio {
    font-size: 22px;
    font-kerning: none;
    color: var(--color-text);
    line-height: 1.5;
    text-align: start;
    letter-spacing: 0.6px;
}

#instructors {
    scroll-margin-top: 80px;
}

/* ==============================
   8. MODAL (REGISTRATION)
   ============================== */

/* Modal Styles */
    .modal .required-indicator::before {
      content: "*";
      color: #dc3545;
      margin-right: 4px;
      font-weight: bold;
    }

.modal-content {
    padding: 1% 5%;
    border-radius: 1rem;
    box-shadow: var(--box-shadow-default);
    background-color: var(--color-light);
}

.modal-title {
    font-size: 40px;
}

.modal .form-label {
    font-size: 20px;
}

.modal .form-control, .modal .form-select {
    font-size: 18px;
    padding: 10px;
    border-radius: 0.5rem;
    /*border: 1px solid var(--color-dark);*/
}

/* ==============================
   9. RESPONSIVE DESIGN & MEDIA QUERIES
   ============================== */

/* Responsive Design */
@media (max-width: 400px) {
    .instructor-image-holder {
        max-width: 300px !important;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .course-image {
        max-width: 400px;
    }

    .course-card-1 {
        padding-top: 0;
    }

    .instructor-image-holder {
        width: 350px;
        height: 320px;
        max-width: 350px;
    }

    .instructor-name {
        text-align: center;
    }
}

@media (max-width: 1400px) {
    .course-image {
        max-width: 400px;
        min-width: 200px;
        margin: 0 auto;
    }

    .course-description {
        margin-bottom: 0;
    }

    .course-card-image-holder::before {
        content: '';
        position: absolute;
        width: 58%;
        height: 100%;
        left: 19%;
        top: 0;
        border-radius: 1.5rem;
    }

    .instructor-image-holder {
        width: 350px;
        height: 320px;
        margin: 0 auto;
    }

    .course-card-image-holder-2, .course-card-image-holder-3 {
        margin-top: 2rem;
    }
}

@media (min-width: 1400px) and (max-width: 1800px) {
    .course-card-2 p {
        font-size: 75%;
    }
}

@media (min-width: 991px) and (max-width: 1200px){
    .hero-section {
        height: 60vh;
        min-height: 450px;
    }
}
@media (max-width: 991px) {
    #mainNavbar {
        background-color: var(--color-primary);
    }

    #mainNavbar .navbar-collapse {
        background-color: var(--color-primary);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 0.5rem;
    }

    #mainNavbar .nav-link {
        margin: 0.5rem 0;
    }

    .hero-section {
        height: 50vh;
        min-height: 400px;
    }

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

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

    .btn-hero {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 50px;
    }

    .hero-section {
        /*height: 40vh;*/
        min-height: 300px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        margin-top: 100px;
        text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn-hero {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
}

/* ==============================
   10. UNUSED/LEGACY STYLES (PRESERVED)
   ============================== */

/* Hero Section Styles (Legacy - from home page) */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    /* Layout */
    display: block;
    width: 100%;
    min-height: 50vh;

    /* Visual */
    /*object-fit: contain;*/
    object-position: center;
    border-radius: 0;
    opacity: 0.94 !important;
}

.hero-overlay {
    /* Positioning */
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;

    /* Transform & Layout */
    transform: translate(-50%, -50%) !important;
    text-align: center;
    text-wrap: nowrap;
    overflow-wrap: normal;
}

.hero-gray-layer {
    /* Positioning */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    /* Visual */
    background: rgb(47, 36, 29);
}

/* Hero Logos Styles */
.hero-logos {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    pointer-events: none;
}

.hero-logo {
    /* Positioning */
    position: absolute;
    top: 3rem;

    /* Sizing */
    max-height: 125px;
    width: auto;

    /* Visual */
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.hero-logo-text {
    /* Positioning */
    position: absolute;
    top: 6rem;
    left: 0;
    right: 0;

    /* Layout */
    margin: 0 auto;
    text-align: center;

    /* Typography */
    font-size: 1.5em;
    font-weight: 400;
}

.hero-logo-left {
    left: 12rem;
}

.hero-logo-right {
    right: 8rem;
}

.hero-overlay .hero-title {
    font-size: 8.5rem;
    line-height: 120px;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero-overlay .lead {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Media Queries for Hero Section */
@media (max-width: 1200px) {
    .hero-image {
        max-height: 70vh;
    }

    .hero-logo {
        max-height: 70px;
        top: 1.5rem;
    }

    .hero-logo-left {
        left: 1.5rem;
    }

    .hero-logo-right {
        right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay {
        margin: 0 1rem;
        padding: 1rem;
    }

    .hero-image {
        /*min-height: 40vh;*/
        /*max-height: 60vh;*/
    }

    .hero-logo {
        max-height: 60px;
        top: 1rem;
    }

    .hero-logo-left {
        left: 1rem;
    }

    .hero-logo-right {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-overlay h1 {
        font-size: 1.5rem;
    }

    .hero-overlay {
        padding: 0.8rem;
    }

    .hero-image {
        /*min-height: 35vh;*/
        /*max-height: 50vh;*/
    }

    .hero-logo {
        max-height: 50px;
        top: 0.8rem;
    }

    .hero-logo-left {
        left: 0.8rem;
    }

    .hero-logo-right {
        right: 0.8rem;
    }
}

/* Hero Section Clearfix */
.hero-section::after {
    content: '';
    display: block;
    clear: both;
}