/*
Theme Name: Airan Ayurveda
Theme URI: https://airanayurveda.com
Author: Airan Ayurveda Team
Author URI: https://airanayurveda.com
Description: Custom theme for Airan Ayurveda - India's Ayurveda education platform.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: airan-ayurveda
*/

:root{
    --green-dark:#0f3d24;
    --green:#1c5c37;
    --green-mid:#2f7a49;
    --gold:#e9b949;
    --cream:#f6f4ec;
    --text-dark:#1a2b20;
    --text-muted:#5c6b60;
    --white:#ffffff;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  body{
    font-family:'Poppins', sans-serif;
    color:var(--text-dark);
    background:var(--cream);
    line-height:1.5;
  }
  h1,h2,h3{font-family:'Playfair Display', serif;}
  a{text-decoration:none; color:inherit;}
  ul{list-style:none;}
  img{max-width:100%; display:block;}
  .container{max-width:1200px; margin:0 auto; padding:0 24px;}

  /* HEADER */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(255,255,255,0.96);
    backdrop-filter:blur(6px);
    border-bottom:1px solid rgba(0,0,0,0.06);
  }
  .nav-wrap{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 24px; max-width:1200px; margin:0 auto;
  }
  .logo{display:flex; align-items:center; gap:10px;}
  .logo-icon{
    width:38px; height:38px; border-radius:50%;
    background:var(--green-dark);
    display:flex; align-items:center; justify-content:center;
    color:var(--gold); font-size:18px;
  }
  .logo-text h2{font-size:19px; color:var(--green-dark); line-height:1.1;}
  .logo-text span{font-size:10px; letter-spacing:2px; color:var(--text-muted); font-weight:600;}
  nav ul{display:flex; gap:32px; align-items:center;}
  nav a{font-size:15px; font-weight:500; color:var(--text-dark); transition:color .2s;}
  nav a:hover{color:var(--green-mid);}
  .btn-gold{
    background:var(--gold); color:var(--green-dark); font-weight:600;
    padding:10px 22px; border-radius:30px; font-size:14px;
    border:none; cursor:pointer; transition:transform .2s, box-shadow .2s;
    display:inline-block;
  }
  .btn-gold:hover{transform:translateY(-2px); box-shadow:0 8px 20px rgba(233,185,73,0.4);}
  .btn-outline{
    border:1.5px solid rgba(255,255,255,0.6); color:#fff; background:transparent;
    padding:10px 22px; border-radius:30px; font-size:14px; font-weight:500;
    cursor:pointer; transition:all .2s;
  }
  .btn-outline:hover{background:rgba(255,255,255,0.12);}

  /* HERO */
  .hero{
    position:relative;
    min-height:640px;
    display:flex; align-items:center;
    background:
      linear-gradient(120deg, rgba(10,40,22,0.92), rgba(20,70,38,0.75)),
      url('https://images.unsplash.com/photo-1512069772995-ec65ed45afd6?q=80&w=1600&auto=format&fit=crop') center/cover;
    color:#fff;
    overflow:hidden;
  }
  .hero::after{
    content:"";
    position:absolute; inset:0;
    background:radial-gradient(circle at 80% 20%, rgba(233,185,73,0.08), transparent 60%);
  }
  .hero-inner{max-width:720px; padding:100px 24px 80px; position:relative; z-index:2;}
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    border:1px solid rgba(255,255,255,0.35); border-radius:30px;
    padding:6px 16px; font-size:12px; letter-spacing:1px; font-weight:600;
    margin-bottom:24px; color:#d9e8dc;
  }
  .eyebrow .dot{width:7px; height:7px; border-radius:50%; background:var(--gold);}
  .hero h1{
    font-size:52px; font-weight:800; line-height:1.15; margin-bottom:20px;
  }
  .hero h1 .accent{color:var(--gold);}
  .hero p{font-size:17px; color:#dbe6dd; max-width:560px; margin-bottom:32px;}
  .hero p b{color:var(--gold);}
  .hero-ctas{display:flex; gap:16px; margin-bottom:64px; flex-wrap:wrap;}
  .stats{display:flex; gap:56px; flex-wrap:wrap;}
  .stat b{font-size:34px; color:var(--gold); display:block; font-family:'Playfair Display',serif;}
  .stat span{font-size:12px; letter-spacing:1.5px; color:#c7d6c9; font-weight:600;}

  /* SECTION HEADER */
  .section{padding:96px 0;}
  .section-head{text-align:center; max-width:640px; margin:0 auto 56px;}
  .section-eyebrow{
    font-size:13px; letter-spacing:2px; font-weight:700; color:var(--gold);
    text-transform:uppercase; margin-bottom:14px; display:block;
  }
  .section-head h2{font-size:38px; color:var(--green-dark); margin-bottom:16px; line-height:1.25;}
  .section-head h2 .accent{color:var(--gold);}
  .section-head p{color:var(--text-muted); font-size:15.5px;}
  .rule{
    width:70px; height:3px; background:var(--gold); margin:0 auto 24px; border-radius:2px;
  }

  /* FEATURES GRID */
  .grid-5{
    display:grid; grid-template-columns:repeat(5,1fr); gap:24px;
  }
  .feature-card{
    background:#fff; border-radius:16px; padding:32px 24px;
    box-shadow:0 2px 14px rgba(20,50,30,0.06);
    transition:transform .25s, box-shadow .25s;
    border:1px solid rgba(20,50,30,0.05);
  }
  .feature-card:hover{transform:translateY(-6px); box-shadow:0 16px 30px rgba(20,50,30,0.12);}
  .feature-icon{
    width:52px; height:52px; border-radius:12px;
    background:var(--green-dark); color:var(--gold);
    display:flex; align-items:center; justify-content:center;
    font-size:22px; margin-bottom:20px;
  }
  .feature-card.highlight .feature-icon{background:var(--gold); color:var(--green-dark);}
  .feature-card h3{font-family:'Poppins',sans-serif; font-size:17px; font-weight:600; color:var(--green-dark); margin-bottom:10px;}
  .feature-card p{font-size:13.5px; color:var(--text-muted);}

  /* COURSES */
  .courses-section{background:var(--cream);}
  .courses-top{
    display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:44px;
  }
  .courses-top .section-eyebrow{margin-bottom:10px;}
  .courses-top h2{font-size:34px; color:var(--green-dark); text-align:left;}
  .view-all{font-weight:600; color:var(--green-dark); font-size:14px; white-space:nowrap;}
  .grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
  .course-card{
    background:#fff; border-radius:16px; overflow:hidden;
    box-shadow:0 4px 18px rgba(20,50,30,0.07);
    transition:transform .25s, box-shadow .25s;
  }
  .course-card:hover{transform:translateY(-6px); box-shadow:0 18px 34px rgba(20,50,30,0.14);}
  .course-img{position:relative; height:180px; overflow:hidden;}
  .course-img img{width:100%; height:100%; object-fit:cover;}
  .badge{
    position:absolute; top:14px; left:14px;
    background:var(--gold); color:var(--green-dark);
    font-size:11px; font-weight:700; padding:5px 12px; border-radius:20px;
    letter-spacing:.5px;
  }
  .course-body{padding:22px 20px 26px;}
  .course-body h3{font-family:'Poppins'; font-size:18px; font-weight:600; color:var(--green-dark); margin-bottom:10px;}
  .course-meta{display:flex; gap:16px; font-size:12.5px; color:var(--text-muted); margin-bottom:18px;}
  .course-meta span{display:flex; align-items:center; gap:5px;}
  .btn-enroll{
    display:inline-flex; align-items:center; gap:8px;
    background:var(--green-dark); color:#fff; font-weight:600; font-size:14px;
    padding:11px 20px; border-radius:8px; width:100%; justify-content:center;
    transition:background .2s;
  }
  .btn-enroll:hover{background:var(--green-mid);}

  /* COMMUNITY */
  .community{
    background:linear-gradient(160deg, var(--green-dark), #0a2a17);
    color:#fff; text-align:center;
  }
  .community .section-eyebrow{color:var(--gold);}
  .community h2{font-size:36px; margin-bottom:14px;}
  .community h2 .accent{color:var(--gold);}
  .community > .container > p{color:#cfe0d2; max-width:600px; margin:0 auto 48px; font-size:15px;}
  .social-grid{
    display:grid; grid-template-columns:repeat(5,1fr); gap:20px;
  }
  .social-card{
    background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1);
    border-radius:14px; padding:30px 16px; transition:transform .2s, background .2s;
  }
  .social-card:hover{transform:translateY(-5px); background:rgba(255,255,255,0.1);}
  .social-icon{
    width:48px; height:48px; border-radius:12px; margin:0 auto 16px;
    display:flex; align-items:center; justify-content:center; font-size:20px; color:#fff;
  }
  .social-card h4{font-size:15px; margin-bottom:4px; font-weight:600;}
  .social-card small{color:#a9c2ae; font-size:12px; display:block; margin-bottom:16px;}
  .btn-join{
    background:var(--gold); color:var(--green-dark); font-weight:700; font-size:13px;
    padding:8px 22px; border-radius:20px; border:none; cursor:pointer;
  }

  /* FOOTER */
  footer{background:#08210f; color:#cfe0d2; padding:64px 0 28px;}
  .footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:48px; margin-bottom:48px;}
  .footer-logo{display:flex; align-items:center; gap:10px; margin-bottom:16px;}
  .footer-logo h3{color:#fff; font-size:19px;}
  .footer-logo span{font-size:10px; letter-spacing:2px; color:#8fae95; font-weight:600;}
  .footer-col h4{color:#fff; font-size:15px; margin-bottom:18px; font-family:'Poppins'; font-weight:600;}
  .footer-col ul li{margin-bottom:10px; font-size:14px; color:#a9c2ae;}
  .footer-col ul li:hover{color:var(--gold); cursor:pointer;}
  .footer-social{display:flex; gap:12px; margin-top:20px;}
  .footer-social a{
    width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.08);
    display:flex; align-items:center; justify-content:center; font-size:14px;
  }
  .footer-bottom{
    border-top:1px solid rgba(255,255,255,0.08); padding-top:24px;
    text-align:center; font-size:13px; color:#8fae95;
  }

  @media(max-width:1000px){
    .grid-5{grid-template-columns:repeat(3,1fr);}
    .grid-3{grid-template-columns:repeat(2,1fr);}
    .social-grid{grid-template-columns:repeat(3,1fr);}
    .footer-grid{grid-template-columns:1fr 1fr;}
    nav ul{display:none;}
  }
  @media(max-width:640px){
    .hero h1{font-size:36px;}
    .grid-5{grid-template-columns:repeat(2,1fr);}
    .grid-3{grid-template-columns:1fr;}
    .social-grid{grid-template-columns:repeat(2,1fr);}
    .footer-grid{grid-template-columns:1fr;}
    .courses-top{flex-direction:column; align-items:flex-start; gap:12px;}
  }

/* FAQ SECTION */
.faq-section{background:#fff;}
.faq-list{max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:14px;}
.faq-item{
  border:1px solid rgba(20,50,30,0.1); border-radius:12px; overflow:hidden;
  background:var(--cream); transition:border-color .2s;
}
.faq-item.open{border-color:var(--gold);}
.faq-question{
  width:100%; display:flex; justify-content:space-between; align-items:center;
  padding:20px 24px; background:none; border:none; cursor:pointer;
  font-family:'Poppins',sans-serif; font-size:15.5px; font-weight:600; color:var(--green-dark);
  text-align:left;
}
.faq-icon{
  width:26px; height:26px; border-radius:50%; background:var(--green-dark); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0;
  transition:transform .25s, background .25s;
}
.faq-item.open .faq-icon{background:var(--gold); color:var(--green-dark); transform:rotate(45deg);}
.faq-answer{
  max-height:0; overflow:hidden; transition:max-height .3s ease, padding .3s ease;
  padding:0 24px;
}
.faq-item.open .faq-answer{max-height:220px; padding:0 24px 22px;}
.faq-answer p{font-size:14px; color:var(--text-muted); line-height:1.7;}

/* CONTACT SECTION */
.contact-section{background:var(--cream);}
.contact-wrap{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:flex-start;
}
.contact-info h2{font-size:34px; color:var(--green-dark); margin:10px 0 16px;}
.contact-info > p{color:var(--text-muted); font-size:15px; margin-bottom:28px;}
.contact-details{display:flex; flex-direction:column; gap:16px;}
.contact-details li{
  display:flex; align-items:center; gap:14px; font-size:14.5px; color:var(--text-dark); font-weight:500;
}
.contact-icon{
  width:40px; height:40px; border-radius:10px; background:var(--green-dark); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0;
}
.contact-form{
  background:#fff; border-radius:18px; padding:36px; box-shadow:0 8px 30px rgba(20,50,30,0.08);
}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.form-group{margin-bottom:18px;}
.form-group label{
  display:block; font-size:13px; font-weight:600; color:var(--green-dark); margin-bottom:7px;
}
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:12px 14px; border:1.5px solid rgba(20,50,30,0.15); border-radius:9px;
  font-family:'Poppins',sans-serif; font-size:14px; color:var(--text-dark); background:var(--cream);
  transition:border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color:var(--gold);
}
.form-group textarea{resize:vertical;}
.btn-submit{width:100%; border:none; font-size:15px; padding:13px 22px;}
.form-note{
  margin-top:14px; font-size:13.5px; color:var(--green-mid); font-weight:600; opacity:0;
  transition:opacity .3s;
}
.form-note.show{opacity:1;}

@media(max-width:800px){
  .contact-wrap{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
}

/* LOGO IMAGE */
.logo-icon-img{
  width:44px; height:44px; border-radius:10px; object-fit:cover; flex-shrink:0;
}
.footer-logo .logo-icon-img{width:40px; height:40px;}

/* ABOUT SECTION */
.about-section{background:#fff;}
.about-wrap{display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:center;}
.about-img{position:relative; border-radius:20px; overflow:hidden; box-shadow:0 20px 50px rgba(20,50,30,0.15);}
.about-img img{width:100%; height:460px; object-fit:cover;}
.about-badge{
  position:absolute; bottom:24px; left:24px;
  background:#fff; border-radius:14px; padding:16px 22px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}
.about-badge b{font-family:'Playfair Display',serif; font-size:28px; color:var(--green-dark); display:block; line-height:1;}
.about-badge span{font-size:12px; color:var(--text-muted); font-weight:600;}
.about-content h2{font-size:34px; color:var(--green-dark); margin:10px 0 16px; line-height:1.3;}
.about-lead{font-size:15.5px; color:var(--text-dark); font-weight:500; margin-bottom:14px;}
.about-content > p{color:var(--text-muted); font-size:14.5px; margin-bottom:28px;}
.about-mission{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:32px;}
.mission-item{display:flex; gap:14px;}
.mission-icon{
  width:44px; height:44px; border-radius:12px; background:var(--cream);
  display:flex; align-items:center; justify-content:center; font-size:19px; flex-shrink:0;
}
.mission-item h4{font-size:15px; color:var(--green-dark); margin-bottom:5px; font-weight:600;}
.mission-item p{font-size:13px; color:var(--text-muted); line-height:1.5;}
.team-row{display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding-top:20px; border-top:1px solid rgba(20,50,30,0.08);}
.team-label{font-size:13px; color:var(--text-muted); font-weight:500;}
.team-avatars{display:flex;}
.avatar{
  width:38px; height:38px; border-radius:50%; background:var(--green-dark); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:700;
  border:2.5px solid #fff; margin-left:-10px;
}
.team-avatars .avatar:first-child{margin-left:0;}
.avatar-more{
  width:38px; height:38px; border-radius:50%; background:var(--gold); color:var(--green-dark);
  display:flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:700;
  border:2.5px solid #fff; margin-left:-10px;
}

/* TESTIMONIALS */
.testimonials-section{background:var(--cream);}
.testimonial-card{
  background:#fff; border-radius:16px; padding:32px 28px;
  box-shadow:0 2px 14px rgba(20,50,30,0.06); transition:transform .25s, box-shadow .25s;
}
.testimonial-card:hover{transform:translateY(-6px); box-shadow:0 16px 30px rgba(20,50,30,0.12);}
.stars{color:var(--gold); font-size:15px; letter-spacing:2px; margin-bottom:16px;}
.testimonial-text{font-size:14px; color:var(--text-dark); line-height:1.7; margin-bottom:24px; min-height:120px;}
.testimonial-person{display:flex; align-items:center; gap:14px;}
.testimonial-person .avatar{margin-left:0;}
.testimonial-person h4{font-size:14.5px; color:var(--green-dark); font-weight:600;}
.testimonial-person span{font-size:12px; color:var(--text-muted);}

/* BLOG */
.blog-section{background:#fff;}
.blog-card{
  display:block; background:var(--cream); border-radius:16px; overflow:hidden;
  box-shadow:0 2px 14px rgba(20,50,30,0.06); transition:transform .25s, box-shadow .25s;
}
.blog-card:hover{transform:translateY(-6px); box-shadow:0 16px 30px rgba(20,50,30,0.12);}
.blog-img{height:170px; overflow:hidden;}
.blog-img img{width:100%; height:100%; object-fit:cover; transition:transform .4s;}
.blog-card:hover .blog-img img{transform:scale(1.06);}
.blog-body{padding:22px 22px 26px;}
.blog-tag{
  display:inline-block; background:rgba(233,185,73,0.15); color:#a3781f;
  font-size:11px; font-weight:700; padding:4px 12px; border-radius:20px; margin-bottom:12px; letter-spacing:.3px;
}
.blog-body h3{font-family:'Poppins'; font-size:16px; font-weight:600; color:var(--green-dark); line-height:1.4; margin-bottom:14px;}
.blog-meta{display:flex; gap:16px; font-size:12px; color:var(--text-muted);}

@media(max-width:900px){
  .about-wrap{grid-template-columns:1fr; gap:36px;}
  .about-img img{height:340px;}
  .about-mission{grid-template-columns:1fr;}
}
