/* XpertTalent - Critical Stylesheet */


/* Variables */
:root {
    --primary: #333F48;
    --primary-dark: #252D33;
    --secondary: #2c2c2c;
    --accent: #097969;
    --accent-light: #0A9A85;
    --light: #f8f9fa;
    --dark: #212529;
    --gray-light: #e9ecef;
    --gray: #6c757d;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons - only basic styles needed for hero section */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary, .btn-secondary, .btn-accent {
    color: black;
    border: 2px solid;
}

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

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Header Styles - critical for first view */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--secondary);
    font-weight: 500;
    position: relative;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section - visible in first view */
.hero {
    position: relative;
    background: linear-gradient(rgba(223, 228, 233, 0.5), rgba(223, 228, 233, 0.5)), url('../images/hero-background.jpg') center/cover no-repeat;

    height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #097969;
    
}

.hero p {
    font-size: 1.7rem;
    margin-bottom: 30px;
    color: black;
}

/* Critical Responsive Styles - for mobile header */
@media (max-width: 1045px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul {
        margin: 15px 0;
        justify-content: center;
    }
    
    .header-buttons {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 0;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }
    
    nav ul {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Additional Button Hover Styles */
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: black;
}

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

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

/* Additional Header & Nav Enhancements */
nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

a:hover {
    color: var(--accent);
}