* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f6f8;
  color: #1e293b;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= NAVBAR ================= */
.navbar {
  background: #0d3b66;
  padding: 1rem 0;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #f4d35e;
  font-size: 2rem;
  position: relative;
}

.logo span {
  color: #faf0ca;
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f4d35e, transparent);
  animation: logoLine 2.5s linear infinite;
}

@keyframes logoLine {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.nav-links a {
  color: #e5e7eb;
  margin-right: 1rem;
  text-decoration: none;
  transition: text-shadow 0.3s ease;
}

.nav-links a:hover {
  color: #f4d35e;
  text-shadow: 0 0 8px rgba(244,211,94,0.6);
}

.login-btn {
  background: #f4d35e;
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.login-btn:hover {
  box-shadow: 0 6px 18px rgba(244,211,94,0.6);
}

/* ================= HERO ================= */
.hero {
  padding: 4rem 0;
  background: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

.hero-img:hover {
  box-shadow: 0 14px 35px rgba(13,59,102,0.35);
}

/* ================= BUTTON ================= */
.primary-btn {
  background: #ee964b;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.primary-btn:hover {
  box-shadow: 0 8px 22px rgba(238,150,75,0.6);
}

/* ================= SERVICES ================= */
.services {
  padding: 4rem 0;
  background: #f8fafc;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
}

.service-card {
  background: #0d3b66;
  color: #faf0ca;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(244,211,94,0.3);
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 26px rgba(13,59,102,0.4),
              0 0 14px rgba(244,211,94,0.45);
}

/* ================= ABOUT ================= */
.about {
  padding: 4rem 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  transition: box-shadow 0.35s ease;
}

.about img:hover {
  box-shadow: 0 14px 34px rgba(13,59,102,0.35);
}

/* ================= CONTACT ================= */
.contact {
  padding: 4rem 0;
  background: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start; /* ✅ FIX: prevent vertical stretch */
}

.contact-form {
  background: #0d3b66;
  padding: 2rem;
  border-radius: 20px;
  color: #faf0ca;
  max-width: 420px;
  transition: box-shadow 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 14px 30px rgba(13,59,102,0.45);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: none;
}

.contact-image img {
  width: 100%;
  max-width: 360px;
  max-height: 360px;     /* ✅ FIX */
  height: auto;
  object-fit: cover;    /* ✅ FIX */
  border-radius: 20px;
  transition: box-shadow 0.35s ease;
}

.contact-image img:hover {
  box-shadow: 0 14px 34px rgba(13,59,102,0.35);
}

/* ================= LOGIN POPUP ================= */
.login-popup {
  position: fixed;
  inset: 0;
  background: rgba(13,59,102,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 25px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.login-box:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.google-btn {
  background: #f4d35e;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  transition: box-shadow 0.3s ease;
}

.google-btn:hover {
  box-shadow: 0 6px 18px rgba(244,211,94,0.6);
}

.close-btn {
  background: none;
  border: none;
  margin-top: 1rem;
  color: #f95738;
  cursor: pointer;
}

.hidden {
  display: none;
}

/* ================= FOOTER ================= */
.footer {
  background: #0d3b66;
  color: #faf0ca;
  text-align: center;
  padding: 1.5rem;
}

/* ================= SERVICE DETAILS ================= */
.service-details {
  padding: 4rem 0;
  background: #ffffff;
}

.service-details.hidden {
  display: none;
}

.close-details {
  background: none;
  border: none;
  color: #f95738;
  cursor: pointer;
}

.service-horizontal {
  max-width: 1000px;
  margin: 2rem auto;
  background: #f8fafc;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  line-height: 1.9;
}

/* ================= SOCIAL MEDIA ================= */
.social-section {
  padding: 3rem 0 4rem;
  background: #f8fafc;
  clear: both; /* ✅ FIX */
}

.social-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  color: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.social-icon:hover {
  transform: translateY(-10px) rotate(6deg);
}

.youtube {
  background: #ff0000;
  box-shadow: 0 0 20px rgba(255,0,0,0.7);
}

.instagram {
  background: radial-gradient(circle, #feda75, #d62976, #4f5bd5);
}

.spotify {
  background: #1db954;
  box-shadow: 0 0 20px rgba(29,185,84,0.7);
}

.facebook {
  background: #1877f2;
  box-shadow: 0 0 20px rgba(24,119,242,0.7);
}
/* ================= EXPLORE PAGE (SAFE ADDITION ONLY) ================= */

.explore-page{
  position: fixed;
  inset: 0;
  background: #fbf5f1;
  z-index: 9999;
  overflow-y: auto;
}

.explore-wrapper{
  max-width: 1100px;
  margin: 4rem auto;
  background: #ffffff;
  padding: 3.5rem;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}

.explore-title{
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  color: #1f2937;
  margin-bottom: 1.8rem;
}

.explore-wrapper p{
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

.explore-wrapper h3{
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.explore-wrapper ul{
  margin-left: 1.5rem;
  line-height: 1.9;
}

.explore-close{
  position: fixed;
  top: 25px;
  right: 30px;
  background: #ee964b;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(238,150,75,0.6);
}

/* ================= AI CHAT BOX ================= */

.ai-chat-section {
  padding: 4rem 0;
  background: #ffffff;
}

.ai-chat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ai-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.ai-info p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* CHAT BOX */
.ai-chat-box {
  background: #0d3b66;
  border-radius: 22px;
  padding: 1.5rem;
  color: #faf0ca;
  border: 1px solid rgba(244,211,94,0.35);
  transition: box-shadow 0.35s ease;
}

.ai-chat-box:hover {
  box-shadow:
    0 14px 30px rgba(13,59,102,0.45),
    0 0 18px rgba(244,211,94,0.6);
}

.chat-messages {
  height: 260px;
  overflow-y: auto;
  padding-right: 10px;
}

.bot-msg,
.user-msg {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 85%;
  font-size: 0.95rem;
}

.bot-msg {
  background: rgba(244,211,94,0.15);
}

.user-msg {
  background: #ee964b;
  color: #fff;
  margin-left: auto;
}

/* INPUT */
.chat-input-area {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.chat-input-area input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: none;
}

.chat-input-area button {
  background: #f4d35e;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.chat-input-area button:hover {
  box-shadow: 0 6px 18px rgba(244,211,94,0.6);
}

html {
  scroll-behavior: smooth;
}

/* ================= AI CHAT UPGRADE ================= */

.mic-btn {
  background: #faf0ca;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mic-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(244,211,94,0.8);
}

/* 📱 MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .ai-chat-grid {
    grid-template-columns: 1fr;
  }

  .chat-messages {
    height: 220px;
  }

  .chat-input-area input {
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-grid {
    grid-template-columns: repeat(2,1fr);
  }
}