/* --- CSS Variables for easy theming --- */
:root {
  --bg-dark: #0e131d;
  /* Main background color */
  --bg-darker: #070a0f;
  /* Darker background for contrast */
  --bg-footer: #04070c;
  /* Footer background */

  --text-light: #ffffff;
  /* Primary text color */
  --text-gray: #b0b8c4;
  /* Secondary/body text color */

  --glow-blue: #00d4ff;
  /* The primary blue accent glow */
  --glow-red: #ff3333;
  /* Subtle red accent */

  --font-heading: 'Rajdhani', sans-serif;
  /* Futuristic font for titles */
  --font-body: 'Roboto', sans-serif;
  /* readable font for body text */

  --header-height: 80px;
}

/* --- Global Resets & Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Native smooth scrolling */
}

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

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

/* --- Header & Navigation --- */
.main-header {
  background-color: rgba(7, 10, 15, 0.9);
  /* Semi-transparent dark bg */
  backdrop-filter: blur(10px);
  /* Frosted glass effect */
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: fixed;
  /* Sticks to the top */
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

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

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  font-family: var(--font-heading);
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--glow-blue);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* --- Hero Section --- */
.hero-section {
  height: 100vh;
  /* Full viewport height */
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  /* Align to top to position over the chip */
  justify-content: center;
  position: relative;
  padding-top: 26vh;
  /* Push down further to sit INSIDE the chip */
  margin-top: 0;
  /* Ensure it sits behind the fixed header if needed */

  /* IMPORTANT: Replace placeholder path with your real image */
  background-image: url('../images/hero-bg2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay to ensure text readability on top of the busy background image */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(7, 10, 15, 0.1), rgba(7, 10, 15, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;

  /* Metallic text effect with blue glow */
  background: linear-gradient(to bottom, #ffffff, #a0aabf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 300;
}

/* Glowing Button Style */
.btn {
  display: inline-block;
  padding: 12px 35px;
  background-color: transparent;
  color: var(--glow-blue);
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--glow-blue);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3), inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.btn-glow:hover {
  background-color: var(--glow-blue);
  color: var(--bg-darker);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
}


/* --- About Section --- */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-darker);
  /* Optional: Add a subtle circuit pattern background here if you have one */
  /* background-image: url('../images/about-bg.png'); */
  position: relative;
  z-index: 10;
}

/* Subtle glowing separator line above About section */
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-blue), transparent);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* --- Technologies Section (Rolling Logos) --- */
.technologies-section {
  overflow: hidden;
  /* Hide scrollbars */
  background-color: #f5f5f5;
}

.technologies-section .section-title {
  color: #1a1a1a;
  /* Dark text for contrast against light bg */
}

.logos {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 10px 0 40px 0;
  /* Added bottom padding for hover text */
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
  pointer-events: none;
  /* Allow clicking/hovering through the gradient */
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(245, 245, 245, 0), #f5f5f5);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(245, 245, 245, 0), #f5f5f5);
}

.logos-slide {
  display: inline-block;
  animation: 35s scroll linear infinite;
}

.logo-item {
  display: inline-block;
  position: relative;
  margin: 0 40px;
  text-align: center;
  text-decoration: none;
  /* Remove underline from link */
  color: inherit;
  /* Inherit text color */
}

.logo-item img {
  height: 60px;
  transition: transform 0.3s ease;
  display: block;
  /* Remove inline gap */
}

.logo-item:hover img {
  transform: scale(1.1);
}

.logo-name {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  white-space: nowrap;
}

.logo-item:hover .logo-name {
  opacity: 1;
  bottom: -25px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* --- Footer --- */
.main-footer {
  background-color: var(--bg-footer);
  padding: 50px 0;
  position: relative;
  /* The glowing blue border on top of the footer */
  border-top: 2px solid var(--glow-blue);
  box-shadow: 0 -5px 20px rgba(0, 212, 255, 0.2);
}

.footer-content {
  display: flex;
  align-items: center;
}

.footer-logo-section {
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-right: 30px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.contact-info p {
  color: var(--text-gray);
  margin-bottom: 5px;
}

.contact-details {
  margin-top: 15px;
  display: grid;
  gap: 30px;
}

/* 3-column layout on desktop */
@media (min-width: 992px) {
  .contact-details {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--glow-blue);
  margin-bottom: 5px;
  font-weight: 600;
}

.address-box p,
.bank-box p,
.vat-box p,
.web-box p,
.connect-box p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.web-box a,
.secure-link {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-box p {
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--text-gray);
  opacity: 0.8;
}

.web-box a:hover,
.secure-link:hover {
  color: var(--glow-blue);
}

/* --- Copy to Clipboard Feature --- */
.copyable {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  display: inline-block;
  /* Use inline-block for better multi-line control */
  padding: 2px 5px;
  border-radius: 4px;
}

.copyable:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--glow-bright);
}

/* Copy Icon */
.copyable::after {
  content: '📋';
  /* Unicode clipboard */
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

/* Reveal icon on hover (desktop) */
@media (hover: hover) {
  .copyable:hover::after {
    opacity: 1;
  }
}

/* Feedback state */
.copyable.copied::after {
  content: '✅';
  opacity: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    padding: 10px 0;
  }

  .main-header {
    height: auto;
  }

  .main-nav {
    margin-top: 15px;
  }

  .main-nav li {
    margin-left: 15px;
    margin-right: 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}
