/* =================================================== */
/* 1. NEW EDUCATION SECTION BASE STYLING */
/* =================================================== */
#education-section {
    padding: 80px 0;
    width: 100%;
    position: relative;
    background: transparent;
}
.container-edu {
    width: 95%;
    max-width: 1600px !important;
    margin: 0 auto;

}

/* 2. SPLIT LAYOUT (Image Left, Content Right) */
.edu-row-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse; /* Image Left, Content Right */
    flex-wrap: nowrap !important;
    gap: 0; 
    width: 100%;
    margin-bottom: 60px;

}
.edu-left-logos {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}
.edu-right-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* TYPOGRAPHY */
.edu-heading-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;

    
}
.edu-main-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    color: white;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.edu-sub-heading {
    font-size: clamp(1.1rem, 2vw, 1.6rem) !important;
    color: #ffae00; 
    font-weight: 700;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

/* 3. LOGOS GRID & PLATFORMS STYLING */
.edu-logos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
      
}
.edu-logo-box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 90px;
    cursor: pointer;
}
.edu-logo-shape {
    width: 80px;  
    height: 80px; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s ease;
}
/* Link box framework reset for coding profile wrappers */
.edu-logo-link-wrapper {
    text-decoration: none !important;
    color: inherit;
    display: inline-block;
}

.edu-img-logo {
    width: 80px; 
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #ffffff;
}
.edu-logo-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    text-align: center;
    transition: color 0.4s ease;
}

/* LOGO HOVER EFFECTS */
.edu-logo-box-item:hover .edu-logo-shape {
    transform: translateY(-6px);
    border-color: #ffae00;
    /* background: rgba(255, 174, 0, 0.05);
    box-shadow: 0 10px 25px rgba(255, 174, 0, 0.15); */
}
.edu-logo-box-item:hover .edu-img-logo {
    transform: scale(1.15);
}
.edu-logo-box-item:hover .edu-logo-text {
    color: white;
}

/* MAIN IMAGE BOX */
.edu-image-container-box {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;

}
.edu-image-container-box img {
    width: 115%;
    max-width: 550px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 4. DEGREE FULL SCREEN CARD STYLING (Fixed & Stable) */
.edu-full-screen-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
.section-divider-title {
    font-size: 35px;
    color: white;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
}

/* Main Outer Flex Container (Logo + Card Side by Side) */
.edu-card-outer-wrapper {
    display: flex;
    align-items: center; 
    gap: 30px; 
    width: 100%;
    margin-bottom: 40px;
}

/* OUTSIDE LOGO BOX STYLING */
.outside-college-logo-box {
    width: 150px;
    height: 150px;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-shrink: 0;
    transition: all 0.3s ease;

     box-shadow: 5px 6px 20px rgba(255, 174, 0, 0.411);
}
.outside-logo-img {
    width: 90%;
    object-fit: contain;
}
.degree-heading-row {
    display: flex;
    align-items: center; /* Icon aur text ko vertically ekdam barabar line me rakhega */
    gap: 12px; /* Icon aur text ke beech ka horizontal gap */
    margin: 4px 0 2px 0; /* Timeline aur college text ke beech ka gap maintain kiya */
    width: 100%;
}
.degree-title-icon {
    font-size: 24px; /* Heading text ke barabar balanced size */
    color: #ffae00;  /* Website Theme Orange Color */
    flex-shrink: 0;  /* Responsive scale par size chota nahi hoga */
    padding: 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 174, 0, 0.4);
}
.degree-heading-row h3 {
    margin: 0 !important; /* Default margins hataye taaki line up-down na ho */
    font-size: 24px;
    color: white;
    font-weight: 800;
}

/* STABLE CARD BODY (No translateY or Shadow Hover) */
.degree-full-card-v2 {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 18px 30px;
    flex: 1;
    position: relative;
    transition: all 0.3s ease; 

}

/* 🛠️ HOVER FIX: Card hilna bilkul band, sirf halka border glow hoga */
.edu-card-outer-wrapper:hover .outside-college-logo-box,
.edu-card-outer-wrapper:hover .degree-full-card-v2 {
    border-color: rgba(255, 174, 0, 0.4); 
}
.edu-card-outer-wrapper:hover .degree-body {
    color: white; /* Hover par text body chamkegi */
}

/* CARD INTERNAL DETAILS */
.degree-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}
.degree-title-block {
    display: flex;
    flex-direction: column;
}
.degree-timeline {
    font-size: 13px;
    color: #ffae00;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.degree-title-block h3 {
    font-size: 24px;
    color: white;
    font-weight: 800;
    margin: 4px 0 0 0;
}
.degree-college {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin: 3px 0 0 0;
}
.degree-body {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: left;
    transition: color 0.3s ease;
}

/* VISIT SITE BUTTON STYLING */
.edu-visit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffae00;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px; 
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.edu-visit-btn:hover {
    background: #ffae00;
    color: #000000;
    border-color: #ffae00;
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(255, 174, 0, 0.2);
}
.edu-visit-btn i {
    font-size: 12px;
}

/* TAGS CHIPS AT BOTTOM */
.degree-footer-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.edu-tag {
    padding: 6px 16px;
    background: #ffae00;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    color: black;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* CERTIFICATES ROW GRID LAYOUT (Laptop & 27" Monitors) */
/* =================================================== */
.edu-certifications-row-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}
.cert-screenshot-row-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Taaki teeno cards ki height automatic ek barabar rahe */
    gap: 25px; /* Cards ke beech ka sateek horizontal gap */
    width: 100%;
}
.screenshot-style-card {
    flex: 1; /* Teeno cards barabar 33% area scale karenge */
    background: rgba(255, 255, 255, 0.04); /* Premium Translucent Glass Look */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px; /* Elegant subtle rounded corners jaisa screenshot me hai */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Taaki top banner corners se bahar na nikle */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.screenshot-style-card:hover {
    border-color: #ffae00;
    transform: translateY(-3px); /* Halka sa elegant premium elevation */
}
.cert-card-top-banner {
    width: 100%;
    height: 200px; /* 🛠️ LOGO SIZE INCREASE: Banner height ko thoda aur badhaya taaki logo ko space mile */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
    overflow: hidden;
}
.cert-card-top-banner.skill-india-bg {
    background: linear-gradient(135deg, #1C1C1C, rgba(61, 43, 19, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-banner-logo-img {
    height: 92%; 
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.25));
}
.cert-banner-logo-img3 {
    height: 110%; 
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.25));
}
.cert-banner-link {
    text-decoration: none !important;
    display: block;
    width: 100%;
    position: relative;
    cursor: pointer;
}
.cert-hover-overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Transparent dark blur background jo main site layout colors se blend ho sake */
    background: rgba(0, 0, 0, 0.432); 
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Initially chupa rahega */
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 5;
}
.cert-overlay-text {
    font-size: 14px;
    color: black; /* Strict Premium Yellow Theme */
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 174, 0, 0.4);
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 174, 0, 0.15);
    background: #ffae00;
}
.cert-banner-link:hover .cert-hover-overlay-mask {
    opacity: 1; /* Mouse aate hi transparency layer smooth open ho jayegi */
}

.cert-banner-link:hover .cert-banner-logo-img {
    transform: scale(1.05); /* Halka sa elegant expansion inside the background mask */
}
.cert-card-bottom-details {
    padding: 18px 15px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.cert-card-bottom-details h3 {
    font-size: 25px;
    color: #ffae00;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}
.cert-instructor {
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
    margin: 0;
    font-weight: 500;
}



/* =================================================== */
/* 5. RESPONSIVE MEDIA BREAKPOINT (< 768px) */
/* =================================================== */
@media (max-width: 768px) {
    .edu-row-split {
        flex-direction: column-reverse;
        gap: 40px;
        width: 100% !important;
    }
    
    .edu-logos-grid {
        justify-content: center;

    }
    .edu-heading-block {
        text-align: center;
    }
    .edu-card-outer-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .edu-image-container-box{
        margin-top: -30px;
    }
    .degree-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .degree-full-card-v2 {
        padding: 15px;
        margin: 5px;
    }
    .degree-body {
        text-align: center;
    }
    .degree-footer-tags {
        justify-content: center;
    }
    
    .edu-right-img {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .cert-screenshot-row-grid {
        flex-direction: column; 
        gap: 30px;
        width: 90%;
        margin: 0 auto;
    }
    
    .cert-card-top-banner {
        height: 150px; 
    }
}
