      :root {
            --jd-primary: #0d47a1;
            /* Deep Blue */
            --jd-secondary: #00c853;
            /* Success Green */
            --jd-accent: #ff6d00;
            /* Vibrant Orange */
            --jd-light: #f8f9fa;
            --jd-dark: #1a237e;
            --jd-white: #ffffff;
            --jd-shadow: rgba(13, 71, 161, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
            min-height: 100vh;
            color: #333;
            overflow-x: hidden;
        }

        /* Modern Header */
        .modern-header {
            background: linear-gradient(135deg, var(--jd-dark) 0%, var(--jd-primary) 100%);
            color: white;
            padding: 1.8rem 0;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .modern-header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--jd-secondary), var(--jd-accent));
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .college-logo {
            width: 80px;
            height: 80px;
            /* Forces the element to stay a circle even if the parent tries to squeeze it */
            flex-shrink: 0;
            aspect-ratio: 1 / 1;

            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border: 4px solid var(--jd-secondary);
        }

        @keyframes logo-float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .college-logo img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            /* Ensures the image itself doesn't stretch */
            object-fit: contain;
        }

        .logo-placeholder {
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, var(--jd-primary), var(--jd-secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
        }

        .college-name {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.8rem;
            line-height: 1.2;
            margin-bottom: 5px;
        }

        .college-motto {
            color: var(--jd-secondary);
            font-weight: 500;
            font-size: 1rem;
            letter-spacing: 1px;
        }

        .location-badge {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 25px;
            padding: 8px 20px;
            border: 2px solid var(--jd-secondary);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
            font-weight: 500;
        }

        /* Main Container */
        .main-container {
            padding: 2rem 0;
        }

        /* Modern Time Display */
        .modern-time-display {
            background: white;
            border-radius: 20px;
            padding: 1.8rem;
            box-shadow: 0 10px 30px var(--jd-shadow);
            margin-bottom: 2.5rem;
            border: 2px solid var(--jd-secondary);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .modern-time-display:hover {
            transform: translateY(-5px);
        }

        .modern-time-display::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--jd-primary), var(--jd-secondary));
        }

        .live-badge {
            background: var(--jd-secondary);
            color: white;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 1rem;
        }

        .time-main {
            font-size: 3.5rem;
            font-weight: 700;
            color: var(--jd-primary);
            font-family: 'Courier New', monospace;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }

        .date-display {
            color: var(--jd-dark);
            font-size: 1.3rem;
            font-weight: 500;
            opacity: 0.9;
        }

        /* Modern Carousel */
        .modern-carousel-container {
            background: white;
            border-radius: 25px;
            padding: 2.5rem;
            box-shadow: 0 15px 40px var(--jd-shadow);
            margin-bottom: 2.5rem;
            border: 3px solid var(--jd-secondary);
            position: relative;
            overflow: hidden;
        }

        .modern-carousel-container::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--jd-primary), var(--jd-secondary), var(--jd-accent));
        }

        .carousel-title {
            color: var(--jd-primary);
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .modern-carousel {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            height: 550px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .carousel-item {
            height: 550px;
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .carousel-item.active {
            display: block;
            text-align: center;
            /* Centers inline-block images */
        }

        .carousel-media {
            height: 100%;
            object-fit: cover;
            align-self: center;
        }

        .carousel-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(13, 71, 161, 0.95), rgba(13, 71, 161, 0.7));
            padding: 2rem;
            color: white;
            transform: translateY(0);
            transition: transform 0.3s ease;
            text-align: left !important;
        }

        /* Carousel Controls - ALWAYS VISIBLE */
        .carousel-indicators-modern {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
            opacity: 1 !important;
            visibility: visible !important;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            border: 2px solid white;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: var(--jd-secondary);
            transform: scale(1.3);
            box-shadow: 0 0 10px var(--jd-secondary);
        }

        .carousel-controls-modern {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            display: flex;
            justify-content: space-between;
            padding: 0 25px;
            z-index: 10;
            opacity: 1 !important;
            visibility: visible !important;
        }

        .control-btn {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--jd-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            opacity: 1 !important;
            visibility: visible !important;
        }

        .control-btn:hover {
            background: var(--jd-secondary);
            color: white;
            transform: scale(1.1);
        }

        .fullscreen-toggle {
            position: absolute;
            top: 25px;
            right: 25px;
            z-index: 10;
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.6);
            border: 2px solid var(--jd-secondary);
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1 !important;
            visibility: visible !important;
        }

        .fullscreen-toggle:hover {
            background: var(--jd-secondary);
            transform: scale(1.1);
        }

        /* Progress Bar - ALWAYS VISIBLE */
        .progress-container-modern {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            z-index: 5;
            opacity: 1 !important;
            visibility: visible !important;
        }

        .progress-bar-modern {
            height: 100%;
            background: linear-gradient(90deg, var(--jd-secondary), var(--jd-accent));
            width: 0%;
            transition: width 0.1s linear;
            border-radius: 0 2px 2px 0;
        }

        /* Fullscreen Mode */
        .fullscreen-mode {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: black;
            z-index: 9999;
            display: none;
        }

        .fullscreen-mode.active {
            display: block;
        }

        .fullscreen-content {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .fullscreen-media {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .fullscreen-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            padding: 3rem;
            color: white;
        }

        /* Fullscreen Controls - AUTO-HIDE */
        .exit-fullscreen {
            position: fixed;
            top: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: rgba(0, 0, 0, 0.9);
            border: 2px solid var(--jd-secondary);
            border-radius: 50%;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            opacity: 1;
            visibility: visible;
        }

        .exit-fullscreen.hidden {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        .exit-fullscreen:hover {
            background: var(--jd-secondary);
            transform: scale(1.1);
        }

        .fullscreen-controls {
            position: fixed;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 20px;
            z-index: 10000;
            opacity: 1;
            visibility: visible;
            transition: all 0.3s ease;
        }

        .fullscreen-controls.hidden {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        .fs-control-btn {
            width: 70px;
            height: 70px;
            background: rgba(0, 0, 0, 0.9);
            border: 2px solid var(--jd-secondary);
            border-radius: 50%;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .fs-control-btn:hover {
            background: var(--jd-secondary);
            transform: scale(1.1);
        }

        /* Fullscreen Slide Counter */
        .fs-slide-counter {
            position: fixed;
            bottom: 120px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 10px 20px;
            border-radius: 20px;
            border: 2px solid var(--jd-secondary);
            z-index: 10000;
            font-weight: 600;
            font-size: 1.1rem;
            opacity: 1;
            visibility: visible;
            transition: all 0.3s ease;
        }

        .fs-slide-counter.hidden {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        /* Fullscreen Progress Bar */
        .fullscreen-progress {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            z-index: 10000;
        }

        .fullscreen-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--jd-secondary), var(--jd-accent));
            width: 0%;
            transition: width 0.1s linear;
        }

        /* Mouse Movement Indicator */
        .mouse-movement-indicator {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--jd-secondary);
            z-index: 10001;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        /* Footer */
        .modern-footer {
            background: linear-gradient(135deg, var(--jd-dark) 0%, var(--jd-primary) 100%);
            color: white;
            padding: 2rem 0;
            margin-top: 3rem;
            position: relative;
            overflow: hidden;
        }

        .modern-footer::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--jd-secondary), var(--jd-accent));
        }

        .footer-logo {
            font-size: 2rem;
            font-weight: bold;
            color: var(--jd-secondary);
            margin-bottom: 1rem;
        }

        .footer-contact {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.95rem;
        }

        .contact-item i {
            color: var(--jd-secondary);
            font-size: 1.2rem;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .modern-carousel {
                height: 450px;
            }

            .carousel-item {
                height: 450px;
            }

            .time-main {
                font-size: 2.8rem;
            }
        }

        @media (max-width: 768px) {
            .modern-carousel {
                height: 350px;
            }

            .carousel-item {
                height: 350px;
            }

            .time-main {
                font-size: 2.2rem;
            }

            .college-name {
                font-size: 1.5rem;
            }

            .control-btn {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }

            .modern-carousel-container {
                padding: 1.5rem;
            }

            .fs-control-btn {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .modern-carousel {
                height: 280px;
            }

            .carousel-item {
                height: 280px;
            }

            .time-main {
                font-size: 1.8rem;
            }

            .carousel-overlay {
                padding: 1.5rem;
            }

            .slide-title {
                font-size: 1.4rem;
            }

            .fullscreen-toggle {
                width: 40px;
                height: 40px;
                font-size: 1rem;
                top: 15px;
                right: 15px;
            }

            .fs-control-btn {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }

            .exit-fullscreen {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
                top: 20px;
                right: 20px;
            }
        }

        /* Animations */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-slide {
            animation: slideIn 0.6s ease-out forwards;
        }

        /* Admission Notice */
        .admission-notice {
            background: linear-gradient(135deg, var(--jd-secondary), #00e676);
            color: white;
            border-radius: 15px;
            padding: 1.2rem;
            margin-top: 1.5rem;
            box-shadow: 0 8px 25px rgba(0, 200, 83, 0.3);
            display: flex;
            align-items: center;
            gap: 15px;
            animation: pulse-glow 2s infinite;
        }

        @keyframes pulse-glow {

            0%,
            100% {
                box-shadow: 0 8px 25px rgba(0, 200, 83, 0.3);
            }

            50% {
                box-shadow: 0 8px 30px rgba(0, 200, 83, 0.6);
            }
        }

        .admission-icon {
            font-size: 2rem;
        }

        .admission-text {
            flex: 1;
        }

        .admission-text h5 {
            margin-bottom: 5px;
            font-weight: 600;
        }

        .admission-text p {
            margin-bottom: 0;
            opacity: 0.9;
            font-size: 0.95rem;
        }

        /* Play/Pause Button */
        .play-pause-container {
            position: absolute;
            bottom: 20px;
            right: 25px;
            z-index: 10;
        }

        .play-pause-btn {
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.7);
            border: 2px solid var(--jd-secondary);
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            opacity: 1 !important;
            visibility: visible !important;
        }

        .play-pause-btn:hover {
            background: var(--jd-secondary);
            transform: scale(1.1);
        }

        /* Slide Counter */
        .slide-counter {
            position: absolute;
            bottom: 90px;
            right: 25px;
            z-index: 10;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 2px solid var(--jd-secondary);
            opacity: 1 !important;
            visibility: visible !important;
        }

        /* Touch Device Optimizations */
        @media (hover: none) and (pointer: coarse) {

            .control-btn,
            .fullscreen-toggle,
            .play-pause-btn {
                width: 70px;
                height: 70px;
                font-size: 1.8rem;
            }

            .indicator {
                width: 16px;
                height: 16px;
            }
        }