* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    background: #f5f7fb;
    color: #333;
}
.container {
    width: 92%;
    max-width: 1300px;
    margin: auto;
}
.section {
    padding: 80px 0;
}

/* gradient */
.gradient-text {
    background: linear-gradient(45deg, #16a34a, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn {
    background: linear-gradient(45deg, #16a34a, #0f766e);
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}
.btn:hover {
    transform: scale(1.05);
}
.btn-outline {
    background: #fff;
    color: #0f766e;
    border: 1px solid #0f766e;
}

/* ===== TOP BAR ===== */
.topbar {
    background: linear-gradient(45deg, #16a34a, #0f766e);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
}

/* ===== HEADER ===== */
header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.logo {
    font-size: 26px;
    font-weight: 700;
}

/* MENU */
.menu {
    display: flex;
    align-items: center;
}
.menu li {
    list-style: none;
    position: relative;
    margin-left: 28px;
}
.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 8px 0;
    display: block;
    position: relative;
}

/* underline hover */
.menu a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #16a34a, #0f766e);
    left: 0;
    bottom: -4px;
    transition: 0.3s;
    border-radius: 2px;
}
.menu a:hover:after {
    width: 100%;
}
.menu a:hover {
    color: #0f766e;
}

/* submenu */
.submenu {
    position: absolute;
    background: #fff;
    top: 45px;
    left: 0;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    display: none;
    padding: 10px 0;
}
.submenu a {
    padding: 10px 18px;
    font-weight: 500;
}
.menu li:hover .submenu {
    display: block;
}

/* hero */
.hero {
    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url("../img/5.jpg");
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 46px;
    margin-bottom: 10px;
}
.hero p {
    margin-bottom: 25px;
}

.search-box {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    max-width: 950px;
    margin: auto;
    color: #333;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.search-box form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}
.search-box input,
select {
    padding: 11px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* layout */
.main-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 25px;
    margin-top: 40px;
}

/* sidebar */
.sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: max-content;
}
.sidebar h3 {
    margin-bottom: 15px;
}
.sidebar input,
.sidebar select {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* members */
.members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.member-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: 0.3s;
}
.member-card:hover {
    transform: translateY(-7px);
}

.member-img {
    position: relative;
}
.member-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: gold;
    color: #000;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}
.online {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #00c853;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.hover-actions {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 14px;
}
.icon:hover {
    background: #16a34a;
    color: #fff;
}

.member-info {
    padding: 16px;
    text-align: center;
}
.member-info p {
    font-size: 13px;
    color: #777;
}
.member-btns {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
}

/* CTA */
.cta {
    background: linear-gradient(45deg, #16a34a, #0f766e);
    color: #fff;
    text-align: center;
    padding: 70px 0;
    margin-top: 80px;
}
.cta h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

/* packages */
.packages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.package {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.price {
    font-size: 32px;
    margin: 10px 0;
}
.package ul {
    list-style: none;
    margin: 15px 0;
}
.package ul li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

/* BLOG */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.blog {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.blog img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.blog-content {
    padding: 18px;
    text-align: left;
}
.blog-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.blog-content p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

/* footer */
.site-footer {
    background:
        radial-gradient(circle at 10% 10%, rgba(22, 163, 74, 0.18), transparent 42%),
        radial-gradient(circle at 90% 20%, rgba(15, 118, 110, 0.22), transparent 45%),
        #0f172a;
    color: #cbd5e1;
    padding: 58px 0 18px;
    margin-top: 60px;
}
.footer-brand-row {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.footer-brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    padding: 4px;
}
.footer-brand span {
    color: #f8fafc;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}
.footer-brand-text {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.site-footer h3 {
    color: #f8fafc;
    margin-bottom: 12px;
    font-size: 17px;
}
.site-footer ul {
    list-style: none;
}
.site-footer ul li {
    padding: 6px 0;
}
.site-footer ul li a {
    color: #cbd5e1;
    text-decoration: none;
}
.site-footer ul li a:hover {
    color: #86efac;
}
.footer-social {
    margin-top: 26px;
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.4);
    text-decoration: none;
    transition: all 0.25s ease;
}
.footer-social a:hover {
    border-color: #16a34a;
    background: linear-gradient(45deg, #16a34a, #0f766e);
    color: #fff;
    transform: translateY(-2px);
}
.copy {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    padding-top: 14px;
    color: #94a3b8;
    font-size: 13px;
}
.copy a {
    color: #bbf7d0;
    text-decoration: none;
}
.copy a:hover {
    color: #fff;
}

/* SUCCESS SECTION */
.success-section {
    background: #0f1117;
    padding: 80px 0;
}
.success-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #16a34a, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* image card */
.success-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}
.success-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

/* overlay */
.success-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 75, 139, 0.85),
        rgba(106, 92, 255, 0.85)
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
    text-align: center;
    color: #fff;
}
.success-overlay h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.success-btn {
    background: #fff;
    color: #0f766e;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* hover */
.success-item:hover img {
    transform: scale(1.1);
}
.success-item:hover .success-overlay {
    opacity: 1;
}

/* responsive */
@media (max-width: 1100px) {
    .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .success-grid {
        grid-template-columns: 1fr;
    }
}

/* responsive */
@media (max-width: 1100px) {
    .members,
    .packages,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-brand-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
@media (max-width: 600px) {
    .members,
    .packages,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .copy {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===============================
MOBILE MENU BUTTON
=============================== */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* tablet */
@media (max-width: 992px) {
    .topbar-flex {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    /* show hamburger */
    .menu-toggle {
        display: block;
    }

    /* mobile nav */
    nav {
        position: relative;
    }

    .menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 25px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        display: none;
        border-radius: 0 0 14px 14px;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 0;
        width: 100%;
    }

    .menu a {
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    /* remove underline hover mobile */
    .menu a:after {
        display: none;
    }

    /* submenu mobile */
    .submenu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        display: none;
        padding-left: 15px;
    }

    .menu li.open .submenu {
        display: block;
    }
}

/* ===============================
SMALL MOBILE
=============================== */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 28px;
    }
    .hero {
        padding: 90px 0;
    }

    .search-box {
        padding: 18px;
    }

    .search-box form {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .member-img img {
        height: 220px;
    }
}

/* ===============================
        EXTRA SMALL
        =============================== */
@media (max-width: 400px) {
    .logo {
        font-size: 20px;
    }

    .btn {
        padding: 9px 14px;
        font-size: 13px;
    }
}

/* Section base */
.about-section {
    background: #fff;
    padding: 70px 0;
}

/* Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Title */
.about-title {
    font-size: 34px;
    margin-bottom: 15px;
}

/* Text */
.about-desc {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

/* Buttons */
.about-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Image */
.about-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

/* =========================
   Tablet
========================= */
@media (max-width: 992px) {
    .about-grid {
        gap: 30px;
    }

    .about-title {
        font-size: 28px;
    }
}

/* =========================
   Mobile
========================= */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* IMAGE FIRST ON MOBILE */
    .about-image {
        order: 1;
    }

    .about-text {
        order: 2;
    }

    .about-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .about-buttons .btn {
        width: 100%;
        max-width: 260px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .about-title {
        font-size: 24px;
    }
}

/* PROFILE PAGE */
.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
}

.profile-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.profile-main-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 10px;
}

.profile-btns {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
}

.info-list {
    list-style: none;
    margin-top: 10px;
}
.info-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.info-list span {
    font-weight: 600;
    width: 130px;
    display: inline-block;
    color: #0f766e;
}

/* tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tab-btn {
    padding: 10px 18px;
    border: none;
    background: #eee;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
.tab-btn.active {
    background: linear-gradient(45deg, #16a34a, #0f766e);
    color: #fff;
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3; /* keeps image taller but not too tall */
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}


/* responsive */
@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.topbar-right{
    display:flex;
    align-items:center;
}

.topbar-right a{
    color:#fff;
    text-decoration:none;
    margin-left:15px;
}

/* make logout inline */
.logout-form{
    display:inline;
}

.logout-btn{
    background:none;
    border:none;
    color:#fff;
    margin-left:15px;
    cursor:pointer;
    font-size:13px;
    font-family:"Poppins",sans-serif;
}

.logout-btn:hover{
    text-decoration:underline;
}

/* ===============================
SUCCESS STORY DETAILS PAGE
=============================== */

/* HERO */
.story-hero{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:40px;
  height:400px;
}
.story-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.story-hero-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  color:#fff;
  text-align:center;
}
.story-hero-overlay h1{
  font-size:36px;
  margin-bottom:10px;
}
.story-hero-overlay p{
  font-size:16px;
}

/* LAYOUT */
.story-layout{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:30px;
}

/* STORY LEFT */
.story-left h2{
  font-size:28px;
  margin-bottom:15px;
}
.story-content p{
  margin-bottom:18px;
  line-height:1.7;
  color:#555;
}

/* TIMELINE */
.story-timeline{
  margin-top:30px;
}
.timeline-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  margin-top:12px;
}
.timeline-item{
  background:#fff;
  padding:15px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
  transition:0.3s;
}
.timeline-item:hover{
  transform:translateY(-5px);
}

/* STORY RIGHT */
.story-right .profile-card{
  margin-bottom:25px;
}

/* GALLERY GRID */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.gallery-item{
  overflow:hidden;
  border-radius:12px;
  cursor:pointer;
  height:120px;
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.3s;
}
.gallery-item img:hover{
  transform: scale(1.05);
}

/* MODAL */
.modal{
  display:none;
  position:fixed;
  z-index:9999;
  padding-top:60px;
  left:0;
  top:0;
  width:100%;
  height:100%;
  overflow:auto;
  background: rgba(0,0,0,0.9);
}
.modal-content{
  margin:auto;
  display:block;
  max-width:90%;
  max-height:80%;
  border-radius:14px;
}
.modal-close{
  position:absolute;
  top:20px;
  right:35px;
  color:#fff;
  font-size:40px;
  font-weight:bold;
  cursor:pointer;
  transition:0.3s;
}
.modal-close:hover{
  color:#16a34a;
}

/* responsive */
@media(max-width:992px){
  .story-layout{
    grid-template-columns:1fr;
  }
  .timeline-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .gallery-grid{
    grid-template-columns:repeat(3,1fr);
  }
  .gallery-item{
    height:120px;
  }
}
@media(max-width:600px){
  .timeline-grid{
    grid-template-columns:1fr;
  }
  .gallery-grid{
    grid-template-columns:1fr;
  }
  .gallery-item{
    height:200px;
  }
}

/* ===============================
DASHBOARD LAYOUT
=============================== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
  margin-top: 40px;
}

/* ===============================
SIDEBAR
=============================== */
.dashboard-sidebar .sidebar-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
  text-align: center;
}
.sidebar-profile-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}
.premium-badge {
  display: inline-block;
  padding: 5px 12px;
  background: linear-gradient(45deg,#16a34a,#0f766e);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  margin-top: 8px;
}

/* Sidebar menu */
.dashboard-links {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}
.dashboard-links li {
  margin-bottom: 10px;
}
.dashboard-links a {
  text-decoration: none;
  display: block;
  padding: 12px 15px;
  border-radius: 8px;
  color: #555;
  font-weight: 600;
  background: #f5f7fb;
  transition: 0.3s;
}
.dashboard-links a:hover {
  background: linear-gradient(45deg,#16a34a,#0f766e);
  color: #fff;
}

/* ===============================
DASHBOARD MAIN
=============================== */
.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* HERO */
.dashboard-hero {
  background: #fff;
  padding: 20px 25px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  text-align: center;
}
.dashboard-hero h1 {
  font-size: 28px;
  margin-bottom: 8px;
}
.dashboard-hero p {
  color: #666;
  font-size: 14px;
}

/* ===============================
STAT CARDS
=============================== */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  text-align: center;
  transition: 0.3s;
}
.stat-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #555;
}
.stat-card p {
  font-size: 28px;
  font-weight: 600;
  color: #333;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

/* ===============================
DASHBOARD SECTIONS
=============================== */
.dashboard-section {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
.dashboard-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

/* Activity list */
.activity-list {
  list-style: none;
  padding: 0;
}
.activity-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.activity-list li a {
  color: #555;
  text-decoration: none;
}
.activity-list li a:hover {
  color: #0f766e;
}
.activity-list li span {
  font-size: 12px;
  color: #999;
}

/* ===============================
MEMBER SUGGESTIONS / CARDS
=============================== */
.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.member-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: 0.3s;
}
.member-card:hover {
  transform: translateY(-7px);
}
.member-img {
  position: relative;
}
.member-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}
.online {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #00c853;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
}
.member-info {
  padding: 16px;
  text-align: center;
}
.member-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
}
.member-info p {
  font-size: 13px;
  color: #777;
}
.member-btns {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}


/* ===============================
RESPONSIVE
=============================== */
@media (max-width: 1100px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .members {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .dashboard-cards {
    grid-template-columns: 1fr;
  }
  .members {
    grid-template-columns: 1fr;
  }
  .activity-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.package-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.package-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #333;
}

.package-card .price {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0f766e;
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.package-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
}

.package-card ul li:last-child {
    border-bottom: none;
}

.package-card .btn {
    display: inline-block;
    background: linear-gradient(45deg,#16a34a,#0f766e);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.package-card .btn:hover {
    transform: translateY(-3px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg,#16a34a,#0f766e);
    text-align: center;
    padding: 60px 25px;
    border-radius: 16px;
    margin-top: 50px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Responsive */
@media(max-width:992px){
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px){
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .cta-section {
        padding: 40px 15px;
    }
}

.subscribe-form {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.subscribe-form .form-group {
    margin-bottom: 20px;
}

.subscribe-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.subscribe-form input[type="text"],
.subscribe-form input[type="file"],
.subscribe-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.payment-methods label {
    display: inline-block;
    margin-right: 15px;
    font-weight: 500;
    cursor: pointer;
}

.subscribe-form .btn {
    display: inline-block;
    background: linear-gradient(45deg,#16a34a,#0f766e);
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.subscribe-form .btn:hover {
    transform: translateY(-2px);
}

.subscribe-form small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

/* Responsive */
@media(max-width:600px){
    .subscribe-form {
        padding: 20px 15px;
    }
}

.page-header {
    text-align: center;
    margin: 0 0 20px; /* less top space, more compact */
}

.page-header h1 {
    font-size: 32px; /* modern, not too big */
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #16a34a, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header .sub-text {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* CONTACT PAGE MODERN */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}

/* Modern Card */
.modern-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 15px;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modern-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.modern-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.modern-card a {
    color: #0f766e;
    text-decoration: none;
}

.modern-card a:hover {
    text-decoration: underline;
}

/* FORM STYLING */
.modern-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.modern-card input,
.modern-card textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 14px;
    width: 100%;
    resize: none;
    transition: border 0.3s;
}

.modern-card input:focus,
.modern-card textarea:focus {
    border-color: #0f766e;
    outline: none;
}

/* BUTTON */
.modern-card button.btn {
    background: linear-gradient(45deg,#16a34a,#0f766e);
    color: #fff;
    padding: 12px 0;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s;
}

.modern-card button.btn:hover {
    transform: scale(1.05);
}

/* ICONS */
.modern-card i {
    margin-right: 8px;
    color: #0f766e;
}

/* HEADER */
.page-header .gradient-text {
    background: linear-gradient(45deg,#16a34a,#0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-text {
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* RESPONSIVE */
@media(max-width:992px){
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* TESTIMONIALS */
/* TESTIMONIALS SECTION BACKGROUND */
.testimonials-section{
    background: linear-gradient(180deg,#f6f7fb,#eef1f7);
    overflow:hidden;
    padding-top:70px;
    padding-bottom:70px;
}

/* wrapper */
.testimonial-wrapper{
    overflow:hidden;
    position:relative;
}

/* sliding track */
.testimonial-track{
    display:flex;
    gap:25px;
    animation:scrollTestimonial 25s linear infinite;
}

/* CARD */
.testimonial{
    min-width:320px;
    background:#ffffff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 20px 45px rgba(0,0,0,.08);
    text-align:center;
    border:1px solid rgba(0,0,0,.04);
    transition:.3s;
}

/* hover premium feel */
.testimonial:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

/* image */
.testimonial img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
    border:3px solid #f1f1f1;
}

/* text */
.testimonial p{
    font-size:14px;
    color:#555;
    line-height:1.6;
    margin-bottom:12px;
}
.testimonial h4{
    margin-bottom:3px;
    font-size:16px;
}
.testimonial span{
    font-size:12px;
    color:#888;
}

/* auto sliding */
@keyframes scrollTestimonial{
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
}


/* FAQ */
.faq-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}
.faq-item{
    background:#fff;
    padding:22px;
    border-radius:14px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    transition:.3s;
}
.faq-item:hover{
    transform:translateY(-5px);
}
.faq-item h4{
    font-size:16px;
    margin-bottom:8px;
    background:linear-gradient(45deg,#16a34a,#0f766e);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}
.faq-item p{
    font-size:14px;
    color:#555;
    line-height:1.6;
}

/* MOBILE */
@media(max-width:768px){
    .faq-grid{
        grid-template-columns:1fr;
    }
    .testimonial-track{
        animation-duration:40s;
    }
}







