@import url('https://googleapis.com');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

@keyframes fadeInRight {
    0% { transform: translateX(150px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideAndFadeOut {
    0% { transform: translateX(-150px); opacity: 0; }
    33% { transform: translateX(0); opacity: 1; }
    77% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(0); opacity: 0; }
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6%;
    background-color: rgba(5, 5, 5, 0.95);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.main-header.nav-hidden { transform: translateY(-100%); }
.main-header.nav-visible { transform: translateY(0); background-color: #050505; }

.logo-box { display: block; max-height: 70px; }
.site-logo { height: 70px; width: auto; display: block; }

.navbar ul { display: flex; list-style: none; }
.navbar ul li { margin-right: 40px; margin-left: 0; }
.navbar ul li a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.navbar ul li a:hover,
.navbar ul li a.active { color: #ffd700; }

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffd700;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after { transform: scaleX(1); }

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    background-color: #050505;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yellow-bar { width: 480px; height: 6px; background-color: #ffd700; margin-bottom: 30px; }
.hero-content h1 { font-size: 65px; font-weight: 900; color: #ffffff; letter-spacing: 2px; line-height: 1.05; margin-bottom: 20px; white-space: nowrap; }
.hero-content p { font-size: 38px; font-weight: 700; color: #444444; line-height: 1.4; margin-bottom: 35px; }
.hero-description-text { font-size: 15px; font-weight: 400; color: #b0b0b0; line-height: 1.8; text-align: justify; text-justify: inter-word; max-width: 500px; margin-bottom: 40px; }

.circles-container { display: flex; justify-content: center; align-items: center; gap: 25px; width: 100%; max-width: 500px; }
.number-circle {
    width: 32px; height: 32px; min-width: 32px; min-height: 32px; background-color: #ffffff; color: #050505; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 14px; font-weight: 700; opacity: 0.8; cursor: pointer; user-select: none;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, background-color 0.3s ease;
}
.number-circle:hover { opacity: 1; background-color: #ffffff; transform: scale(1.25); }

.hero-images-container { position: relative; width: 45%; height: 80vh; display: flex; justify-content: center; align-items: center; z-index: 3; }
.hero-bg-fade { position: absolute; width: 104%; height: 104%; background-position: center center; background-repeat: no-repeat; background-size: contain; opacity: 0; z-index: 1; }
.hero-bg-fade.animate { animation: fadeInRight 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.hero-side-img-box { position: absolute; width: 104%; height: 104%; display: flex; justify-content: center; align-items: center; opacity: 0; z-index: 2; }
.hero-side-img-box.animate { animation: slideAndFadeOut 4.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards; }
.hero-slide-img { width: 100%; height: 100%; object-fit: contain; }
.hero-overlay-blueprint { position: absolute; top: 0; left: 0; width: 55%; height: 100%; background: url('../images/blueprint-lines.png') no-repeat center left/contain; opacity: 0.18; pointer-events: none; z-index: 2; }
.section-padding {
    padding: 140px 8%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 4;
}
.section-padding:nth-child(even) { background-color: #0c0c0c; }

.section-title { font-size: 34px; font-weight: 900; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 60px; color: #ffffff; position: relative; display: inline-block; width: max-content; }
.section-title::after { content: ''; position: absolute; bottom: -15px; left: 0; width: 100%; height: 4px; background-color: #ffd700; }

.about-container { display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.about-text { flex: 1.2; }
.about-text p { color: #888888; line-height: 1.9; font-size: 16px; text-align: justify; text-justify: inter-word; }

.experience-counter { text-align: center; flex: 0.8; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.counter-number { font-size: 160px; font-weight: 900; color: #ffd700; display: block; line-height: 0.9; }
.counter-years-container { display: block; width: 100%; text-align: center; }
.counter-years-label { font-size: 36px; font-weight: 900; text-transform: uppercase; color: #888888; margin-top: 15px; display: block; letter-spacing: 2px; }
.counter-sub-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: #ffffff; margin-top: 5px; }

.projects-grid, .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; min-height: 330px; transition: opacity 0.3s ease; }
.project-item, .gallery-item { background-color: #0e0e0e; border: 1px solid rgba(255, 255, 255, 0.04); padding: 25px; transition: all 0.3s ease; }
.project-item:hover, .gallery-item:hover { transform: translateY(-8px); border-color: #ffd700; }
.project-img-box, .video-container { position: relative; width: 100%; height: 220px; margin-bottom: 20px; background-color: #0e0e0e; border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.project-item h3, .gallery-item h4 { font-size: 19px; font-weight: 700; color: #ffffff; letter-spacing: 1px; }

.contact-container { width: 100%; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.contact-form { width: 100%; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.form-row { display: flex; gap: 24px; width: 100%; }
.form-group { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { width: 100%; }
.form-label { font-size: 13px; font-weight: 700; color: #ffffff; letter-spacing: 0.5px; text-align: left; }
.form-row input { width: 100%; height: 54px; background-color: #0e0e0e; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; color: #ffffff; font-size: 14px; padding: 0 18px; outline: none; transition: border-color 0.3s ease; }
.form-row textarea { width: 100%; height: 54px; min-height: 54px; max-height: 54px; background-color: #0e0e0e; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; color: #ffffff; font-size: 14px; padding: 16px 18px; outline: none; resize: none !important; transition: border-color 0.3s ease; }
.form-row input:focus, .form-row textarea:focus { border-color: #ffd700; }

.submit-btn { background-color: #ffd700 !important; color: #050505 !important; border: none !important; border-radius: 4px !important; padding: 16px 45px !important; font-size: 14px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 2px !important; cursor: pointer; margin-top: 10px; transition: background-color 0.3s ease, transform 0.2s ease; }
.submit-btn:hover { background-color: #e6c200 !important; transform: translateY(-2px); }

.group-section { padding: 90px 8% 60px 8% !important; background-color: #050505; background-image: radial-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px); background-size: 20px 20px; background-position: center center; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.03); }
.group-header { margin-bottom: 60px; }

.group-main-title { font-size: 68px; font-weight: 900; text-transform: uppercase; letter-spacing: 3px; color: #ffffff; position: relative; display: inline-block; margin-bottom: 15px; }
.group-subtitle { font-size: 14px; font-weight: 400; color: #888888; letter-spacing: 1px; margin-top: 15px; }

.companies-container-grid, .companies-horizontal-row { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: flex-start !important; gap: 25px !important; width: 100% !important; margin-bottom: 25px !important; overflow: visible !important; }
.company-logo-card, .company-logo-item { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 15px !important; flex: 1 !important; min-width: 120px !important; overflow: visible !important; background-color: transparent !important; border: none !important; padding: 0 !important; border-radius: 0 !important; }
.logo-wrapper { width: 100% !important; height: 100px !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: visible !important; }
.logo-wrapper img { max-width: 100% !important; max-height: 100% !important; object-fit: contain; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; }
.company-logo-card:hover .logo-wrapper img, .company-logo-item:hover .logo-wrapper img { transform: scale(1.2) !important; }
.company-logo-card span, .company-name-label { font-size: 12px !important; font-weight: 700; color: #ffffff; letter-spacing: 1px; text-transform: uppercase; text-align: center; display: block; margin-top: 5px; transition: color 0.3s ease; }
.company-logo-card:hover span, .company-logo-item:hover .company-name-label { color: #ffd700 !important; }

.get-in-touch-box { margin-top: 50px; padding-top: 0; margin-bottom: 0 !important; border-top: none; }
.touch-title { font-size: 11px !important; font-weight: 400 !important; color: #888888; letter-spacing: 1px; text-transform: uppercase; }

.main-footer-section { 
    width: 100%; 
    text-align: center; 
    padding: 25px 0 !important; 
    margin: 0 !important; 
    background-color: transparent; 
    border-top: none !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.footer-credits { 
    color: #444444; 
    font-size: 11px; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
    margin: 0 auto !important; 
    text-align: center !important; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    transition: color 0.3s ease; 
    display: inline-block !important; 
    width: 100%;
}
.footer-credits:hover { color: #ffd700; }

.video-container:hover { border-color: #ffd700 !important; transform: translateY(-4px); }
.video-container .play-btn { width: 55px; height: 55px; background-color: #ffd700; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #050505; font-size: 22px; padding-left: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.6); transition: transform 0.3s ease; }
.video-container:hover .play-btn { transform: scale(1.15); background-color: #e6c200 !important; }
