/* MUTGA Color Scheme */
:root {
  /* Primary colors from logo */
  --mutga-red: #e63946;
  --mutga-yellow: #ffd166;
  --mutga-blue: #118ab2;
  --mutga-dark-blue: #073b4c;
  --mutga-gray: #6c757d;
  --mutga-light: #f8f9fa;
}

/* Header Customization */
.header.sticky-top {
  background: white;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.topbar {
  background: var(--mutga-dark-blue);
  color: white;
  font-size: 14px;
  padding: 10px 0;
}

.topbar a {
  color: white;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--mutga-yellow);
}

.branding {
  padding: 15px 0;
}

/* Logo adjustments */
.logo img {
  max-height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.sitename {
  color: var(--mutga-red);
  font-weight: 700;
  font-size: 28px;
}

/* Navigation */
.navmenu ul li a.active {
  color: var(--mutga-red) !important;
}

.navmenu ul li a:hover {
  color: var(--mutga-red) !important;
}

.navmenu .dropdown ul li a:hover {
  color: var(--mutga-red) !important;
}
/* Navigation Button Styles */
.navmenu .btn-started {
    background: #e63946 !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
    transition: all 0.3s ease !important;
    margin-left: 10px !important;
}

.navmenu .btn-started:hover {
    background: #d32f3e !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3) !important;
}
.navmenu ul li:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Primary buttons */
.btn-get-started {
  border: none !important;
  padding: 10px 25px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
  background: var(--mutga-dark-blue);
  color: white;
}

.footer a {
  color: white;
}

.footer a:hover {
  color: var(--mutga-yellow);
}

.footer-newsletter {
  background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter input[type="email"] {
  background: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50px 0 0 50px;
}

.footer-newsletter input[type="submit"] {
  background: var(--mutga-red);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
}

.footer-newsletter input[type="submit"]:hover {
  background: #d32f3e;
}

/* Sections */
.section-title h2 {
  color: var(--mutga-dark-blue);
}

.section-title .description-title {
  color: var(--mutga-red);
}

/* Service Items */
.service-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-item .icon {
  color: var(--mutga-red);
  font-size: 36px;
  margin-bottom: 20px;
}

/* Stats */
.stats {
  background: var(--mutga-blue);
  color: white;
}

.stats i {
  font-size: 48px;
  color: var(--mutga-yellow);
}

.stats .purecounter {
  font-size: 36px;
  font-weight: 700;
  color: white;
}
.navmenu .nav-join {
    background: #e63946 !important;
}
.navmenu .nav-join:hover {
    background: #d32f3e !important;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3) !important;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .logo img {
    max-height: 50px;
  }
  
  .logo h1.sitename {
    font-size: 22px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
}
@media (max-width: 1199px) {
    .navmenu .btn-started {
        padding: 6px 15px !important;
        font-size: 0.85rem !important;
        margin-left: 5px !important;
    }
}

@media (max-width: 991px) {
    .navmenu ul li:last-child {
        flex-direction: column;
        gap: 5px;
        padding: 10px 0;
    }
    
    .navmenu .btn-started {
        width: 100%;
        text-align: center;
        margin: 5px 0 !important;
    }
}

/* News Section Styles */
.news-item .card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.news-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.news-item .card-img-top {
    transition: transform 0.5s;
}

.news-item .card:hover .card-img-top {
    transform: scale(1.05);
}

.news-item .card-title a {
    transition: color 0.3s;
}

.news-item .card-title a:hover {
    color: var(--primary) !important;
}

/* Category Filter */
.category-filter .nav-pills .nav-link {
    color: #666;
    background-color: #f8f9fa;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 20px;
    padding: 8px 16px;
    transition: all 0.3s;
}

.category-filter .nav-pills .nav-link:hover {
    background-color: #e9ecef;
}

.category-filter .nav-pills .nav-link.active {
    background-color: var(--primary);
    /*color: #fff;*/
}

/* Article Content */
.article-content {
    font-family: 'Georgia', serif;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2, 
.article-content h3, 
.article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content blockquote {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    margin: 1.5rem 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

/* Share Buttons */
.share-buttons .btn {
    transition: transform 0.3s;
}

.share-buttons .btn:hover {
    transform: translateY(-3px);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary);
    border-radius: 5px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Member Area Styles */
.member-area {
    padding: 40px 0;
    min-height: 60vh;
    background: #f8f9fa;
}

/* Member Sidebar */
.member-sidebar {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.member-sidebar .card-header {
    background: #e63946;
    color: white;
    padding: 15px;
}

.member-sidebar .nav-link {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.member-sidebar .nav-link:hover {
    background: #f8f9fa;
}

.member-sidebar .nav-link.active {
    background: #e63946;
    color: white !important;
}

.member-sidebar .nav-link.text-danger:hover {
    background: #dc3545;
    color: white !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .member-area .row {
        flex-direction: column;
    }
    
    .member-area .col-md-3,
    .member-area .col-md-9 {
        width: 100%;
        padding: 0 15px;
    }
    
    .member-sidebar {
        margin-bottom: 30px;
    }
    
    .member-sidebar .nav {
        flex-direction: row !important;
        flex-wrap: wrap;
    }
    
    .member-sidebar .nav-item {
        width: 50%;
    }
    
    .member-sidebar .nav-link {
        text-align: center;
        font-size: 14px;
        padding: 10px 5px;
    }
    
    .member-sidebar .nav-link i {
        display: block;
        margin: 0 auto 5px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .member-sidebar .nav-item {
        width: 100%;
    }
}

/* Fix navigation dropdown */
.navmenu .dropdown ul {
    position: absolute;
    right: 0 !important; /* Align dropdown to the right */
    left: auto !important;
    min-width: 200px;
    z-index: 99;
}

/* For mobile view */
@media (max-width: 768px) {
    .navmenu .dropdown ul {
        position: static !important;
        right: auto !important;
        left: auto !important;
        width: 100%;
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .navmenu .dropdown ul li a {        
		color: var(--nav-dropdown-color);
    }
    
    /* Ensure dropdown doesn't overflow */
    .navmenu {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Fix user menu items */
.navmenu .dropdown ul li a i {
    margin-right: 8px;
    text-align: center;
}

/* Active state for dropdown items */
.navmenu .dropdown ul li a:hover {
    background: rgba(230, 57, 70, 0.1);
}

/* Ensure dropdown is clickable */
.navmenu .dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}
@media (max-width: 1199px) {
	.navmenu a,.navmenu a:focus {
		display: flex;
		justify-content: start !important;
	}
}
@media (min-width: 1200px) {
	.navmenu a,.navmenu a:focus {
		display: flex;
		justify-content: start !important;
	}
}
/* Activity Cards */
.activity-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.activity-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.activity-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* Activity Details Page */
.activity-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.activity-info-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.activity-info-box i {
    color: #667eea;
    margin-right: 10px;
}

/* Registration Form */
.registration-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.registration-form .form-control,
.registration-form .form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102,126,234,0.25);
}

/* Payment Page */
.payment-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-method-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.payment-method-card:hover,
.payment-method-card.selected {
    border-color: #667eea;
    background: #f0f3ff;
}

.payment-method-card i {
    font-size: 24px;
    color: #667eea;
    margin-right: 10px;
}

/* Success Page */
.success-animation {
    animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}
/* Featured Activities */
.featured-card {
    position: relative;
    border: 2px solid #ffc107;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3) !important;
}

.featured-badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

/* Summernote content styling for frontend */
.activity-description,
.activity-terms {
    line-height: 1.8;
}

.activity-description img,
.activity-terms img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.activity-description h1,
.activity-description h2,
.activity-description h3,
.activity-description h4,
.activity-description h5,
.activity-description h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.activity-description p,
.activity-terms p {
    margin-bottom: 1.2em;
}

.activity-description ul,
.activity-description ol,
.activity-terms ul,
.activity-terms ol {
    margin-bottom: 1.2em;
    padding-left: 1.5em;
}

.activity-description blockquote,
.activity-terms blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
    color: #666;
}

.activity-description table,
.activity-terms table {
    width: 100%;
    margin-bottom: 1.5em;
    border-collapse: collapse;
}

.activity-description table td,
.activity-description table th,
.activity-terms table td,
.activity-terms table th {
    border: 1px solid #dee2e6;
    padding: 0.75em;
}