:root {
    --primary-blue: #601a8b;
    --secondary-blue: #a53a7a;
    --accent-gold: #3798d4;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* .container {
    background: black;
    color: red;
    box-shadow: 0px 0px 2px 2px;
    border-radius: 10px;
} */

.hero-section {
    background: linear-gradient(rgba(26, 79, 139, 0.85), rgba(26, 79, 139, 0.85)),
        url('img/banner1.jpg') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.navbar {
    background-color: var(--primary-blue) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 70px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 8px 15px !important;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
    transform: translateY(-2px);
}

.dropdown-menu {
    background-color: var(--secondary-blue);
    border: none;
    border-radius: 5px;
}

.dropdown-item {
    color: white !important;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: transparent !important;
    color: var(--accent-gold) !important;
    padding-left: 20px !important;
}

.section-title {
    position: relative;
    display: inline-block;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-box {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Staff cards */
.staff-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.staff-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
}

.staff-name {
    color: var(--primary-blue);
    font-weight: 600;
}

.staff-position {
    color: var(--accent-gold);
    font-weight: 500;
}

/* Blog cards */
.blog-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
}

/* Contact page */
.contact-info-box {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Courses page */
.course-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}


/* Contact Page Specific Styles */
.contact-hero {
    background: linear-gradient(rgba(26, 79, 139, 0.8), rgba(26, 79, 139, 0.8)),
        url('https://placehold.co/1920x1080') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.contact-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.contact-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

/* Map container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}


/* news letter */
/* Overall Container */
.footer-newsletter {
    background-color: #121212;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

/* Title */
.footer-newsletter h4 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input Field (Email) */
.newsletter-form input[type="email"] {
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #fff;
    border-radius: 30px;
    background-color: #222;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
}

.newsletter-form input[type="email"]:focus {
    border-color: #5c67f2;
    background-color: #333;
}

/* Submit Button */
.newsletter-form input[type="submit"] {
    padding: 12px 28px;
    font-size: 16px;
    background-color: #5c67f2;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.newsletter-form input[type="submit"]:hover {
    background-color: #4a54d1;
    transform: translateY(-2px);
}

/* Message Styles */
.loading,
.error-message,
.sent-message {
    display: none;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
}

.loading {
    color: #ffbc00;
}

.error-message {
    color: #e74c3c;
}

.sent-message {
    color: #2ecc71;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-newsletter {
        padding: 30px 20px;
    }

    .newsletter-form input[type="email"],
    .newsletter-form input[type="submit"] {
        width: 100%;
    }
}