* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Tajawal', sans-serif;
    background-color: #fcf9ed;
    background-image: repeating-linear-gradient(45deg, #f0f4f8 0px, #fcf9ed 2px, #ffffff 2px, #ffffff 20px);
    background-size: 40px 40px;
    color: #2E3B3F;
    font-size:1.2rem;
}
nav {
    background-color: #5A8653;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
}
nav a:hover {
    color: #C0B46D;
}
header {
    overflow: hidden;
    padding-top: 100px;
    background-color: #fcf9ed;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("../assets/banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;

    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
}
header .logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 90px;
    z-index: 1100;
    transition: all 0.3s ease-in-out;
}
header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}
header p {
    font-size: 1.2rem;
}
section {
    margin-block: 20px;
    margin-bottom: 60px;
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
}
section h2 {
    text-align: center;
    color: #2E3B3F;
    margin-bottom: 30px;
}
.features {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.feature {
    background: #fff;
    padding: 7px;
    border-radius: 12px;
    flex: 1 1 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.feature:hover { transform: translateY(-5px); }
.cta {
    background-color: #C0B46D;
    font-size:1.6rem;
    font-weight: bold;
    color: #2E3B3F;
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
}
.cta button {
    background-color: #5A8653;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'Tajawal', sans-serif;
}
.social-share {
    margin-top: 20px;
    text-align: center;
}
.social-share a {
    color: #5A8653;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
}

.social-share-f {
    margin-top: 20px;
    text-align: right;
}
.social-share-f a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
}
.news-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    margin-top: 30px;
}
footer {
    margin-top: 80px;
    background-color: #5A8653;
    color: white;
    text-align: center;
    padding: 30px;
}
footer a {
    color: #C0B46D;
    text-decoration: none;
}
@media (max-width: 768px) {
    header h1 { font-size: 2rem; }
    header p { font-size: 1rem; }
    nav a { font-size: 0.9rem; margin: 0 10px; }
    header .logo {
        top: 10px;
        right: 10px;
        width: 60px;
    }
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}
.feature:hover, .news-box:hover, .cta:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    max-width: 100%;
}
.video-container iframe {
    width: 100%;
    max-width: 720px;
    height: 405px;
    border: none;
    border-radius: 12px;
}
.video-section {
    margin-top: 40px;
    text-align: center;
}
.video-section video {
    width: 100%;
    max-width: 720px;
    height: auto;
    border-radius: 12px;
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.feature-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 5px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: unset;
}
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.feature-box i {
    font-size: 2.2rem;
    color: #C1B56D;
    margin-bottom: 10px;
}
.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.whyP{
    text-align: right;
}
.flex-container {
    display: flex;
}
.flex-container > div {
    width: 100px;
    margin: 10px;
    text-align: center;
    line-height: 5px;
    font-size: 1.6rem;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}/*
.faculty-box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}
.faculty-box:hover {
    transform: translateY(-5px);
}
.faculty-box i {
    font-size: 2rem;
    color: #C1B56D;
    margin-bottom: 10px;
}
.faculty-box h3 {
    color: #5A8653;
    margin-bottom: 10px;
}
.faculty-box a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.more-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: #5A8653;
    margin-bottom: auto;
}
.more {
    color: #5A8653;
    background-color: transparent;
    border: 1px solid #5A8653;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size:1rem;
}
.more:hover {
    color: #C1B56D;
    border-color: #C1B56D;
}
 */

.faculty-box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
    height: 460px;
    display: flex;
    flex-direction: column;
}
.faculty-box:hover {
    transform: translateY(-5px);
}
.faculty-box i {
    font-size: 2rem;
    color: #C1B56D;
    margin-bottom: 10px;
}
.faculty-box h3 {
    color: #5A8653;
    margin-bottom: 10px;
}
.faculty-box a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.faculty-box .whyP {
    color: #333;
    flex-grow: 1;
}
.more-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    color: #5A8653;
}
.more {
    color: #5A8653;
    background-color: transparent;
    border: 1px solid #5A8653;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.more:hover {
    color: #C1B56D;
    border-color: #C1B56D;
}