/* Custom CSS for Course Redesign Page */

/* Enhanced hero section styling */
.hero-banner-img {
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Redesigned banner section */
.banner-section.second-banner {
    position: relative;
    overflow: hidden;
}

.banner-section.second-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.banner-section.second-banner .content-part {
    position: relative;
    z-index: 2;
}

/* Enhanced typography for redesign */
.text-theme-color {
    color: #2c3e50 !important;
}

.nirf-h {
    color: #e74c3c;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Redesigned card styling */
.bg-fff {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.bg-fff:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.inner-box {
    padding: 25px;
    text-align: center;
}

.inner-box img {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
}

/* Enhanced button styling */
.theme-btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.theme-btn:hover::before {
    left: 100%;
}

.btn-four {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-four:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
}

.btn-one {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-one:hover {
    background: #2c3e50;
    color: white;
}

/* Redesigned section styling */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aos-animate {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive design enhancements */
@media (max-width: 768px) {
    .hero-banner-img {
        background-attachment: scroll !important;
    }
    
    .inner-box {
        padding: 20px 15px;
    }
    
    .theme-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Custom scrollbar for redesign */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Enhanced focus states for accessibility */
.theme-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Loading animation for redesign */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Additional styles for course redesign specific elements */
.snapshot {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media(min-width: 900px) {
    .snapshot {
        grid-template-columns: 1.1fr .9fr;
    }
}

.panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.panel__body {
    padding: 22px;
}

.snapshot .list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.snapshot .row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.snapshot .row:last-child {
    border-bottom: 0;
}

.snapshot .k {
    color: var(--muted);
    font-weight: 600;
}

.note {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(13,148,136,.08), rgba(13,148,136,.04));
    border: 1px dashed rgba(13,148,136,.35);
    color: var(--brand-ink);
}

/* Clients logo section */
.clients-logo img {
    max-width: 216px !important;
    height: 98px;
    object-fit: contain;
}

.clients-logo-list {
    flex-wrap: wrap;
}

/* Box liner for sections */
.box-liner {
    padding: 24px 20px;
}

/* Text styling */
.text-light-white {
    color: #fff;
    opacity: 0.7;
    margin-top: 10px;
}

/* Check list styling */
.check-list-view {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list-view li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding-left: 0;
}

.check-list-view.black-style li {
    color: #333;
}

/* FAQ section styling */
.accordion-item {
    border: 1px solid #e9ecef;
    margin-bottom: 10px;
    border-radius: 8px;
}

.accordion-button {
    background: #f8f9fa;
    border: none;
    padding: 15px 20px;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: #e9ecef;
    color: #2c3e50;
}

.accordion-body {
    padding: 20px;
    background: #fff;
}

    
.clients-section .clients-logo-list {
  display: grid;
  gap: 0;
}

.clients-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; 
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin: 0;
  background: #fff;
}

.clients-logo img {
  object-fit: contain;
  display: block;
  max-width: 104px !important;
  height: 100px;
}
.clients-logo:nth-child(7n) {
    border-right: none;
}

.clients-logo:nth-last-child(-n + 7) {
    border-bottom: none;
}
@media (min-width: 767px) {
  .clients-logo-list {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media (min-width: 767px) and (max-width: 991px) {
  .clients-logo-list {
    grid-template-columns: repeat(6, 1fr);
  }
  .clients-logo {
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
  }
  .clients-logo:nth-child(6n) {
    border-right: none;
  }
  .clients-logo:nth-last-child(-n + 6) {
    border-bottom: none;
  }
  .clients-section .clients-logo-list .clients-logo img {
        max-width: 70px !important;
        height: 82px;
    }
}
@media (max-width: 767px) {
    .clients-section .clients-logo-list{
        grid-template-columns: repeat(4, 1fr);
    }
    .clients-section .clients-logo-list figure.clients-logo:nth-child(4n) {
        border-right: none !important;
    }
    .clients-section .clients-logo-list .clients-logo:nth-last-child(-n + 4) {
        border-bottom: none;
    }
    .clients-section .clients-logo-list .clients-logo {
        margin: 0;
    }
    .clients-section .clients-logo-list .clients-logo img {
        max-width: 57px !important;
        height: 60px;
    }
}
