@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary: #0f4c81;
  --primary-light: #1c71b7;
  --secondary: #1a1a1a;
  --accent: #00d2ff;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --glass: rgba(255, 255, 255, 0.8);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-contact {
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15, 76, 129, 0.4);
  background: var(--primary-light);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/hero.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.1);
  animation: zoom-out 20s infinite alternate;
}

@keyframes zoom-out {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: fade-up 1s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  animation: fade-up 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  animation: fade-up 1s ease 0.4s forwards;
  opacity: 0;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === SECTIONS === */
section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header span {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.9rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-top: 0.5rem;
}

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

.service-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-alt);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
}

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

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

/* === STATS === */
.stats {
  background: var(--primary);
  color: white;
  padding: 6rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* === FOOTER === */
footer {
  background: var(--secondary);
  color: white;
  padding: 5rem 0 2rem;
}

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

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #888;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .nav-links { display: none; }
  .section-header h2 { font-size: 2rem; }
}
