 /* :root {
  --bg: #0a0a0c;
  --card: #16161a;
  --accent: #007bff;
  --text: #ffffff;
  --text-dim: #a0a0ab;
}  */


:root {
  --bg: #0f172a;
  /* --card: #111827; */
     --accent-purple: #7e4895;
     --text: #ffffff;
  --text-dim: #94a3b8;
}





html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg);
     color: var(--text); 
     font-family: 'Inter', sans-serif;
      margin: 0; }

      @media (max-width: 768px){
     html{
            box-shadow: none !important;
     } 
}


.container { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* ==========================================
   NAVIGATION - DESKTOP FIRST
   ========================================== */

#menu-toggle {
    display: none;
}

.desktop-nav{
    display: flex;
}

/* Hide mobile-specific elements on Desktop */
.hamburger, .navbar-mobile, .menu-overlay { 
    display: none; 
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0); 
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: rgba(14, 22, 33, 0.323) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 208, 255, 0.397) !important; 
    border-radius: 50px;
    z-index: 1000;
    display: flex; /* Visible on Desktop */
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important; 
}

/* Ensure no shadow appears on hover either */
.navbar:hover {
    transform: translate(-50%, -3px) !important; 
    box-shadow: none !important;
}

/* DESKTOP LINKS */
.nav-list {
    display: flex;
    gap: 3.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-link:hover {
    font-size: 1rem;
    background: linear-gradient(90deg, #00d2ff, #9d50bb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

    /* ==========================================
   THEME BUTTON – FIXED RIGHT SIDE
========================================== */

/* Base style */
/* .theme-btn {
    position: fixed;
    top: 32px;
    right: 40px;
    width: 48px;
    height: 50px;
    border-radius: 25%;
    
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 210, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    text-decoration: none;
    box-shadow:
      0 1px 1px rgba(0, 0, 0, 0.2),
      0 0 5px rgba(80, 220, 251, 0.4);
    transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
} */

/* Glow hover */
/* .theme-btn:hover {
    transform: scale(1.1);
        box-shadow:
  0 1px 1px rgba(0, 0, 0, 0.2),
  0 0 5px rgba(80, 220, 251, 0.4);
    border-color: #00d2ff;
} */

/* Icon */
/* .theme-btn span {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.6));
} */

/* Desktop button visible */
/* .desktop-only-btn {
    display: flex;
} */

/* Mobile button hidden by default */
/* .mobile-only {
    display: none;
} */

/* ==========================================
   MOBILE POSITION (Top Right)
========================================== */
@media (max-width: 1024px) {

    /* Hide desktop version */
    .desktop-only-btn {
        display: none;
    }

    /* Show mobile version */
    .mobile-only {
        display: flex;
        top: 22px;
        right: 22px;
        width: 44px;
        height: 44px;
    }

    /* Keep it above hamburger & menu */
    .theme-btn {
        z-index: 1000001;
    }
}




/* ==========================================
   MOBILE RESPONSIVE LOGIC
   ========================================== */
@media (max-width: 1024px) {
    html {
        scroll-behavior: smooth;
    }

    /* HIDE DESKTOP NAVBAR ON MOBILE */
    .desktop-nav{
    display: none !important;
}


    /* THE FLOATING ICON */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        position: fixed !important;
        top: 25px;
        left: 25px;
        width: 45px;
        height: 45px;
        border-radius: 25%;
        /* background:  rgba(217, 224, 240, 0.255) !important; */
         background: rgba(255, 255, 255, 0.059) !important;
        backdrop-filter: blur(10px);
        z-index: 1000000 !important;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 10px;
        border: 1px solid rgba(0, 210, 255, 0.4);
        
    }

    /* .hamburger:hover{
        transform: scale(1.01); 
        border-color: rgba(0, 210, 255, 0.3) !important;
        background: rgba(255, 255, 255, 0.04) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 210, 255, 0.2) !important;
    } */

    .bar-line {
        width: 100%;
        height: 3px;
        background-color: #00d2ff;
        border-radius: 10px;
        transition: 0.3s ease;
    }

    /* THE SLIDER (45% Width) */
    .navbar-mobile {
        display: block !important;
    }

    .nav-list-mobile {
        position: fixed !important;
        top: 0;
        left: -100%; 
        width: 45% !important;
        height: 100dvh !important;
        background: #0a0f19 !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin: 0;
        padding: 0;
        list-style: none;
        transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 999999;
        border-right: 1px solid rgba(0, 210, 255, 0.2); 
    }

.nav-list-mobile .nav-link {
    color: #00d2ff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 12px 20px;
    display: block;
}

    /* THE OVERLAY */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999998;
        display: none;
    }

    /* THE LOGIC */
    #menu-toggle:checked ~ .navbar-mobile .nav-list-mobile {
        left: 0 !important;
    }

    #menu-toggle:checked ~ .menu-overlay {
        display: block !important;
    }

    /* Change icon to X when open */
    #menu-toggle:checked ~ .hamburger .bar-line:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
        background-color: #9d50bb;
    }
    #menu-toggle:checked ~ .hamburger .bar-line:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle:checked ~ .hamburger .bar-line:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
        background-color: #9d50bb;
    }

    body:has(#menu-toggle:checked) {
        overflow: hidden;
    }
}

/* ==========================================
   MAIN SECTION PROFILE / HERO
   ========================================== */
.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin: 120px 0 100px 0 !important;
    padding: 80px 60px !important;
     /* background: #1f34528f !important;  
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); */
    background-color: #1120356b ;
    border-radius: 40px !important;
    position: relative;
    border: 1px solid rgba(0, 208, 255, 0.604) !important;
    /* box-shadow: 0 40px 100px rgba(8, 2, 2, 0.9), 0 0 20px rgba(0, 210, 255, 0.3), 0 0 60px rgba(0, 210, 255, 0.2), 0 0 120px rgba(157, 80, 187, 0.15) !important;   */
    /* animation: intro-glow-pulse 5s infinite alternate ease-in-out; */
}

.intro:hover {
    transform: scale(1.02) !important;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.8s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.8s ease !important;
    /* box-shadow: 0 10px 10px rgba(19, 196, 227, 0.9), 0 0 35px rgba(0, 210, 255, 0.5), 0 0 90px rgba(0, 210, 255, 0.35), 0 0 180px rgba(157, 80, 187, 0.25) !important; */
    border-color: rgba(0, 210, 255, 0.8) !important;
}
 @keyframes intro-glow-pulse {
    0% { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 210, 255, 0.3), 0 0 60px rgba(0, 210, 255, 0.2), 0 0 120px rgba(157, 80, 187, 0.15); }
    100% { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 210, 255, 0.5), 0 0 90px rgba(0, 210, 255, 0.35), 0 0 150px rgba(157, 80, 187, 0.25); }
} 

.intro::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110%; height: 110%;
    /* background: radial-gradient( rgba(0, 210, 255, 0.08) 0%, transparent 70%); */
    z-index: -1;
    pointer-events: none;
}

.leftintroh1 span {
    background: linear-gradient(90deg, #00d2ff, #3a7bd5, #9d50bb, #00d2ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 4.5rem !important;
    font-weight: 900;
    animation: shine 5s linear infinite;
    /* filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.4)); */
}

@keyframes shine { to { background-position: 200% center; } }

.rightintro { position: relative; transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1); }

.vishnuimg {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
}

.lefth2 {
    background: rgba(0, 210, 255, 0.1);
    color: #00d2ff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}
 
/* ==========================================
   UNIFIED SECTION DESIGN
   ========================================== */
.sectionSocialMedia, 
.sectionabout, 
.project-section, 
.certificate-section,
 .fullmarksheet, 
 .faq-container,
  .skills-section {
    /* background: rgba(255, 255, 255, 0.236) !important; */
/* background: rgba(238, 213, 238, 0.13) !important; */
        background: rgba(239, 229, 239, 0.064) !important;

    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    margin-bottom: 40px !important;
    width: 100%;
    padding: 60px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.4s ease, background 0.4s ease !important;
}


    .gradient-text1 {
    background: linear-gradient(
        90deg,
        #00d2ff,
        #3a7bd5,
        #7f5cff,
        #00d2ff
    );
    font-size: 2rem;
    text-align: center;
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
}


.sectionSocialMedia:hover,
 .sectionabout:hover, 
 .skills-section:hover,
  .project-section:hover,
   .certificate-section:hover, 
   .fullmarksheet:hover, 
   .faq-container:hover {
     transform: scale(1.01);
    /* border-color: rgba(0, 210, 255, 0.3) !important; */
    background: rgba(239, 229, 239, 0.064) !important;
 
    box-shadow:
  0 1px 1px rgba(0, 0, 0, 0.2),
  0 0 5px rgba(80, 220, 251, 0.4);

    /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4), 0 0 25px rgb(80, 220, 251) ; */
}

/* ==========================================
   SOCIAL MEDIA SECTION 
   ==========================================*/
.sociallinks {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px;
    list-style: none;
    align-self: center;
}

.linkedin,
.Gmail,
.Instagram,
.WhatsApp,
.GitHub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.socialimg {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border: 1px solid rgba(0, 210, 255, 0.1);
    transition: all 0.4s ease;
    align-self: center;
}

.sociallinks a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
    align-self: center;
}
/*  */
.sociallinks a :hover {
   color: #00d2ff;
}

.linkedin:hover,
.Gmail:hover, 
.Instagram:hover,
.WhatsApp:hover, 
.GitHub:hover {
    transform: translateY(-12px) scale(1.1);
} 

  .linkedin:hover .socialimg,
  .Gmail:hover .socialimg, 
  .Instagram:hover .socialimg, 
  .WhatsApp:hover .socialimg,
  .GitHub:hover .socialimg {
    border-color: #00d2ff;
    background: rgba(0, 210, 255, 0.1);
      box-shadow:
  0 1px 1px rgba(0, 0, 0, 0.2),
  0 0 5px rgba(80, 220, 251, 0.4);
}

/* ==========================================
   SKILLS & PROJECTS
   ========================================== */
.skills-grid { 
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px; 
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
    justify-content: center;
}

.skill-card { 
    background: rgba(255, 255, 255, 0.03) !important; 
    padding: 25px; 
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: transform 0.2s ease, box-shadow 0.5s ease, border-color 0.3s !important;
    text-align: left;
}

.skill-card:hover { 
    border-color: #00d2ff !important;
    background: rgba(0, 210, 255, 0.05) !important;
    transform: translateY(-8px) scale(1.02);
}

.project-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 30px;
}

.skill-language{
    font-size: 1rem;
    color:#00d2ff;
    font-weight: 800;
}


/* ==========================================
   CERTIFICATES & MARKSHEETS
   ========================================== */
.certificate-card,
 .marksheetbody,
  .letterbody {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 30rem;
    margin-bottom: 3rem;
}

.certificate-card:hover, .marksheetbody:hover, .letterbody:hover {
    transform: translateY(-10px) scale(1.03) !important;
    background: rgba(0, 210, 255, 0.05) !important;
    border-color: #00d2ff !important;
        box-shadow:
  0 1px 1px rgba(0, 0, 0, 0.2),
  0 0 5px rgba(80, 220, 251, 0.4);
}
/* 00000000000000000000000000000000000000 */
   /* ==========================================
   FIXED FAQ DESIGN (UNIFIED SIZE)
   ========================================== */
.faq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px !important;
}

/* FAQ Pill Header */
.faq-container h1 {
    padding: 15px 50px;
    border-radius: 100px;
    color: white !important;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
}

.faq-item {
    width: 100%;
    max-width: 800px; /* Unified width for all items */
         background: rgba(255, 255, 255, 0.02) !important;

    /* background: rgba(15, 18, 25, 0.6) !important;  */
    border: 1px solid rgba(0, 210, 255, 0.1) !important;
    border-radius: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden; /* Important for hiding the answer */
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between; /* Pushes + to the right */
    align-items: center;
    font-weight: 700;
    color: var(--text);
    font-size: 1.1rem;
    text-align: left;
}

.faq-toggle {
    font-size: 1.8rem;
    color: var(--accent);
    transition: all 0.3s ease;
    line-height: 1;
    width: 30px; /* Fixed width to prevent jumping */
    text-align: center;
       color: #00d2ff;
    display: inline-block;
    pointer-events: none; /* Crucial: click passes through to the container */
}

.faq-toggle::before {
    content: "+";
 
}

/* HOVER & ACTIVE (OPEN) EFFECTS */
.faq-item:hover, 
.faq-item.active {
    border-color: var(--accent) !important;
         /* background: rgba(15, 207, 79, 0.02) !important; */

     background: rgba(75, 110, 163, 0.333) !important;
        box-shadow:
  0 1px 1px rgba(0, 0, 0, 0.2),
  0 0 5px rgba(80, 220, 251, 0.4);
}

/* Change + to - and rotate when open */
.faq-item:hover .faq-toggle, 
.faq-item.active .faq-toggle {
    color: var( --accent-purple);
    transform: rotate(180deg);
}

.faq-item:hover .faq-toggle::before, 
.faq-item.active .faq-toggle::before {
    content: "−"; /* High-quality minus sign */
    font-weight: 800;
}

/* The Answer logic */
.faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0 30px; /* No vertical padding when closed */
    color: rgba(0, 208, 255, 0.762);
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reveal answer when hovered or active class is present */
.faq-item:hover .faq-answer, 
.faq-item.active .faq-answer {
    max-height: 300px; /* Increased to ensure text isn't cut off on mobile */
    opacity: 1;
    padding-bottom: 25px; /* Adds space after text when open */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .faq-container h1 { font-size: 1.2rem; padding: 12px 30px; }
    .faq-question { font-size: 1rem; padding: 20px; }
    .faq-item { width: 95%; }
    
    /* Remove hover transform on mobile to prevent "sticky" hover states */
    .faq-item:hover { transform: none; }
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    .faq-container h1 { font-size: 1.2rem; padding: 12px 30px; }
    .faq-question { font-size: 1rem; padding: 20px; }
    .faq-item { width: 95%; }
    /* Disable translate animation on mobile for better performance */
    .faq-item:hover, .faq-item.active { transform: none; }
}


html:hover{
            transform:none !important;
    border-color: none !important;

}
/* ==========================================
   BUTTONS
   ========================================== */
.view-button, .marksheetbutton, .appoinmentbutton {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 2px solid rgba(0, 210, 255, 0.3);
    color: #00d2ff ;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}

 .view-button:hover, .marksheetbutton:hover, .appoinmentbutton:hover {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%) !important;
    filter: brightness(1.2);
    transform: translateY(-2px);
    color: white !important; 
    border: none !important;
} 

/* ==========================================
   FOOTER (PILL SHAPE)
   ========================================== */
footer { width: 100%; background: transparent !important; padding: 40px 0; display: flex; justify-content: center; }

.fullfooter {
    width: 90%;
    max-width: 1100px;
    min-height: 80px;
    /* background: rgba(14, 22, 33, 0.85) !important; */
     background: rgba(14, 22, 33, 0.411) !important; 

    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 210, 255, 0.3) !important;
    border-radius: 40px;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: relative;
    z-index: 99; 
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); */
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.fullfooter:hover { 
     transform: translateY(-8px);
     border-color: #00d2ff !important;
 
     }

.termsbutton {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%); 
    color: white !important;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.4s ease !important;
    border: none;
}

/* ==========================================
   FINAL MOBILE OVERRIDES (CLEANED)
   ========================================== */
@media (max-width: 1024px) {
    * { box-sizing: border-box !important; }
    body { overflow-x: hidden;
           box-shadow: none !important; }

    .intro {
        flex-direction: column !important;
        margin: 100px 15px 40px 15px !important;
        padding: 40px 20px !important;
        width: calc(100% - 30px) !important;
    }

     /* 0000000000000000000000 */
         .skills-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .skill-card {
        padding: 18px !important;
    }

        .skill-card:hover{
            box-shadow: none !important;
        }


    .leftintroh1 span { font-size: 2.5rem !important; }
    .vishnuimg { max-width: 260px !important; transform: none !important; }

    .sociallinks {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .certificate-card, .marksheetbody, .letterbody {
        width: 100% !important;
        max-width: 100% !important;
    }

    .fullfooter {
        flex-direction:row !important;
        width: calc(100% - 30px) !important;
        border-radius: 20px !important;
        padding: 10px 10px !important;
        gap: 20px !important;
        height: 10rem;
        font-size: 0.8rem;
        justify-content: center;
    }
   
}