/* 
  Web Forgex - Premium Design System
  Color Palette: Dark Tech / Deep Blue / Electric Cyan
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --bg-color: #050a18;
  --bg-secondary: #0a1329;
  --primary-color: #007bff;
  --accent-color: #00f2ff;
  --text-main: #e0e6ed;
  --text-dim: #94a3b8;
  --white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08); /* Fixed: removed semicolon */

  /* Spacing */
  --section-padding: 100px 5%;
  --container-width: 1200px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--white);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout --- */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: var(--section-padding);
}

.text-center {
  text-align: center;
}

.brand-span {
  color: var(--primary-color);
}

/* --- Navigation --- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(5, 10, 24, 0.85);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  border-bottom: 1px solid var(--glass-border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
  border-radius: 50%;
  object-fit: contain;
}

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

.nav-links a:hover {
  color: var(--accent-color);
}

.cta-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cta-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
}

/* --- Hero Section --- */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(rgba(5, 10, 24, 0.7), rgba(5, 10, 24, 0.7)), url('images/digital.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 30px;
}

/* --- Services --- */

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

.service-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

/* --- About Preview --- */

.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- Form Styles --- */

.contact-section {
  background: var(--bg-secondary);
}

.form-container {
  max-width: 700px;
  margin: 50px auto 0;
  background: var(--card-bg);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

input, select, textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

.checkbox-group label {
  font-size: 0.85rem;
  line-height: 1.4;
}

.error-msg {
  color: #ff4d4d;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

/* --- Footer --- */

footer {
  padding: 80px 5% 40px;
  background: var(--bg-color);
  border-top: 1px solid var(--glass-border);
}

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

.footer-col h4 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* --- Animations --- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .about-preview {
    grid-template-columns: 1fr;
  }
  .form-container {
    padding: 30px 20px;
  }
}
