/* ===============================
   SHAHHUB – Discover Section
   =============================== */

.shahhub-card {
    background: #f9f9ff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    align-items: center;
}

.shahhub-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.shahhub-icon {
    color: #6c63ff;
    margin-right: 6px;
}

.shahhub-subtitle {
    color: #6c63ff;
    font-weight: 600;
    margin-bottom: 15px;
}

.shahhub-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.shahhub-link {
    font-weight: 600;
    color: #6c63ff;
    text-decoration: none;
}

.shahhub-link:hover {
    text-decoration: underline;
}

.shahhub-image {
    max-width: 100%;
    opacity: 0.9;
}
/* ===============================
   Published Work & Profiles
   =============================== */

.published-work {
    margin-top: 30px;
}

.published-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.published-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.published-links li {
    margin-bottom: 10px;
}

.published-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.published-links a i {
    color: #6c63ff;
    font-size: 18px;
}

.published-links a:hover {
    color: #6c63ff;
    transform: translateX(4px);
}

.linkedin-note {
    font-weight: 500;
}

.linkedin-note a {
    font-weight: 600;
    color: #6c63ff;
    text-decoration: none;
}

.linkedin-note a:hover {
    text-decoration: underline;
}
/* --- Modern Google Form UI Styles --- */

.google-form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08); /* Modern soft shadow */
    border: 1px solid #f0f0f0;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.google-form-card:hover {
    transform: translateY(-5px); /* Subtle hover effect */
}

.form-intro h3 {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    text-transform: none; /* Keeps it modern and friendly */
}

.form-intro p {
    color: #888;
    margin-bottom: 30px;
    font-size: 15px;
}

.google-form-iframe-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #eee;
}

/* Adjusting height for mobile responsiveness */
@media (max-width: 768px) {
    .google-form-card {
        padding: 20px;
    }
    
    .google-form-iframe-wrapper iframe {
        height: 1100px; /* Longer height to accommodate stacked mobile fields */
    }
}

.form-mobile-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.form-mobile-footer p {
    font-size: 13px;
    color: #999;
}
.shahhub-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px; /* Optional: adds a modern rounded corner */
    transition: all 0.3s ease;
}

.shahhub-image:hover {
    transform: scale(1.05); /* Adds a subtle zoom when hovered */
}

/* --- FULL SECTION MODERN STYLING --- */

/* Certificates Grid */
.cert-wrapper { margin-bottom: 30px; }
.modern-cert-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease;
    border: 1px solid #eee; text-align: center; height: 100%;
}
.modern-cert-card:hover { transform: translateY(-10px); border-color: #007bff; box-shadow: 0 12px 25px rgba(0,123,255,0.15); }
.modern-cert-card img { width: 100%; height: 180px; object-fit: cover; }
.modern-cert-card span { display: block; padding: 12px; font-weight: 700; font-size: 13px; color: #333; }

/* Volunteering Cards */
.vol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.vol-card { 
    background: #fff; padding: 30px; border-radius: 12px; border-top: 4px solid #007bff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: 0.3s;
}
.vol-card:hover { transform: scale(1.02); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.vol-card h4 { font-weight: 800; margin-bottom: 5px; color: #2d3436; }
.vol-org { color: #007bff; font-weight: 600; display: block; margin-bottom: 5px; }
.vol-date { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.vol-link { display: inline-block; margin-top: 15px; color: #555; font-weight: 700; border-bottom: 2px solid #007bff; text-decoration: none; padding-bottom: 2px; }

/* Quote Banner */
.modern-quote-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    padding: 100px 0; color: #fff; position: relative; overflow: hidden; margin: 60px 0;
}
.quote-icon { font-size: 150px; color: rgba(255,255,255,0.05); position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-family: serif; }
.actual-quote { font-weight: 300; font-style: italic; line-height: 1.6; position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.quote-author { margin-top: 25px; color: #007bff; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; position: relative; z-index: 1; }

/* Skills Section */
.skill-category-box { background: #fff; padding: 30px; border-radius: 15px; height: 100%; border: 1px solid #f1f1f1; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.skill-category-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; color: #333; }
.skill-category-box h3 i { margin-right: 10px; color: #007bff; }
.skill-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pills span { 
    background: #f8f9fa; border: 1px solid #eef0f2; padding: 6px 14px; border-radius: 50px; 
    font-size: 12px; font-weight: 600; color: #555; transition: 0.2s; 
}
.skill-pills span:hover { background: #007bff; color: #fff; border-color: #007bff; transform: translateY(-2px); }

@media (max-width: 768px) {
    .actual-quote { font-size: 20px; padding: 0 15px; }
}
/* =============================================================================
   LIFE OUTSIDE TECH – FINAL CLEAN VERSION
================================================================================ */

/* Layout & Alignment */
.row-flex { 
    display: flex; 
    flex-wrap: wrap; 
}

.hobby-card {
    height: 100%;
    min-height: 420px; /* Forces all cards to be the same height */
    border-radius: 25px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* Traveler Card Style */
.traveler-card { 
    background-size: cover; 
    background-position: center; 
    justify-content: flex-end; 
    padding: 0 !important; /* Managed by the glass overlay */
}

.glass-overlay {
    background: rgba(0, 0, 0, 0.6); /* Darker for better text readability */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    padding: 25px;
    color: white;
}

.btn-click-view {
    float: right;
    background: #ffffff;
    color: #333 !important;
    border: none;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-click-view:hover { background: #f1f1f1; transform: translateY(-2px); }

/* Gamer Card Style */
.gamer-card { background: #0f172a; color: white; }
.purple-text { color: #818cf8; font-weight: 800; }
.game-item { margin-top: 20px; }
.game-cat { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.game-names { color: #94a3b8; font-size: 13px; margin: 0; }

/* Passions Card Style */
.passions-card { background: #fff1f2; color: #2d3436; }
.pink-text { color: #fb7185; font-weight: 800; }
.passion-list { list-style: none; padding: 0; margin-top: 20px; }
.passion-list li { margin-bottom: 15px; font-size: 13px; font-weight: 600; display: flex; align-items: center; }

/* Modal Content Styles */
.travel-modal-content { border-radius: 25px; border: none; padding: 30px; }
.favorite-dest { 
    background: #f0fdf4; 
    padding: 20px; 
    border-radius: 15px; 
    display: flex; 
    gap: 15px; 
    margin: 20px 0; 
    border: 1px solid #dcfce7; 
}
.countries-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); 
    gap: 12px; 
    margin-top: 15px; 
}
.countries-grid span { 
    font-size: 13px; 
    color: #4b5563; 
    font-weight: 600;
}
.countries-grid span:before { content: '•'; color: #818cf8; margin-right: 8px; font-weight: bold; }

@media (max-width: 768px) {
    .hobby-card { 
    min-height: 250px !important; 
    height: 100%;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    margin-bottom: 20px;
}
    .countries-grid { grid-template-columns: repeat(2, 1fr); }
}



/* Container Fix */
.display-flex-center { display: flex; align-items: center; flex-wrap: wrap; }

/* Preview Window */
.recom-viewer {
    background: white;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
}
.viewer-header { background: #f1f1f1; padding: 12px; display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.viewer-title { margin-left: 15px; font-size: 11px; font-weight: 700; color: #999; text-transform: uppercase; }

#main-preview { width: 100%; height: 500px; object-fit: contain; background: #fafafa; padding: 20px; transition: 0.3s; }

.zoom-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(108, 99, 255, 0.2); color: white;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s; font-weight: 700;
}
.recom-viewer:hover .zoom-overlay { opacity: 1; cursor: zoom-in; }

/* Navigation List */
.recom-list { list-style: none; padding: 0; }
.recom-list li {
    display: flex; align-items: center; gap: 15px;
    padding: 15px 20px; border-radius: 12px;
    margin-bottom: 10px; cursor: pointer;
    transition: 0.3s; border: 1px solid transparent;
}
.recom-list li i { font-size: 24px; color: #6c63ff; }
.recom-list li strong { display: block; font-size: 14px; color: #2d3436; }
.recom-list li p { margin: 0; font-size: 12px; color: #9ca3af; }

.recom-list li:hover { background: rgba(108, 99, 255, 0.05); }
.recom-list li.active { 
    background: white; border-color: #6c63ff; 
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.1); 
}
#main-preview { 
    width: 100%; 
    height: 500px; 
    object-fit: contain; 
    background: #fff; 
    padding: 10px; 
}

/* This fixes the popup size so it doesn't take up 100% of the screen */
.mfp-content img {
    max-height: 85vh !important;
    width: auto !important;
    border-radius: 10px;
}

/* --- Modern Popup Enhancements --- */

/* Dark Blurred Background */
.mfp-bg {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(8px);
}

/* Image container styling */
.mfp-figure {
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    border-radius: 12px;
    overflow: hidden;
}

/* The X Close Button */
.mfp-close {
    color: #fff !important;
    background: #6c63ff !important; /* Your theme purple */
    width: 100px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 12px !important;
    font-weight: 800;
    opacity: 1 !important;
    top: 20px !important;
    right: 20px !important;
    border-radius: 30px;
    text-align: center;
}

/* The "Back to Profile" button at the bottom of the image */
.recom-back-btn {
    background: white;
    color: #6c63ff !important;
    padding: 5px 15px;
    border-radius: 20px;
    margin-left: 15px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: 0.3s;
}
.recom-back-btn:hover {
    background: #6c63ff;
    color: white !important;
}

/* Loading animation for image */
.mfp-preloader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6c63ff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Custom Popup Fixes */
.mfp-bg {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(5px);
}

.mfp-close {
    background: #6c63ff !important;
    color: white !important;
    width: 120px !important;
    height: 45px !important;
    line-height: 45px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    top: 20px !important;
    right: 20px !important;
    opacity: 1 !important;
    text-align: center;
}

.mfp-figure::after {
    box-shadow: 0 0 50px rgba(0,0,0,0.5) !important;
}

.mfp-title {
    padding-right: 0 !important;
    margin-top: 15px;
}

.preview-container:hover .zoom-overlay {
    opacity: 1;
    background: rgba(108, 99, 255, 0.7); /* Your theme purple */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    color: white;
    transition: 0.3s;
}

.zoom-overlay {
    opacity: 0;
    transition: 0.3s;
}

.zoom-overlay i { font-size: 40px; }

/* Ensure the Modal sits on top of everything */
#recomModal {
    z-index: 99999 !important;
}

.modal-content {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header .close {
    font-size: 35px;
    opacity: 0.8;
    padding: 10px;
}

.modal-header .close:hover {
    opacity: 1;
    color: #6c63ff;
}


.modern-cert-card {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.modern-cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.15);
    border-color: #6c63ff;
}

.modern-cert-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 15px;
}

.modern-cert-card span {
    font-weight: 700;
    color: #2d3436;
    font-size: 13px;
    display: block;
}

.cert-hover-icon {
    position: absolute; top: 10px; right: 10px; background: #6c63ff; color: white;
    width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}

.modern-cert-card:hover .cert-hover-icon { opacity: 1; }



/* --- Modern Portfolio Grid Styling --- */
.modern-filters { margin-bottom: 50px; text-align: center; }
.modern-filters ul { padding: 0; list-style: none; }
.modern-filters ul li { display: inline-block; margin: 0 12px; }
.modern-filters ul li a { 
    color: #636e72; font-weight: 700; text-transform: uppercase; font-size: 11px; 
    letter-spacing: 1.5px; padding: 10px 25px; border-radius: 50px; transition: 0.3s;
    border: 1px solid #eee; text-decoration: none;
}
.modern-filters ul li a.active, .modern-filters ul li a:hover {
    color: #6c63ff; border-color: #6c63ff; background: rgba(108,99,255,0.05);
}

.project-card {
    background: white; border-radius: 20px; overflow: hidden; margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: 0.4s ease-in-out; border: 1px solid #f5f5f5;
}
.project-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(108,99,255,0.12); border-color: #6c63ff; }

.project-image { position: relative; overflow: hidden; height: 230px; background: #f8f9fa; }
.project-image img { width: 100%; height: 100%; object-fit: contain; padding: 15px; transition: 0.6s; }
.project-card:hover .project-image img { transform: scale(1.05); }

.project-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(108, 99, 255, 0.9); display: flex; align-items: center;
    justify-content: center; opacity: 0; transition: 0.4s;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-actions a {
    width: 45px; height: 45px; background: white; color: #6c63ff;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; margin: 0 8px; font-size: 18px; transition: 0.3s; text-decoration: none;
}
.project-actions a:hover { transform: scale(1.15); background: #2d3436; color: white; }

.project-info { padding: 25px; border-top: 1px solid #f9f9f9; }
.category-tag { 
    color: #6c63ff; font-size: 10px; font-weight: 800; text-transform: uppercase; 
    letter-spacing: 1px; display: block; margin-bottom: 5px;
}
.project-info h4 { margin: 0; font-weight: 700; color: #2d3436; font-size: 16px; }


/* --- Modern Filter Buttons --- */
.modern-filters { margin-bottom: 50px; text-align: center; }
.modern-filters ul { padding: 0; list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.modern-filters ul li { display: inline-block; }
.modern-filters ul li a { 
    color: #636e72; font-weight: 700; text-transform: uppercase; font-size: 11px; 
    letter-spacing: 1.5px; padding: 10px 20px; border-radius: 50px; transition: 0.3s;
    border: 1px solid #eee; text-decoration: none; display: inline-block;
}
.modern-filters ul li a.active, .modern-filters ul li a:hover {
    color: white; border-color: #6c63ff; background: #6c63ff;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

/* Category Tags on Cards */
.category-tag { 
    color: #6c63ff; font-size: 10px; font-weight: 800; text-transform: uppercase; 
    letter-spacing: 1px; display: block; margin-bottom: 5px; background: rgba(108, 99, 255, 0.08);
    padding: 2px 8px; border-radius: 4px; width: fit-content;
}

/* Ensure the grid doesn't collapse while filtering */
#portfolio-grid {
    position: relative;
    overflow: hidden;
    transition: height 0.4s ease-out;
}

.item {
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

/* Hidden state for filtered items */
.shuffle-item--hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}


/* --- Modern Blog UI --- */
.modern-blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}

.modern-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.1);
    border-color: #6c63ff;
}

.blog-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.modern-blog-card:hover .blog-thumb img {
    transform: scale(1.1);
}

.date-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #6c63ff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
}

.blog-content {
    padding: 25px;
}

.blog-cat {
    color: #6c63ff;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.blog-content h4 a {
    color: #2d3436;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.blog-content h4 a:hover {
    color: #6c63ff;
}

.blog-content p {
    color: #636e72;
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
}

.blog-link {
    font-weight: 700;
    color: #6c63ff;
    font-size: 13px;
    text-decoration: none;
}

/* Sidebar Styling */
.blog-sidebar-card {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px dashed #e0e0ff;
}

.sidebar-btn {
    display: inline-block;
    margin-top: 15px;
    background: #6c63ff;
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar-btn:hover {
    background: #2d3436;
    transform: scale(1.05);
}