/* ==========================================
   LogiX Group - Custom Styles
   ========================================== */

:root {
    /* Brand Colors */
    --primary-color: #1a4d7a;
    --secondary-color: #2c6ba6;
    --accent-color: #4a90d9;
    --dark-blue: #0d2438;
    --light-blue: #e8f2f9;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    
    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* ==========================================
   Global Styles
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-gray);
}

/* ==========================================
   Navigation
   ========================================== */

.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--dark-blue);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-brand .logo-img {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    background-image: url('https://images.unsplash.com/photo-1488229297570-58520851e868?w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 36, 56, 0.9) 0%, rgba(26, 77, 122, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 217, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================
   Overview Section
   ========================================== */

.overview-section {
    background: var(--white);
    padding: 100px 0;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-blue);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(26, 77, 122, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* ==========================================
   About Section
   ========================================== */

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

.mvv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.mvv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.mvv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    text-align: center;
}

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

.values-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

.values-list li i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* ==========================================
   Divisions Section
   ========================================== */

.divisions-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    padding: 100px 0;
}

.division-card {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.division-content {
    padding: 1rem;
}

.division-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.division-content h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.division-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.division-features li {
    padding: 0.7rem 0;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.division-features li i {
    color: var(--accent-color);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

/* ==========================================
   Presence Section
   ========================================== */

.presence-section {
    background: var(--white);
    padding: 100px 0;
}

.world-map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    transform: translate(-50%, -50%);
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 3px solid var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
    cursor: pointer;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(74, 144, 217, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(74, 144, 217, 0);
    }
}

.marker-label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marker:hover .marker-label {
    opacity: 1;
}

/* ==========================================
   Talent Section
   ========================================== */

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

.job-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.job-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.job-card h4 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 0.8rem;
}

.job-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ==========================================
   Sustainability Section
   ========================================== */

.sustainability-section {
    background: var(--white);
    padding: 100px 0;
}

.sustainability-icons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.sust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sust-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.sust-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ==========================================
   Contact Section
   ========================================== */

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

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info-card h4 {
    color: var(--dark-blue);
    margin-bottom: 0.8rem;
}

.contact-info-card a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-control {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 217, 0.15);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

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

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================
   Chatbot
   ========================================== */

#chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

#chatbot-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(26, 77, 122, 0.4);
    transition: all 0.3s ease;
}

#chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(26, 77, 122, 0.6);
}

#chatbot-button i {
    font-size: 1.8rem;
    color: var(--white);
}

#chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
}

#chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 1.2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h5 {
    margin: 0;
    font-weight: 600;
}

#chatbot-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #f9f9f9;
}

.bot-message, .user-message {
    margin-bottom: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    max-width: 80%;
    animation: fadeIn 0.3s ease;
}

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

.bot-message {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    margin-right: auto;
}

.user-message {
    background: var(--accent-color);
    color: var(--white);
    margin-left: auto;
}

.quick-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-btn {
    background: var(--white);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: left;
}

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

.chatbot-footer {
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.5rem;
}

#chatbot-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    transition: all 0.3s ease;
}

#chatbot-input:focus {
    border-color: var(--accent-color);
}

#chatbot-send {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbot-send:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .sustainability-icons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    #chatbot-window {
        width: 90vw;
        right: 5vw;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .division-card {
        padding: 2rem 1.5rem;
    }
    
    #chatbot-button {
        width: 50px;
        height: 50px;
    }
    
    #chatbot-button i {
        font-size: 1.5rem;
    }
}

/* ==========================================
   Scrollbar Customization
   ========================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}