:root {
  --primary-color: #0b233a;
  --secondary-color: #d4af37; /* Gold */
  --accent-color: #1d98dc; /* Blue from original */
  --text-dark: #333333;
  --text-light: #f5f5f5;
  --bg-color: #f7f9fa;
  --bg-dark: #121c26;
  --card-bg: #ffffff;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

html {
  scroll-behavior: smooth;
}

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

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 15px 5%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 1px;
  transition: var(--transition);
}

header.scrolled .logo {
  color: var(--primary-color);
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}

header.scrolled nav a {
  color: var(--primary-color);
}

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

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 35, 58, 0.7), rgba(11, 35, 58, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.5s ease forwards 0.1s;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.5s ease forwards 0.2s;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.5s ease forwards 0.3s;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background: transparent;
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Layout Utilities */
section {
  padding: 100px 5%;
  position: relative;
}

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

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

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(29, 152, 220, 0.1), rgba(212, 175, 55, 0.05));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-color);
  font-size: 2.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: rotateY(360deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
}

.service-card p {
  color: #555;
  position: relative;
  z-index: 2;
}

/* Portfolio Swiper */
#portfolio {
  background: var(--bg-dark);
}
#portfolio h2 {
  color: white;
}
#portfolio h2::after {
  background: var(--secondary-color);
}
.portfolio-swiper {
  padding: 20px 0 60px 0;
}

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px rgba(0,0,0,0.4);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.portfolio-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(11,35,58, 0.9), transparent);
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-content {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-content h3 {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.swiper-pagination-bullet {
  background: white !important;
  opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
  background: var(--secondary-color) !important;
  opacity: 1 !important;
}
.swiper-button-next, .swiper-button-prev {
  color: var(--secondary-color) !important;
}

/* Why Us / Benefits */
.benefits-section {
  background: var(--primary-color);
  color: var(--text-light);
}

.benefits-section h2 {
  color: white;
}

.benefits-section h2::after {
  background: var(--secondary-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.benefit-text h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: white;
}

.benefit-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* Experience Metric */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 10px;
}

/* Contact */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: var(--bg-dark);
  color: white;
  padding: 50px;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-list i {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.contact-list a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
}

.contact-list a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-5px);
}

.map-container {
  flex: 1.5;
  min-width: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}
.map-container .placeholder {
  color: var(--primary-color);
  font-size: 2rem;
  opacity: 0.1;
  text-align: center;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.4s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .logo { color: var(--primary-color); }
  header { background: white; padding: 15px 5%; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
  nav ul { display: none; } /* Simple approach for mobile, can add hamburger later */
  .stats-container { flex-direction: column; gap: 30px; }
}
