/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    /* background: rgb(249, 249, 249); */
    /* color: white; */
}

html{
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}



/* 🌟 Header Styles */
.header {
    background: linear-gradient(135deg, #6A1B9A, #0c5cac);
    color: #fff;
    padding: 8px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 16px;
}

/* 🔰 Logo */
.header .logo a {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    cursor: default;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* .highlight {
    color: #00d8ff;
    font-weight: bold;
} */


/* 📌 Navbar */
.header .navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    padding: 8px 15px; 
    border-radius: 50px; 
    transition: all 0.3s ease; 
}

.nav-links li a:hover {
    background-color: #fff;
    color: #4361ee; 
    border-radius: 50px;
    padding: 8px 16px;
}




/* 🍔 Hamburger (small screen) */
.menu-icon {
    font-size: 28px;
    cursor: pointer;
    display: none;
    color: #fff;
    z-index: 1001;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 15px;
        background-color: #1769c7;
        padding: 12px 16px;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        z-index: 1000;
        width: auto;
    }

    .nav-links li {
        margin: 8px 0;
    }

    .nav-links.active {
        display: flex;
    }
}


/* 🔐 Auth Buttons */
.auth-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 22px;
    color: #fff;
    border: 1.5px solid white;
    transition: transform 0.2s ease, background 0.3s ease;
}



/* Avatar Image with dropdown */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 60px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 160px; /* Increased width */
    z-index: 9999;
    overflow: hidden;
    border: 1px solid #ddd;
}

/* Show menu on hover or JS toggle */
.profile-dropdown.open .dropdown-menu {
    display: block;
}

/* User Info block */
.dropdown-info {
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
}

.dropdown-info i {
    margin-right: 8px;
    color: #7b2cbf;
}

.dropdown-info small {
    display: block;
    color: #777;
    font-size: 12px;
    margin-top: 4px;
}

/* Menu Links */
.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}



/* 📋 Sidebar Menu */
.sidebar {
    position: fixed;
    top: 70px;
    left: -250px;
    width: 250px;
    height: calc(100% - 70px);
    background: #ffffff;
    padding-top: 20px;
    transition: 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.sidebar a {
    display: block;
    color: #1c1c1c;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.sidebar a:hover {
    background: #7b2cbf;
    color: #fff;
}

/* ❌ Close Sidebar Icon */
.close-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 30px;
    cursor: pointer;
    color: #1c1c1c;
    font-weight: 500;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.close-menu:hover {
    background-color: #e0e0e0;
    color: #000;
}



/* 🕶️ Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}







/* Contact Page Wrapper */
.contact-page-wrapper {
    /* background-color: #f4f7fc; */
    padding: 60px 20px;
}

/* Main Split Layout */
.contact-split-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    justify-content: space-between;
}

/* Left Info Panel */
.contact-info-panel {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}

.contact-main-heading {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

/* Right Form Panel */
.contact-form-panel {
    flex: 1;
    min-width: 300px;
    max-width: 500px; /* Reduced from 600px for better balance */
    background-color: white;
    padding: 10px 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.139);
}

.contact-form-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 8px;
    border-bottom: 3px solid #007bff; 
    display: block; 
    width: 100%;
}

/* Form Elements */
.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.contact-btn {
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #0056b3;
}

/* Alerts */
.alert {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .contact-split-container {
        flex-direction: column;
        padding: 0;
        align-items: center;
    }

    .contact-info-panel, .contact-form-panel {
        width: 100%;
        max-width: none;
    }

    .contact-form-panel {
        margin: 0;
        padding: 20px;
        box-sizing: border-box;
    }
}


.contact-form-heading i,
.contact-form-group label i {
    color: #007bff;
}




/* 🌟 Footer Layout */
.site-footer {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.75), rgba(12, 92, 172, 0.75));
    color: #fff;
    padding: 50px 20px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(6px);
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Added a small gap between items */
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Sections */
.footer-section {
    flex: 1 1 220px;
    margin-bottom: 20px; /* Added margin between sections */
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 6px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d8ff;
}

/* Company description */
.about p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Social Icons */
.social-links {
    margin-top: 12px;
}

.social-links a {
    color: #fff;
    margin-right: 12px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00d8ff;
}

/* Contact Info */
.footer-section.contact li {
    font-size: 14px;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 14px;
    margin-top: 30px;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 20px 20px;
    }
    
    .site-footer .container {
        flex-direction: column;
        gap: 20px; /* Reduced gap for mobile */
    }
    
    .footer-section {
        flex: 1 1 100%;
        margin-bottom: 0; /* Remove extra margin in mobile */
    }
    
    .footer-section h3 {
        font-size: 16px;
    }
    
    .footer-links li {
        font-size: 14px;
    }
}





.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0;
    font-family: 'Poppins', sans-serif;
}

.pagination-link {
    padding: 10px 16px;
    background: linear-gradient(135deg, #6A1B9A, #0c5cac);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pagination-link:hover {
    background: linear-gradient(135deg, #7b2cbf, #0b58a1);
    transform: translateY(-2px);
}

.pagination-link.active {
    background: #fff;
    color: #6A1B9A;
    font-weight: 700;
    pointer-events: none;
    box-shadow: inset 0 0 0 2px #6A1B9A;
}

.pagination-dots {
    color: #888;
    padding: 8px;
    font-weight: bold;
}










