/* Global Styles */
:root {
    --primary: #1a5276;
    --secondary: #e67e22;
    --accent: #27ae60;
    --light: #f5f5f5;
    --dark: #2c3e50;
    --text: #333;
    --white: #ffffff;
    --gray: #ecf0f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
   /* width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;  Prevent horizontal scroll */
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary);
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: #154360;
}

.btn-accent {
    background-color: var(--accent);
}

.btn-accent:hover {
    background-color: #219653;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
    font-size: 32px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact span {
    margin-right: 20px;
}

.header-contact i {
    margin-right: 5px;
}

.header-social a {
    margin-left: 15px;
    font-size: 18px;
    transition: color 0.3s;
}

.header-social a:hover {
    color: var(--secondary);
}

.main-header {
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}
img{

    max-width: 100%;
    height: auto;
}
.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}
/*nav{
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow-y: auto; /* Allow scrolling only if needed 

}
nav.active{
    right: 0;
}*/
/* Navigation */
nav ul {
    display: flex;
}

nav ul li {
    position: relative;
    margin-left: 25px;
}

nav ul li a {
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-left: 5px;
    font-size: 12px;
}

nav ul li a:hover {
    color: var(--secondary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 4px;
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 15px;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: var(--light);
    color: var(--secondary);
}

/*nav ul li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}*/

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(26, 82, 118, 0.8), rgba(26, 82, 118, 0.9)), url('../images/education.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.breadcrumb a {
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    margin: 0 10px;
}

/* Main Content */
.main-content {
    padding: 80px 0;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary);
    margin-top: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}
/* Emergency mobile menu fix */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        cursor: pointer !important;
    }
    
    nav:not(.active) {
        display: none !important;
    }
    
    nav.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}