/* ==========================================
   CSS Variables - WhiteTrail Tech
   ========================================== */
:root {
    /* Colors */
    --color-primary: #2C3878;
    --color-secondary: #9C9C9C;
    --color-light-grey: #D9D9D9;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-text: #333333;
    --color-text-light: #666666;
    
    /* Typography */
    --font-family: "Poppins", sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border */
    --border-width: 1px;
    --border-width-thick: 2px;
    --border-color: #E0E0E0;
}

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

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

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

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

/* ==========================================
   Header & Navigation
   ========================================== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    border-bottom: var(--border-width) solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar {
    padding: 1rem 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.logo-text:hover {
    color: var(--color-primary);
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

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

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

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--color-primary);
}

.btn-accent {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    border: none;
    padding: 0.5rem 1.5rem !important;
    border-radius: 0;
}

.btn-accent:hover {
    background-color: #1f2656 !important;
}

/* Mobile menu */
.navbar-toggler {
    border: var(--border-width) solid var(--color-primary);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==========================================
   Buttons
   ========================================== */
.btn-custom {
    padding: 0.75rem 2rem;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.95rem;
    border: var(--border-width-thick) solid transparent;
    transition: all 0.3s ease;
}

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

.btn-primary.btn-custom:hover {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.btn-light.btn-custom:hover {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

/* ==========================================
   Section Utilities
   ========================================== */
section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
}

.section-header {
    margin-bottom: 1rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: var(--border-width-thick) solid var(--color-primary);
}

.section-label.text-white {
    color: var(--color-white);
    border-bottom-color: var(--color-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--border-width);
    background: linear-gradient(to right, var(--color-primary) 0%, var(--color-primary) 30%, var(--border-color) 30%, var(--border-color) 100%);
}

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

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

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

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 5rem;
    background-color: var(--color-white);
}

.hero-headline {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.hero-subheadline {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero-body {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    border: var(--border-width) solid var(--border-color);
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    border: var(--border-width-thick) solid var(--color-primary);
    z-index: 1;
}

/* ==========================================
   About Section
   ========================================== */
.stats-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.stats-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    border-left: var(--border-width-thick) solid var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.stats-list li strong {
    color: var(--color-primary);
    font-weight: 600;
}

.highlight-quote {
    background-color: #f8f9fa;
    border-left: 3px solid var(--color-primary);
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-quote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--color-text);
}

.highlight-quote-white {
    border-left: 3px solid var(--color-white);
    padding: 1.5rem 0;
    padding-left: 1.5rem;
}

.highlight-quote-white p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--color-white);
}

.about-image {
    position: relative;
    border: var(--border-width) solid var(--border-color);
}

/* ==========================================
   Capabilities Section
   ========================================== */
.intro-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.stats-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 2rem;
    background-color: var(--color-white);
    border: var(--border-width) solid var(--border-color);
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.capability-card {
    background-color: var(--color-white);
    border: var(--border-width) solid var(--border-color);
    padding: 2rem;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.capability-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 20px rgba(44, 56, 120, 0.1);
}

.capability-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.capability-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.capability-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: var(--border-width) solid var(--color-primary);
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.arrow-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================
   Approach Section
   ========================================== */
.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: var(--border-width) solid var(--border-color);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    min-width: 50px;
}

.step-item p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--color-text);
}

/* ==========================================
   Focus Section
   ========================================== */
.focus-list {
    list-style: none;
    padding-left: 0;
}

.focus-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.focus-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-white);
    border-radius: 50%;
}

.focus-image {
    position: relative;
    border: var(--border-width) solid var(--color-white);
}

/* ==========================================
   Cases Section
   ========================================== */
.case-item {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: var(--border-width) solid var(--border-color);
}

.case-item:last-child {
    border-bottom: none;
}

.case-content {
    padding: 2rem;
}

.case-content h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.case-content p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

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

.case-image {
    position: relative;
    border: var(--border-width) solid var(--border-color);
    overflow: hidden;
}

/* ==========================================
   Feedback Section
   ========================================== */
.review-card {
    background-color: var(--color-white);
    border: var(--border-width) solid var(--border-color);
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary);
}

.review-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.review-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.satisfaction-stat {
    text-align: center;
    padding: 2rem;
    border-top: var(--border-width) solid var(--border-color);
}

.satisfaction-stat h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* ==========================================
   Insights Section
   ========================================== */
.insight-card {
    background-color: var(--color-white);
    border: var(--border-width) solid var(--border-color);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.insight-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 20px rgba(44, 56, 120, 0.1);
}

.insight-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.insight-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.insight-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-top: 3px solid #1f2656;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact .material-icons-outlined {
    font-size: 1.2rem;
    margin-top: 2px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: var(--border-width) solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ==========================================
   Cookie Popup
   ========================================== */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    border: var(--border-width-thick) solid var(--color-primary);
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cookie-link {
    font-size: 0.85rem;
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-link:hover {
    color: #1f2656;
}

/* ==========================================
   Internal Pages - Page Header
   ========================================== */
.page-header {
    padding-top: 10rem;
    padding-bottom: 3rem;
    background-color: var(--color-white);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   Contact Form
   ========================================== */
.contact-form {
    background-color: var(--color-white);
    border: var(--border-width) solid var(--border-color);
    padding: 3rem;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border-radius: 0;
    border: var(--border-width) solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: none;
    outline: none;
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-info-box {
    background-color: var(--color-light-grey);
    padding: 3rem;
    height: 100%;
}

.contact-info-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: var(--border-width) solid rgba(0, 0, 0, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.contact-info-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ==========================================
   Map Section
   ========================================== */
.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border: var(--border-width) solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
   Policy Pages
   ========================================== */
.policy-section {
    padding: 3rem 0;
    border-bottom: var(--border-width) solid var(--border-color);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1rem;
}

/* ==========================================
   Thank You Page
   ========================================== */
.thankyou-card {
    background-color: var(--color-white);
    border: var(--border-width-thick) solid var(--color-primary);
    padding: 4rem;
    text-align: center;
    max-width: 600px;
    margin: 5rem auto;
}

.thankyou-card .material-icons-outlined {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.thankyou-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.thankyou-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

/* ==========================================
   Value Items (About Us page)
   ========================================== */
.value-item {
    padding: 2rem 0;
    border-bottom: var(--border-width) solid var(--border-color);
}

.value-item:last-child {
    border-bottom: none;
}

.value-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.value-item p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ==========================================
   Consulting Images
   ========================================== */
.consulting-image {
    position: relative;
    border: var(--border-width) solid var(--border-color);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.consulting-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 991px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .stats-row {
        flex-direction: column;
    }
    
    .contact-form,
    .contact-info-box {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding-top: 8rem;
    }
    
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .case-item {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .thankyou-card {
        padding: 2rem;
        margin: 3rem auto;
    }
}

