/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1a2a44, #2c3e50);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.5s ease-out;
}

.navbar .logo {
    font-size: 26px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar .logo:hover {
    color: #68bbf2;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #68bbf2;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(104, 187, 242, 0.7), /* Stronger glow */
                inset 0 0 5px rgba(255, 255, 255, 0.3); /* Inner glow */
    border: 2px solid #68bbf2; /* Bolder border */
    transform: scale(1.05); /* Slight scale-up */
}

/* Hero Section with Professional Background Image */
.hero {
    background: linear-gradient(120deg, rgba(26, 42, 68, 0.7), rgba(52, 152, 219, 0.6)),
                url('https://images.unsplash.com/photo-1517430816045-df4b7de11d1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0.8;
    z-index: 0;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn {
    background: #e74c3c;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    animation: fadeInUp 1.4s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: #c0392b;
    transform: scale(1.1); /* More noticeable scale-up */
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.7), /* Stronger glow */
                inset 0 0 8px rgba(255, 255, 255, 0.3); /* Inner glow */
    border: 3px solid #e74c3c; /* Thicker border */
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: #f5f7fa;
    text-align: center;
}

.features .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    padding: 30px;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 30%;
    min-width: 280px;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: calc(0.2s * var(--i));
}

.feature-card:nth-child(1) { --i: 1; }
.feature-card:nth-child(2) { --i: 2; }
.feature-card:nth-child(3) { --i: 3; }

.feature-card:hover {
    transform: translateY(-15px) scale(1.05); /* Added scale for emphasis */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), /* Stronger shadow */
                0 0 25px rgba(52, 152, 219, 0.6); /* More intense glow */
    border: 2px solid #3498db; /* Thicker border */
}

/* Content Section */
.content {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.content h1 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #1a2a44;
    font-weight: 700;
    animation: fadeIn 1s ease-out;
}

.course-list, .faculty-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.course-card, .faculty-card {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    padding: 25px;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 30%;
    min-width: 280px;
    transition: all 0.4s ease;
    animation: slideInUp 0.8s ease-out forwards;
    animation-delay: calc(0.2s * var(--i));
}

.course-card:nth-child(1), .faculty-card:nth-child(1) { --i: 1; }
.course-card:nth-child(2), .faculty-card:nth-child(2) { --i: 2; }
.course-card:nth-child(3) { --i: 3; }

.course-card:hover, .faculty-card:hover {
    transform: translateY(-10px) scale(1.05); /* Added scale for emphasis */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), /* Stronger shadow */
                0 0 25px rgba(52, 152, 219, 0.6); /* More intense glow */
    border: 2px solid #3498db; /* Thicker border */
}

.course-card h3, .faculty-card h3 {
    color: #1a2a44;
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    animation: fadeIn 1s ease-out;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: none;
    border-radius: 10px;
    background: #f0f4f8;
    font-size: 16px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
    outline: 3px solid #68bbf2; /* Thicker outline on hover */
    box-shadow: 0 0 15px rgba(104, 187, 242, 0.5); /* Added glow */
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.7); /* Stronger glow */
    border: 3px solid #3498db; /* Thicker border */
    transform: scale(1.02); /* Slight scale-up */
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a2a44, #2c3e50);
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-out;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .feature-card,
    .course-card,
    .faculty-card {
        width: 100%;
        margin: 15px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .hero {
        padding: 80px 20px;
        min-height: 350px;
    }
}