:root {
  --primary: #0a3d62;
  --secondary: #c0392b;
  --accent: #2980b9;
  --gold: #d4af37;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark: #051f32;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --border-light: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Open Sans",
    sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Navigation */
nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

nav.scrolled {
  padding: 15px 5%;
  box-shadow: var(--shadow-md);
}

.logo {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: var(--transition);
}
.logo span {
  color: var(--secondary);
}
.logo:hover {
  transform: translateY(-2px);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}
nav ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition);
  border-radius: 2px;
}

nav ul li a:hover::after {
  width: 100%;
}
nav ul li a:hover {
  color: var(--secondary);
}

/* Modern Page Hero */
.page-hero {
  background:
    linear-gradient(135deg, rgba(10, 61, 98, 0.95), rgba(41, 128, 185, 0.9)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19480c5?auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(212, 175, 55, 0.1),
    transparent
  );
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  animation: fadeInUp 0.8s ease;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--gold));
  margin: 20px auto 0;
  border-radius: 2px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modern Sections & Grilles */
.container {
  width: 90%;
  max-width: 1280px;
  margin: auto;
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 700px;
}

.grid-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Modern Interactive Cards */
.card-box {
  background: var(--white);
  padding: 45px;
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.card-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.card-box:hover::before {
  transform: scaleX(1);
}

.card-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.icon-big {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  display: inline-block;
}

/* Modern Footer */
footer {
  background: linear-gradient(135deg, var(--dark), #0a1929);
  color: white;
  padding: 60px 5% 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary),
    var(--accent),
    var(--gold)
  );
}

footer p {
  opacity: 0.9;
  line-height: 1.8;
}

/* Modern Buttons */
.btn-main {
  background: linear-gradient(135deg, var(--secondary), #a02e24);
  color: white;
  padding: 14px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition);
}

.btn-main:hover::before {
  left: 100%;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .grid-info {
    grid-template-columns: 1fr;
  }
  nav ul {
    display: none;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .container {
    padding: 50px 0;
  }
}
