/* Reset CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Typography */
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
color: #ffffff;
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
overflow-x: hidden;
}
.container {
width: 90%;
max-width: 1200px;
margin: auto;
padding: 2rem 0;
}
/* Navigation */
nav {
position: fixed;
width: 100%;
background: rgba(0, 0, 0, 0.7);
padding: 1rem 0;
z-index: 1000;
}
nav .container {
display: flex;
justify-content: space-between;
align-items: center;
}
nav .logo h1 {
color: #ffffff;
font-size: 1.5rem;
}
nav .nav-links {
list-style: none;
display: flex;
}
nav .nav-links li {
margin-left: 2rem;
}
nav .nav-links a {
color: #ffffff;
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}
nav .nav-links a:hover {
color: #ff7e5f;
}
/* Hamburger Menu */
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
}
.hamburger span {
height: 3px;
width: 25px;
background: #ffffff;
margin-bottom: 4px;
border-radius: 5px;
}
/* Hero Section */
#hero {
height: 100vh;
background: url('https://images.pollinations.ai/prompt/AI%20hero%20section') center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
#hero::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(30, 60, 114, 0.6);
}
.hero-content {
position: relative;
text-align: center;
color: #ffffff;
z-index: 1;
}
.hero-content h2 {
font-size: 3rem;
margin-bottom: 1rem;
animation: fadeInDown 1s ease forwards;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 2rem;
animation: fadeInUp 1s ease forwards;
}
.btn {
padding: 0.75rem 2rem;
background: linear-gradient(45deg, #ff7e5f, #feb47b);
border: none;
color: #ffffff;
cursor: pointer;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
transition: transform 0.3s ease, background 0.3s ease;
}
.btn:hover {
transform: scale(1.05);
background: linear-gradient(45deg, #feb47b, #ff7e5f);
}
/* Sections */
section {
padding: 4rem 0;
}
#about, #community, #contact {
background: rgba(0, 0, 0, 0.5);
border-radius: 15px;
margin: 2rem 0;
}
.about-content, .community-content, .contact-content {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.about-text, .community-content, .contact-content {
flex: 1;
padding: 1rem;
}
.about-image img, .project-card img {
width: 100%;
border-radius: 15px;
transition: transform 0.3s ease;
}
.about-image img:hover, .project-card img:hover {
transform: scale(1.05);
}
.projects-header {
text-align: center;
margin-bottom: 3rem;
}
.projects-header h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.projects-header p {
font-size: 1.1rem;
color: #ddd;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.project-card {
background: rgba(255, 255, 255, 0.1);
border-radius: 15px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.project-info {
padding: 1rem;
}
.project-info h3 {
margin-bottom: 0.5rem;
}
.project-info p {
font-size: 0.95rem;
margin-bottom: 1rem;
color: #ccc;
}
.community-links {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
.footer-content {
text-align: center;
padding: 2rem 0;
}
.footer-content p {
margin-bottom: 1rem;
}
.social-links a {
color: #ffffff;
margin: 0 0.5rem;
text-decoration: none;
transition: color 0.3s ease;
}
.social-links a:hover {
color: #ff7e5f;
}
/* Contact Form */
form {
display: flex;
flex-direction: column;
gap: 1rem;
}
form input, form textarea {
padding: 0.75rem;
border: none;
border-radius: 10px;
font-size: 1rem;
}
form input:focus, form textarea:focus {
outline: none;
box-shadow: 0 0 5px #ff7e5f;
}
form button {
align-self: flex-start;
}
/* Media Queries */
@media (max-width: 768px) {
nav .nav-links {
position: fixed;
top: 0;
right: -100%;
height: 100vh;
width: 200px;
background: rgba(0, 0, 0, 0.9);
flex-direction: column;
align-items: center;
justify-content: center;
transition: right 0.3s ease;
}
nav .nav-links li {
margin: 1.5rem 0;
}
nav .nav-links.active {
right: 0;
}
.hamburger {
display: flex;
}
.about-content, .community-content, .contact-content {
flex-direction: column;
}
.about-image, .about-text {
padding: 0;
}
#hero h2 {
font-size: 2.5rem;
}
#hero p {
font-size: 1rem;
}
}
/* Animations */
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}