@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;500&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #f96d00;
    --dark-bg: #1a1a2e;
    --dark-bg-secondary: #16213e;
    --text-color: #e0e0e0;
    --light-text-color: #a0a0a0;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --container-width: 1140px;
    --header-height: 70px;
}

/* --- Global Styles & Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-primary); background-color: var(--dark-bg); color: var(--text-color); line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-secondary); font-weight: 700; margin-bottom: 1rem; color: #fff; }
p { margin-bottom: 1rem; color: var(--text-color); }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #fff; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

/* --- Header & Navigation --- */
.header { background-color: rgba(26, 26, 46, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid #333; position: fixed; width: 100%; top: 0; z-index: 1000; height: var(--header-height); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo img {
    height: 40px; /* Controls the height of the logo */
    width: auto;  /* Allows width to scale proportionally */
    display: block;
}
.nav-list { list-style: none; display: flex; }
.nav-list li { margin-left: 30px; }
.nav-list a { color: #fff; font-weight: 500; padding: 5px 0; border-bottom: 2px solid transparent; transition: border-color 0.3s ease; }
.nav-list a.active, .nav-list a:hover { border-bottom-color: var(--primary-color); }
.menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.bar { height: 3px; width: 25px; background-color: #fff; margin: 4px 0; transition: 0.4s; }

/* --- Hero Section --- */
.hero { height: 100vh; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; text-align: center; padding-top: var(--header-height); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 26, 46, 0.7); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; }

/* --- Buttons --- */
.btn { padding: 12px 24px; border-radius: 5px; font-weight: 700; display: inline-block; transition: background-color 0.3s, color 0.3s; }
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: #e06000; color: #fff; }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: var(--dark-bg); }

/* --- Page Sections --- */
.page-header { padding: 140px 0 80px; text-align: center; background-size: cover; background-position: center; position: relative; }
.page-header h1, .page-header p {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
.page-header p { font-size: 1.2rem; color: #f0f0f0; margin-top: 10px; }
.intro { text-align: center; }
.intro-content { max-width: 800px; margin: 0 auto; }
.intro-content h2 { font-size: 2.5rem; }
.intro-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.intro-gallery img { width: 100%; border-radius: 8px; object-fit: cover; }
.features-section { background-color: var(--dark-bg-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-card { background: var(--dark-bg); padding: 30px; border-radius: 8px; border-left: 4px solid var(--primary-color); }
.featured-tech { position: relative; text-align: center; background-size: cover; background-position: center; background-attachment: fixed; }
.featured-tech-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 26, 46, 0.85); }
.featured-tech-content { position: relative; z-index: 2; max-width: 800px; }
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tech-specs h3 { border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; }
.spec-list { list-style: none; margin-top: 20px; }
.spec-list li { padding: 10px; border-bottom: 1px solid #333; }
.spec-list li:last-child { border-bottom: none; }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.solution-card { background-color: var(--dark-bg-secondary); padding: 30px; border-radius: 8px; }
.solution-card h3 { color: var(--primary-color); }

/* --- Contact Form --- */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; color: var(--light-text-color); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; background: var(--dark-bg-secondary); border: 1px solid #444; border-radius: 5px; color: #fff; font-size: 1rem; }
.contact-details { list-style: none; }
.contact-details li { margin-bottom: 10px; }

/* --- Footer --- */
.footer { background: var(--dark-bg-secondary); padding: 50px 0 20px; border-top: 1px solid #333; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 30px; }
.footer-about p { margin-top: 10px; color: var(--light-text-color); }
.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 20px; }
.footer-bottom p { margin: 0; font-size: 0.9rem; color: var(--light-text-color); }
.opc-notice { margin-top: 5px; }

/* --- Animations --- */
.fade-in { animation: fadeIn 1.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-list { position: fixed; left: -100%; top: var(--header-height); background: var(--dark-bg); width: 100%; height: calc(100vh - var(--header-height)); flex-direction: column; align-items: center; padding-top: 50px; transition: 0.3s; }
    .nav-list.active { left: 0; }
    .nav-list li { margin: 20px 0; }
    .menu-toggle { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .content-split, .contact-layout, .intro-gallery { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-about .logo { margin: 0 auto; }
}