/* BASE RESETS & VARIABLES */
:root {
    --color-orange: #FF5500;
    --color-orange-hover: #E64A00;
    --color-chrome-light: #F4F6F8;
    --color-chrome-mid: #E8ECEF;
    --color-chrome-dark: #A3A8B0;
    --color-gunmetal: #2C313A;
    --color-white: #FFFFFF;
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-gunmetal);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-gunmetal);
    border-left: 5px solid var(--color-orange);
    padding-left: 15px;
}

.text-center h2 {
    border-left: none;
    border-bottom: 3px solid var(--color-orange);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

/* NAVIGATION */
.navbar {
    background-color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4%;
    max-width: 1400px;
    margin: auto;
}

.brand-logo img {
    height: 75px; 
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 18px; 
}

.nav-links a {
    text-decoration: none;
    color: var(--color-gunmetal);
    font-weight: 600;
    font-size: 0.8rem; 
    text-transform: uppercase;
    white-space: nowrap; 
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-orange);
}

/* BURGER MENU */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger-menu span {
    height: 3px;
    width: 25px;
    background-color: var(--color-gunmetal);
    transition: 0.3s;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('./landing.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 20px;
    margin-top: 60px; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5; 
    max-width: 900px; 
    margin: 0 auto;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.hero-content h1 {
    font-size: 2.8rem; 
    margin-bottom: 20px;
    color: var(--color-gunmetal);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: var(--color-gunmetal);
    font-weight: 400;
}

.cta-button {
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 15px 35px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
}

/* METALLIC SECTION TRANSITIONS */
.chrome-transition {
    height: 8px;
    background: linear-gradient(90deg, var(--color-chrome-dark) 0%, var(--color-chrome-mid) 50%, var(--color-chrome-dark) 100%);
    width: 100%;
}

.chrome-transition-alt {
    height: 20px;
    background: repeating-linear-gradient(
      45deg,
      var(--color-chrome-mid),
      var(--color-chrome-mid) 10px,
      var(--color-chrome-light) 10px,
      var(--color-chrome-light) 20px
    );
    border-top: 2px solid var(--color-chrome-dark);
    border-bottom: 2px solid var(--color-chrome-dark);
}

/* LAYOUT & SECTIONS */
.content-section {
    padding: 80px 5%;
}

.section-container {
    max-width: 1200px;
    margin: auto;
}

.section-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 900px;
}

.light-bg {
    background-color: var(--color-white);
}

.metallic-bg {
    background-color: var(--color-chrome-light);
    border-top: 1px solid var(--color-chrome-mid);
    border-bottom: 1px solid var(--color-chrome-mid);
}

/* CORPORATE PROFILE SPECIFICS */
.profile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.profile-text {
    flex: 2 1 500px;
}

.profile-text p {
    margin-bottom: 15px;
}

.credentials-box {
    flex: 1 1 300px;
    background-color: var(--color-chrome-light);
    border: 1px solid var(--color-chrome-mid);
    padding: 25px;
    border-radius: 4px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.credentials-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-orange);
    border-bottom: 1px solid var(--color-chrome-dark);
    padding-bottom: 10px;
    width: 100%;
}

.credentials-box ul {
    padding: 0;
}

.credentials-box li {
    margin-bottom: 12px;
    list-style-type: none;
    font-size: 0.95rem;
}

.team-heading {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--color-gunmetal);
}

/* FLEXBOX COMPONENTS (CARDS) */
.leadership-cards, .flex-row, .facts-grid, .contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 15px;
}

.card, .list-box {
    flex: 1 1 300px;
    background: var(--color-white);
    padding: 30px;
    border-top: 4px solid var(--color-chrome-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover, .list-box:hover {
    transform: translateY(-5px);
    border-top-color: var(--color-orange);
}

.app-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.subtitle {
    color: var(--color-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

/* ANIMATED CONTACT BUTTONS */
.contact-actions {
    margin-top: auto; 
    padding-top: 25px;
    display: flex;
    gap: 15px;
}

.btn-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 18px;
    border-radius: 4px;
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-action.call {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
}

.btn-action.call:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 85, 0, 0.4);
}

.btn-action.whatsapp {
    background: linear-gradient(135deg, #25D366, #1EBE5D);
}

.btn-action.whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* CHROME FACTS */
.facts-grid {
    margin-bottom: 30px;
}

.facts-grid .fact-item {
    flex: 1 1 250px;
    text-align: center;
    padding: 20px;
    background: var(--color-white);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.fact-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-orange);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* NEW CORE SERVICES BENTO GRID */
.service-bento-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 60px;
}

.service-card {
    flex: 1 1 450px;
    background: var(--color-white);
    border: 1px solid var(--color-chrome-mid);
    padding: 35px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-orange);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--color-chrome-dark);
    transition: background-color 0.3s ease;
}

.service-card:hover::before {
    background-color: var(--color-orange);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-chrome-mid);
    padding-bottom: 15px;
}

.card-icon {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-chrome-dark);
    background: var(--color-chrome-light);
    padding: 10px 15px;
    border-radius: 4px;
    transition: color 0.3s ease, background 0.3s ease;
}

.service-card:hover .card-icon {
    color: var(--color-white);
    background: var(--color-orange);
}

.card-header h3 {
    font-size: 1.4rem;
    color: var(--color-gunmetal);
    margin: 0;
}

.service-desc {
    font-size: 1rem;
    color: var(--color-gunmetal);
    margin-bottom: 20px;
    font-weight: 600;
}

.service-list {
    list-style-type: none;
    padding: 0;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--color-gunmetal);
}

.service-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-size: 0.7rem;
    top: 4px;
}

/* TIMELINE FLEX */
.lifecycle-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--color-chrome-mid);
}

.timeline-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.timeline-step {
    flex: 1 1 140px;
    background: var(--color-chrome-light);
    padding: 20px 15px;
    border-top: 4px solid var(--color-chrome-dark);
    border-radius: 0 0 4px 4px;
    transition: border-top-color 0.3s ease;
}

.timeline-step:hover {
    border-top-color: var(--color-orange);
}

.step-num {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-orange);
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.timeline-step h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-step p {
    font-size: 0.85rem;
    line-height: 1.3;
}

/* PROJECTS SECTION (FLAGSHIP & ACTIVE) */
.project-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.project-overview, .project-facts {
    flex: 1 1 400px;
}

.project-overview p {
    margin-bottom: 15px;
}

.project-overview h3, .project-facts h3 {
    font-size: 1.4rem;
    color: var(--color-gunmetal);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-orange);
    display: inline-block;
    padding-bottom: 5px;
}

.check-list, .arrow-list {
    list-style-type: none;
    padding: 0;
}

.check-list li, .arrow-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--color-gunmetal);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #25D366; 
    font-weight: bold;
}

.arrow-list li::before {
    content: "➔";
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: bold;
}

/* FLAGSHIP GALLERY (FLEXBOX) */
.flagship-gallery, .gallery-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.flagship-item, .gallery-item {
    flex: 1 1 calc(33.333% - 15px);
    height: 250px;
    background-color: var(--color-chrome-mid);
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.flagship-item img, .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flagship-item:hover img, .gallery-item:hover img {
    transform: scale(1.1);
}

.active-projects-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--color-chrome-mid);
}

/* FORMS & AJAX MESSAGES */
.contact-info, .contact-form {
    flex: 1 1 400px;
}

.form-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.form-message.success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.form-message.error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-chrome-dark);
    background-color: var(--color-chrome-light);
    font-family: var(--font-body);
    border-radius: 2px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-orange);
}

/* DYNAMIC FOOTER SECTION */
.footer {
    background-color: var(--color-gunmetal);
    color: var(--color-chrome-mid);
    padding: 60px 5% 20px;
    font-family: var(--font-body);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-orange);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--color-chrome-mid);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--color-orange);
    padding-left: 5px;
}

.footer-contact li {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px !important;
}

.footer-contact strong {
    color: var(--color-white);
    margin-bottom: 3px;
}

.footer-contact a {
    color: var(--color-chrome-mid);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-orange-hover);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .burger-menu {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 95px;
        left: -100%;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        transition: 0.4s ease;
    }
    
    .nav-links.active {
        left: 0;
    }

    .flagship-item, .gallery-item {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.9rem; 
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .service-card, .timeline-step {
        flex: 1 1 100%;
    }
    
    .flagship-item, .gallery-item {
        flex: 1 1 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}