:root {
  --main:#0a2a43;
  --blue:#00c2ff;
  --bg:#f6f6f6;
  --text:#222;
  --highlight:#0077ff;
}

* {
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Cairo,sans-serif;
}

body {
  background:var(--bg);
  color:var(--text);
  transition:.3s;
}

.container {
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* ===== HEADER ===== */
header {
  background: var(--main);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.3s, padding 0.3s;
}

header.scrolled {
  background: rgba(10,42,67,0.95);
  padding: 8px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: transform 0.3s;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: #fff;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 3px;
  background: var(--blue);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link.active {
  color: var(--blue);
}

.nav-link.active::after {
  width: 100%;
}

.btn-header {
  background: var(--blue);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}

.btn-header:hover {
  background: #0077ff;
  transform: scale(1.05);
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 0 20px;
  background: url("https://png.pngtree.com/background/20220714/pngtree-white-refrigerated-truck-wheel-transport-bonnet-photo-image_32717810.jpg") center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,42,67,0.85), rgba(0,0,0,0.6));
  z-index: 1;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.05);
  padding: 40px 50px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.hero-content h1 {
  font-size: 58px;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 22px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* SECTIONS */
.section {
  padding:80px 0;
  transition:.3s;
}

.section:hover {
  box-shadow:inset 0 0 0 5px var(--highlight);
  border-radius:10px;
}

.section-title {
  text-align:center;
  font-size:30px;
  margin-bottom:40px;
}

.about-text {
  text-align:center;
  max-width:800px;
  margin:auto;
  font-size:18px;
}

/* GRID */
.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.card {
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 20px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow:0 15px 30px rgba(0,0,0,.2);
}

/* CONTACT */
.contact-box {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 25px;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0,212,255,0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: rotate(45deg) scale(0.8);
  pointer-events: none;
  z-index: 0;
}

.contact-btn:hover::before {
  opacity: 1;
  transform: rotate(45deg) scale(1.2);
}

.contact-btn span {
  position: relative;
  z-index: 1;
}

.contact-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.contact-btn.call { background: linear-gradient(135deg, #007bff, #00b4ff); }
.contact-btn.email { background: linear-gradient(135deg, #ff4d4d, #ff7b7b); }

.contact-btn:hover {
  transform: translateY(-10px) scale(1.05);
}

/* PROJECTS */
.projects-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:15px;
}

.projects-grid img {
  width:100%;
  border-radius:10px;
  transition:.3s;
}

.projects-grid img:hover {
  transform:scale(1.05);
}

/* LOCATION BOX */
.location-box {
  text-align: center;
  background: rgba(10, 42, 67, 0.7);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  transition: transform 0.3s, box-shadow 0.3s, background 0.5s;
  position: relative;
  overflow: hidden;
}

.location-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: rotate(45deg) scale(0.8);
  pointer-events: none;
  z-index: 0;
}

.location-box:hover::before {
  opacity: 1;
  transform: rotate(45deg) scale(1.2);
}

.location-box p {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  position: relative;
  z-index: 1;
}

.btn-location {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #00d4ff, #0077ff);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

.btn-location:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #0077ff, #00aaff);
}

.map-container {
  margin-top: 25px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}

/* FOOTER */
footer {
  background:#000;
  color:#fff;
  text-align:center;
  padding:15px;
}

/* SCROLL ANIMATION */
.reveal {
  opacity:0;
  transform:translateY(60px);
  transition:.8s;
}

.reveal.active {
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero-content h1 { font-size:36px; }
  .hero-content p { font-size:18px; }
  .header-content { flex-direction: column; gap:10px; }
  nav { flex-wrap: wrap; justify-content:center; gap:10px; }
}
