/* ===============================
   HOOVER ELEVATOR GROUP - STYLE
   Modern | Professional | Responsive
================================= */

/* ===== Root Variables ===== */
:root {
  --primary: #0b1f35;
  --secondary: #0072ff;
  --accent: #00c6ff;
  --light: #f4f7fb;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --white: #ffffff;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);

  --radius: 14px;
  --transition: all 0.35s ease;
}

/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
}

/* ===== Header ===== */
header {
  background: linear-gradient(rgba(11,31,53,0.85), rgba(11,31,53,0.85)),
              url('img/4.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  animation: fadeIn 1.2s ease-in-out;
}

header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 1px;
}

header p {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #e0e7ff;
}

/* ===== Navigation ===== */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 15px;
  box-shadow: var(--shadow-soft);
  z-index: 1000;
}

nav a {
  color: var(--primary);
  margin: 8px 18px;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  left: 0;
  bottom: -6px;
  background: var(--secondary);
  transition: 0.3s;
}

nav a:hover {
  color: var(--secondary);
}

nav a:hover::after {
  width: 100%;
}

/* ===== Sections ===== */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  animation: fadeUp 0.8s ease forwards;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--primary);
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 5px;
}

/* ===== About / Vision / Contact ===== */
.about, .vision, .contact {
  text-align: center;
  max-width: 800px;
}

.about p,
.vision p,
.contact p {
  margin-bottom: 15px;
  color: var(--gray);
  font-size: 1.05rem;
}

/* ===== Services Section ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-card img {
  width: 100%;
  max-width: 140px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.2rem;
}

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

/* ===== Contact Section ===== */
.contact p strong {
  color: var(--primary);
}

/* ===== Footer ===== */
footer {
  background: var(--primary);
  color: #cbd5e1;
  text-align: center;
  padding: 30px 15px;
  font-size: 0.9rem;
  margin-top: 60px;
}

footer:hover {
  background: linear-gradient(90deg, var(--primary), #132f4c);
  transition: 0.5s;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive Improvements ===== */

/* Tablets */
@media (max-width: 992px) {
  header {
    padding: 80px 20px;
  }

  section {
    padding: 60px 20px;
  }
}

/* Mobile */
@media (max-width: 600px) {

  nav {
    padding: 10px;
  }

  nav a {
    margin: 8px 10px;
    font-size: 0.9rem;
  }

  header {
    padding: 70px 15px;
  }

  header p {
    font-size: 1rem;
  }

  .service-card {
    padding: 25px 15px;
  }
}

/* Large Screens */
@media (min-width: 1600px) {
  section {
    max-width: 1400px;
  }
}