/* ===== Banner Text Desktop ===== */
.banner-1 h1,
.banner-1 h2 {
    font-size: 60px !important;
    line-height: 70px !important;
    text-shadow: 6px 6px 22px rgba(0,0,0,1);
}

.banner-1 p {
    font-size: 18px !important;
    line-height: 26px !important;
    text-shadow: 4px 5px 16px rgba(0,0,0,1);
}
.banner-1 {
    position: relative;
}

.banner-1::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.35);
    z-index:0;
}

.banner-1 .container {
    position: relative;
    z-index:1;
}

/* Main heading */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
}

/* Small subtitle under heading */
.text-muted {
  font-size: 1.4rem;
}

/* Benefit card headings */
.benefit-title {
  font-size: 1.6rem;
  font-weight: 600;
}

/* Paragraph text */
.benefit-card p {
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: justify;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .text-muted {
    font-size: 1.1rem;
  }

  .benefit-title {
    font-size: 1.3rem;
  }

  .benefit-card p {
    font-size: 1.1rem;
  }
}

/* Main heading */
.bd-title {
  font-size: 3rem;
  font-weight: 700;
}

/* Paragraph text */
.bd-subtitle {
  font-size: 1.5rem;
  line-height: 1.8;
  text-align: justify;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .bd-title {
    font-size: 2rem;
  }

  .bd-subtitle {
    font-size: 1.2rem;
  }
}
/* Increase main title size */
.our-features h2,
.our-features .title_primary {
    font-size: 40px !important;
}

/* Increase feature titles */
.our-features h3 {
    font-size: 28px !important;
}

/* Increase description text */
.our-features p {
    font-size: 18px !important;
}

.btn.btn-play {
    background: #CC985F;
    color: #000000;
    padding: 16px 30px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    display: inline-block;
}

@media (max-width:600px){

.banner-1{
    padding-bottom:80px;
}

.banner-1 h1,
.banner-1 h2{
    font-size:30px!important;
    line-height:29px!important;
    text-align:justify;
}

.banner-1 .container p{
    font-size:16px!important;
    line-height: 22px !important;
    text-align:justify;
    
}

.banner-1 .box-button{
    margin-top:5px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    position:relative;
    z-index:5;
}

.banner-1 .btn{
    padding:12px 24px;
    font-size:15px;
}

}
.faculty-title{
font-size:48px;
letter-spacing:2px;
color:#4a3528;
text-align:center;
margin-bottom:40px;
}

.faculty-card{
background:#fff;
padding:30px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
transition:0.3s;
height:100%;
text-align:justify;
line-height:1.7;
}

.faculty-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.faculty-img{
width:90%;
max-width:300px;
height:auto;
object-fit:cover;
border-radius:12px;
border:4px solid #3c8dbc;
margin-bottom:20px;
}

.trainer-role{
color:#9c7a44;
font-weight:600;
margin-bottom:15px;
text-align:center;
}

.faculty-card p{
text-align:justify;
text-justify:inter-word;
margin-bottom:12px;
}

.faculty-card ul{
padding-left:22px;
margin-bottom:12px;
}

.faculty-card li{
text-align:left;
margin-bottom:5px;
}

.achievement-card{
background:#fff;
padding:20px;
border-radius:15px;
box-shadow:0 8px 25px rgba(0,0,0,0.1);
text-align:center;
transition:0.3s;
}

.achievement-card:hover{
transform:translateY(-8px);
}

.achievement-card img{
width:100%;
border-radius:10px;
margin-bottom:15px;
}

.achievement-card h3{
font-size:20px;
margin-bottom:10px;
color:#1b6ea8;
}

.achievement-card p{
font-size:15px;
color:#555;
}

.swiper{
padding-bottom:30px;
background-color:#E0F0F6;
}


.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 9px 13px 19px rgba(0,0,0,1);
}

.hero-text {
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  color: #f1f1f1;
  text-shadow: 8px 10px 18px rgba(0,0,0,0.9);
}

@media (max-width: 768px) {

  .hero {
    background-position: center;
  }

  /* Stronger overlay for mobile */
  .hero::before {
    background: rgba(0,0,0,0.7);
  }

  .hero-content {
    padding: 40px 20px;
    max-width: 100%;
  }

  .hero .top-line {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-text {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Fix Bootstrap spacing issues */
  .hero .row {
    margin: 0;
  }

  .hero .col-lg-12,
  .hero .col-lg-6 {
    padding: 0;
  }

  /* Full width button */
  .box-button a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
  }
}

.hero {
  position: relative;
  background-image: url('https://www.gurusisya.com/storage/chess-classes-by-gurusisya-chess-academy-1-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .hero {
    background-size: contain !important;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #000;
    min-height: 100vh;
  }
}



.chess-audience-section {
  position: relative;
  padding: 110px 20px;
  background: radial-gradient(circle at top left, #f8fbff 0%, #eef4ff 45%, #fdfdff 100%);
  overflow: hidden;
}

.chess-audience-section::before,
.chess-audience-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.22;
  z-index: 0;
}

.chess-audience-section::before {
  background: #8cb4ff;
  top: -100px;
  left: -80px;
}

.chess-audience-section::after {
  background: #c9a7ff;
  bottom: -120px;
  right: -100px;
}

.audience-container {
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.audience-heading {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 90px;
}

.section-badge {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(79, 124, 255, 0.08);
  border: 1px solid rgba(79, 124, 255, 0.18);
  color: #355cde;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}

.audience-heading h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.08;
  font-weight: 800;
  color: #111827;
  margin-bottom: 28px;
}

.audience-heading p {
  font-size: 1.35rem;
  line-height: 2;
  color: #4b5563;
  max-width: 1000px;
  margin: 0 auto;
  text-align: justify;
  text-align-last: center;
}

.audience-heading strong {
  color: #111827;
  font-weight: 700;
}

.circle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
  align-items: center;
  justify-items: center;
}

.circle-card {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  position: relative;
  padding: 2px;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(79,124,255,0.15), rgba(141,91,255,0.18));
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.10);
}

.circle-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 28px 55px rgba(79,124,255,0.18);
}

.circle-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 30px 26px;
}

.circle-inner span {
  font-size: 2.3rem;
  margin-bottom: 16px;
  display: inline-block;
}

.circle-inner h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 14px;
  line-height: 1.35;
}

.circle-inner p {
  font-size: 1rem;
  line-height: 1.8;
  color: #4b5563;
  margin: 0;
}

/* Organic layout feel */
.circle-card:nth-child(1) { transform: translateY(35px); }
.circle-card:nth-child(2) { transform: translateY(-10px); }
.circle-card:nth-child(3) { transform: translateY(45px); }
.circle-card:nth-child(4) { transform: translateY(-15px); }
.circle-card:nth-child(5) { transform: translateY(30px); }

.circle-card:nth-child(1):hover,
.circle-card:nth-child(2):hover,
.circle-card:nth-child(3):hover,
.circle-card:nth-child(4):hover,
.circle-card:nth-child(5):hover {
  transform: translateY(-12px) scale(1.03);
}

@media (max-width: 1400px) {
  .circle-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .circle-card:nth-child(1),
  .circle-card:nth-child(2),
  .circle-card:nth-child(3),
  .circle-card:nth-child(4),
  .circle-card:nth-child(5) {
    transform: none;
  }
}

@media (max-width: 992px) {
  .audience-heading h2 {
    font-size: clamp(2.4rem, 6vw, 4rem);
  }

  .audience-heading p {
    font-size: 1.18rem;
    line-height: 1.9;
    text-align: center;
  }

  .circle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .circle-card {
    width: 230px;
    height: 230px;
  }

  .circle-inner h3 {
    font-size: 1.05rem;
  }

  .circle-inner p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .chess-audience-section {
    padding: 80px 16px;
  }

  .audience-heading {
    margin-bottom: 60px;
  }

  .section-badge {
    font-size: 13px;
    padding: 10px 20px;
  }

  .audience-heading h2 {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .audience-heading p {
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
  }

  .circle-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .circle-card {
    width: 100%;
    max-width: 290px;
    height: 290px;
  }

  .circle-inner {
    padding: 28px 24px;
  }

  .circle-inner h3 {
    font-size: 1.1rem;
  }

  .circle-inner p {
    font-size: 0.96rem;
    line-height: 1.75;
  }
}
.row-one-line .column p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;

  display: -webkit-box;
  -webkit-line-clamp: 4;  /* limits text */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.row-one-line .column {
  width: 230px;
  height: 230px;
  margin: auto;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;
  overflow: hidden; /* ⭐ THIS fixes your issue */
}


/* Section container */
.chess-features-one-row .container {
  max-width: 1400px;
  margin: auto;
  padding: 30px 20px;
  font-family: Arial, sans-serif;
}

/* Title */
.chess-features-one-row h2 {
  font-weight: 900;
  font-size: 50px;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* Grid */
.row-one-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px; /* ↓↓↓ smaller column gap */
}

/* Card */
.row-one-line .column {
  background: #fff;
  padding: 16px;         /* smaller padding */
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: center;
  height: auto;          /* important to prevent paragraph cutting */
}

/* Images */
.row-one-line .column img {
  width: 100%;
  height: auto;
  max-height: 110px;     /* ↓↓↓ reduce size so paragraph fits */
  object-fit: contain;
  margin-bottom: 12px;
}

/* Titles */
.row-one-line .column h3 {
  font-size: 18px;
  margin: 8px 0 10px 0;  /* compact spacing */
  line-height: 1.3;
}

/* Paragraphs */
.row-one-line .column p {
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
  margin-top: 6px;
  color: #444;
}

/* Hover */
.row-one-line .column:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.row-one-line .column:hover h3 {
  color: #0d6efd;
}

/* Tablet */
@media (max-width: 1024px) {
  .row-one-line {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .chess-features-one-row h2 {
    font-size: 36px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .row-one-line {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .chess-features-one-row h2 {
    font-size: 26px;
    text-align: left;
    margin-bottom: 18px;
  }

  .row-one-line .column {
    padding: 10px;
  }

  .row-one-line .column img {
    max-height: 100px;    /* smaller mobile image */
  }

  .row-one-line .column h3 {
    font-size: 17px;
    text-align: left;
  }

  .row-one-line .column p {
    font-size: 14px;
    text-align: left;
  }
}
/* Remove fixed height — MOST IMPORTANT FIX */
.row-one-line .column {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

/* Reduce space between columns */
.row-one-line {
    gap: 10px !important;
}

/* Ensure paragraph is never cut */
.row-one-line .column p {
    overflow: visible !important;
    display: block !important;
    max-height: none !important;
}

/* Reduce image size so text fits properly */
.row-one-line .column img {
    max-height: 100px !important;
    margin-bottom: 10px !important;
}


.methodology-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #f8f9fc 0%, #eef2ff 100%);
}

.methodology-container {
  max-width: 1200px;
  margin: 0 auto;
}

.methodology-header {
  text-align: center;
  margin-bottom: 50px;
}

.methodology-tag {
  display: inline-block;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.methodology-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 15px;
}

.methodology-header p {
  font-size: 18px;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.methodology-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.methodology-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.methodology-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.methodology-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.methodology-card p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 991px) {
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .methodology-header h2 {
    font-size: 34px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .methodology-header h2 {
    font-size: 28px;
  }

  .methodology-header p {
    font-size: 16px;
  }

  .methodology-card {
    padding: 24px 20px;
  }
}


.chess-audience {
  padding: 100px 20px;
  background: #f8fafc;
  text-align: center;
}

.chess-audience .container {
  max-width: 1300px;
  margin: 0 auto;
}

.chess-audience h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f172a;
}

.chess-audience .subtitle {
  font-size: 20px;
  color: #64748b;
  margin-bottom: 50px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.audience-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.10);
}

.audience-card span {
  font-size: 40px;
  display: block;
  margin-bottom: 18px;
}

.audience-card p {
  font-size: 18px;
  color: #334155;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

/* Tablet */
@media (max-width: 991px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chess-audience h2 {
    font-size: 34px;
  }

  .audience-card {
    min-height: 200px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .chess-audience {
    padding: 80px 15px;
  }

  .chess-audience h2 {
    font-size: 30px;
  }

  .chess-audience .subtitle {
    font-size: 18px;
  }

  .audience-card {
    padding: 30px 20px;
    min-height: auto;
  }

  .audience-card p {
    font-size: 17px;
  }
}

.curriculum-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f4f9ff 0%, #eaf4ff 100%);
  color: #0f172a;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.curriculum-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.curriculum-section h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f4c75;
}

.curriculum-section .subtitle {
  font-size: 19px;
  color: #64748b;
  margin-bottom: 70px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Timeline Wrapper */
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
}

/* Center Line */
.timeline::before {
  content: '';
  position: absolute;
  width: 5px;
  background: linear-gradient(to bottom, #3b82f6, #60a5fa);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
}

/* Timeline Items */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* LIGHT BLUE CARD */
.timeline-content {
  background: linear-gradient(135deg, #dff1ff 0%, #cce7ff 100%);
  padding: 35px 30px;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.15);
  transition: all 0.35s ease;
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(59, 130, 246, 0.22);
  border-color: rgba(37, 99, 235, 0.3);
}

.timeline-content h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f4c75;
  line-height: 1.4;
}

.timeline-content .duration {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Bullet List */
.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-content ul li {
  font-size: 17px;
  color: #1e293b;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 26px;
  font-weight: 500;
}

.timeline-content ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-weight: bold;
}

/* Timeline Dots */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 45px;
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border: 4px solid #dbeafe;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.08);
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .curriculum-section h2 {
    font-size: 36px;
  }

  .curriculum-section .subtitle {
    font-size: 18px;
    margin-bottom: 55px;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 15px;
    text-align: left !important;
    left: 0 !important;
    margin-bottom: 30px;
  }

  .timeline-item::before {
    left: 8px !important;
    right: auto !important;
  }

  .timeline-content {
    padding: 30px 24px;
  }

  .timeline-content h3 {
    font-size: 23px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .curriculum-section {
    padding: 80px 15px;
  }

  .curriculum-section h2 {
    font-size: 30px;
  }

  .curriculum-section .subtitle {
    font-size: 17px;
    margin-bottom: 45px;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-item {
    padding-left: 45px;
  }

  .timeline-item::before {
    width: 16px;
    height: 16px;
    left: 6px !important;
  }

  .timeline-content {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .timeline-content h3 {
    font-size: 21px;
  }

  .timeline-content ul li {
    font-size: 16px;
    line-height: 1.7;
  }
}


.mastery-section {
  padding: 100px 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  text-align: center;
}

.mastery-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.mastery-section h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.mastery-section .subtitle {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 60px;
}

/* Grid */
.mastery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Cards */
.mastery-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.mastery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

/* Headings */
.mastery-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0f4c75;
}

/* Description */
.mastery-card .desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 15px;
}

/* List */
.mastery-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mastery-card ul li {
  font-size: 16px;
  color: #334155;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  line-height: 1.6;
}

.mastery-card ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
  .mastery-grid {
    grid-template-columns: 1fr;
  }

  .mastery-section h2 {
    font-size: 32px;
  }
}

.learn-section {
  padding: 100px 20px;
  background: transparent;
  text-align: center;
}

.learn-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.learn-section h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.learn-section .subtitle {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 60px;
}

/* Grid */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Cards */
.learn-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.learn-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

/* Headings */
.learn-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0f4c75;
}

/* Description */
.learn-card .desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 15px;
}

/* List */
.learn-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.learn-card ul li {
  font-size: 16px;
  color: #334155;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  line-height: 1.6;
}

.learn-card ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }

  .learn-section h2 {
    font-size: 32px;
  }
}

.learn-card:last-child {
  grid-column: 1 / -1;
  max-width: 520px;
  margin: 0 auto;
}


.learn-section {
  padding: 100px 20px;
  background: transparent;
  text-align: center;
}

.learn-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.learn-section h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.learn-section .subtitle {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 60px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.learn-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: left;
  border: 1px solid rgba(148,163,184,0.15);
}

.learn-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.25);
}

.learn-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0f4c75;
}

.learn-card .desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 15px;
}

.learn-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.learn-card ul li {
  font-size: 16px;
  color: #334155;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  line-height: 1.6;
}

.learn-card ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

@media (max-width: 900px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }

  .learn-section h2 {
    font-size: 32px;
  }
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* balance last card */
.learn-card:last-child {
  grid-column: 1 / -1;
  max-width: 520px;
  margin: 0 auto;
}
.course-for {
  padding: 80px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.course-for h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.course-for .subtitle {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 50px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .course-for h2 {
    font-size: 28px;
  }
}





/* CSS for Gurusisya Chess Game */
#chess-wrapper {
    max-width: 450px; 
    margin: 20px auto; 
}

#myBoard {
    width: 100% !important;
    /* This is the most important line to fix the invisible board */
    min-height: 400px; 
    border: 4px solid #003d5b; 
    border-radius: 8px;
    background-color: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.status-area {
    text-align: center;
    margin-top: 15px;
    font-family: 'Arial', sans-serif;
}

#status {
    font-weight: bold;
    color: #e67e22; /* Your Academy Orange */
}

.reset-game-btn {
    background-color: #003d5b; /* Your Academy Blue */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.reset-game-btn:hover {
    background-color: #002a40;
}


/* Section */
.chess-features {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

/* Heading */
.section-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
}

/* Grid Layout */
.row-one-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.feature-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

/* Hover Effect */
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image */
.feature-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Title */
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
}

/* Text */
.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Responsive */
@media (max-width: 992px) {
  .row-one-line {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .row-one-line {
    grid-template-columns: 1fr;
  }

  .section-heading {
    font-size: 24px;
  }
}



.stats-section {
  background: #0f172a;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-box {
  background: #1e293b;
  padding: 30px 40px;
  border-radius: 12px;
  width: 220px;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-box h2 {
  font-size: 42px;
  color: #22c55e;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 16px;
  opacity: 0.8;
}

.course-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 20px;
  padding: 20px;
}

/* LIGHT CARD DESIGN */
.course-card {
  background: #ffffff;
  color: #1e293b;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 24px;
}

/* Title */
.course-card h3 {
  color: #0ea5e9;
  margin-bottom: 6px;
  
}

/* Meta */
.meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
}

/* List */
.course-card ul {
  padding-left: 18px;
  margin-bottom: 15px;
}

.course-card ul li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Button */
.cta-btn {
  display: inline-block;
  padding: 10px;
  background: #22c55e;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
}

/* Hover (subtle, not required) */
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Highlight */
.course-card.highlight {
  border: 2px solid #22c55e;
}

.course-container {
  max-width: 1400px;
  margin: 0 auto;
}



.content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cta-btn {
  margin-top: auto;
}


.section-title {
  text-align: center;
  margin-bottom: 40px;
  padding: 10px 20px;
}

/* Main Heading */
.section-title h2 {
  font-size: 50px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;

  /* Premium gradient text */
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.section-title p {
  font-size: 30px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Optional: subtle animation */
.section-title h2 {
  animation: fadeUp 0.6s ease;
}

.section-title p {
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero::before {
  background: rgba(0,0,0,0.25); /* lighter overlay */
}



/* Desktop */
.hero {
  background-image: url('/storage/gurusisya-chess-academy-10.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    background-image: url('/storage/gurusisya-chess-academy-11.png');
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
    min-height: auto;
    padding: 60px 20px;
  }
}



.who-course {
  background: #f4f6fb;
  padding: 80px 20px;
  text-align: center;
}

.who-course h2 {
  font-size: 34px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #111;
}

.subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.course-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.icon {
  width: 60px;
  height: 60px;
  background: #6c5ce7;
  color: #fff;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 15px; /* 🔥 THIS CENTERS IT */
}
}

.course-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111;
}

.course-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}



.how-works-section {
  background: #f4f6fb;
  padding: 80px 20px;
  text-align: center;
}

.how-works-section h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #111;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Number Icon */
.icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #6c5ce7, #7a6ff0);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111;
}

.card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}