html,
body{
    overflow-x:hidden;
    max-width:100%;
}
#portfolio .container{
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    box-sizing: border-box;
}
#education-section {
    /* 🌟 SPACE BLOCKS: Top fixed navigation bar se safe clearance rakhne ke liye 130px padding di */
     padding: 110px 0 60px 0 !important;
    width: 100%;
    position: relative;
    background: transparent;
    box-sizing: border-box;
}
.container-edu {
    width: 95%;
    max-width: 1600px !important;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    
}
.edu-row-split {
    display: flex !important;
    flex-direction: row-reverse !important; 
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4rem !important; /* Image vector grid aur text details box ke beech ka uniform premium distance gap */
    width: 100%;
    box-sizing: border-box;
}
.edu-text-content-panel {
    max-width: 650px !important;
    flex: 1 !important; /* Text description layout ko thoda broad wide area allot kiya */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Heading aur description ko strict left start position par bitha diya */
    text-align: center !important;
    box-sizing: border-box;
}
.edu-text-content-panel h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important; /* Widescreen displays par title poori shaan se bada chamkega */
    color: #ffffff !important;
    font-weight: 800 !important;
    margin: 0 0 18px 0 !important; /* Paragraph text se niche tight gap distance maintain kiya */
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
}
.edu-text-content-panel p {
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.87) !important; /* Clear visual contrast translucent gray font sync */
    line-height: 1.6 !important;
    font-weight: bold;
    margin: 0 !important;
    max-width: 700px !important; /* Reading visibility protection constraints width limits */
}
.edu-right-img {
    flex: 0 0 46% !important; /* Vector image graphic module space ko absolute 38% par freeze kiya width limits */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box;
}
.edu-image-container-box {
    width: 100%;
    max-width: 640px !important; /* Visual footprint control box constraints sizes */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.edu-image-container-box img {
    width: 100% !important;
    max-width: 90% !important;
    height: auto;
    display: block;
    object-fit: contain;
    
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease !important;
}

.project-name{
    font-size: 50px;
    font-weight: bold;
    padding: 20px;;
    text-align: center;
}
/* Main Container Grid Formulation */
.portfolio-grid {
    display: grid;
    /* 🌟 WIDESCREEN SYNC: Laptop aur 27-inch monitor par explicit 3 columns barabar layout me chalenge */
    grid-template-columns: repeat(3, 1fr);
    gap: 22px; /* Symmetrical separation padding gap between cards */
    width: 100%;
    margin: 35px auto 0 !important;
    box-sizing: border-box;
}
/* Redirection Wrapper Link Settings Reset */
.portfolio-card-link-wrapper {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
}
/* 🌟 DYNAMIC TRANSLUCENT DARK MATRIX CARD TILES */
.portfolio-card-github-style {
    background: rgba(0, 0, 0, 0.082) !important;
    border: 1px solid rgba(255, 136, 0, 0.479) !important;
    border-radius: 20px; /* Smooth professional rounded sleek corners */
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%; /* 🌟 AUTO-HEIGHT SYNC: Teeno cards ki unchai hamesha ek-dusre ke barabar rahegi */
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.portfolio-card-link-wrapper:hover .portfolio-card-github-style {
    border-color: rgba(255, 123, 0, 0.35) !important; 
    background: rgba(255, 255, 255, 0.03) !important;
    transform: translateY(-4px); /* Clean micro vertical floating lift elevation */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.repo-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 14px;
}
.repo-title-block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.repo-blueprint-icon {
    font-size: 16px;
    color: #ffae00; /* Main Website Theme Amber Gold Orange */
}
.repo-title-block h3 {
    font-size: 19px;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.2px;
}
.repo-arrow-icon {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.portfolio-card-link-wrapper:hover .repo-arrow-icon {
    color: #ffae00 !important;
    transform: translate(2px, -2px); /* Diagonal elastic popping motion response feedback */
}
.repo-card-description {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.808) !important;
    line-height: 1.5 !important;
    text-align: left !important;
    
    /* 🌟 AIR-TIGHT BOX PROTECTION: Content lines ko exact 4 rows limits me tight lock rakha hai */
    /* Isse cards ke text lengths mismatch hone par bhi layout bade screen par kabhi bikhrega nahi */
    /*  */
    overflow: hidden;
}
.repo-card-footer {
    display: flex;
    justify-content: space-between; /* Date content left line me aur icons line right edge me lock rahenge */
    align-items: center;
    width: 100%;
    margin-top: 0px; /* Forces card bases to stick symmetrically uniform always */
    padding-top: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.03); /* Translucent partition boundary strip divider */
}
.repo-meta-date {
    font-size: 14px;
    color: #ffae00;
    font-weight: 500;
}
.repo-tech-logos-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.repo-tech-logos-row img{
    width: 40px;
    height: auto;
}

/* MOre_project css*/
.more-projects-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.more-projects-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: #ffae00;       
    color: black !important;     
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #ffae00;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.more-projects-btn i {
    margin-left: 10px;
    font-size: 20px;
}
.more-projects-btn:hover {
    background-color: transparent; 
    border-color: #ffae00;      /* गिटहब का सिग्नेचर हरा रंग */
    box-shadow: 0 4px 14px rgba(46, 164, 79, 0.3);
    transform: translateY(-2px);    /* बटन हल्का सा ऊपर उठेगा */
    color: white !important;
}
.more-projects-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(46, 164, 79, 0.2);
}



/* =================================================== */
/* 📱 TABLETS & SMARTPHONES RESPONSIVE MEDIA BREAKPOINT */
/* =================================================== */
@media (max-width: 768px) {
    #education-section {
        padding: 100px 0 30px 0 !important;
    }

    /* 🌟 THE REAL MOBILE FIX: column-reverse lagane se Mobile par IMAGE UPAR aur TEXT NEECHE locked ho gaya */
    .edu-row-split {
        flex-direction: column-reverse !important; 
        gap: 2.5rem !important; /* Spacing gap ko mobile ke hisab se compact clean kiya */
    }
    
    /* 🛠️ TEXT LAYOUT ADJUSTMENTS FOR SMALL SCREENS */
    .edu-text-content-panel {
        width: 100% !important;
        max-width: 100% !important;
        align-items: center !important; /* Text lines content mobile par horizontally center rahengi */
        text-align: center !important;
        margin: 0 auto;
    }
    
    .edu-text-content-panel h1 {
        font-size: 60px !important; /* Mobile adaptive typography sizing scaling */
        text-align: center !important;
        margin-bottom: 12px !important;
    }
    
    .edu-text-content-panel p {
        font-size: 18px !important; /* Mobile optimized comfortable reading text scale */
        text-align: center !important;
        line-height: 1.6 !important;
        font-weight: 600;
    }
    
    /* 🛠️ IMAGE FRAME ADJUSTMENTS FOR SMALL SCREENS */
    .edu-right-img {
        width: 100% !important;
        flex: none !important;
        margin-bottom: 10px; /* Text se upar ka clearance gap bounds set kiya */
    }
    
    .edu-image-container-box {
        max-width: 100% !important;
        margin-bottom: 20px; /* Mobile responsive view viewport width safety dimensions */
    }
     .portfolio-grid {
        grid-template-columns: 1fr; /* Mobile interface screen automatic single vertical card stack lines swap */
        gap: 25px;
        
        /* 🌟 THE REAL FIX FOR NO-SPACE ERROR: Left aur right side me strict 16px ka uniform breathing space gap joda h */
        padding: 0 10px !important; 
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .repo-card-footer {
        padding-top: 10px;
        
    }
    .project-name{
    font-size: 35px;
    }
    
}
