/* ==========================================================================
   Base & Variables
   ========================================================================== */
/* Google Translate overrides */
body {
    top: 0 !important;
}
.skiptranslate {
    display: none !important;
}
   :root {
    --primary-color: #0d1b2a; /* Deep Navy Blue */
    --secondary-color: #1b263b; /* Lighter Navy */
    --accent-color: #fca311; /* Electrical Gold/Yellow */
    --accent-hover: #e59800;
    --text-light: #e0e1dd;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #000000;
    --glass-bg: rgba(13, 27, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title .underline {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-title.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title.center p {
    margin-top: 15px;
    color: #666;
    font-size: 1.1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    white-space: normal;
    word-break: break-word;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 163, 17, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 15px 0;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

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

.logo img {
    height: 60px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 60px;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 100px 0;
    position: relative;
    background-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.94) 0%, rgba(27, 38, 59, 0.94) 100%), url('hero_bg.jpg') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle grid pattern to look technical/professional */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(252, 163, 17, 0.15) 0%, transparent 50%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-content .subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    word-break: break-word;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

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

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-image {
    flex: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.abstract-visual {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10rem;
    color: rgba(252, 163, 17, 0.2);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    z-index: -1;
    border-radius: 20px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--accent-color);
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(252, 163, 17, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    color: var(--accent-color);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at right bottom, rgba(252, 163, 17, 0.15) 0%, transparent 60%);
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-info .section-title h2 {
    color: #fff;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-list i {
    font-size: 2rem;
    color: var(--accent-color);
}

.contact-list span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-list strong,
.contact-list a {
    font-size: 1.2rem;
    color: #fff;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #050a0f;
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.lang-flag {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    object-fit: cover;
}

.lang-flag:hover {
    transform: scale(1.1);
}

.lang-flag.active {
    box-shadow: 0 0 0 2px var(--accent-color);
}

.lang-switcher-desktop {
    display: flex;
    gap: 10px;
    margin-left: 30px;
    align-items: center;
}

.lang-switcher-mobile-container {
    position: relative;
    display: none; /* Hide on desktop by default */
}

.lang-switcher-mobile-menu {
    display: none; /* Hide on desktop */
}

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

.lang-options-mobile {
    position: absolute;
    right: 70px;
    bottom: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.lang-options-mobile.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.action-btn.wts {
    background-color: #25D366;
}

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

.action-btn:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Animations & Visibility
   ========================================================================== */
.hidden-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hidden-fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for grid items */
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.6s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.7s; }
.services-grid .service-card:nth-child(9) { transition-delay: 0.8s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .lang-switcher-desktop {
        display: none;
    }
    
    .lang-switcher-mobile-container {
        display: block;
    }

    .lang-switcher-mobile-menu {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 100vw;
        flex-direction: column;
        justify-content: center;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 0;
        margin: 0;
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu .nav-link {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 30px;
    }
}
