/* ============================================
   Sponsor Program Page - Education Tabs Design
   ============================================ */

/* Education Tabs Section */
.education-tabs-section {
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(248, 249, 250, 0.9) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.7) 0%, transparent 50%),
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 25%, #ffffff 50%, #f1f3f4 75%, #f8f9fa 100%);
    background-size: 300% 300%, 400% 400%, 350% 350%, 100% 100%;
    animation: marbleFloat 20s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.education-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 30% 40%, rgba(200, 200, 200, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(180, 180, 180, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(220, 220, 220, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 60%, rgba(190, 190, 190, 0.05) 0%, transparent 45%);
    pointer-events: none;
    animation: marbleVeins 25s ease-in-out infinite;
}

.education-tabs-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 35%, rgba(240, 240, 240, 0.08) 50%, transparent 65%),
        linear-gradient(135deg, transparent 30%, rgba(250, 250, 250, 0.06) 50%, transparent 70%);
    background-size: 80px 80px, 120px 120px, 100px 100px;
    animation: marbleTexture 30s linear infinite;
    pointer-events: none;
}

/* Floating Icons */
.education-tabs-section .floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.education-tabs-section .floating-icons i {
    position: absolute;
    color: rgba(100, 100, 100, 0.2);
    font-size: 40px;
    animation: floatIcon 20s infinite linear;
    filter: drop-shadow(0 0 8px rgba(150, 150, 150, 0.3));
}

.education-tabs-section .floating-icons .icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.education-tabs-section .floating-icons .icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 22s;
}

.education-tabs-section .floating-icons .icon-3 {
    top: 60%;
    left: 5%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.education-tabs-section .floating-icons .icon-4 {
    top: 70%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 24s;
}

.education-tabs-section .floating-icons .icon-5 {
    top: 30%;
    left: 20%;
    animation-delay: 8s;
    animation-duration: 19s;
}

.education-tabs-section .floating-icons .icon-6 {
    top: 80%;
    right: 25%;
    animation-delay: 10s;
    animation-duration: 21s;
}

.education-tabs-section .floating-icons .icon-7 {
    top: 15%;
    left: 50%;
    animation-delay: 12s;
    animation-duration: 23s;
}

.education-tabs-section .floating-icons .icon-8 {
    top: 45%;
    right: 5%;
    animation-delay: 14s;
    animation-duration: 17s;
}

.education-tabs-section .floating-icons .icon-9 {
    top: 75%;
    left: 30%;
    animation-delay: 16s;
    animation-duration: 25s;
}

.education-tabs-section .floating-icons .icon-10 {
    top: 5%;
    right: 40%;
    animation-delay: 18s;
    animation-duration: 26s;
}

/* Animations */
@keyframes marbleFloat {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    25% {
        background-position: 50% 25%, 25% 50%, 75% 25%, 0% 0%;
    }
    50% {
        background-position: 100% 50%, 50% 100%, 50% 50%, 0% 0%;
    }
    75% {
        background-position: 75% 75%, 75% 25%, 25% 75%, 0% 0%;
    }
    100% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

@keyframes marbleVeins {
    0%, 100% {
        transform: translateX(0px) translateY(0px) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateX(10px) translateY(-5px) scale(1.02);
        opacity: 0.8;
    }
    50% {
        transform: translateX(-5px) translateY(10px) scale(0.98);
        opacity: 0.7;
    }
    75% {
        transform: translateX(-10px) translateY(-10px) scale(1.01);
        opacity: 0.9;
    }
}

@keyframes marbleTexture {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(80px) translateY(80px);
    }
}

@keyframes floatIcon {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-60px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.2;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.1;
    }
}

.section-heading {
    position: relative;
    z-index: 2;
}

.section-heading h2 {
    font-size: 48px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-heading p {
    font-size: 20px;
    color: #6c757d;
    margin-bottom: 0;
    font-weight: 300;
}

/* Tab Navigation */
.tab-navigation {
    margin: 60px 0 40px;
    position: relative;
    z-index: 3;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 200, 200, 0.3);
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 18px 35px;
    border-radius: 40px;
    color: #6c757d;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 40px;
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-btn i {
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.tab-btn span {
    position: relative;
    z-index: 2;
}

.tab-btn.active {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.tab-btn:hover:not(.active) {
    color: #495057;
    transform: translateY(-1px);
}

/* Tab Content */
.tab-content {
    position: relative;
    z-index: 3;
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Certification Grid */
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.cert-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 0;
    text-align: left;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    transform: translateY(0);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 100%;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cert-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cert-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f093fb, #f5576c, #4facfe, #00f2fe);
    background-size: 300% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

.cert-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cert-card:hover .cert-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.cert-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.cert-content {
    padding: 25px;
}

.cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.cert-list li {
    padding: 12px 15px;
    margin: 8px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #495057;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cert-list li:last-child {
    border-bottom: none;
}

.cert-list li:hover {
    color: #667eea;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.cert-list li i {
    color: #667eea;
    font-size: 16px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-list li:hover i {
    color: #764ba2;
    transform: scale(1.1);
}

.cert-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.cert-text {
    flex: 1;
}

.cert-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.cert-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
}

.cert-card-link:hover .cert-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.program-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.program-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
}

.program-card-link:hover .program-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.online-badge {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cert-list li:hover .online-badge {
    background: linear-gradient(135deg, #45a049, #4caf50);
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.4);
}

.physical-badge {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(255, 152, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tagline {
    display: inline-block;
    background: linear-gradient(90deg, #2196f3 0%, #ffb2a1 100%); 
    color: #fff; 
    font-weight: 600; 
    border-radius: 20px; 
    padding: 6px 18px; 
    font-size: 15px; 
    margin-bottom: 12px; 
    letter-spacing: 1px;
}

.cert-list li:hover .physical-badge {
    background: linear-gradient(135deg, #f57c00, #ff9800);
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.4);
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.program-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    border: none;
    transform: translateY(0);
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.program-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 25px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.program-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f093fb, #f5576c, #4facfe, #00f2fe);
    background-size: 300% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

.program-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.program-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.program-card:hover .program-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.program-content {
    padding: 25px;
}

.program-content p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.program-duration {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px !important;
    margin-bottom: 15px !important;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    font-weight: 600;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    padding: 10px 12px;
    margin: 6px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #495057;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.program-features li:hover {
    color: #667eea;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.program-features li i {
    color: #667eea;
    font-size: 14px;
    width: 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.program-features li:hover i {
    color: #764ba2;
    transform: scale(1.1);
}


.sponsored-padding {
    padding-top: 20px;
    padding-bottom: 120px;
  }

/* Responsive Design */
@media (max-width: 991px) {
    .section-heading h2 {
        font-size: 40px;
    }
    
    .section-heading p {
        font-size: 18px;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .tab-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .certification-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .section-heading h2 {
        font-size: 36px;
    }
    
    .section-heading p {
        font-size: 16px;
    }
    
    .tab-navigation {
        margin: 40px 0 30px;
    }
    
    .cert-card {
        padding: 25px;
    }
    
    .cert-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .cert-card h3 {
        font-size: 20px;
    }
    
    .cert-list li {
        font-size: 14px;
    }
    
    .program-header {
        padding: 25px;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .program-header h3 {
        font-size: 20px;
    }
    
    .program-content {
        padding: 25px;
    }
}

@media (max-width: 575px) {
    .section-heading h2 {
        font-size: 32px;
    }
    
    .certification-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-card {
        padding: 20px;
    }
    
    .program-header {
        padding: 20px;
    }
    
    .program-content {
        padding: 20px;
    }
}

/* Additional Animations */
.cert-card {
    animation: slideInUp 0.6s ease-out;
}

.cert-card:nth-child(1) { animation-delay: 0.1s; }
.cert-card:nth-child(2) { animation-delay: 0.2s; }
.cert-card:nth-child(3) { animation-delay: 0.3s; }
.cert-card:nth-child(4) { animation-delay: 0.4s; }
.cert-card:nth-child(5) { animation-delay: 0.5s; }
.cert-card:nth-child(6) { animation-delay: 0.6s; }

.program-card {
    animation: slideInUp 0.6s ease-out;
}

.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }
.program-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}