:root {
  --primary-color: #ffffff;
  --secondary-color: #0365cd;
  --accent-color: #ffb700;
  --text-color: #1a1a1a;
  --text-muted: #666666;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: 1px solid rgba(0, 0, 0, 0.1);
  --font-main: 'Inter', sans-serif;
  --transition-speed: 0.3s;
}

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

body {
  background-color: var(--primary-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  /* Hide initial content to prevent language flash */
  transition: opacity 0.2s ease-in;
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.btn:hover {
  background: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(3, 101, 205, 0.4);
}

.btn-primary {
  background: var(--secondary-color);
  color: #ffffff;
}

.btn-primary:hover {
  background: transparent;
  color: var(--secondary-color);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Navbar */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--secondary-color);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  /* Increased size for better visibility */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Make logo white if it's not already */
}

/* Adjust footer logo size specifically if needed */
.footer-col .logo img {
  height: 70px;
  /* Reduced from 100px */
  margin-bottom: 1rem;
  /* Filter to generate #0365cd from black approx */
  filter: brightness(0) saturate(100%) invert(29%) sepia(86%) saturate(1832%) hue-rotate(198deg) brightness(96%) contrast(97%);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  font-weight: 500;
}

.nav-links a.active {
  color: #ffffff;
  font-weight: 700;
  /* border-bottom removed */
}

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

/* Language Selector */
.lang-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-wrapper i {
  color: #ffffff !important;
}

#lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 8px 32px 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-speed);

  /* Custom Arrow (White) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

#lang-select:hover,
#lang-select:focus {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.2);
}

#lang-select option {
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 10px;
}

/* Navbar Buttons (specific overrides) */
.navbar .btn {
  color: #ffffff;
  border-color: #ffffff;
}

.navbar .btn:hover {
  background: #ffffff;
  color: var(--secondary-color);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.navbar .btn-primary {
  background: #ffffff;
  color: var(--secondary-color);
  border-color: #ffffff;
}

.navbar .btn-primary:hover {
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffffff;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: #1a1a1a;
}

.hero-content h1 span {
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services */
.services {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

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

.service-card {
  background: #ffffff;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Why Us / Tech Section */
.tech-section {
  padding: 5rem 0;
  background: #ffffff;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.tech-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tech-feature i {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-top: 5px;
}

.tech-image {
  position: relative;
}

.tech-image img {
  border: var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background: #f0f0f0;
  padding: 4rem 0 2rem;
  border-top: 1px solid #e0e0e0;
  color: #333;
}

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

.footer-col h4 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

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

.footer-col ul li a {
  color: var(--text-color);
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Mobile menu implementation needed in JS */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    flex-direction: column;
    padding: 1rem;
    text-align: center;
    border-bottom: var(--glass-border);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
}