/* GENERAL */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  color: #333;
}

/* HERO */
.course-hero {
  background: #f5f7fa;
  padding: 100px 0 80px;
}

.course-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-circle {
  width: 120px;
  height: 120px;
  border: 2px solid #29ca8e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  color: #333;
}

.hero-actions .btn {
  margin: 10px;
  padding: 12px 30px;
}

.btn-outline {
  border: 2px solid #29ca8e;
  color: #29ca8e;
  background: transparent;
}

/* WHY JOIN */
.why-join {
  padding: 80px 0;
}

.why-box {
  background: #fff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
}

.why-box i {
  font-size: 36px;
  color: #29ca8e;
  margin-bottom: 15px;
}

/* REVIEWS */
.reviews {
  background: #1e73be;
  padding: 80px 0;
  color: #fff;
}

.review-card {
  background: #fff;
  color: #333;
  padding: 25px;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* SYLLABUS */
.syllabus {
  padding: 80px 0;
}

.syllabus ul {
  list-style: disc;
  padding-left: 20px;
}

/* ACTIVITIES */
.activities {
  background: #f5f7fa;
  padding: 80px 0;
}

.activity-box {
  background: #fff;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* FEES */
.fees {
  padding: 80px 0;
}

.fees table th {
  background: #29ca8e;
  color: #fff;
}

/* HERO FEATURES FIX */
.hero-features {
    width: 100%;
    text-align: center;
    margin: 40px auto;
    font-size: 0; /* remove inline-block spacing */
}

.hero-features .feature-circle {
    display: inline-block;
    width: 120px;
    height: 120px;
    margin: 10px;
    border: 2px solid #29CA8E;
    border-radius: 50%;
    vertical-align: top;

    /* Center text */
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;

    /* Manual vertical centering */
    padding-top: 35px;

    background: #fff;
}
@media (min-width: 968px) {
.nav.navbar-nav.navbar-nav-first1{margin-left: 100px;}
}
@media (max-width: 768px) {
    .hero-features .feature-circle {
        width: 100px;
        height: 100px;
        padding-top: 28px;
        font-size: 13px;
    }
}

/* ACTIVITY BOX BASE STYLE */
.activity-box {
    background: #fff; /* White background */
    border: 1px solid #e0e0e0; /* Light border */
    padding: 30px 20px;
    margin: 15px 0;
    border-radius: 12px;
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* subtle shadow */
    cursor: pointer;
}

.activity-box h4 {
    color: #29CA8E; /* Primary theme color for titles */
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.activity-box p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* HOVER EFFECT */
.activity-box:hover {
    transform: translateY(-10px) scale(1.03); /* Lift & slight zoom */
    box-shadow: 0 12px 20px rgba(0,0,0,0.15); /* stronger shadow */
    border-color: #29CA8E; /* border color accent */
    background: #f9fff9; /* subtle green background */
}

.activity-box:hover h4 {
    color: #007f50; /* darker shade on hover */
}

/* RESPONSIVE FIXES (optional) */
@media (max-width: 768px) {
    .activity-box {
        margin: 10px auto;
    }
}
/* Add spacing between activity boxes */
.activity-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px 20px;
    margin: 15px; /* margin on all sides creates uniform gaps */
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}

/* Optional: if you want consistent row alignment without extra spacing issues */
.row.text-center {
    margin-left: -15px;
    margin-right: -15px;
}
.row.text-center .col-md-3, 
.row.text-center .col-sm-6 {
    padding-left: 15px;
    padding-right: 15px;
}
#why-pride .why-sec{cursor: pointer;}
@media (min-width: 992px) {
    .activities .row .col-md-3 {
        width: 22%;
    }
}
/* Base style for feature circles */
.hero-features {
    text-align: center;
    margin: 50px 0;
}

.hero-features .feature-circle {
    display: inline-block;
    width: 120px;
    height: 120px;
    margin: 15px;
    border: 2px solid #29CA8E;
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #29CA8E;
    line-height: 1.2;
    padding-top: 35px;
    background: #fff;
    transition: all 0.4s ease; /* Smooth hover */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
}

/* Hover effect */
.hero-features .feature-circle:hover {
    transform: scale(1.15) rotate(-5deg); /* Slight zoom & rotation */
    background: #29CA8E; /* Green background */
    color: #fff; /* Text turns white */
    box-shadow: 0 12px 20px rgba(0,0,0,0.2); /* Stronger shadow */
    border-color: #29CA8E;
}

/* Optional: smooth rotation effect on hover for fun */
.hero-features .feature-circle:hover::after {
    content: '';
    display: block;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-features .feature-circle {
        width: 100px;
        height: 100px;
        padding-top: 28px;
        font-size: 13px;
        margin: 10px;
    }
}
.modal-header {
    /*background: #29CA8E;
    color: #fff;
    border-bottom: none;
    text-align: center;
    justify-content: center;*/
    padding: 0px;
}

.modal-header .close {
    opacity: 1;
    margin: -24px 0px;
}

.modal-content {
    border-radius: 15px;
    padding: 20px;
}

#enrollForm .form-control {
    border-radius: 8px;
/*    padding: 10px;*/
    margin-bottom: 15px;
}

#enrollForm button {
    background: #29CA8E;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#enrollForm button:hover {
    background: #007f50;
}
#enrollModal .list-unstyled{line-height: 3rem;}
#enrollModal .list-unstyled,#enrollForm{text-align: left;}

/* Mobile dropdown fix: make submenu fully visible */
@media (max-width: 768px) {
    /* Ensure dropdown is visible on mobile */
    .navbar-nav li.dropdown .dropdown-menu {
        display: block !important;
        position: relative !important;
        float: none !important;
        width: 100%;
        margin: 0;
        padding: 0;
        background-color: #fff; /* Adjust to match your navbar */
        border: none; 
        box-shadow: none;
    }

    .navbar-nav li.dropdown > a {
        pointer-events: none; /* Prevent menu collapse on click of parent */
    }

    .navbar-nav li.dropdown .dropdown-menu li a {
        display: block;
        padding: 10px 15px;
        color: #333;
        text-decoration: none;
        text-align: center; color: #29CA8E;
    }

    .navbar-nav li.dropdown .dropdown-menu li a:hover {
        background-color: #f1f1f1;
        color: #000;
    }
}

/* Prevent horizontal scroll */
body, html {
    overflow-x: hidden;
}

/* Optional: make right navbar wrap nicely on mobile */
.navbar-nav.navbar-right {
    flex-wrap: wrap;
}
