/* ==========================================================================
   AGDM Academy - Modern UI/UX Stylesheet
   Fonts: Outfit (Headings), Inter (Body)
   ========================================================================== */

:root {
  --primary-red: #dc1e28;
  --primary-dark: #a8131b;
  --bg-gradient-start: #fff0f1;
  --bg-gradient-end: #ffffff;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --surface-light: #f9fafb;
  --border-subtle: rgba(0, 0, 0, 0.08);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-gradient-end);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- Top Strip --- */
.agdm-top-strip {
  background: #0f172a;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- Header & Navigation --- */
.glass-header {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
  transform: scale(1.05);
}

.brand-text {
  color: var(--primary-red);
  font-size: 20px;
}

.navbar .nav-link {
  font-weight: 500;
  color: #374151;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin: 0 2px;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
  color: var(--primary-red);
  background-color: var(--bg-gradient-start);
}

.navbar .dropdown-menu {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 10px;
  animation: fadeInDown 0.3s ease;
}

.navbar .dropdown-item {
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 16px;
  transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
  background: var(--bg-gradient-start);
  color: var(--primary-red);
}

.btn-danger {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(220, 30, 40, 0.3);
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 30, 40, 0.4);
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, rgba(255,255,255,1) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(220,30,40,0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-image-wrapper img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.hero-image-wrapper img:hover {
  transform: translateY(-5px);
}

.hero-points span {
  font-weight: 600;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  border: 1px solid var(--border-subtle);
}

.hero-points span i {
  color: var(--primary-red);
  font-size: 16px;
}

/* --- Stats Section --- */
.stats-section {
  background: #ffffff;
  position: relative;
  z-index: 2;
  margin-top: -30px;
}

.stat-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(220, 30, 40, 0.15);
  border-color: var(--primary-red);
}

.stat-box .icon-wrapper {
  color: var(--primary-red);
  font-size: 32px;
  margin-bottom: 12px;
}

.stat-box h3 {
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 36px;
}

.stat-box p {
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

/* --- Typography Utilities --- */
.section-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 18px;
}

/* --- Course Boxes --- */
.course-box {
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course-box:hover {
  transform: translateY(-15px) scale(1.01);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-red);
}

.course-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-gradient-start);
  color: var(--primary-red);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.course-meta {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 15px;
  display: flex;
  gap: 12px;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* --- Features Section --- */
.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.feature-box i {
  color: var(--primary-red);
  font-size: 22px;
  background: var(--bg-gradient-start);
  padding: 8px;
  border-radius: 8px;
}

.feature-box:hover {
  background: var(--bg-gradient-start);
  transform: translateX(5px);
  border-color: rgba(220, 30, 40, 0.1);
}

/* --- Enquiry form --- */
.enquiry-box {
  border-radius: 24px;
  background: var(--text-dark);
  color: #fff;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.enquiry-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.enquiry-box .form-control {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
}

.enquiry-box .form-control:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary-red);
  box-shadow: none;
  color: #fff;
}

.enquiry-box .form-control::placeholder {
  color: rgba(255,255,255,0.5);
}

/* --- Testimonials --- */
.testimonials-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-red));
  position: relative;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-card .quote-icon {
  color: var(--bg-gradient-start);
  font-size: 40px;
  margin-bottom: -15px;
  opacity: 0.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.rating-stars i {
  color: #ffc107;
}

/* --- Blog Cards --- */
.blog-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
}

.blog-content h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.blog-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.read-more:hover {
  gap: 8px;
  color: var(--primary-dark);
}

/* --- Footer --- */
.footer-section {
  background: #0f172a;
  color: #f1f5f9;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-section h5,
.footer-section h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section li, 
.footer-section a {
  color: #94a3b8;
  font-size: 15px;
}

.footer-section a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--primary-red);
}

.footer-section .list-unstyled li {
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-right: 8px;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

.footer-bottom {
  background: #020617;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom small {
  color: #64748b;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 50px 0;
    text-align: center;
  }

  .hero-points {
    justify-content: center;
  }
}

/* --- Brand Ticker --- */
.brand-ticker {
  background: #0f172a; /* Same as top strip / footer */
  padding: 35px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.ticker-wrap {
  display: flex;
  flex-direction: row;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-item {
  flex-shrink: 0;
  padding: 0 45px;
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
  font-family: 'Outfit', sans-serif;
  text-transform: capitalize;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.ticker-item svg {
  transition: transform 0.4s ease;
}

.ticker-item:hover svg {
  transform: rotate(10deg) scale(1.2);
}


.ticker-item:hover {
  transform: translateY(-5px) scale(1.15);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  opacity: 1;
}

/* Brand Colors */
.brand-google { color: #4285F4; }
.brand-chatbot { color: #00b2ff; }
.brand-meta { color: #0668E1; }
.brand-shopify { color: #96bf48; }
.brand-microsoft { color: #00a1f1; }
.brand-amazon { color: #ff9900; }
.brand-hubspot { color: #ff7a59; }

/* Subtle default state, full color on hover */
.ticker-item {
  opacity: 0.7;
  filter: grayscale(0.2);
}

.ticker-item:hover {
  opacity: 1;
  filter: grayscale(0);
}


.ticker-item i {
  font-size: 22px;
  opacity: 0.8;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause animation on hover for readability */
.brand-ticker:hover .ticker-wrap {
  animation-play-state: paused;
}
