diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..5deed21 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,107 @@ +/* University Assistant - Custom Styles */ + +:root { + --primary: #4A90E2; + --secondary: #F5A623; + --background: #F8F9FA; + --surface: #FFFFFF; + --text-color: #333333; + --gradient: linear-gradient(135deg, #4A90E2 0%, #50E3C2 100%); + --border-radius: 0.5rem; + --shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +body { + font-family: 'Poppins', sans-serif; + background-color: var(--background); + color: var(--text-color); + line-height: 1.6; +} + +h1, h2, h3, h4, h5, h6 { + font-weight: 600; +} + +.navbar { + background-color: var(--surface); + box-shadow: var(--shadow); +} + +.navbar-brand { + font-weight: 700; + color: var(--primary); +} + +.nav-link { + font-weight: 500; +} + +.hero { + color: white; + padding: 12rem 0; + text-align: center; + background-image: var(--gradient); + position: relative; +} + +.hero-bg { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + object-fit: cover; + opacity: 0.2; + z-index: 1; +} + +.hero .container { + position: relative; + z-index: 2; +} + +.hero h1 { + font-size: 3.5rem; + font-weight: 700; +} + +.section { + padding: 6rem 0; +} + +.section-title { + text-align: center; + margin-bottom: 4rem; + font-size: 2.5rem; + font-weight: 700; +} + +.card { + border: none; + border-radius: var(--border-radius); + box-shadow: var(--shadow); + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +.card:hover { + transform: translateY(-5px); + box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); +} + +.card-img-top { + border-top-left-radius: var(--border-radius); + border-top-right-radius: var(--border-radius); +} + +.facility-icon { + width: 64px; + height: 64px; + color: var(--primary); + margin-bottom: 1rem; +} + +.footer { + background-color: #343A40; + color: white; + padding: 3rem 0; +} diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..978b028 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,40 @@ +// University Assistant - Main JS + +document.addEventListener('DOMContentLoaded', function () { + // Smooth scrolling for anchor links + document.querySelectorAll('a.nav-link[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + const targetId = this.getAttribute('href'); + const targetElement = document.querySelector(targetId); + if (targetElement) { + targetElement.scrollIntoView({ + behavior: 'smooth' + }); + } + }); + }); + + // Activate feather icons + feather.replace(); + + // Simple fade-in animation for sections on scroll + const sections = document.querySelectorAll('.section'); + const observer = new IntersectionObserver(entries => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.style.opacity = 1; + entry.target.style.transform = 'translateY(0)'; + } + }); + }, { + threshold: 0.1 + }); + + sections.forEach(section => { + section.style.opacity = 0; + section.style.transform = 'translateY(20px)'; + section.style.transition = 'opacity 0.6s ease-out, transform 0.6s ease-out'; + observer.observe(section); + }); +}); diff --git a/index.php b/index.php index 6f7ffab..bcb2b3d 100644 --- a/index.php +++ b/index.php @@ -1,131 +1,158 @@ - - + - - - New Style - - - - + + + University Assistant - Welcome + + + + + + + + + + + + + + + + + + + + + + + + + + -
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

-
-
- + + + + + +
+ A modern university campus building under a clear blue sky. +
+

Your University Journey Starts Here

+

Discover a world of knowledge, opportunity, and growth.

+
+
+ + +
+ +
+
+

About Our University

+
+
+ A diverse group of students collaborating on a project. +
+
+

Fostering Excellence Since 1980

+

We are a leading institution dedicated to providing quality education and fostering innovation. Our mission is to empower students with the knowledge and skills to excel in their chosen fields and make a positive impact on the world.

+

With a diverse student body, world-class faculty, and state-of-the-art facilities, we offer a vibrant and supportive learning environment.

+
+
+
+
+ + +
+
+

Our Specializations

+
+ 'Computer Science', 'icon' => 'cpu'], + ['name' => 'Medicine', 'icon' => 'activity'], + ['name' => 'Business & Management', 'icon' => 'briefcase'], + ['name' => 'Arts & Humanities', 'icon' => 'pen-tool'], + ['name' => 'Engineering', 'icon' => 'settings'], + ['name' => 'Environmental Science', 'icon' => 'wind'], + ]; + foreach ($specializations as $spec): + ?> +
+
+
+ +
+

Explore the frontiers of knowledge and innovation in .

+
+
+
+ +
+
+
+ + +
+
+

World-Class Facilities

+
+
+

The Central Library

+

Our library is more than just a collection of books. It's a hub for research, collaboration, and quiet study, with access to millions of digital and print resources.

+

Advanced Research Labs

+

Equipped with the latest technology to support groundbreaking research across all disciplines.

+

Sports & Recreation

+

Stay active and healthy with our comprehensive sports complex, including a swimming pool, gym, and outdoor fields.

+
+
+ A vast and modern university library with rows of books. +
+
+
+ + +
+
+

Get In Touch

+

Have questions? We're here to help. A full contact form will be available soon.

+ Email Us +
+
+
+ + + + + + + + + + - + \ No newline at end of file