*{
    scroll-behavior: smooth;
}

        body {
            margin: 0;
            font-family: 'Georgia', serif;
            color: #333; 
            background-color: #fcfaff; 
            background-image: linear-gradient(to right, rgba(222, 226, 230, 0.5) 1px, transparent 1px), linear-gradient(to bottom, rgba(222, 226, 230, 0.5) 1px, transparent 1px);
            background-size: 35px 35px;
        }
        
        /* 
        ==================================================
        == NAVBAR CSS WITH NEW THEME ==
        ==================================================
        */

        /* --- Main Navbar Container --- */
        .main-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 500;
            /* === NEW NAVBAR THEME START === */
            background-color: rgba(155, 89, 182, 0.7); /* #9b59b6 with transparency */
            border-bottom: 1px solid #b4a5d2;
            /* === NEW NAVBAR THEME END === */
            height: 100px;
            backdrop-filter: blur(5px);
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 40px;
        }

        /* --- Left & Right Sections --- */
        .nav-left, .nav-right {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        /* --- Logo Section (Left) --- */
        .logo-image {
            margin-top: 30px;
            height: 100px;
            width: auto;
        }

        /* --- "Programs" Button (Left) --- */
        .programs-button {
            /* === NEW NAVBAR THEME === */
            background-color: #9b59b6;
            color: #000000;
            border: none;
            border-radius: 50px;
            padding: 12px 24px;
            font-family: 'Poppins', sans-serif;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s ease;
        }

        .programs-button:hover {
            /* === NEW NAVBAR THEME === */
            background-color: #b4a5d2;
            transform: scale(1.05);
        }

        .icon-chevron {
            font-size: 0.8em;
        }

        /* --- Navigation Links (Right) --- */
        .nav-links {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            gap: 35px;
        }

        .nav-links a {
            /* === NEW NAVBAR THEME === */
            color: #000000;
            text-decoration: none;
            font-size: 20px;
            font-weight: 400;
            padding-bottom: 5px;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 2px;
            /* === NEW NAVBAR THEME === */
            background-color: #b4a5d2;
            bottom: 0;
            left: 0;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.3s ease-in-out;
        }

        .nav-links a:hover {
            color: #000000; /* Keep white for a nice hover contrast */
        }

        .nav-links a:hover::after {
            transform: scaleX(1);
        }

        /* --- "Free Courses" Button (Right) --- */
        .nav-button-cta {
            background-color: transparent;
            /* === NEW NAVBAR THEME === */
            border: 2px solid #ffffff;
            color: #000000;
            border-radius: 50px;
            padding: 10px 25px;
            text-decoration: none;
            font-size: 16px;
            font-weight: 600;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .nav-button-cta:hover {
            /* === NEW NAVBAR THEME === */
            background-color: #b4a5d2;
            color: black;
        }

        /* --- Hamburger Menu Toggle --- */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 25px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1000;
        }

        .menu-toggle .bar {
            display: block;
            width: 100%;
            height: 3px;
            /* === NEW NAVBAR THEME === */
            background-color: white; /* Kept white for contrast against new purple BG */
            border-radius: 2px;
            transition: all 0.3s ease-in-out;
        }

        /* --- NAVBAR RESPONSIVE STYLES --- */
        @media (max-width: 992px) {
            .main-nav { padding: 0 20px; }
            .menu-toggle { display: flex; }
            .nav-right {
                position: absolute;
                top: 100px;
                left: 0;
                width: 100%;
                /* === NEW NAVBAR THEME === */
                background-color: #9b59b6;
                flex-direction: column;
                align-items: center;
                padding: 20px 0;
                gap: 20px;
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                transition: clip-path 0.4s ease-in-out;
            }
            .nav-right.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }
            .nav-links {
                flex-direction: column;
                gap: 25px;
            }
            .programs-button {
                display: none;
            }
            .logo-image {
                height: 80px;
                margin-top: 20px;
            }
        }

        @media (max-width: 480px) {
            .main-nav { padding: 10px 20px; }
            .logo-image { height: 70px; }
        }

        /* 
        ==================================================
        == PAGE CONTENT STYLES WITH THEME ==
        ==================================================
        */


        .name {
            text-align: center;
            font-size: 40px;
            background: linear-gradient(45deg, #b4a5d2, #9b59b6);
            background-size: cover;
            background-clip: text;
            -webkit-background-clip: text;
            font-style: italic;
            color: transparent;
        }

        /* --- Slider Styles --- */
        .slider {
            width: 100%;
            height: 700px;
            overflow: hidden;
            position: relative;
        }

        figure {
            position: relative;
            left: 0;
            width: 400%;
            height: 100%;
            animation: 10s slide infinite;
            margin: 0;
        }

        .slide {
            position: relative;
            width: 25%;
            height: 100%;
            float: left;
        }

        .slide h1 {
            position: absolute;
            bottom: 50px;
            left: 0;
            font-size: 3em;
            width: 100%;
            text-align: center;
            /* === NEW IMAGE TEXT THEME === */
            color: #b4a5d2; 
            text-shadow: 1px 1px 2px black;
            z-index: 10;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        @keyframes slide {
            0% { left: 0; }
            10% { left: 0; }
            20% { left: -100%; }
            30% { left: -100%; }
            40% { left: -200%; }
            50% { left: -200%; }
            55% { left: -300%; }
            65% { left: -300%; }
            66% { left: -200%; }
            74% { left: -200%; }
            75% { left: -100%; }
            85% { left: -100%; }
            90% { left: 0; }
            100% { left: 0; }
        }

        /* Content Styles (below slider) */
        .cd {
            text-align: center;
            color: #9b59b6;
            font-size: 40px;
        }

        .de {
            font-size: 20px;
            line-height: 1.6;
        }

        .positionabout {
            display: block;
            margin-left: auto;
            margin-right: auto;
            max-width: 50%;
            height: auto;
        }

        .bg1 {
            background: #9b59b6;
            width: 100%;
            color: white;
            padding-top: 1px;
            padding-bottom: 1px;
            text-align: center;
        }

        .bg1 .de,
        .bg1 ol,
        .bg1 ul {
            text-align: left;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        .bg1>h2.cd {
            text-align: center;
        }

        .container123 {
            width: 100%;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px 0;
        }

        .card123 {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
        }

        .image123 {
            width: 170px;
            height: 500px;
            margin: 10px;
            border-radius: 50px;
            background-size: cover;
            background-position: center;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            overflow: hidden;
            transition: width 0.5s ease;
        }

        .image123:hover {
            width: 400px;
            cursor: pointer;
        }

        .effect12 {
            width: 100%;
            transition: .5s all ease-in-out;
        }

        .effect12:hover {
            transform: scale(1.1);
        }

     .image123:nth-child(1) { background-image: url("devops.png"); }
.image123:nth-child(2) { background-image: url("multi-cloud.png"); }
.image123:nth-child(3) { background-image: url("power1.png"); }
.image123:nth-child(4) { background-image: url("datascince2.png"); }
.image123:nth-child(5) { background-image: url("god-tier.png"); }
.image123:nth-child(6) { background-image: url("data-engineer.png"); }

        .image123::before {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            height: 50%;
            width: 100%;
            background: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .image123:hover::before {
            opacity: 1;
        }

        .image123 .about123 {
            /* === NEW IMAGE TEXT THEME === */
            color: #b4a5d2;
            position: relative;
            z-index: 1;
            width: calc(100% - 70px);
            padding: 0 35px 20px 35px;
            transform: translateY(100%);
            opacity: 0;
            transition: transform 0.5s ease, opacity 0.5s ease;
            text-align: center;
        }

        .image123:hover .about123 {
            transform: translateY(0);
            opacity: 1;
        }

        .facilitiesa {
            text-align: center;
            font-size: 30px;
            /* === NEW IMAGE TEXT THEME === */
            color: #b4a5d2;
            text-decoration: none;
        }

        .facilitiesa:hover {
            text-decoration: underline;
        }

        .image123 .about123 ul {
            padding-left: 0;
            list-style-position: inside;
        }

        /* Featured Rooms Section */
        .mainroomp {
            background-color: #9b59b6;
            padding: 40px 20px;
            font-family: Arial, sans-serif;
        }

        .main {
            max-width: 1200px;
            margin: auto;
        }

        .mainph {
            font-size: 50px;
            word-break: break-word;
            text-align: center;
            margin-bottom: 20px;
            color: white;
        }

        .main>p {
            text-align: center;
            margin-bottom: 30px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            color: white;
        }

        .row {
            margin: 8px -16px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .column {
            padding: 8px;
            width: 33.333%;
            display: flex;
            flex-direction: column;
            box-sizing: border-box;
        }
        
        @media screen and (max-width: 900px) {
            .column { width: 50%; }
        }
        @media screen and (max-width: 600px) {
            .column { width: 100%; }
        }

        .content {
            background-color: white;
            padding: 25px;
            color: #333;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .content h2 {
            font-size: 1.5em;
            color: #9b59b6;
            margin-top: 0;
        }

        .content h3 {
            font-size: 0.9em;
            color: #777;
            margin-bottom: 10px;
        }

        .content p {
            font-size: 0.95em;
            line-height: 1.5;
            flex-grow: 1;
            margin-bottom: 15px;
        }
        
        .container {
            padding: 40px 20px;
            text-align: center;
        }

        h1 {
            font-size: 3em;
            margin-bottom: 40px;
            color: #9b59b6;
        }

        .cards {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
            cursor: pointer;
        }

        .card {
            background-color: #fefcf6;
            border: 2px solid #b4a5d2;
            border-radius: 20px;
            width: 300px;
            padding: 20px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
        }

        .card img {
            width: 100%;
            border-radius: 20px;
            object-fit: cover;
        }

        .card h2 {
            font-size: 1.25em;
            margin-top: 15px;
            color: #9b59b6;
        }

        .card p {
            color: #555;
            font-size: 0.95em;
        }

        footer {
            display: flex;
            justify-content: space-between;
            background-color: #000;
            color: #fff;
            padding: 10px 20px;
            font-size: 0.9em;
        }

        .footer-text {
            font-weight: bold;
        }

        .footer-right {
            font-style: italic;
        }

        .more-text {
            display: none;
        }

        .read-more-btn {
            background-color: #9b59b6;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 5px;
            cursor: pointer;
            font-family: sans-serif;
        }

        .read-more-btn:hover {
            background-color: #b4a5d2;
        }

        .top-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: #9b59b6;
            color: white;
            border: none;
            border-radius: 50px;
            padding: 12px 20px;
            font-size: 25px;
            cursor: pointer;
            box-shadow: 0 12px 14px rgba(0, 0, 0, 0.2);
            transition: background-color 0.3s ease, transform 0.3s ease;
            z-index: 999;
        }

        .top-button:hover {
            background-color: #b4a5d2;
            transform: translateY(-2px);
        }
        
        /* Demo section styling */
        .demo-section {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            color: #fff;
            background: #b4a5d2;
        }
        .demo-section#about { background: #e9e4f0; }
        .demo-section#rooms { background: #d3c8e3; }
        .demo-section#contact { background: #c5b8d9; }