/* ==========================================================================
   The Career Doctors - Custom Styles
   ========================================================================== */

/* Import Google Font - Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Colors */
    --bg-blue-primary: #0832FF;
    --bg-blue-secondary: #284DFF;
    --bg-grey: #EFEFEF;
    --bg-white: #FFFFFF;
    
    --text-main: #1E1E1E;
    --text-blue: #0832FF;
    --text-white: #FFFFFF;
    --text-accented: #81F1D8;
    
    --link-blue: #0832FF;
    --link-accented: #81F1D8;
    
    /* Typography */
    --font-family: 'Plus Jakarta Sans', sans-serif;
    
    /* Header */
    --header-height: 125px;
}

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

body {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-blue-primary);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.site-header.transparent {
    background-color: transparent;
    position: absolute;
}

.site-header .logo {
    height: 60px;
    width: auto;
}

.site-header .logo img {
    height: 100%;
    width: auto;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
    background-color: var(--bg-white);
}

.site-footer .footer-logo {
}

.site-footer .footer-logo img {
    max-height: 120px;
    width: auto;
    margin: 25px;
}

.site-footer .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

.site-footer .footer-menu li {
    border-bottom: 1px solid var(--bg-blue-primary);
    padding: 0.75rem 0;
}

.site-footer .footer-menu li.last {
    border-bottom: none;
}

.site-footer .footer-menu a {
    color: var(--text-blue);
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-footer .footer-menu a:hover {
    color: var(--bg-blue-secondary);
}

.site-footer .copyright {
    color: var(--text-blue);
    font-size: 15px;
    text-align: right;
    height: 100%;
}

/* Mobile footer adjustments */
@media (max-width: 767px) {
    .site-footer .footer-logo {
        order: 3;
    }
    
    .site-footer .footer-menu {
        text-align: left;
    }
    
    .site-footer .copyright {
        order: 2;
    }
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section {
    position: relative;
    padding-bottom: 75px;
}

.section-heading {
    font-size: 50px;
    font-weight: 500;
    line-height: 50px;
    margin-top: -50px;
    margin-bottom: 2rem;
    padding-left: 25px;
    position: relative;
    z-index: 10;
}

@media (max-width: 767px) {
    .section {
        padding-bottom: 50px;
    }
    .section-heading {
        font-size: 32px;
        line-height: 32px;
        margin-top: -30px;
    }
}

/* Background colors */
.bg-blue-primary {
    background-color: var(--bg-blue-primary);
    color: var(--text-white);
}

.bg-blue-secondary {
    background-color: var(--bg-blue-secondary);
    color: var(--text-white);
}

.bg-grey {
    background-color: var(--bg-grey);
    color: var(--text-main);
}

.bg-white {
    background-color: var(--bg-white);
    color: var(--text-main);
}

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

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

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

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

/* Links on blue backgrounds */
.bg-blue-primary a:not(.btn),
.bg-blue-secondary a:not(.btn) {
    color: var(--link-accented);
}

.bg-blue-primary a:not(.btn):hover,
.bg-blue-secondary a:not(.btn):hover {
    opacity: 0.8;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--bg-blue-primary);
    color: var(--text-white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--bg-blue-secondary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(8, 50, 255, 0.3);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    max-height: 700px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    width: 100%;
}

.hero-content h1 {
    font-size: 70px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slogan {
    background-color: var(--bg-blue-secondary);
    color: var(--text-white);
    padding: 1rem 0;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: 3rem;
    float: left;
    border-radius: 0 4px 4px 0;
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-slogan {
        width: 90%;
        padding-right: 0;
    }
}

/* ==========================================================================
   Company Logos Section
   ========================================================================== */
.company-logo {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.company-logo:hover {
    opacity: 1;
}

/* ==========================================================================
   Case Studies Grid
   ========================================================================== */
.case-study-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-study-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.case-study-card-content {
    padding: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cs-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.cs-position {
    color: var(--text-main);
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 3rem;
}

.cs-description {
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.cs-link {
    color: var(--link-blue);
    font-size: 16px;
    text-decoration: underline;
    margin-top: auto;
}

/* ==========================================================================
   Team Grid
   ========================================================================== */
.team-member-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team-member-card-content {
    padding: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-member-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.team-member-card .position {
    color: var(--text-white);
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 3rem;
}

.team-member-card .description {
    color: var(--text-white);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.team-member-card a {
    color: var(--link-accented);
    font-weight: 400;
    font-size: 16px;
    text-decoration: underline;
    margin-top: auto;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 3rem 0;
}

/* ==========================================================================
   Content Section (for single pages)
   ========================================================================== */
.content-section {
    padding: 4rem 0;
}

.content-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.content-section .content-body {
    font-size: 1.125rem;
    line-height: 1.8;
}

.content-section .content-body h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section .content-body h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-section .content-body p {
    margin-bottom: 1rem;
}

.content-section .content-body ul,
.content-section .content-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .content-section h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Video Slider
   ========================================================================== */
.video-slider-wrapper {
    margin-right: calc(-50vw + 50%);
    padding-right: 0;
}

.video-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.video-slider::-webkit-scrollbar {
    height: 6px;
}

.video-slider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.video-slider::-webkit-scrollbar-thumb {
    background: var(--text-accented);
    border-radius: 3px;
}

.video-slide {
    flex: 0 0 75%;
    min-width: 75%;
    position: relative;
    height: 280px;
}

@media (min-width: 768px) {
    .video-slide {
        flex: 0 0 50%;
        min-width: 50%;
        height: 320px;
    }
}

@media (min-width: 992px) {
    .video-slide {
        flex: 0 0 66.66%;
        min-width: 66.66%;
        height: 500px;
    }
}

.video-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-slide a {
    display: block;
    position: relative;
    height: 100%;
}

.video-slide .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: var(--bg-blue-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-slide .play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--text-white);
    margin-left: 5px;
}

.video-slide a:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--bg-blue-secondary);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
/* Bootstrap handles most utilities, keep only custom ones here */

/* ==========================================================================
   Mobile Responsive Overrides
   ========================================================================== */
@media (max-width: 767px) {
    .cs-position,
    .cs-description {
        margin-bottom: 1rem;
    }

    .team-member-card .position,
    .team-member-card .description {
        margin-bottom: 1rem;
    }
}
