/* Color Variables - Using Exact Specified Colors */
:root {
    --top-pane: rgb(19, 15, 33); /* #130F21 */
    --dark-blue: #0d1b2a;
    --navy-blue: #1b263b;
    --slate-blue: #415a77;
    --light-blue: #778da9;
    --off-white: #e0e1dd;
    --pure-white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: var(--pure-white);
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
}

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

/* Header Styles */
header {
    background: var(--top-pane);
    color: var(--off-white);
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(13, 27, 42, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--slate-blue);
    height: 80px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.logo:hover img {
    transform: scale(1.2);
}

.logo h1 {
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;
    color: var(--off-white);
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
    position: relative;
    height: 100%;
}

/* Mobile menu toggle - hidden on desktop by default */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--off-white);
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu li a {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
    font-size: 1rem;
    display: inline-block;
}

.nav-menu li a:hover {
    color: var(--light-blue);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--light-blue);
    transition: width 0.3s;
    border-radius: 2px;
}

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

/* Language Switcher */
.language-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--off-white);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--slate-blue);
    color: var(--off-white);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(19, 15, 33, 0.5), rgba(13, 27, 42, 0.45)), url('https://mtt-data.tech/IMG-2201-BW.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--off-white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    margin-top: 0;
    scroll-margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(19, 15, 33, 0.8), rgba(65, 90, 119, 0.6));
    z-index: 1;
}

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

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
    color: var(--off-white);
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    color: var(--light-blue);
}

.btn {
    display: inline-block;
    background: var(--slate-blue);
    color: var(--off-white);
    padding: 1.2rem 3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--slate-blue);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(65, 90, 119, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(224, 225, 221, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--navy-blue);
    border-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(65, 90, 119, 0.5);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--slate-blue);
    color: var(--slate-blue);
    box-shadow: none;
}

.secondary-btn:hover {
    background: var(--slate-blue);
    color: var(--off-white);
    box-shadow: 0 8px 25px rgba(65, 90, 119, 0.5);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--pure-white) 100%);
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.6rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--slate-blue);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--navy-blue);
    max-width: 700px;
    margin: 2rem auto 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.service-card {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 27, 42, 0.1);
    transition: all 0.4s ease;
    border-top: 4px solid var(--slate-blue);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--slate-blue), var(--navy-blue));
    transition: height 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(13, 27, 42, 0.15);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--off-white);
}

.service-icon {
    font-size: 3.2rem;
    color: var(--slate-blue);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-icon {
    color: var(--off-white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--dark-blue);
    transition: color 0.4s ease;
    font-weight: 700;
    line-height: 1.3;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: var(--navy-blue);
    transition: color 0.4s ease;
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--off-white) 100%);
    scroll-margin-top: 80px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--pure-white);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(13, 27, 42, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid var(--slate-blue);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(65, 90, 119, 0.05), transparent);
    transition: left 0.5s;
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 27, 42, 0.12);
}

.benefit-number {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--slate-blue), var(--navy-blue));
    color: var(--off-white);
    border-radius: 50%;
    line-height: 45px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(65, 90, 119, 0.3);
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-number {
    transform: scale(1.05);
}

.benefit-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--dark-blue);
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item p {
    color: var(--navy-blue);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* Industries Section */
.industries {
    padding: 5rem 0;
    background: var(--pure-white);
    scroll-margin-top: 80px;
    min-height: 300px;
}

.industries .section-title h2 {
    color: var(--dark-blue);
}

.industries .section-title p {
    color: var(--navy-blue);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--pure-white) 100%);
    scroll-margin-top: 80px;
    min-height: 400px;
}

.contact .section-title h2 {
    color: var(--dark-blue);
}

.contact .section-title p {
    color: var(--navy-blue);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--top-pane) 0%, var(--dark-blue) 100%);
    color: var(--off-white);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--slate-blue);
    scroll-margin-top: 80px;
    position: relative;
    z-index: 1;
}

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

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--slate-blue);
    border-radius: 2px;
}

.footer-column p {
    color: var(--light-blue);
    line-height: 1.7;
    font-size: 1.1rem;
}

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

.footer-column ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-column ul li i {
    margin-right: 12px;
    color: var(--slate-blue);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.footer-column ul li a {
    color: var(--light-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-column ul li a:hover {
    color: var(--off-white);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(119, 141, 169, 0.3);
    color: var(--light-blue);
    font-size: 1rem;
    margin-top: 2rem;
    padding-bottom: 1rem;
}

/* Bottom Logo */
.bottom-logo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.bottom-logo:hover {
    opacity: 1;
}

.bottom-logo img {
    height: 88px;
    width: auto;
    filter: brightness(1.1) contrast(1.1);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Animation for mobile menu */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design - Mobile */
@media (max-width: 1200px) {
    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        min-height: 350px;
    }
}

@media (max-width: 1024px) {
    .hero h2 {
        font-size: 3rem;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        text-align: center;
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .logo {
        justify-content: flex-start;
        gap: 10px;
        min-width: auto;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    nav {
        position: relative;
        flex: 0;
    }
    
    /* Show mobile menu toggle only on mobile */
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    /* Mobile menu toggle icon animation - ONLY on mobile */
    .mobile-menu-toggle.active i {
        transform: rotate(90deg);
    }
    
    .mobile-menu-toggle i {
        transition: transform 0.3s ease;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: 0;
        background: var(--top-pane);
        width: 280px;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: -5px 5px 25px rgba(0,0,0,0.3);
        display: none;
        z-index: 1000;
        border-left: 3px solid var(--slate-blue);
        border-bottom: 3px solid var(--slate-blue);
        border-radius: 0 0 0 15px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideIn 0.3s ease;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(119, 141, 169, 0.2);
        padding-bottom: 0.8rem;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .nav-menu li a {
        display: block;
        padding: 0.8rem 1rem;
        font-size: 1.1rem;
        color: var(--off-white);
        border-radius: 6px;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .nav-menu li a:hover {
        background: rgba(65, 90, 119, 0.3);
        color: var(--light-blue);
        padding-left: 1.5rem;
    }
    
    .language-switcher {
        order: 1;
        margin-right: 10px;
    }
    
    .hero {
        padding: 6rem 0;
        background-attachment: scroll;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
        min-height: auto;
    }
    
    .service-icon {
        height: 70px;
        font-size: 2.8rem;
    }
    
    .service-card h3 {
        min-height: auto;
    }
    
    /* Bottom Logo Mobile Adjustments */
    .bottom-logo {
        bottom: 15px;
        left: 15px;
    }
    
    .bottom-logo img {
        height: 50px;
    }
    
    .contact {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 0.8rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .services, .benefits, .industries, .contact {
        padding: 5rem 0;
    }
    
    .service-card,
    .benefit-item {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
        height: 60px;
    }
    
    .benefit-item h3 {
        font-size: 1rem;
        min-height: auto;
    }
    
    .benefit-item p {
        font-size: 0.85rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-menu {
        width: 250px;
    }
    
    /* Bottom Logo Small Mobile Adjustments */
    .bottom-logo {
        bottom: 10px;
        left: 10px;
    }
    
    .bottom-logo img {
        height: 40px;
    }
}