/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

.container {
    width: 80%;
    margin: 0 auto;
}

h2.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* Header Section */
.hero-header {
    background: url('/frontend_assets/highsec2.jpeg') center/cover no-repeat;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.5rem;
    margin-top: 10px;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Streams Section */
.streams-section {
    padding: 60px 0;
    background-color: #fff;
}

.stream-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stream-card {
    background-color: #e7eff6;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stream-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1a3a74;
}

.stream-card p {
    font-size: 1.2rem;
    color: #444;
}

/* Key Features Section */
.key-features {
    padding: 60px 0;
    background-color: #f4f7fc;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 3rem;
    color: #1a3a74;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 1.1rem;
    color: #555;
}

/* Campus Tour Section */
.campus-tour {
    padding: 60px 0;
    background-color: #ffffff;
}

.campus-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for the grid */
    gap: 20px;
    justify-items: center; /* Centers images in each grid cell */
}

.campus-images img {
    width: 100%;
    max-width: 300px; /* Restrict max width for consistency */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .campus-images {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .campus-images {
        grid-template-columns: 1fr; /* 1 column on extra small screens */
    }
}


/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid layout */
    gap: 30px;
    justify-items: center;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px; /* Limit width to keep cards neat */
    text-align: center;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
}

.author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 120px; /* Increased image size */
    height: 120px; /* Increased image size */
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.author div {
    text-align: left;
}

.author h4 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.author span {
    font-size: 14px;
    color: #777;
}

/* Hover Effect */
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-cards {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}
