/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.top-header {
    background-color: #8e44ad;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
}

.header-left span {
    margin-right: 15px;
}

.header-right a {
    margin-left: 15px;
    transition: opacity 0.3s;
}

.header-right a:hover {
    opacity: 0.8;
}

.main-header {
    padding: 15px 0;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.logo img {
    height: 80px;
    margin-right: 15px;
}

.logo-text h1 {
    color: #8e44ad;
    font-size: 24px;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 14px;
    color: #666;
}

.main-nav ul {
    display: flex;
    justify-content: space-around;
    background-color: #8e44ad;
    border-radius: 5px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 12px 15px;
    color: white;
    font-weight: 500;
    transition: background-color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    background-color: #732d91;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background-color: rgba(142, 68, 173, 0.8);
    color: white;
    padding: 20px;
    max-width: 500px;
    border-radius: 5px;
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* Quick Links */
.quick-links {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin-bottom: 30px;
}

.quick-links .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quick-link {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.quick-link:hover {
    transform: translateY(-5px);
}

.quick-link h3 {
    color: #8e44ad;
    margin-bottom: 10px;
}

.quick-link p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.quick-link a {
    display: inline-block;
    background-color: #8e44ad;
    color: white;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 14px;
}

/* Main Content */
.welcome-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.welcome-section h2 {
    color: #8e44ad;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.welcome-section p {
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    background-color: #8e44ad;
    color: white;
    padding: 8px 20px;
    border-radius: 3px;
    margin-top: 10px;
}

.news-events {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.news, .events {
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.news h3, .events h3 {
    color: #8e44ad;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.news li, .events li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.news a, .events a {
    transition: color 0.3s;
}

.news a:hover, .events a:hover {
    color: #8e44ad;
}

.view-all {
    display: inline-block;
    margin-top: 10px;
    color: #8e44ad;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #25405c;
    color: white;
    padding: 40px 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #8e44ad;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #8e44ad;
}

address {
    font-style: normal;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 14px;
}

.social-links a {
    display: inline-block;
    margin-left: 10px;
}

.social-links img {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-links img:hover {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
    }
    
    .news-events {
        grid-template-columns: 1fr;
    }
    
    .slide-content {
        left: 20px;
        bottom: 20px;
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .top-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .header-left, .header-right {
        margin-bottom: 5px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


.principal-message {
    background-color: #f9f9fb;
    padding: 50px 20px;
  }
  
  .principal-message .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    gap: 30px;
  }
  
  .principal-image img {
    width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .message-text {
    flex: 1;
    text-align: right;
  }
  
  .message-text h2 {
    font-size: 28px;
    color: #512da8;
    margin-bottom: 20px;
  }
  
  .message-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
  }
  



  .about-page {
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
  }
  
  .about-page section {
    margin-bottom: 30px;
  }
  
  .about-page ul {
    margin-left: 20px;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
  }
  



  /* Login Section Styles */
.login-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 400px);
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #8e44ad;
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
}

.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group label i {
    margin-right: 8px;
    color: #8e44ad;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #8e44ad;
    outline: none;
    box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.2);
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    height: 18px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 40px;
    cursor: pointer;
    color: #777;
}

.password-toggle:hover {
    color: #8e44ad;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #8e44ad;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background-color: #8e44ad;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #732d91;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.register-link a {
    color: #8e44ad;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.login-social {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.login-social p {
    color: #666;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.google {
    background-color: #db4437;
}

.social-icon.facebook {
    background-color: #4267B2;
}

.social-icon.microsoft {
    background-color: #00A1F1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .forgot-password {
        margin-top: 10px;
    }
}