:root {
  --primary: #002e5d; /* Dark navy from logo */
  --primary-light: #004d99; /* Bright blue from logo */
  --accent: #f8c822; /* Yellow dot from logo */
  --bg-dark: #070b14; /* Deep tech background */
  --bg-card: #0d1526;
  --bg-card-hover: #131e36;
  --text-main: #f0f4f8;
  --text-muted: #a0aec0;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-sans: 'Inter', system-ui, sans-serif;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.logo-container {
  background: white;
  padding: 10px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-container {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-main);
}

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

.btn-contact-nav {
  padding: 0.6rem 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 77, 153, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 77, 153, 0.5);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  background: linear-gradient(rgba(7, 11, 20, 0.9), rgba(7, 11, 20, 0.7)), url('assets/hero_bg.png') center/cover no-repeat;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 204, 0, 0.1);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  background: linear-gradient(to right, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(13, 21, 38, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-main);
  font-family: var(--font-sans);
  transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.06);
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(248, 200, 34, 0.3);
}

/* Services Section */
.services-section {
  padding: 8rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-category {
  margin-bottom: 6rem;
}

.service-category h3 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--primary-light);
}

.service-category h3 i {
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 77, 153, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .service-icon {
  background: var(--primary-light);
  color: #fff;
}

.service-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 5%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.btn-outline {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

/* Footer */
footer {
  padding: 5rem 5% 2rem;
  background: var(--bg-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4rem;
  margin-bottom: 2rem;
}

.footer-about p {
  color: var(--text-muted);
  margin-top: 1.5rem;
  max-width: 400px;
}

.footer-contact h4, .footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-contact p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-contact i {
  color: var(--primary-light);
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .hero-container { gap: 2rem; }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero p {
    max-width: 100%;
  }
  .hero-stats {
    justify-content: center;
  }
  nav { display: none; } /* Add hamburger menu logic later if needed */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  header {
    justify-content: center;
  }
}
