/* styles.css */

/* General Reset and Body Styles */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'infinite';
    src: url(Infinite.ttf);
   
} */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
--primary-color: #2563eb;
--secondary-color: #1e40af;
--accent-color: #3b82f6;
--text-dark: #1f2937;
--text-light: #6b7280;
--bg-light: #f9fafb;
--white: #ffffff;
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@font-face {
font-family: 'infinite';
src: url('Infinite.ttf');
}
#brandtext{
font-family: 'infinite';
font-weight: 100;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--text-dark);
overflow-x: hidden;
}

/* Header & Navigation */
header {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: var(--white);
padding: 1rem 0;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: var(--shadow);
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
display: flex;
align-items: center;
gap: 1rem;
font-size: 1.5rem;
font-weight: bold;

}

.logo img {
width: 100px;
height: 100px;
border-radius: 10px;

}

.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
align-items: center;
}

.nav-menu a {
color: var(--white);
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 5px;
transition: background 0.3s;
}

.nav-menu a:hover {
background: rgba(255, 255, 255, 0.2);
}

.dropdown {
position: relative;
}

.dropdown-content {
display: none;
position: absolute;
top: 100%;
left: 0;
background: var(--white);
min-width: 200px;
box-shadow: var(--shadow-lg);
border-radius: 8px;
padding: 0.5rem 0;
margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
display: block;
}

.dropdown-content a {
color: var(--text-dark);
padding: 0.75rem 1.5rem;
display: block;
transition: background 0.3s;
}

.dropdown-content a:hover {
background: var(--bg-light);
}

.hamburger {
display: none;
flex-direction: column;
gap: 4px;
cursor: pointer;
padding: 0.5rem;
}

.hamburger span {
width: 25px;
height: 3px;
background: var(--white);
border-radius: 2px;
transition: 0.3s;
}

/* Hero Section */
.hero {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: var(--white);
padding: 4rem 0;
text-align: center;
}

.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
animation: fadeInDown 0.8s;
}

.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
animation: fadeInUp 0.8s;
}

/* Sections */
section {
padding: 4rem 0;
}

.section-title {
text-align: center;
font-size: 2rem;
margin-bottom: 3rem;
color: var(--primary-color);
position: relative;
padding-bottom: 1rem;
}

.section-title::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 4px;
background: var(--accent-color);
border-radius: 2px;
}

/* Cards Grid */
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin-top: 2rem;
}

.card {
background: var(--white);
border-radius: 12px;
padding: 2rem;
box-shadow: var(--shadow);
transition: transform 0.3s, box-shadow 0.3s;
text-align: center;
}

.card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}

.card h3 {
color: var(--primary-color);
margin-bottom: 1rem;
font-size: 1.5rem;
}

.card p {
color: var(--text-light);
margin-bottom: 1.5rem;
}

.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
background: var(--primary-color);
color: var(--white);
text-decoration: none;
border-radius: 8px;
transition: background 0.3s;
border: none;
cursor: pointer;
font-size: 1rem;
}

.btn:hover {
background: var(--secondary-color);
}

/* Gallery Section */
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
margin-top: 2rem;
}

.gallery-item {
position: relative;
overflow: hidden;
border-radius: 12px;
box-shadow: var(--shadow);
height: 250px;
cursor: pointer;
transition: transform 0.3s;
}

.gallery-item:hover {
transform: scale(1.05);
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}

.gallery-item:hover img {
transform: scale(1.1);
}

.gallery-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
color: var(--white);
padding: 1.5rem;
transform: translateY(100%);
transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
transform: translateY(0);
}

/* Our Aim Section */
.aim-section {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: var(--white);
padding: 4rem 0;
text-align: center;
}

.aim-content {
max-width: 800px;
margin: 0 auto;
}

.aim-content h2 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
}

.aim-content p {
font-size: 1.2rem;
line-height: 1.8;
margin-bottom: 1rem;
}

.aim-points {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.aim-point {
background: rgba(255, 255, 255, 0.1);
padding: 2rem;
border-radius: 12px;
backdrop-filter: blur(10px);
}

.aim-point h3 {
font-size: 3rem;
margin-bottom: 0.5rem;
}

.aim-point p {
font-size: 1rem;
}

/* Student Reviews */
.review-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 2rem;
}

.review-card {
background: var(--white);
padding: 2rem;
border-radius: 12px;
box-shadow: var(--shadow);
position: relative;
}

.review-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}

.review-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
font-size: 1.5rem;
font-weight: bold;
}

.review-info h4 {
color: var(--text-dark);
margin-bottom: 0.25rem;
}

.review-stars {
color: #fbbf24;
}

.review-text {
color: var(--text-light);
font-style: italic;
}

/* Video Section */
.video-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 2rem;
}

.video-card {
background: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: var(--shadow);
transition: transform 0.3s;
}

.video-card:hover {
transform: translateY(-5px);
}

.video-thumbnail {
width: 100%;
height: 200px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
cursor: pointer;
}

.play-button {
width: 60px;
height: 60px;
background: rgba(255, 255, 255, 0.9);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
color: var(--primary-color);
}

.video-info {
padding: 1.5rem;
}

.video-info h3 {
color: var(--text-dark);
margin-bottom: 0.5rem;
}

.video-info p {
color: var(--text-light);
font-size: 0.9rem;
}

/* Recent Posts/News */
.posts-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin-top: 2rem;
}

.post-card {
background: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: var(--shadow);
transition: transform 0.3s;
}

.post-card:hover {
transform: translateY(-5px);
}

.post-image {
width: 100%;
height: 180px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.post-content {
padding: 1.5rem;
}

.post-date {
color: var(--text-light);
font-size: 0.85rem;
margin-bottom: 0.5rem;
}

.post-content h3 {
color: var(--text-dark);
margin-bottom: 0.75rem;
font-size: 1.2rem;
}

.post-content p {
color: var(--text-light);
margin-bottom: 1rem;
}

/* Certificate Validation */
.certificate-form {
max-width: 500px;
margin: 0 auto;
background: var(--white);
padding: 2rem;
border-radius: 12px;
box-shadow: var(--shadow);
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
color: var(--text-dark);
font-weight: 500;
}

.form-group input {
width: 100%;
padding: 0.75rem;
border: 2px solid #e5e7eb;
border-radius: 8px;
font-size: 1rem;
transition: border 0.3s;
}

.form-group input:focus {
outline: none;
border-color: var(--primary-color);
}

/* Footer */
footer {
background: var(--text-dark);
color: var(--white);
padding: 2rem 0;
text-align: center;
}

footer p {
margin-bottom: 0.5rem;
}

/* 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);
}
}

/* Responsive Design */
@media (max-width: 768px) {
.nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: var(--primary-color);
    width: 100%;
    padding: 2rem;
    transition: left 0.3s;
    gap: 1rem;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.nav-menu.active {
    left: 0;
}

.hamburger {
    display: flex;
}

.dropdown-content {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: var(--white);
}

.hero h1 {
    font-size: 1.8rem;
}

.hero p {
    font-size: 1rem;
}

.section-title {
    font-size: 1.5rem;
}

.cards-grid,
.gallery-grid,
.review-container,
.video-grid,
.posts-grid {
    grid-template-columns: 1fr;
}

.aim-content h2 {
    font-size: 1.8rem;
}

.aim-points {
    grid-template-columns: 1fr;
}
}

@media (max-width: 480px) {
.container {
    padding: 0 1rem;
}

.logo {
    font-size: 1.2rem;
}

.logo img {
    width: 100px;
    height: 100px;
}

.card {
    padding: 1.5rem;
}

.certificate-form {
    padding: 1.5rem;
}
        }
