/* Hamburger Menu Animation */
    .hamburger {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 18px;
      cursor: pointer;
    }

    .hamburger span {
      display: block;
      width: 100%;
      height: 3px;
      background-color: var(--title-color);
      transition: all 0.3s ease;
    }

    /* Animation when menu is open */
    .show-menu .hamburger span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .show-menu .hamburger span:nth-child(2) {
      opacity: 0;
    }

    .show-menu .hamburger span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }







    
    :root {
        --phd-primary: #6a1b9a;
        --phd-secondary: #3c70b4;
        --phd-accent: #f7941d;
        --phd-light: #f8f9fa;
        --phd-dark: #2d3038;
        --hero-bg-light: linear-gradient(135deg, var(--phd-primary), var(--phd-secondary));
        --hero-bg-dark: linear-gradient(135deg, #3a1068, #2a4a7a);
        --container-color: #1f242d;
    }


    /* ==================== UPDATED HERO SECTION ==================== */
    .phd-hero {
        background: white;
        color: var(--phd-dark);
        padding: 0rem;
        margin: 5rem auto 2rem;
        text-align: center;
        position: relative;
        overflow: hidden;
        width: calc(100% - 4rem);
        max-width: 100%;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        border: 1px solid rgba(0,0,0,0.05);
        transition: all 0.5s ease;
        z-index: 1;
    }

    .dark-theme .phd-hero {
        background: var(--container-color);
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
        border-color: rgba(255,255,255,0.05);
    }

    .phd-hero:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    }

    .dark-theme .phd-hero:hover {
        box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    }

    .phd-title-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 2.5rem;
        position: relative;
        overflow: hidden;
    }

    /* Animated floating circles in background */
    .phd-title-container::before {
        content: "";
        position: absolute;
        top: -50px;
        left: -50px;
        width: 150px;
        height: 150px;
        background: rgba(106,27,154,0.05);
        border-radius: 50%;
        animation: float-circle 15s infinite linear;
        z-index: -1;
    }

    .phd-title-container::after {
        content: "";
        position: absolute;
        bottom: -80px;
        right: -30px;
        width: 200px;
        height: 200px;
        background: rgba(60,112,180,0.05);
        border-radius: 50%;
        animation: float-circle-reverse 18s infinite linear;
        z-index: -1;
    }

    @keyframes float-circle {
        0% { transform: translate(0,0) rotate(0deg); }
        25% { transform: translate(20px,20px) rotate(90deg); }
        50% { transform: translate(0,40px) rotate(180deg); }
        75% { transform: translate(-20px,20px) rotate(270deg); }
        100% { transform: translate(0,0) rotate(360deg); }
    }

    @keyframes float-circle-reverse {
        0% { transform: translate(0,0) rotate(0deg); }
        25% { transform: translate(-20px,20px) rotate(-90deg); }
        50% { transform: translate(0,40px) rotate(-180deg); }
        75% { transform: translate(20px,20px) rotate(-270deg); }
        100% { transform: translate(0,0) rotate(-360deg); }
    }

    .dark-theme .phd-title-container::before {
        background: rgba(106,27,154,0.1);
    }

    .dark-theme .phd-title-container::after {
        background: rgba(60,112,180,0.1);
    }

    .phd-main-title {
        font-size: 2.2rem;
        margin: 0 auto;
        font-weight: 700;
        line-height: 1.3;
        color: var(--phd-primary);
        max-width: 100%;
        display: block;
        padding: 0 1rem;
        position: relative;
        z-index: 2;
        animation: fadeInUp 0.8s ease-out;
    }

    .dark-theme .phd-main-title {
        color: white;
    }

    .phd-sub-line {
        font-size: 1.5rem;
        margin: 1.5rem auto 0;
        font-weight: 500;
        display: block;
        line-height: 1.5;
        max-width: 100%;
        padding: 0 1rem;
        color: #555;
        position: relative;
        z-index: 2;
        animation: fadeInUp 0.8s ease-out 0.2s both;
    }

    .dark-theme .phd-sub-line {
        color: #ccc;
    }


    /* Arrow-like sub-line indicator with enhanced animations */
    .phd-title-underline {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 2.5rem auto 0;
        position: relative;
        z-index: 2;
        animation: fadeInUp 0.8s ease-out 0.4s both;
    }

    .phd-title-underline::before,
    .phd-title-underline::after,
    .phd-title-underline span {
        content: "";
        display: block;
        height: 3px;
        background: var(--phd-accent);
        margin: 4px 0;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        transform-origin: center;
        border-radius: 3px;
        box-shadow: 0 2px 5px rgba(247, 148, 29, 0.3);
    }

    .phd-title-underline::before {
        width: 100px;
        animation: pulse 2s infinite 1s;
    }

    .phd-title-underline span {
        width: 70px;
        animation: pulse 2s infinite 1.2s;
    }

    .phd-title-underline::after {
        width: 50px;
        animation: pulse 2s infinite 1.4s;
    }

    .phd-hero:hover .phd-title-underline::before {
        width: 120px;
        background: #ff9e2c;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(247, 148, 29, 0.4);
    }

    .phd-hero:hover .phd-title-underline span {
        width: 80px;
        background: #ff9e2c;
        box-shadow: 0 4px 8px rgba(247, 148, 29, 0.4);
    }

    .phd-hero:hover .phd-title-underline::after {
        width: 30px;
        background: #ff9e2c;
        transform: translateY(2px);
        box-shadow: 0 4px 8px rgba(247, 148, 29, 0.4);
    }

    /* Arrow pointing animation on hover */
    .phd-hero:hover .phd-title-underline::before,
    .phd-hero:hover .phd-title-underline span,
    .phd-hero:hover .phd-title-underline::after {
        animation: arrowPoint 1.5s infinite alternate;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.05); opacity: 0.8; }
    }

    @keyframes arrowPoint {
        0% { transform: translateY(0); }
        100% { transform: translateY(5px); }
    }

    /* Glow effect for dark mode */
    .dark-theme .phd-title-underline::before,
    .dark-theme .phd-title-underline span,
    .dark-theme .phd-title-underline::after {
        box-shadow: 0 0 10px rgba(247, 148, 29, 0.5);
    }

    .dark-theme .phd-hero:hover .phd-title-underline::before,
    .dark-theme .phd-hero:hover .phd-title-underline span,
    .dark-theme .phd-hero:hover .phd-title-underline::after {
        box-shadow: 0 0 15px rgba(247, 148, 29, 0.8);
    }



    /* Decorative corner elements */
    .phd-hero::before,
    .phd-hero::after {
        content: "";
        position: absolute;
        width: 60px;
        height: 60px;
        transition: all 0.5s ease;
    }

    .phd-hero::before {
        top: 0;
        left: 0;
        border-top: 2px solid var(--phd-primary);
        border-left: 2px solid var(--phd-primary);
        border-radius: 16px 0 0 0;
        opacity: 0.3;
    }

    .phd-hero::after {
        bottom: 0;
        right: 0;
        border-bottom: 2px solid var(--phd-primary);
        border-right: 2px solid var(--phd-primary);
        border-radius: 0 0 16px 0;
        opacity: 0.3;
    }

    .phd-hero:hover::before,
    .phd-hero:hover::after {
        width: 80px;
        height: 80px;
        opacity: 0.6;
    }

    /* Animation keyframes */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ==================== EXISTING STYLES (UNCHANGED) ==================== */
    .phd-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    /* Enhanced Supervisors Section */
    .supervisors-section {
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        padding: 2.5rem;
        margin: 0 auto 3rem;
        position: relative;
        z-index: 10;
        max-width: 1200px;
    }

    .section-title {
        text-align: center;
        font-size: 1.8rem;
        color: var(--phd-primary);
        margin-bottom: 2.5rem;
        position: relative;
        font-weight: 700;
    }

    .section-title::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--phd-accent);
        border-radius: 3px;
    }

    .supervisors-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        justify-items: center;
    }

    .supervisor-card {
        background: var(--phd-light);
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
        text-align: center;
        padding: 2.5rem 1.5rem;
        border-top: 4px solid var(--phd-primary);
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        position: relative;
    }

    .supervisor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

    .supervisor-img {
        width: 130px;
        height: 130px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin: 0 auto 1.5rem;
        transition: all 0.3s ease;
    }

    .supervisor-card:hover .supervisor-img {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .supervisor-name {
        font-size: 1.35rem;
        color: var(--phd-dark);
        margin-bottom: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .supervisor-role {
        color: var(--phd-secondary);
        font-weight: 600;
        margin-bottom: 1.25rem;
        font-size: 1rem;
        position: relative;
        display: inline-block;
        padding: 0 10px;
    }

    .supervisor-role::after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: var(--phd-accent);
        opacity: 0.7;
        border-radius: 2px;
    }

    .supervisor-uni {
        color: #555;
        font-size: 0.95rem;
        font-weight: 500;
        margin-top: 1.5rem;
        padding: 1rem 1rem;
        background: rgba(50,27,100,0.05);
        border-radius: 8px;
        display: inline-block;
        transition: all 0.3s ease;
        position: relative;
        line-height: 1.4;
    }

    .supervisor-card:hover .supervisor-uni {
        background: rgba(106,27,154,0.1);
        color: var(--phd-primary);
        transform: translateY(2px);
    }

    /* Gratitude Box */
    .gratitude-box {
        background: linear-gradient(135deg, rgba(106,27,154,0.1), rgba(60,112,180,0.1));
        border-left: 4px solid var(--phd-primary);
        padding: 2rem;
        border-radius: 0 8px 8px 0;
        margin: 3rem 0;
        font-style: italic;
        position: relative;
        font-size: 0.98rem;
    }

    .gratitude-text {
        position: relative;
        z-index: 1;
        line-height: 1.7;
        color: #444;
    }

    /* Research Content */
    .phd-content {
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        padding: 3rem;
        margin-bottom: 3rem;
    }

    .content-section {
        margin-bottom: 3rem;
    }

    .content-title {
        font-size: 1.5rem;
        color: var(--phd-primary);
        margin-bottom: 1.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #eee;
        display: flex;
        align-items: center;
        font-weight: 600;
    }

    .content-title i {
        margin-right: 12px;
        color: var(--phd-accent);
        font-size: 1.3rem;
    }

    .content-text {
        line-height: 1.8;
        color: #555;
        margin-bottom: 1.5rem;
        font-size: 1.05rem;
    }

    .phd-goals {
        list-style-type: none;
        padding-left: 0;
    }

    .phd-goals li {
        margin-bottom: 1.25rem;
        padding-left: 2.2rem;
        position: relative;
        line-height: 1.7;
        color: #555;
        font-size: 1.05rem;
    }

    .phd-goals li::before {
        content: "▹";
        position: absolute;
        left: 0.5rem;
        color: var(--phd-accent);
        font-weight: bold;
        font-size: 1.2rem;
    }

    /* Dark mode styles */
    .dark-theme .supervisors-section,
    .dark-theme .phd-content,
    .dark-theme .supervisor-card {
        background: var(--container-color);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .dark-theme .supervisor-name,
    .dark-theme .content-title,
    .dark-theme .section-title {
        color: white;
    }

    .dark-theme .content-text,
    .dark-theme .phd-goals li {
        color: #ccc;
    }

    .dark-theme .supervisor-uni {
        color: #bbb;
        background: rgba(255,255,255,0.05);
    }

    .dark-theme .supervisor-card:hover .supervisor-uni {
        background: rgba(255,255,255,0.1);
        color: white;
    }

    .dark-theme .supervisor-role {
        color: #8ab4f8;
    }

    .dark-theme .gratitude-box {
        background: linear-gradient(135deg, rgba(106,27,154,0.2), rgba(60,112,180,0.2));
    }

    .dark-theme .gratitude-text {
        color: #ddd;
    }

    /* Responsive adjustments */
    @media (max-width: 1200px) {
        .phd-hero {
            padding: 0rem;
            margin: 5rem auto 2rem;
            width: calc(100% - 3rem);
        }
        

        .phd-main-title {
            font-size: 2rem;
        }
        
        .phd-sub-line {
            font-size: 1.4rem;
        }
    }

    @media (max-width: 992px) {
        .phd-hero {
            padding: 0rem;
            margin: 5rem auto 2rem;
            width: calc(100% - 3rem);
        }
        

        .phd-title-container::before,
        .phd-title-container::after {
            display: none;
        }

        .supervisors-grid {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
    }

    @media (max-width: 768px) {
        .phd-hero {
            padding: 0rem;
            margin: 5rem auto 2rem;
            width: calc(100% - 3rem);
        }
        
        .phd-main-title {
            font-size: 1.8rem;
        }
        
        .phd-sub-line {
            font-size: 1.3rem;
            margin-top: 1.2rem;
        }
        
        .phd-title-underline::before {
            width: 50px;
        }
        
        .phd-title-underline span {
            width: 30px;
        }
        
        .phd-title-underline::after {
            width: 10px;
        }

        .supervisors-grid {
            grid-template-columns: minmax(300px, 400px);
        }
        
        .phd-content {
            padding: 2rem 1.5rem;
        }
        
        .supervisors-section {
            padding: 2rem 1.5rem;
        }
    }

    @media (max-width: 576px) {
        .phd-hero {
            padding: 0rem;
            margin: 5rem auto 2rem;
            width: calc(100% - 2rem);
        }
        
        .phd-main-title {
            font-size: 1.5rem;
        }
        
        .phd-sub-line {
            font-size: 1.1rem;
            margin-top: 1rem;
        }
        
        .phd-title-underline::before {
            width: 40px;
        }
        
        .phd-title-underline span {
            width: 25px;
        }
        
        .phd-title-underline::after {
            width: 10px;
        }
        
        .supervisor-card {
            padding: 2rem 1.25rem;
        }
        
        .supervisor-img {
            width: 110px;
            height: 110px;
        }
    }



        .eye-counter {
            display: flex;
            align-items: center;
            margin-right: 15px;
        }

        .eye-container {
            position: relative;
            width: 80px;
            height: 50px;
            cursor: pointer;
        }

        .eye-outer {
            position: absolute;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, 
                #f0f0f0 0%, 
                #d4d4d4 30%, 
                #8a8a8a 70%, 
                #4a4a4a 100%);
            border-radius: 60% / 60%;
            box-shadow: 
                0 0 15px rgba(0,0,0,0.3),
                inset 0 0 10px rgba(255,255,255,0.5);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        /* Blood vessel effect */
        .eye-outer::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle, transparent 60%, rgba(150,50,50,0.05) 60.5%) 50% 50%/80% 80%,
                linear-gradient(100deg, rgba(200,100,100,0.1) 0%, transparent 20%, transparent 80%, rgba(200,100,100,0.1) 100%);
            border-radius: 50%;
        }

        .dark-theme .eye-outer {
            background: radial-gradient(ellipse at center, 
                #4a4a4a 0%, 
                #2a2a2a 30%, 
                #1a1a1a 70%, 
                #0a0a0a 100%);
        }

        .eye-inner {
            position: absolute;
            width: 55%;
            height: 55%;
            background: radial-gradient(circle at center, 
                #3a1d0d 0%, 
                #1a0a00 50%, 
                #0a0000 100%);
            border-radius: 50%;
            top: 22.5%;
            left: 22.5%;
            box-shadow: 
                inset 0 0 15px rgba(0,0,0,0.4),
                0 0 5px rgba(255,255,255,0.3);
            transition: all 0.2s ease;
        }

        /* Iris pattern */
        .eye-inner::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle, transparent 65%, rgba(0,0,0,0.7) 65.5%),
                repeating-radial-gradient(circle at 30% 30%, 
                    rgba(150, 50, 200, 0.3) 0%, 
                    transparent 1%, 
                    transparent 5%);
            border-radius: 50%;
        }

        .dark-theme .eye-inner {
            background: radial-gradient(circle at center, 
                #1a0a00 0%, 
                #0a0000 50%, 
                #000 100%);
        }

        .pupil {
            position: absolute;
            width: 40%;
            height: 40%;
            background: #000;
            border-radius: 50%;
            top: 30%;
            left: 30%;
            box-shadow: 
                0 0 15px rgba(0,0,0,0.7),
                inset 0 0 10px rgba(100, 0, 150, 0.5);
            transition: all 0.1s ease;
        }

        /* Eye shine */
        .pupil::after {
            content: '';
            position: absolute;
            width: 20%;
            height: 20%;
            background: rgba(255,255,255,0.9);
            border-radius: 50%;
            top: 20%;
            left: 20%;
            filter: blur(0.5px);
        }

        .counter-number {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-family: 'Arial', sans-serif;
            font-weight: bold;
            font-size: 1rem;
            color: white;
            text-shadow: 0 0 5px rgba(0,0,0,0.9);
            z-index: 10;
            pointer-events: none;
        }

        /* Original Smooth Blink Animation */
        @keyframes eye-blink {
            0%, 100% { 
                transform: scaleY(1);
                border-radius: 60% / 60%;
            }
            20%, 80% {
                border-radius: 60% / 10%;
            }
            50% { 
                transform: scaleY(0.05);
                border-radius: 60% / 5%;
            }
        }

        .eye-container.active .eye-outer {
            animation: eye-blink 0.4s ease-in-out;
        }

        /* Follow cursor effect */
        .eye-container:hover .eye-inner {
            transform: translate(
                calc(var(--mouse-x) * 15px - 7.5px), 
                calc(var(--mouse-y) * 10px - 5px)
            );
        }

        .eye-container:hover .pupil {
            transform: translate(
                calc(var(--mouse-x) * 10px - 5px), 
                calc(var(--mouse-y) * 7px - 3.5px)
            );
        }

        /* Random eye movement when not hovering */
        @keyframes random-eye-movement {
            0% { transform: translate(0, 0); }
            25% { transform: translate(2px, 1px); }
            50% { transform: translate(-1px, 2px); }
            75% { transform: translate(1px, -1px); }
            100% { transform: translate(0, 0); }
        }

        .eye-inner.idle-movement {
            animation: random-eye-movement 8s infinite ease-in-out;
        }

        .pupil.idle-movement {
            animation: random-eye-movement 5s infinite ease-in-out;
        }

        /* Micro-movements when idle */
        @keyframes eye-idle {
            0%, 100% { transform: translate(0, 0); }
            25% { transform: translate(1px, 0.5px); }
            50% { transform: translate(0, 1px); }
            75% { transform: translate(-0.5px, 0.5px); }
        }

        .eye-outer {
            animation: eye-idle 8s infinite ease-in-out;
        }

        /* Responsive Design */
        @media (max-width: 767px) {
            .eye-container {
                width: 70px;
                height: 45px;
            }
            
            .counter-number {
                font-size: 0.9rem;
            }
        }
