@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


        /* Base Styles */
        :root {
            --primary-color: #048E3C;
            --secondary-color: #f8c537;
            --text-color: #333;
            --bg-color: #ffffff;
            --card-bg: #f5f5f5;
            --header-bg: rgba(255, 255, 255, 0.98);
            --footer-bg: #2c3e50;
            --footer-text: #ecf0f1;
            --nav-link: #333;
            --nav-link-hover: #0f6b34;
            --transition: all 0.3s ease;
            --border-radius: 8px;
            --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .dark-mode {
            --primary-color: #048E3C;
            --secondary-color: #ffbe0b;
            --text-color: #f5f5f5;
            --bg-color: #121212;
            --card-bg: #1e1e1e;
            --header-bg: rgba(30, 30, 30, 0.98);
            --footer-bg: #121212;
            --footer-text: #e0e0e0;
            --nav-link: #f5f5f5;
            --nav-link-hover: #0f6b34;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: "Poppins", sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--bg-color);
            transition: var(--transition);
            overflow-x: hidden;
        }

        /* Layout */
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Typography */
        h1, h2, h3, h4 {
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        p {
            margin-bottom: 1rem;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* Header */
        header {
            background-color: var(--header-bg);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: var(--box-shadow);
            backdrop-filter: blur(10px);
            transition: var(--transition);
            padding: 0.8rem 0;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .logo img {
            height: 50px;
            width: auto;
        }

        .logo-text h1 {
            font-size: 1.2rem;
            color: var(--primary-color);
            white-space: nowrap;
        }

        .logo-text p {
            font-size: 0.7rem;
            font-style: italic;
        }

        /* Navigation - Desktop */
        .desktop-nav {
            display: none;
        }

        .desktop-nav ul {
            display: flex;
            list-style: none;
            align-items: center;
            gap: 1.5rem;
        }

        .desktop-nav ul li a {
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
            transition: var(--transition);
        }

        .desktop-nav ul li a:hover {
            color: var(--nav-link-hover);
        }

        .desktop-nav ul li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: var(--transition);
        }

        .desktop-nav ul li a:hover::after {
            width: 100%;
        }

        /* Login Dropdown - Desktop */
        .login-dropdown {
            position: relative;
        }

        .login-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            cursor: pointer;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition);
        }

        .login-btn:hover {
            background-color: var(--secondary-color);
            color: var(--text-color);
        }

        .dropdown-content {
            position: absolute;
            right: -10px;
            top: 35px;
            background-color: var(--bg-color);
            min-width: 200px;
            box-shadow: var(--box-shadow);
            border-radius: var(--border-radius);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            padding: 10px;
        }

        .login-dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-content a {
            color: var(--text-color);
            padding: 0.6rem 1.2rem;
            display: block;
            transition: var(--transition);
        }

        .dropdown-content a:hover {
            background-color: var(--card-bg);
            color: var(--primary-color);
            padding-left: 1.4rem;
        }

        .dropdown-content a i {
            margin-right: 0.6rem;
            width: 1rem;
            text-align: center;
        }

        /* Mobile Controls */
        .mobile-controls {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .mobile-menu-btn, .theme-toggle {
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
            font-size: 1.5rem;
            padding: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .mobile-menu-btn:hover, .theme-toggle:hover {
            color: var(--primary-color);
        }

        .theme-toggle {
            font-size: 1.3rem;
        }

        /* Desktop Theme Toggle */
        .desktop-theme-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
            font-size: 1.1rem;
            padding: 0.5rem;
            transition: var(--transition);
        }

        .desktop-theme-toggle:hover {
            color: var(--primary-color);
        }

        /* Mobile Navigation */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 85%;
            max-width: 320px;
            height: 100vh;
            background-color: var(--header-bg);
            backdrop-filter: blur(10px);
            z-index: 999;
            transition: right 0.3s ease-in-out;
            padding: 5rem 1.5rem 2rem;
            overflow-y: auto;
        }

        .mobile-nav.active {
            right: 0;
        }

        .mobile-nav ul {
            display: flex;
            flex-direction: column;
            list-style: none;
            gap: 0.5rem;
        }

        .mobile-nav ul li a {
            display: block;
            padding: 0.8rem;
            border-radius: var(--border-radius);
            transition: var(--transition);
            font-weight: 500;
        }

        .mobile-nav ul li a:hover {
            background-color: var(--card-bg);
            color: var(--primary-color);
        }

        .mobile-login-dropdown .dropdown-content {
            position: static;
            box-shadow: none;
            background-color: transparent;
            display: none;
            opacity: 1;
            visibility: visible;
            transform: none;
            width: 100%;
            padding: 0;
            margin: 0.5rem 0;
        }

        .mobile-login-dropdown.active .dropdown-content {
            display: block;
        }

        .mobile-login-dropdown .dropdown-content a {
            padding: 0.6rem 1.2rem 0.6rem 2rem;
            font-size: 0.9rem;
        }

        .login-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        /* Overlay */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Close Button for Mobile Nav */
        .mobile-nav-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .mobile-nav-close:hover {
            color: var(--primary-color);
            transform: rotate(90deg);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            text-align: center;
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            color: white;
            padding: 6rem 0 4rem;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .hero h1 {
            font-size: 2.2rem;
            margin-bottom: 1.2rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        /* Buttons */
        .btn-container {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 0.8rem 1.8rem;
            border-radius: 2rem;
            font-weight: bold;
            transition: var(--transition);
            border: 2px solid var(--primary-color);
            text-align: center;
        }

        .btn:hover {
            background-color: transparent;
            color: white;
            border-color: white;
            transform: translateY(-2px);
        }

        .btn-outline {
            background-color: transparent;
            border: 2px solid white;
        }

        .btn-outline:hover {
            background-color: white;
            color: var(--primary-color);
        }

        /* Sections */
        .section {
            padding: 4rem 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title h2 {
            font-size: 2rem;
            color: var(--primary-color);
            position: relative;
            display: inline-block;
            padding-bottom: 0.8rem;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 5rem;
            height: 3px;
            background-color: var(--secondary-color);
        }

        /* About Section */
        .about-content {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

        .about-text, .about-image {
            flex: 1;
            min-width: 100%;
        }

        .about-text h3 {
            font-size: 1.6rem;
            margin-bottom: 1.2rem;
            color: var(--primary-color);
        }

        .about-image img {
            width: 100%;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            height: auto;
        }

        /* Features Section */
        .features {
            background-color: var(--card-bg);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .feature-card {
            background-color: var(--bg-color);
            padding: 1.8rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            text-align: center;
            transition: transform 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-0.5rem);
        }

        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1.2rem;
        }

        .feature-card h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }

        /* Academics Section */
        .academics-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tab-btn {
            padding: 0.6rem 1.2rem;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            font-size: 1rem;
            cursor: pointer;
            color: var(--text-color);
            font-weight: 500;
            transition: var(--transition);
            border-radius: var(--border-radius);
        }

        .tab-btn.active {
            border-bottom-color: var(--primary-color);
            color: var(--primary-color);
            background-color: var(--card-bg);
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .tab-content.active {
            display: block;
        }

        .academics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .academic-card {
            background-color: var(--card-bg);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
        }

        .academic-card h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        /* Gallery Section */
        .gallery {
            background-color: var(--card-bg);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.2rem;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: var(--border-radius);
            aspect-ratio: 4/3;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
            color: white;
            padding: 1.2rem;
            transform: translateY(100%);
            transition: var(--transition);
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        .gallery-overlay h3 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        /* Contact Section */
        .contact-container {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
        }

        .contact-info, .contact-form {
            flex: 1;
            min-width: 100%;
        }

        .contact-info h3 {
            font-size: 1.6rem;
            margin-bottom: 1.2rem;
            color: var(--primary-color);
        }

        .contact-details {
            margin-bottom: 2rem;
        }

        .contact-details p {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .contact-details i {
            margin-right: 0.8rem;
            color: var(--primary-color);
            font-size: 1.1rem;
            width: 1.2rem;
        }

        .social-links {
            display: flex;
            gap: 0.8rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            font-size: 1.1rem;
            transition: var(--transition);
        }

        .social-links a:hover {
            background-color: var(--secondary-color);
            transform: translateY(-0.3rem);
        }

        /* Forms */
        .form-group {
            margin-bottom: 1.2rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            background-color: var(--card-bg);
            color: var(--text-color);
            transition: var(--transition);
        }

      
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(26, 86, 167, 0.2);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 10rem;
        }

        .submit-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 0.8rem 1.8rem;
            border-radius: 2rem;
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
            font-size: 0.95rem;
        }

        .submit-btn:hover {
            background-color: var(--secondary-color);
            transform: translateY(-0.2rem);
        }

        /* Footer */
        footer {
            background-color: var(--footer-bg);
            color: var(--footer-text);
            padding: 3rem 0 2rem;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-col h3 {
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
            color: var(--secondary-color);
            position: relative;
            padding-bottom: 0.6rem;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 2.5rem;
            height: 2px;
            background-color: var(--primary-color);
        }

        .footer-col p {
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .footer-links li {
            list-style: none;
            margin-bottom: 0.6rem;
        }

        .footer-links a {
            color: var(--footer-text);
            transition: color 0.3s;
            font-size: 0.9rem;
        }

        .footer-links a:hover {
            color: var(--secondary-color);
        }

        .newsletter-form .form-group {
            margin-bottom: 1rem;
        }

        .newsletter-form input {
            width: 100%;
            padding: 0.7rem;
            border-radius: var(--border-radius);
            border: 1px solid #ddd;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
        }

        .footer-bottom p span{
            color: var(--primary-color);
            font-weight: bold;
        }

         .footer-bottom p span i{
            color: #fff;
        }

        /* Responsive Breakpoints */
        @media (min-width: 576px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .about-text, .about-image,
            .contact-info, .contact-form {
                min-width: calc(50% - 1rem);
            }
        }

        @media (min-width: 768px) {
            .mobile-controls {
                display: none;
            }
            
            .desktop-nav {
                display: block;
            }
            
            .mobile-nav, .overlay {
                display: none;
            }
            
            .logo-text h1 {
                font-size: 1.4rem;
            }
            
            .hero {
                padding: 8rem 0 6rem;
            }
            
            .mobile-nav-close {
                display: none;
            }
            
            .desktop-theme-toggle {
                display: block;
                margin-left: 1rem;
            }
        }

        @media (min-width: 992px) {
            .hero h1 {
                font-size: 3rem;
            }
            
            .section-title h2 {
                font-size: 2.2rem;
            }
            
            .about-text, .about-image {
                min-width: calc(50% - 1rem);
            }
            
            .contact-info, .contact-form {
                min-width: calc(50% - 1rem);
            }
        }

        @media (min-width: 1200px) {
            .container {
                padding: 0;
            }
        }

        /* Small mobile devices */
        @media (max-width: 400px) {
            .logo-text h1 {
                font-size: 1rem;
                white-space: normal;
            }
            
            .logo img {
                height: 40px;
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .btn {
                width: 100%;
            }
            
            .mobile-nav {
                width: 90%;
            }
            
            .mobile-menu-btn, .theme-toggle {
                font-size: 1.3rem;
            }
        }
        
        /* Very small devices (landscape phones) */
        @media (max-width: 350px) {
            .logo {
                gap: 0.5rem;
            }
            
            .logo-text h1 {
                font-size: 0.9rem;
            }
            
            .logo-text p {
                font-size: 0.6rem;
            }
            
            .hero h1 {
                font-size: 1.6rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .mobile-nav {
                padding: 4rem 1rem 2rem;
            }
        }