
/* ===== CSS Variables & Reset ===== */
       :root {
            /* Brand Colors */
            --primary: #191970;
            --primary-dark: #0d3a6c;
            --primary-light: rgba(26, 77, 140, 0.8);
            --white: #ffffff;
            
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
            --transition: all 0.3s ease;
            --gradient-primary: #191970;
            
            --secondary: #ff9f1c;
            --secondary-dark: #dc2f02;
            --gradient-accent: linear-gradient(135deg, #ff9f1c 0%, #ffbe0b 100%);
        
            /* Accents */
            --accent-purple: #6c63ff;
            --accent-green: #4bb543;
        
            /* Neutral Colors */
            --light: #efeef5;
            --dark: #1e2833;
            --success: #28a745;
        
            /* Text Colors */
            --text-dark: #333;
            --text-muted: #666;
            --text-light: #ccc;
        
            /* Effects */
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        
            /* Radius */
            --radius: 4px;
            --radius-lg: 10px;
        }


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            /*font-family: "Playfair Display", serif;*/
            font-family: 'Inter', sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
            background-color: #f9f9f9;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .section-padding {
            /*padding: 80px 0;*/
            padding: 55px 0px 30px;
        }

        img {
            max-width: 100%;
            /*width: 100%;*/
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        .btn {
            display: inline-block;
            padding: 10px 20px;
            border-radius: var(--radius);
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
            border: none;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
        }
        
        .btn-secondary {
            background: var(--gradient-accent);
            color: white;
            border: none;
        }

        .btn-secondary:hover {
            background: var(--gradient-accent);
        }
        

        .btn-outline {
            background-color: #12a7ffd1;
            color: #ffffff;
            /*border: 2px solid var(--primary);*/
        }

        .btn-outline:hover {
            background-color: var(--primary);
            color: white;
        }

        .section-title {
            margin-bottom: 40px;
        }

        .section-title h2 {
            font-family: "Playfair Display", serif;
            font-size: 32px;
            color: var(--primary);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 70px;
            height: 3px;
            background-color: var(--secondary);
        }

        .section-title.center {
            text-align: center;
        }

        .section-title.center h2::after {
            left: 50%;
            transform: translateX(-50%);
        }

        .section-title p {
            color: var(--text-muted);
            /*max-width: 700px;*/
        }

        /* ===== Header Styles ===== */
        header {
            background-color: white;
            box-shadow: var(--shadow);
            /*position: sticky;*/
            top: 0;
            z-index: 1000;
        }

        .top-header {
            /*background-color: var(--primary);*/
            background: linear-gradient(90deg,rgba(255, 109, 0, 1) 0%, rgba(181, 228, 140, 1) 50%, rgba(128, 255, 219, 1) 100%);
            color: white;
            padding: 8px 0;
            font-size: 14px;
        }

        .top-header-content {
            /*display: flex;*/
            justify-content: space-between;
            align-items: center;
            text-align:center;
            color:black;
        }

        .contact-info {
            display: flex;
            gap: 20px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            color: white;
            transition: var(--transition);
        }

        .social-links a:hover {
            color: var(--secondary);
        }

        .main-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            /*padding: 15px 1%;*/
            /*padding: 5px 0%;*/
            /*background-color: #f0f0f0;*/
        }

        
        .logo img {
            height: 115px;
        }

        /*.logo-text {*/
        /*    display: flex;*/
        /*    flex-direction: column;*/
        /*}*/

        /*.logo-text h1 {*/
        /*    font-size: 24px;*/
        /*    color: var(--primary);*/
        /*    line-height: 1.2;*/
        /*}*/

        /*.logo-text span {*/
        /*    font-size: 14px;*/
        /*    color: var(--dark);*/
        /*}*/

        /* Desktop Navigation */
        .nav-menu {
            display: flex;
            gap: 25px;
        }

        .nav-menu li {
            position: relative;
        }

        .nav-menu li a {
            color: var(--dark);
            font-size:15px;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 10px 0;
        }

        .nav-menu li a:hover {
            color: var(--primary);
        }

        .nav-menu li a::after {
            content: '';
            position: absolute;
            bottom: 0px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: width 0.3s;
        }

        .nav-menu li a:hover::after {
            width: 100%;
        }

        /* Dropdown Menu */
        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            width: 311px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 1000;
            padding: 10px 0;
        }

        .dropdown li {
            width: 100%;
        }

        .dropdown li a {
            padding: 10px 20px;
            display: block;
            color: var(--dark);
            font-weight: 500;
            transition: var(--transition);
            white-space: nowrap;
        }

        .dropdown li a:hover {
            background-color: var(--light);
            color: var(--primary);
            padding-left: 25px;
        }

        /* ===== Enhanced Dropdown Styles ===== */

        /* Desktop Dropdown Improvements */
        .dropdown {
            position: absolute;
            top: 0;
            left: 100%; /* Position to the right of parent */
            background-color: white;
            width: 298px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            opacity: 0;
            visibility: hidden;
            transform: translateX(10px);
            transition: var(--transition);
            z-index: 1001; /* Higher z-index to prevent overlap */
            padding: 10px 0;
        }

        /* First level dropdown should appear below */
        .nav-menu > li > .dropdown {
            top: 100%;
            left: 0;
            transform: translateY(10px);
        }

        .nav-menu li:hover > .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        .nav-menu > li:hover > .dropdown {
            transform: translateY(0);
        }

        /* Nested dropdown positioning */
        .dropdown .dropdown {
            top: -10px;
            left: 100%;
        }

        /* Prevent dropdowns from being cut off */
        .nav-menu li {
            position: relative; /* Changed back to relative for proper dropdown positioning */
        }

        /* Ensure dropdowns have enough space */
        .main-header {
            position: relative;
        }

        /* Visual improvements for dropdown items */
        .dropdown li a {
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--dark);
            font-weight: 500;
            transition: var(--transition);
            white-space: nowrap;
        }

        .dropdown li a .dropdown-icon {
            font-size: 10px;
            transition: transform 0.3s;
        }

        .dropdown li a:hover .dropdown-icon {
            transform: rotate(180deg);
        }

        .nav-menu li:hover > .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-buttons {
            display: flex;
            gap: 15px;
        }

        .mobile-buttons{
            display:none;
        }

        /* Mobile Navigation */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: var(--primary);
            border-radius: 2px;
            transition: var(--transition);
        }

        /* Mobile Styles */
        @media screen and (max-width: 1024px) {
            .main-header {
                /*padding: 15px 20px;*/
            }
            
            .nav-menu {
                gap: 15px;
            }
            
            .logo-text h1 {
                font-size: 20px;
            }
            
            .logo-text span {
                font-size: 12px;
            }
        }

        @media screen and (max-width: 900px) {
            .nav-buttons {
                display: none;
            }
            
            .mobile-buttons {
                display: flex;
                flex-direction: column;
                gap: 10px;
                padding: 20px;
                border-top: 1px solid #eee;
            }
        }

        @media screen and (max-width: 768px) {
            .hamburger {
                display: flex;
            }
            
            .nav-menu {
                position: fixed;
                top: 100px;
                left: -100%;
                flex-direction: column;
                background-color: white;
                width: 100%;
                height: calc(100vh - 100px);
                gap: 0;
                padding: 20px;
                box-shadow: var(--shadow-lg);
                transition: left 0.3s ease;
                overflow-y: auto;
                z-index: 999;
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .nav-menu li {
                width: 100%;
                border-bottom: 1px solid #eee;
            }
            
            .nav-menu li a {
                padding: 15px 0;
                width: 100%;
            }
            
            /* Mobile Dropdown */
            .dropdown {
                position: static;
                width: 100%;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                display: none;
                padding: 0;
                margin: 10px 0;
                border-left: 3px solid var(--primary);
            }
            
            .dropdown.active {
                display: block;
            }
            
            .dropdown li a {
                padding: 12px 15px;
                font-size: 14px;
            }
            
            .dropdown li a:hover {
                padding-left: 20px;
            }
            
            .nav-menu li a .dropdown-icon {
                margin-left: auto;
                transition: transform 0.3s;
            }
            
            .nav-menu li a .dropdown-icon.active {
                transform: rotate(180deg);
            }
            
            .logo-text h1 {
                font-size: 18px;
            }
        }

        @media screen and (max-width: 480px) {
            .logo img {
                height: 50px;
            }
            
            .logo-text h1 {
                font-size: 16px;
            }
            
            .logo-text span {
                font-size: 10px;
            }
            
            .main-header {
                padding: 10px 15px;
            }
            
            .nav-menu {
                top: 149.5px;
                height: calc(100vh - 80px);
            }
            
            .top-header-content {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }
        }
        
        
        
        .header-wrapper {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            width: 100%;              
            /*padding: 10px 15px;*/
            /*padding: 0px 15px;*/
            box-sizing: border-box;
        }
        
        /* Logo */
        .logo {
            display: flex;
            justify-content: center; 
            align-items: center;
            gap: 10px;
            padding-right: 20px;
            background:white;
            width:18%;
            margin-top:3px;
        }
        
        /* Right side (stacked on desktop) */
        .header-right {
            flex: 1;                   /* grow to fill */
            min-width: 0;              /* prevents overflow issues */
            display: flex;
            flex-direction: column;
        }
        
        /* Topbar (desktop only) */
        .topbar {
            display: flex;
            justify-content: flex-end;
            gap: 20px;
            padding-top: 19px;
            padding-bottom: 18px;
            border-bottom: 1px solid #ddd;
            background: var(--gradient-primary);
            padding-right:15px;
        }
        .topbar a {
            text-transform:uppercase;
            font-size: 12px;
            color: var(--light);
            text-decoration: none;
            
        }
        .topbar a:hover {
            color: var(--secondary);
        }
        
        .topbar1 {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          text-align:center;
          justify-content: space-between; /* span left, links right */
          padding: 15px;
          border-bottom: 1px solid #ddd;
          background: var(--gradient-primary);
        }
        
        /* Address span */
        .topbar1 .address {
          color: var(--light);
          font-size: 13px;
          white-space: nowrap;
        }
        
        /* Links */
        .topbar1 .topbar-links a {
          text-transform: uppercase;
          font-size: 12px;
          color: var(--light);
          text-decoration: none;
          margin-left: 15px;
        }
        
        .topbar1 .topbar-links a:hover {
          color: var(--secondary);
        }
        
       @media (max-width: 768px) {
          .topbar1 {
            flex-direction: column; /* stack vertically */
            align-items: center;    /* center horizontally */
            text-align: center;     /* center text */
          }
        
          .topbar1  {
            margin-top: 8px;
            display: flex;
            flex-direction: column; /* stack links vertically */
            gap: 5px;               /* space between links */
            align-items: center;    /* center links horizontally */
          }
            .topbar-links a::after{
                content:' | ';
            }
          .topbar1 .topbar-links a {
            margin-left: 0;         /* remove left margin */
          }
        }
        
        /* Navbar row */
        .nav-area {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            background-color: #f0f0f0;
            padding:7px;
        }
        
        @media (max-width: 768px) {  /* or 576px depending on your breakpoints */
          .nav-area {
            background-color: #ffffff; /* white on mobile */
          }
        }
                
        /* Hamburger */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            margin-left: auto;
        }
        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            background: var(--dark);
        }
        
        /* Show/hide classes */
        .d-none { display: none; }
        .d-md-none { display: none; }
        .d-md-flex { display: none; }
        @media (min-width: 768px) {
            .d-md-flex { display: flex; }
            .d-md-none { display: none !important; }
        }
        @media (max-width: 767px) {
            .d-md-flex { display: none !important; }
            .d-md-none { display: flex; }
            .mobile-only { display: block; }
        }
        
        /* By default, mobile-only links hidden */
        .mobile-only { display: none; }

        /*search form*/
        .nu-search-toggle {
          background: #ddd;
          margin-top:3px;
          border: 0;
          font-size: 18px;
          color: var(--dark, #222);
          cursor: pointer;
          padding: 6px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
        }
        
        /* Ensure visible on mobile if needed */
        .nu-show-on-mobile { display: none; }
        @media (max-width: 767px) {
          .nu-show-on-mobile { display: inline-flex !important; }
        }
        
        /* Modal root */
        .nu-modal {
          position: fixed;
          inset: 0;
          display: none;                 /* toggled via [aria-hidden] */
          align-items: center;
          justify-content: center;
          z-index: 9999;
        }
        
        /* show when open */
        .nu-modal[aria-hidden="false"] {
          display: flex;
        }
        
        /* the dim overlay */
        .nu-modal-overlay {
          position: absolute;
          inset: 0;
          background: rgba(0,0,0,0.5);
          backdrop-filter: blur(2px);
        }
        
        /* modal panel (center box) */
        .nu-modal-panel {
          position: relative;
          z-index: 2;
          background: #fff;
          width: min(760px, 96%);
          max-width: 760px;
          padding: 18px;
          border-radius: 10px;
          box-shadow: 0 10px 30px rgba(0,0,0,0.2);
          display: flex;
          align-items: center;
          gap: 10px;
        }
        
        /* close button */
        .nu-modal-close {
          position: absolute;
          top: 8px;
          right: 8px;
          background: none;
          border: 0;
          font-size: 22px;
          line-height: 1;
          cursor: pointer;
        }
        
        /* form layout */
        .nu-search-form {
          display: flex;
          gap: 8px;
          width: 100%;
          align-items: center;
        }
        
        /* input */
        .nu-search-input {
          flex: 1;
          padding: 12px 14px;
          border-radius: 6px;
          border: 1px solid #ccc;
          font-size: 16px;
          outline: none;
          box-sizing: border-box;
        }
        
        /* submit */
        .nu-search-submit {
          padding: 10px 14px;
          border-radius: 6px;
          border: 0;
          background: var(--primary, #0d6efd);
          color: #fff;
          cursor: pointer;
          display: inline-flex;
          align-items: center;
          justify-content: center;
        }
        
        .nu-search-submit i { font-size: 16px; }
        
        /* small screen: full width panel */
        @media (max-width: 480px) {
          .nu-modal-panel {
            width: 96%;
            padding: 14px;
            border-radius: 8px;
          }
        }
        
        /* visually hidden helper */
        .nu-sr-only {
          position: absolute !important;
          width: 1px; height: 1px;
          padding: 0; margin: -1px;
          overflow: hidden; clip: rect(0,0,0,0);
          white-space: nowrap; border: 0;
        }

        /* ===== Hero Section ===== */
        
        .hero {
            position: relative;
            height: 100vh;
            width: 100%;
            overflow: hidden;
        }
        
        .carousel {
            position: relative;
            width: 100%;
            height: 100%;
        }
        
        .carousel-inner {
            width: 100%;
            height: 100%;
            position: relative;
        }
        
        .carousel-item {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.2s ease;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: flex-end;
        }
        
        .carousel-item.active {
            opacity: 1;
        }
        
        /* Default background images if PHP doesn't load any */
        .carousel-item:nth-child(1) {
            background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('img/pexels-pixabay-159671.jpg?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
        }
        
        .carousel-item:nth-child(2) {
            background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('img/pexels-icsa-833425-1708988.jpg?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
        }
        
        .carousel-item:nth-child(3) {
            background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('img/pexels-vdivision-33767780.jpg?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
        }
        
        .hero-content {
            padding: 0 5%;
            width: 100%;
            margin-bottom: 200px;
        }
        
        .hero-content h2 {
            color: white;
            font-size: 3.5rem;
            font-weight: 700;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
            margin-bottom: 20px;
            max-width: 600px;
            text-align: left;
        }
        
        .hero-content h5 {
            color: white;
            font-size: 1.2rem;
            font-weight: 700;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
            margin-bottom: 20px;
            /*max-width: 600px;*/
            text-align: left;
        }
        
        
        
        .hero-buttons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .carousel-controls {
            position: absolute;
            bottom: 30px;
            right: 30px;
            display: flex;
            gap: 15px;
            z-index: 10;
        }
        
        .carousel-control {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 1.2rem;
        }
        
        .carousel-control:hover {
            background-color: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }
        
        .carousel-indicators {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 10;
        }
        
        .indicator {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .indicator.active {
            background-color: white;
            transform: scale(1.2);
        }
        
        .php-info {
            max-width: 1200px;
            margin: 40px auto;
            padding: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .php-info h2 {
            color: #333;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #ff5722;
        }
        
        .code-block {
            background: #2d2d2d;
            color: #f8f8f2;
            padding: 20px;
            border-radius: 5px;
            overflow-x: auto;
            margin: 20px 0;
            font-family: 'Courier New', monospace;
        }
        
        .comment {
            color: #75715e;
        }
        
        .var {
            color: #f92672;
        }
        
        .string {
            color: #a6e22e;
        }
        
        @media (max-width: 768px) {
            .hero-content h2 {
                font-size: 2.5rem;
            }
            
            .hero-content h5 {
                color: white;
                font-size: 0.8rem;
                font-weight: 700;
                text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
                margin-bottom: 20px;
                /*max-width: 600px;*/
                text-align: left;
            }
            .hero-buttons {
                flex-direction: column;
                gap: 10px;
            }
            
            .btn {
                padding: 12px 25px;
                font-size: 0.9rem;
                text-align: center;
            }
            
            .carousel-controls {
                bottom: 20px;
                right: 20px;
            }
            
            .carousel-control {
                width: 40px;
                height: 40px;
            }
        }
        
        @media (max-width: 480px) {
            .hero-content h2 {
                font-size: 2rem;
            }
            
            .hero-content h5 {
                color: white;
                font-size: 0.8rem;
                font-weight: 700;
                text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
                margin-bottom: 20px;
                /*max-width: 600px;*/
                text-align: left;
            }
        
            .hero-content {
                margin-bottom: 60px;
            }
        }
        
        /*.hero {*/
        /*    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), */
        /*        url('images/banner2.jpg');*/
        /*    background-size: cover;*/
        /*    background-position: center;*/
        /*    color: white;*/
        /*    padding: 100px 0;*/
        /*    text-align: center;*/
        /*}*/

        /*.hero-content {*/
        /*    max-width: 800px;*/
        /*    margin: 0 auto;*/
        /*}*/

        /*.hero h2 {*/
        /*    font-size: 2.5rem;*/
        /*    margin-bottom: 20px;*/
        /*}*/

        /*.hero p {*/
        /*    font-size: 1.2rem;*/
        /*    margin-bottom: 30px;*/
        /*}*/

        /*.hero-buttons {*/
        /*    display: flex;*/
        /*    justify-content: center;*/
        /*    gap: 15px;*/
        /*    margin-top: 30px;*/
        /*}*/

        /*@media (max-width: 768px) {*/
        /*    .hero h2 {*/
        /*        font-size: 1.8rem;*/
        /*    }*/
            
        /*    .hero p {*/
        /*        font-size: 1rem;*/
        /*    }*/
            
        /*    .hero-buttons {*/
        /*        flex-direction: column;*/
        /*        align-items: center;*/
        /*    }*/
        /*}*/
        

        /* ===== About Section ===== */
        .about {
            background-color: white;
        }

        .about-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
        }
        
        .about-text {
            flex: 1;
            min-width: 300px;
            padding-right: 20px;
        }
        
        .about-text p {
            /*font-size: 1.1rem;*/
            line-height: 1.6;
            margin-bottom: 25px;
            color: #444;
        }
        
        .about-btn {
            display: inline-block;
            padding: 14px 30px;
            background: linear-gradient(135deg, #191970, #2c5aaa);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .about-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0%;
            height: 100%;
            background: linear-gradient(135deg, #ffc2d1 0%, #fb6f92 100%);
            transition: all 0.5s ease;
            z-index: -1;
        }
        
        .about-btn:hover::before {
            width: 100%;
        }
        
        .about-btn:hover {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            transform: translateY(-3px);
        }
        
        .about-btn i {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }
        
        .about-btn:hover i {
            transform: translateX(5px);
        }
        
        /*.about-image {*/
        /*    flex: 1;*/
        /*    display: flex;*/
        /*    flex-wrap: wrap;*/
        /*    align-items: center;*/
        /*    justify-content: space-between;*/
        /*    gap: 40px;*/
        /*}*/
        
        /*.chancellor-div{*/
        /*    flex:1;*/
        /*    border:1px solid red;*/
        /*    height:400px;*/
        /*}*/
        
        /*.vice-chancellor-div{*/
        /*    flex:1;*/
        /*    border:1px solid green;*/
        /*    height:400px;*/
        /*}*/
        
        .about-image {
            display: flex;
            flex-wrap: wrap;
            align-items: stretch;
            justify-content: space-between;
            gap: 30px;
            margin-top: 30px;
        }
        
        .chancellor-div, .vice-chancellor-div {
            flex: 1;
            min-width: 300px;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .chancellor-div:hover, .vice-chancellor-div:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .profile-header {
            position: relative;
            height: 310px;
            overflow: hidden;
        }
        
        .profile-img {
            /*width: 100%;*/
            height:100%;
            /*width:250px;*/
            /*height:190px;*/
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            object-fit: cover;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .profile-content {
            padding: 10px 10px 10px;
            text-align: center;
        }
        
        .profile-content h2 {
            color: #2c3e50;
            margin-bottom: 5px;
            font-size: 1.0rem;
        }
        
        .profile-content .role {
            color: #7f8c8d;
            font-style: italic;
            margin-bottom: 15px;
        }
        
        .profile-content p {
            color: #34495e;
            margin-bottom: 20px;
            line-height: 1.5;
        }
      

        
        @media (max-width: 768px) {
            .about-image {
                flex-direction: column;
            }
            
            .chancellor-div, .vice-chancellor-div {
                width: 100%;
            }

        }
        
        /* Responsive styles */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
            }
            
            .about-text {
                padding-right: 0;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }

        
        /* Notice Board */
        .notice-row {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            justify-content: center;
        }
        
        
        .notice-card {
            flex: 1;
            min-width: 300px;
            max-width: 380px;
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }
        
        .notice-card:hover {
            /*transform: translateY(-8px);*/
            box-shadow: var(--shadow-md);
        }
        
        .notice-header {
            background: var(--gradient-primary);
            color: var(--white);
            padding: 18px 20px;
            display: flex;
            align-items: center;
        }
        
        .notice-header i {
            font-size: 1.4rem;
            margin-right: 12px;
        }
        
        .notice-header h3 {
            color: var(--white);
            margin: 0;
            font-size: 1.25rem;
            font-weight: 600;
        }
        
        .notice-body {
            padding: 20px;
            height: 360px;           /* fixed height */
            overflow: hidden;        /* hide overflow */
            position: relative;
        }
        
        .notice-list {
            display: flex;
            flex-direction: column;
            animation: scroll-up 50s linear infinite; /* marquee effect */
        }
        
        .notice-list:hover {
            animation-play-state: paused;
        }
        
        @keyframes scroll-up {
            0% {
                transform: translateY(0);   /* start visible */
            }
            100% {
                transform: translateY(-100%);
            }
        }
       
        .notice-item {
            padding: 15px 0;
            border-bottom: 1px dashed #eee;
            display: flex;
            transition: var(--transition);
        }
        
        .notice-item:hover {
            background-color: #f9f9f9;
            border-radius: 6px;
            padding-left: 10px;
            padding-right: 10px;
        }
        
        .notice-item:last-child {
            border-bottom: none;
        }
        
        .notice-date {
            min-width: 70px;
            text-align: center;
            margin-right: 15px;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            /*border:1px solid var(--secondary);*/
            border-radius: 4px;
            background: #f0f0f0;
            padding: 2px 6px;
        }
        
        .notice-day-month {
            display: flex;
            align-items: baseline;
            justify-content: center;
            margin-bottom: 4px;
        }
        
        .notice-day {
            font-size: 1.9rem;
            font-weight: 700;
            color: var(--primary-color);
            line-height: 1;
            
        }
        
        .notice-month {
            font-size: 0.8rem;
            color: var(--primary);
            text-transform: uppercase;
            font-weight: 500;
            margin-right: 4px;
        }
        
        .notice-year {
            display: block;
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 500;
            /*padding: 2px 6px;*/
        }
        
        .notice-content h5 {
            /*font-size: 1.05rem;*/
            margin-bottom: 6px;
            font-weight: 500;
            color: #333;
        }
        
        .notice-content p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 0;
        }
        
        .notice-more {
            display: inline-block;
            margin-top: 20px;
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
            position: relative;
            padding-right: 22px;
            transition: var(--transition);
        }
        
        .notice-more:after {
            content: '→';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            transition: var(--transition);
        }
        
        .notice-more:hover {
            color: var(--secondary-color);
            padding-right: 28px;
        }
        
        .empty-notice {
            text-align: center;
            padding: 20px 0;
            color: var(--text-light);
            font-style: italic;
        }
        
        @media (max-width: 992px) {
            .notice-card {
                flex: 1 1 45%;
            }
        }
        
        @media (max-width: 768px) {
            .notice-card {
                flex: 1 1 100%;
                max-width: 100%;
            }
            
            .section-title h2 {
                font-size: 1.1rem;
            }
        }
        /* Notice Board */
        
        
        
        /* ===== Facilities Section ===== */
        .facilities {
            background-color: var(--light);
        }

        .facilities-content {
            display: flex;
            gap: 40px;
        }

        .facility-buttons {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .facility-btn {
            padding: 15px 20px;
            background: white;
            border: none;
            border-radius: 5px;
            text-align: left;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .facility-btn i {
            color: var(--primary);
            font-size: 1.2rem;
        }

        .facility-btn.active, .facility-btn:hover {
            background-color: var(--primary);
            color: white;
        }

        .facility-btn.active i, .facility-btn:hover i {
            color: white;
        }

        .facility-details {
            flex: 2;
            background: white;
            padding: 30px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
      
        }

        .facility-detail {
            display: none;
            text-align:justify;
        }

        .facility-detail.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { 
                opacity: 0; 
                transform: translateY(10px); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0); 
            }
        }

        .facility-detail h3 {
            color: var(--primary);
            margin-bottom: 20px;
            font-size: 1.5rem;
        }

        .facility-image {
            position: relative;
            margin-top: 20px;
            width: 100% !important;
        }

        .facility-image img {
            border-radius: 8px;
            width: 100%;
            height: 350px !important; /* fixed height */
            object-fit: cover;
        }

        .facility-image .overlay-text {
            position: absolute;
            bottom: 0;
            left: 0;
            padding: 15px;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            font-size: 14px;
            width: 100%;
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
        }

        @media (max-width: 992px) {
            .facilities-content {
                flex-direction: column;
            }
        }

        /* ===== Achievements Section ===== */
        .achievements {
            background-color: white;
        }

        .achievement-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .achievement-card {
            background: var(--light);
            padding: 30px;
            border-radius: var(--radius-lg);
            text-align: justify;
            transition: transform 0.3s;
        }

        .achievement-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .achievement-icon {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 20px;
        }

        .achievement-card h3 {
            margin-bottom: 15px;
            color: var(--primary);
        }
        
        .achievement-card p {
            text-align:justify !important;
        }

        /* ===== Testimonials Section ===== */
        .testimonials {
            background: 
                linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('img/active.jpg');
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-position: center;
            background-size: cover;
            border: none; 
            /*margin-bottom: 20px !important;*/
            color: white; /* makes text readable */
        }

        .testimonials .section-title h2,
        .testimonials .section-title p,
        .testimonials h3 {
            color: white;
        }
        
        .testimonial-slider {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .testimonial {
            background: white;
            padding: 30px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            text-align: center;
            display: none;
        }

        .testimonial.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
            font-size: 1.1rem;
            color: #555;
        }

        .testimonial-author {
            font-weight: 600;
            color: var(--primary);
        }

        .testimonial-role {
            color: #777;
            font-size: 0.9rem;
        }

        .testimonial-nav {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 10px;
        }

        .testimonial-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ccc;
            cursor: pointer;
            transition: background 0.3s;
        }

        .testimonial-dot.active {
            background: var(--primary);
        }

        /* ===== Notice Section ===== */
        .notices {
            background-color: var(--primary);
            color: white;
        }
        
        .notices .section-title h2,
        .notices .section-title p,
        .notices h3 {
            color: white;
        }

        .notice-board {
            background: rgba(255, 255, 255, 0.1);
            padding: 30px;
            border-radius: var(--radius-lg);
            max-width: 800px;
            margin: 0 auto;
        }

        .notice-item {
            padding: 15px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .notice-item:last-child {
            border-bottom: none;
        }

        .notice-date {
            color: var(--secondary);
            font-weight: 500;
            margin-right: 15px;
        }

        /* ===== Footer ===== */
        footer {
            background-color: var(--dark);
            color: white;
            padding-top: 60px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--secondary);
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--text-light);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: white;
        }

        .contact-info-footer li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .contact-info-footer i {
            color: var(--secondary);
            margin-top: 5px;
        }

        .footer-bottom {
            background-color: rgba(0, 0, 0, 0.2);
            padding: 20px 0;
            text-align: center;
        }

        /* ===== Utility Classes ===== */
        .text-center {
            text-align: center;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Demo Content Styles */
        .demo-content {
            padding: 40px 0;
        }
        
        .demo-section {
            margin-bottom: 60px;
        }
        
        .demo-section h2 {
            color: var(--primary);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .demo-section p {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            color: var(--text-muted);
        }
        
       /* Back to Top Button */
        .back-to-top {
          position: fixed;
          bottom: 30px;
          right: 30px;
          width: 50px;
          height: 50px;
          background: var(--gradient-accent, #1a4d8c);
          color: var(--white, #fff);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 1.2rem;
          box-shadow: var(--shadow-md, 0 6px 18px rgba(0,0,0,0.2));
          z-index: 999;
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
          cursor: pointer;
        }
        
        /* Show state */
        .back-to-top.active {
          opacity: 1;
          visibility: visible;
          animation: pulse 2s infinite; /* pulse effect */
        }
        
        /* Hover lift */
        .back-to-top:hover {
          transform: translateY(-5px) scale(1.05);
        }
        
        /* Pulse Animation */
        @keyframes pulse {
          0% {
            box-shadow: 0 0 0 0 rgba(26, 77, 140, 0.5);
          }
          70% {
            box-shadow: 0 0 0 12px rgba(26, 77, 140, 0);
          }
          100% {
            box-shadow: 0 0 0 0 rgba(26, 77, 140, 0);
          }
        }

    