Sure! Below is a complete example of a beautiful, responsive college website for Aspire Group of Colleges. It includes:
- A header with the college name and navigation
- A director’s photo and message section
- About section
- Programs section with icons and color-coded themes (red, white, yellow)
- Comments/testimonials section
- Footer
The color scheme uses red, white, and yellow as requested, with a clean and modern design.
Complete HTML + CSS code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Aspire Group of Colleges</title>
<style>
/* Reset and base */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: #fff;
color: #333;
line-height: 1.6;
}
a {
text-decoration: none;
color: inherit;
}
img {
max-width: 100%;
height: auto;
display: block;
}
/* Header */
header {
background: #d32f2f; /* red */
color: white;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
header h1 {
font-size: 1.8rem;
letter-spacing: 2px;
}
nav a {
margin-left: 1.5rem;
font-weight: 600;
transition: color 0.3s ease;
}
nav a:hover {
color: #ffeb3b; /* yellow */
}
/* Hero / Director Section */
.director-section {
display: flex;
flex-wrap: wrap;
align-items: center;
background: #fff8e1; /* light yellow */
padding: 3rem 2rem;
gap: 2rem;
max-width: 1200px;
margin: 2rem auto;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(255, 235, 59, 0.3);
}
.director-photo {
flex: 1 1 250px;
max-width: 300px;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(211, 47, 47, 0.5);
}
.director-photo img {
width: 100%;
height: auto;
display: block;
}
.director-message {
flex: 2 1 400px;
color: #b71c1c; /* dark red */
}
.director-message h2 {
margin-bottom: 1rem;
font-size: 2rem;
border-bottom: 3px solid #d32f2f;
display: inline-block;
padding-bottom: 0.3rem;
}
.director-message p {
font-size: 1.1rem;
line-height: 1.5;
}
/* About Section */
section.about {
max-width: 900px;
margin: 3rem auto;
padding: 0 2rem;
text-align: center;
}
section.about h2 {
font-size: 2.2rem;
color: #d32f2f;
margin-bottom: 1rem;
border-bottom: 3px solid #ffeb3b;
display: inline-block;
padding-bottom: 0.3rem;
}
section.about p {
font-size: 1.1rem;
color: #555;
margin-top: 1rem;
line-height: 1.6;
}
/* Programs Section */
section.programs {
background: #d32f2f;
color: white;
padding: 3rem 2rem;
max-width: 1200px;
margin: 3rem auto;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
section.programs h2 {
text-align: center;
font-size: 2.2rem;
margin-bottom: 2rem;
border-bottom: 3px solid #ffeb3b;
display: inline-block;
padding-bottom: 0.3rem;
}
.program-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
}
.program {
background: white;
color: #d32f2f;
flex: 1 1 200px;
max-width: 250px;
border-radius: 12px;
padding: 1.5rem;
text-align: center;
box-shadow: 0 4px 10px rgba(255, 235, 59, 0.5);
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: default;
}
.program:hover {
transform: translateY(-8px);
box-shadow: 0 8px 20px rgba(255, 235, 59, 0.8);
}
.program-icon {
font-size: 3.5rem;
margin-bottom: 1rem;
color: #d32f2f;
}
.program.red {
background: #ffebee;
color: #d32f2f;
}
.program.white {
background: #fffde7;
color: #fbc02d;
}
.program.yellow {
background: #fff8e1;
color: #fbc02d;
}
.program h3 {
font-size: 1.4rem;
margin-bottom: 0.5rem;
}
/* Comments Section */
section.comments {
max-width: 900px;
margin: 3rem auto 5rem;
padding: 0 2rem;
text-align: center;
}
section.comments h2 {
font-size: 2.2rem;
color: #d32f2f;
margin-bottom: 2rem;
border-bottom: 3px solid #ffeb3b;
display: inline-block;
padding-bottom: 0.3rem;
}
.comment-list {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.comment {
background: #fff8e1;
border-left: 5px solid #d32f2f;
padding: 1rem 1.5rem;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(211, 47, 47, 0.2);
text-align: left;
}
.comment p {
font-style: italic;
font-size: 1.1rem;
margin-bottom: 0.5rem;
}
.comment .author {
font-weight: 700;
color: #b71c1c;
}
/* Footer */
footer {
background: #d32f2f;
color: white;
text-align: center;
padding: 1rem 2rem;
font-size: 0.9rem;
letter-spacing: 1px;
}
/* Responsive */
@media (max-width: 768px) {
.director-section {
flex-direction: column;
text-align: center;
}
.director-message {
flex: unset;
}
.program-list {
flex-direction: column;
align-items: center;
}
}
</style>
<!-- Icons from FontAwesome CDN -->
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
</head>
<body>
<header>
<h1>Aspire Group of Colleges</h1>
<nav>
<a href="#about">About</a>
<a href="#programs">Programs</a>
<a href="#comments">Comments</a>
</nav>
</header>
<section class="director-section" id="director">
<div class="director-photo">
<img src="https://images.unsplash.com/photo-1607746882042-944635dfe10e?auto=format&fit=crop&w=400&q=80" alt="Director Photo" />
</div>
<div class="director-message">
<h2>Message from the Director</h2>
<p>
Welcome to Aspire Group of Colleges, where we nurture talent and foster innovation. Our commitment is to provide quality education and empower students to achieve their dreams. Join us to embark on a journey of knowledge, growth, and success.
</p>
</div>
</section>
<section class="about" id="about">
<h2>About Aspire Group of Colleges</h2>
<p>
Aspire Group of Colleges is dedicated to excellence in education, offering a wide range of programs designed to prepare students for the challenges of the modern world. Our experienced faculty, state-of-the-art facilities, and vibrant campus life create an environment where students thrive academically and personally.
</p>
</section>
<section class="programs" id="programs">
<h2>Our Programs</h2>
<div class="program-list">
<div class="program red">
<div class="program-icon"><i class="fas fa-laptop-code"></i></div>
<h3>FSC (Pre-Engineering)</h3>
<p>Strong foundation in science and mathematics for engineering aspirants.</p>
</div>
<div class="program white">
<div class="program-icon" style="color:#d32f2f;"><i class="fas fa-desktop"></i></div>
<h3>IT (Information Technology)</h3>
<p>Comprehensive IT education with practical and theoretical knowledge.</p>
</div>
<div class="program yellow">
<div class="program-icon"><i class="fas fa-code"></i></div>
<h3>ICS (Intermediate in Computer Science)</h3>
<p>Focused curriculum on computer science and programming skills.</p>
</div>
</div>
</section>
<section class="comments" id="comments">
<h2>What Our Students Say</h2>
<div class="comment-list">
<div class="comment">
<p>"Aspire Group of Colleges provided me with the skills and confidence to pursue my career goals. The faculty is supportive and the environment is inspiring."</p>
<div class="author">- Sarah Khan</div>
</div>
<div class="comment">
<p>"The programs are well-structured and the campus life is vibrant. I highly recommend Aspire to anyone looking for quality education."</p>
<div class="author">- Ahmed Ali</div>
</div>
<div class="comment">
<p>"Thanks to Aspire, I was able to secure a great internship and build a strong network in the IT industry."</p>
<div class="author">- Maria Noor</div>
</div>
</div>
</section>
<footer>
© 2025 Aspire Group of Colleges. All rights reserved.
</footer>
</body>
</html>
How to use:
- Copy the above code into a file named
index.html.
- Replace the director photo URL with your actual director’s photo if you have one.
- Open the file in any modern browser to see the website.
- You can customize text, images, and icons as needed.
If you want me to help you add more features like contact forms, event calendars, or anything else, just ask!