/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #0d1b2a, #1b263b, #415a77);
  color: #fff;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}
.logo span {
  color: #ff6a00;
}

nav a {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
nav a:hover {
  color: #ff6a00;
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('../images/hero.jpg') center/cover no-repeat;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.hero h1,
.hero p,
.hero a {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeIn 2s ease forwards;
}
.glow {
  color: #ff6a00;
  text-shadow: 0 0 15px #ff6a00, 0 0 30px #ff4500;
}

.animated-text {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 30px;
  animation: slideUp 2s ease forwards;
}
.highlight {
  color: #ff6a00;
  font-weight: bold;
}

.btn-glow {
  background: #ff6a00;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.4s ease;
  animation: pulse 2s infinite;
}
.btn-glow:hover {
  background: #fff;
  color: #ff6a00;
  transform: scale(1.1);
}

/* Quote Cards */
.quote-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease forwards;
}

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover img {
  transform: scale(1.1);
}

.card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.2rem;
  font-style: italic;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  text-align: center;
}
.card:hover .card-text {
  transform: translateY(0);
}

/* Alternate Animations */
.card.left {
  align-self: flex-start;
  animation: slideLeft 1.2s ease forwards;
}
.card.right {
  align-self: flex-end;
  animation: slideRight 1.2s ease forwards;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
}
footer a {
  color: #ff6a00;
  margin: 0 10px;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px #ff6a00; }
  50% { box-shadow: 0 0 40px #ff4500; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { transform: translateX(-150px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideRight {
  from { transform: translateX(150px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
