@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary: #EE8B0C;
  --primary-hover: #ff9e1a;
  
  /* Dark Theme Colors */
  --bg-main: #0B0C10;
  --bg-card: #1F2833;
  --bg-nav: rgba(11, 12, 16, 0.85);
  
  /* Text Colors */
  --text-main: #FFFFFF;
  --text-muted: #C5C6C7;
  
  /* Borders and Effects */
  --border-light: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(31, 40, 51, 0.6);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography Utilities */
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: padding 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(238, 139, 12, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--bg-main);
  background-image: linear-gradient(rgba(11, 12, 16, 0.7), rgba(11, 12, 16, 0.9)), url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Page Header (for subpages) */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(to bottom, #11141a, var(--bg-main));
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
  font-size: 3rem;
  color: var(--primary);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 2.5rem;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(238, 139, 12, 0.3);
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background-color: #050507;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Utilities */
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; margin-bottom: 4rem;}
.p-2 { padding: 2rem; }

/* --- New Sections & Projects Page Styles --- */

/* Companies Section */
.companies-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(31, 40, 51, 0.2) 100%);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-light);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.company-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  height: 80px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.company-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
  border-color: rgba(238, 139, 12, 0.3);
  box-shadow: 0 4px 15px rgba(238, 139, 12, 0.1);
}

.company-logo svg {
  max-width: 120px;
  max-height: 40px;
  fill: var(--text-muted);
  transition: var(--transition);
}

.company-logo:hover svg {
  fill: var(--primary);
}

/* Why Choose Us Section */
.why-card {
  text-align: center;
}

.why-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(238, 139, 12, 0.1);
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  box-shadow: 0 0 15px rgba(238, 139, 12, 0.2);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 25px rgba(238, 139, 12, 0.5);
}

.why-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Featured Projects Section */
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.featured-project-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.featured-project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(238, 139, 12, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.project-img-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1F2833 0%, #0B0C10 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
  color: var(--text-muted);
}

.featured-project-card:hover .project-placeholder {
  transform: scale(1.05);
}

.project-placeholder-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.project-placeholder-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(238, 139, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.project-placeholder svg {
  width: 50px;
  height: 50px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
  margin-bottom: 0.8rem;
  opacity: 0.8;
  z-index: 1;
}

.project-placeholder span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
  z-index: 1;
}

.project-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.project-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-top: auto;
}

.project-link:hover {
  color: var(--primary-hover);
}

.project-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: var(--transition);
}

.project-link:hover svg {
  transform: translateX(5px);
}

/* Horizontal Cards for Projects Page */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding: 3rem 0;
}

.horizontal-card {
  display: flex;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.horizontal-card:hover {
  border-color: rgba(238, 139, 12, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.h-card-media {
  width: 40%;
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.h-card-content {
  width: 60%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.horizontal-card:nth-child(even) {
  flex-direction: row-reverse;
}

.horizontal-card:hover .project-placeholder {
  transform: scale(1.03);
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 1.2rem;
  margin: 1.5rem 0;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.spec-value {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.spec-value.highlight {
  color: var(--primary);
}

.h-card-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.h-card-content .project-tag-list {
  margin-bottom: 1.2rem;
}

.h-card-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.btn-small {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-nav);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .section-title {
    font-size: 2rem;
  }
  
  /* Responsive project card and grids */
  .horizontal-card {
    flex-direction: column !important;
  }
  .h-card-media {
    width: 100% !important;
    height: 250px !important;
    min-height: 250px !important;
  }
  .h-card-content {
    width: 100% !important;
    padding: 2rem !important;
  }
  .project-specs {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    padding: 1rem !important;
  }
  .companies-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .featured-projects-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
