@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700&display=swap');

/* ===========================
   RESET + GLOBAL
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Exo 2", sans-serif;
}

body {
  background: linear-gradient(135deg, #ffffff, #e3f2fd);
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

a:hover {
  opacity: 0.9;
}

/* ====================================
   REMOVE DEFAULT BLUE CLICK/FOCUS OUTLINE
==================================== */
a,
button,
.i-th-card,
.i-bh-card,
.i-cc-card,
input {
  outline: none;
  -webkit-tap-highlight-color: transparent; /* Removes blue tap effect on mobile */
}

a:focus {
  outline: none;
  box-shadow: none;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative;
  text-align: center;
  padding: 140px 20px 80px;
  min-height: 500px;
  color: #fff;
  animation: fadeIn 1s ease-in-out;
  overflow: hidden;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero h1,
.hero p,
.hero-buttons {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  text-align: center;
  margin: 0 auto 25px;
  max-width: 900px;
  color: #f0f0f0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

/* ✅ Golden gradient buttons */
.btn.primary {
  background: linear-gradient(90deg, #f5c542, #f9a602);
  color: #fff;
  box-shadow: 0 4px 10px rgba(249, 166, 2, 0.4);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn:hover {
  transform: scale(1.07);
}


/* ====================================
   CONTROLS (Filter/Sort/Tabs)
==================================== */
.i-controls {
  max-width: 1200px;
  margin: 20px auto;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
}

/* Centered Tabs */
.i-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.i-tab-btn {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 20px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: #222;
  transition: 0.2s ease;
}

.i-tab-btn.active {
  background: linear-gradient(90deg, #f5c542, #f9a602);
  color: #111;
  border-color: transparent;
  transform: scale(1.05);
}

/* ===========================
   GRID SECTION
=========================== */

.i-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.i-th-grid,
.i-bh-grid,
.i-cc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 80px 50px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.i-th-card,
.i-bh-card,
.i-cc-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.4s ease;
  cursor: pointer;
  padding: 15px 0 22px;
  animation: fadeInUp 0.8s ease forwards;
  height: 180px;
  max-width: 280px;
  margin: 0 auto;
}

.i-th-card:hover,
.i-bh-card:hover,
.i-cc-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 25px rgba(3, 169, 244, 0.3);
}

.i-th-card img,
.i-bh-card img,
.i-cc-card img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  padding: 20px 20px 8px;
}

.i-th-card h3,
.i-bh-card h3,
.i-cc-card h3 {
  font-size: 0.8rem;
  color: #000;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

/* ✅ Golden underline equal to text width */
.i-th-card h3::after,
.i-bh-card h3::after, 
.i-cc-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f5c542, #f9a602);
}


.home-info {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
  color: #000;
}

.home-info h2 {
  font-size: 26px;
  margin-bottom: 16px;
  text-align: left;
}

.home-info p {
  font-size: 15.5px;
  line-height: 1.5;
  margin-bottom: 14px;
  text-align: left;
  color: #000;
}

.home-info li {
  line-height: 1.35;
}

.home-info-more {
  display: none;
}

.read-more-inline {
  color: #1a73e8;
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}

.read-more-inline:hover {
  text-decoration: underline;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .i-th-grid,
  .i-bh-grid,
  .i-cc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 25px 20px;
  }

  .i-th-card,
  .i-bh-card,
  .i-cc-card {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .i-th-grid,
  .i-bh-grid,
  .i-cc-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 8px;
    padding-top: 20px 20px;
  }

  .i-th-card,
  .i-bh-card,
  .i-cc-card {
    max-width: 100%;
  }

  .i-th-hero h2,
  .i-th-hero h2,
  .i-th-hero h2 {
    font-size: 2rem;
  }

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
