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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1e3a5f;
}

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

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

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

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(30, 58, 95, 0.1);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a5f;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1e3a5f;
    color: white;
}

.btn-primary:hover {
    background-color: #2d4f7a;
}

.btn-secondary {
    background-color: transparent;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
}

.btn-secondary:hover {
    background-color: #1e3a5f;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafa 0%, #e8f4f1 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(156, 175, 136, 0.05) 25%, transparent 25%), 
        linear-gradient(-45deg, rgba(156, 175, 136, 0.05) 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, rgba(156, 175, 136, 0.05) 75%), 
        linear-gradient(-45deg, transparent 75%, rgba(156, 175, 136, 0.05) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img,
.feature-img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
    object-fit: cover;
}

.hero-img {
    max-height: 400px;
}

.feature-img {
    max-height: 350px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #1e3a5f;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-header.centered {
    text-align: center;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* About Overview */
.about-overview {
    background-color: #f8fafa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stats-grid.centered {
    justify-items: center;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff7f66;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* Services Overview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.services-grid.centered {
    justify-items: center;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
    text-align: center;
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Feature Sections */
.executive-search,
.hr-consulting {
    background-color: #f8fafa;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-content.centered {
    justify-items: center;
}

.feature-content.reverse {
    direction: rtl;
}

.feature-content.reverse > * {
    direction: ltr;
}

.feature-text h2 {
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #666;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9caf88;
    font-weight: bold;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Employer Branding */
.employer-branding {
    background-color: #f8fafa;
}

.branding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.branding-grid.centered {
    justify-items: center;
}

.branding-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
}

.branding-card h3 {
    color: #ff7f66;
    margin-bottom: 1rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.products-grid.centered {
    justify-items: center;
}

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
    border-left: 4px solid #9caf88;
    text-align: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff7f66;
    margin: 1rem 0;
}

.product-features {
    margin: 2rem 0;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.product-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #9caf88;
    font-weight: bold;
}

/* Contacts Section */
.contacts {
    background-color: #f8fafa;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
    text-align: center;
}

.contact-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-card a {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: #ff7f66;
}

/* Footer */
.footer {
    background-color: #1e3a5f;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    flex: 1;
    max-width: 400px;
}

.footer-brand .logo-container .brand-name {
    color: white;
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.footer-column h4 {
    color: #9caf88;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #ff7f66;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1e3a5f;
    color: white;
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text h4 {
    color: #9caf88;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: #9caf88;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #8a9d76;
}

.cookie-btn-reject {
    background-color: #ff7f66;
    color: white;
}

.cookie-btn-reject:hover {
    background-color: #e66b52;
}

.cookie-btn-customize {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-customize:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: #9caf88;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background-color: white;
    margin: 2rem;
    padding: 0;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #1e3a5f;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: #1e3a5f;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h4 {
    margin: 0;
    color: #1e3a5f;
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #9caf88;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: #9caf88;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .feature-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .stats-grid,
    .services-grid,
    .products-grid,
    .contacts-grid,
    .branding-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-actions {
        justify-content: center;
    }
    
    .cookie-modal-content {
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-btn {
        width: 100%;
    }
}