/* ==========================================
   APEX CONSULTING - PROFESSIONAL SERVICES
   ========================================== */

:root {
    --navy: #0A2540;
    --steel-blue: #4A90E2;
    --gold: #C9A961;
    --light-gray: #F8F9FA;
    --dark-gray: #2C3E50;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--dark-gray);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}

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

/* ==========================================
   LANGUAGE TOGGLE
   ========================================== */

.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 5px;
    background: white;
    padding: 5px;
    border-radius: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--navy);
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--navy);
    color: white;
}

.lang-btn:hover {
    background: var(--steel-blue);
    color: white;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    padding-right: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--navy), var(--steel-blue));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a5a 100%);
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 169, 97, 0.2);
    color: var(--gold);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.9;
}

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

.hero-image {
    animation: fadeInRight 0.8s ease;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #b89750;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-primary-inverse {
    background: white;
    color: var(--navy);
}

.btn-primary-inverse:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    animation: fadeInUp 0.6s ease;
}

.stat-number {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services-overview {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(74, 144, 226, 0.1);
    color: var(--steel-blue);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--steel-blue), var(--navy));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--steel-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--gold);
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */

.why-choose {
    padding: 100px 0;
    background: var(--light-gray);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.advantage-list {
    margin-top: 40px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.advantage-item i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-top: 5px;
}

.advantage-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.advantage-item p {
    color: #666;
}

.why-choose-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy), var(--steel-blue));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* ==========================================
   PAGE HEADER
   ========================================== */

.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--navy), var(--steel-blue));
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==========================================
   SERVICES DETAIL PAGE
   ========================================== */

.services-detail {
    padding: 80px 0;
}

.service-detail-card {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.service-detail-header {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #F0F0F0;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--steel-blue), var(--navy));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}

.service-detail-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.service-price {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.service-detail-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
}

.service-detail-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.service-detail-content ul {
    list-style: none;
    padding-left: 0;
}

.service-detail-content li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: #555;
}

.service-detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ==========================================
   ABOUT PAGE
   ========================================== */

.about-story {
    padding: 80px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 25px;
    color: #555;
}

.team-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 1.5rem;
    margin: 25px 20px 10px;
}

.team-role {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-card p {
    padding: 0 25px 30px;
    color: #666;
    line-height: 1.7;
}

.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
    color: var(--steel-blue);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.7;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.contact-page-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-item i {
    color: var(--steel-blue);
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-item p {
    color: #666;
    line-height: 1.7;
}

.contact-form-area h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--steel-blue);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.full-width {
    width: 100%;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--navy);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--gold);
}

.contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--gold);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 968px) {
    .hero-container,
    .why-choose-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .nav-container {
        padding-right: 100px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 0 50px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .section-header h2,
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding-right: 90px;
    }

    .language-toggle {
        top: 10px;
        right: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card,
    .value-card {
        padding: 30px 20px;
    }
}