/* Google Font Import (Playfair Display + a clean sans-serif for body text) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: lightblue;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #111;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.8rem;
}
p {
  color: #444;
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Top Hero Section */
.hero {
  background: linear-gradient(to bottom right, #0a0a0a, #1f1f1f);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: 3.2rem;
  color: #00e5ff;
  animation: fadeInDown 1s ease forwards;
}
.hero p {
  color: #ccc;
  max-width: 700px;
  margin: 20px auto;
  font-size: 1.2rem;
  animation: fadeInUp 1.2s ease forwards;
}

/* Background floating images in hero */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  animation: float 10s infinite ease-in-out;
}
.hero::before {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
}
.hero::after {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  background: linear-gradient(135deg, #00e5ff, #007bff);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 229, 255, 0.3);
}

/* Card Layout */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.card h3 {
  color: #007bff;
}
.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Dark Mode Sections */
.section-dark {
  background-color: #1f1f1f;
  color: #f5f5f5;
  padding: 60px 20px;
}
.section-dark h2 {
  color: #00e5ff;
}

/* Links */
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #00e5ff;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(20px); }
}
