* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}
body {
    background: #f4f7fc;
    overflow-x: hidden;
}

/* COLORFUL TOP HEADER */
.gov-top-strip {
    background: linear-gradient(90deg, #ff4d4d 0%, #ff8c42 20%, #ffcd3c 40%, #3c91e6 60%, #8a2be2 100%);
    color: white;
    padding: 10px 0;
    border-bottom: 5px solid #ffea9e;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 2px #00000050;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}
.strip-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 15px;
}
.emblem-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
}
.emblem-text i {
    color: #ffea9e;
    text-shadow: 2px 2px 0 #b43b3b;
    font-size: 1.3rem;
}
.top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.top-links a {
    color: white;
    text-decoration: none;
    background: rgba(0,0,0,0.3);
    padding: 5px 14px;
    border-radius: 40px;
    font-weight: 700;
    border: 2px solid #ffffffb3;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: 0.3s;
    backdrop-filter: blur(2px);
}
.top-links a:hover { 
    background: #ffe484; 
    color: #1e3a5f; 
    border-color: #1e3a5f;
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 6px 12px #00000040;
}

/* HEADER WITH LOGO & TITLE */
.identity-header {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 12px 24px -8px rgba(0,32,64,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 6px solid #ffb347;
}
.district-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.gov-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 4px 6px #00000030);
    border-radius: 50%;
    background: #f0f7ff;
    padding: 5px;
}
.title-tagline h1 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 800;
    color: #003049;
    line-height: 1.2;
}
.title-tagline h1 span {
    background: linear-gradient(45deg, #d62828, #f77f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.title-tagline p {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: #2b4b6f;
    font-weight: 500;
}
.right-badge {
    background: #ffb703;
    color: #023047;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 60px;
    font-size: clamp(1rem, 4vw, 1.3rem);
    border: 3px solid #023047;
    box-shadow: 0 6px 0 #023047;
    white-space: nowrap;
}

/* MENU */
.nav-gov {
    background: linear-gradient(145deg, #d62828, #f4a261, #2a9d8f, #1e3c72);
    background-size: 200% 200%;
    animation: gradientMove 12s ease infinite;
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    box-shadow: 0 10px 20px #00000070;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    min-height: 68px;
}
.hamburger {
    display: none;
    font-size: 2.2rem;
    color: #ffecb3;
    cursor: pointer;
    background: none;
    border: none;
    text-shadow: 3px 3px 0 #00000060;
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s;
}
.nav-item {
    position: relative;
}
.nav-item > a {
    display: flex;
    align-items: center;
    padding: 22px 18px;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.05rem;
    border-right: 2px solid #ffecb3;
    gap: 8px;
    text-shadow: 2px 2px 0 #00000060;
    transition: 0.2s;
    white-space: nowrap;
}
.nav-item:first-child > a { border-left: 2px solid #ffecb3; }
.nav-item:hover > a {
    background: #ffbc6e;
    color: #022b40;
    text-shadow: none;
}
.dropdown {
    position: absolute;
    top: 68px;
    left: 0;
    background: #fffbee;
    min-width: 260px;
    box-shadow: 0 25px 35px rgba(0,0,0,0.4);
    border-radius: 0 0 20px 20px;
    visibility: hidden;
    opacity: 0;
    transition: 0.25s;
    border-top: 6px solid #ff8c42;
    z-index: 10001;
}
.nav-item:hover .dropdown {
    visibility: visible;
    opacity: 1;
    top: 62px;
}
.dropdown a {
    display: block;
    padding: 14px 20px;
    color: #1f3a5f;
    text-decoration: none;
    border-bottom: 1px solid #ffe6b0;
    font-weight: 600;
    font-size: 0.98rem;
}
.dropdown a:hover {
    background: #ffb26e;
    color: #001d3d;
    padding-left: 28px;
}
@media (max-width: 992px) {
    .nav-container { min-height: 68px; }
    .hamburger { display: block; }
    .nav-menu {
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: #d62828;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        z-index: 9999;
    }
    .nav-menu.active {
        max-height: 90vh;
        overflow-y: auto;
        padding: 15px 0;
        box-shadow: 0 30px 30px rgba(0,0,0,0.4);
    }
    .nav-item { width: 100%; }
    .nav-item > a { 
        border: none; 
        padding: 16px 25px;
        border-bottom: 2px solid #f9d78c; 
        white-space: normal;
    }
    .nav-item:first-child > a { border-left: none; }
    .dropdown {
        position: static;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        background: #f4a261;
        display: none;
    }
    .nav-item:hover .dropdown { display: block; }
    .dropdown a { color: #1e3a5f; border-bottom: 1px solid #ffd966; }
}

/* HERO SLIDER */
.hero-slider .slick-slide {
    position: relative;
}
.hero-slide {
    height: 460px;
    background-size: cover;
    background-position: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    color: white;
    font-weight: 800;
    text-shadow: 4px 4px 15px #000000b3;
    background-blend-mode: overlay;
    background-color: #14365c80;
    padding: 0 20px;
    text-align: center;
}

/* TICKER */
.ticker-advanced {
    background: #eaf0f9;
    border-top: 4px solid #ff8c42;
    border-bottom: 4px solid #0a2a44;
    padding: 12px 0;
}
.ticker-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.ticker-label {
    background: #c5442b;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}
.ticker-marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}
.ticker-marquee span {
    display: inline-block;
    animation: scrollLeft 30s linear infinite;
    font-weight: 600;
    color: #10305e;
    font-size: 1rem;
}
.ticker-marquee span i { margin: 0 20px; color: #c5442b; }
@keyframes scrollLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-200%); }
}

/* SECTION TITLES */
.section-title-gov {
    font-size: clamp(1.8rem, 5vw, 2.3rem);
    font-weight: 700;
    color: #0a2a44;
    margin: 40px 0 25px;
    border-left: 18px solid #ff8c42;
    padding-left: 20px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #2b4b6f;
    margin-bottom: 30px;
    font-weight: 500;
}

/* SERVICE GRIDS */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.service-card-main {
    background: white;
    border-radius: 40px 20px 40px 20px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 25px 40px -12px #0a2a4470;
    border: 1px solid #ffe6c0;
    transition: 0.3s;
}
.service-card-main:hover {
    transform: translateY(-12px);
    border-color: #ff8c42;
    box-shadow: 0 35px 45px -12px #ff8c42b3;
}
.service-card-main i {
    font-size: 3.8rem;
    color: #c5442b;
    margin-bottom: 20px;
}
.service-card-main h3 {
    font-size: 1.5rem;
    color: #1e3a5f;
    margin-bottom: 10px;
}
.service-card-main p {
    color: #4a5b7a;
    font-size: 0.9rem;
}

/* EDUCATION SECTION */
.education-detailed {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}
.education-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}
.education-detailed .container {
    position: relative;
    z-index: 1;
}
.education-detailed .section-title-gov {
    color: white;
    border-left-color: #ffd966;
    margin-bottom: 50px;
}
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 20px;
}
.edu-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.edu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff8c42, #ffd966, #ff8c42);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.edu-item:hover::before {
    transform: translateX(0);
}
.edu-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
    background: white;
}
.edu-item i {
    font-size: 4rem;
    background: linear-gradient(135deg, #ff8c42, #ffd966);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.edu-item:hover i {
    transform: scale(1.1) rotate(5deg);
}
.edu-item h3 {
    font-size: 1.6rem;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.edu-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #ff8c42;
    border-radius: 2px;
}
.edu-item p {
    color: #5a6e8a;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 20px;
}
@media (max-width: 992px) {
    .edu-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    .edu-item { padding: 30px 20px; }
    .edu-item h3 { font-size: 1.4rem; }
}
@media (max-width: 768px) {
    .education-detailed { padding: 50px 0; margin: 30px 0; }
    .edu-grid { grid-template-columns: 1fr; gap: 20px; }
    .edu-item { padding: 25px 20px; margin: 0 10px; }
    .edu-item i { font-size: 3rem; }
    .edu-item h3 { font-size: 1.3rem; }
}
.edu-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
.edu-item:nth-child(1) { animation-delay: 0.1s; }
.edu-item:nth-child(2) { animation-delay: 0.2s; }
.edu-item:nth-child(3) { animation-delay: 0.3s; }
.edu-item:nth-child(4) { animation-delay: 0.4s; }
.edu-item:nth-child(5) { animation-delay: 0.5s; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Web Dev & Hardware Solutions */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}
.service-card-1, .service-card-2, .service-card-3 {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.service-card-1 { border-bottom: 4px solid #3498db; }
.service-card-2 { border-bottom: 4px solid #2ecc71; }
.service-card-3 { border-bottom: 4px solid #e74c3c; }
.hover-card { cursor: pointer; }
.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.service-card-1:hover { background: linear-gradient(135deg, #fff, #e3f2fd); }
.service-card-2:hover { background: linear-gradient(135deg, #fff, #e8f5e9); }
.service-card-3:hover { background: linear-gradient(135deg, #fff, #ffebee); }
.service-card-1 i, .service-card-2 i, .service-card-3 i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: inline-block;
}
.service-card-1 i { color: #3498db; }
.service-card-2 i { color: #2ecc71; }
.service-card-3 i { color: #e74c3c; }
.service-card-1 h3, .service-card-2 h3, .service-card-3 h3 {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 10px;
}
.service-card-1 p, .service-card-2 p, .service-card-3 p {
    color: #5a6e8a;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* B2C/G2C Services - GRID VIEW */
.citizen-services-section {
    background: white;
    padding: 40px 25px;
    border-radius: 50px;
    margin: 50px auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.service-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8eef2;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 140, 66, 0.15);
    border-color: #ff8c42;
}
.service-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}
.service-card:hover img { transform: scale(1.1); }
.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e3c72;
    margin: 10px 0 5px;
}
.service-card p {
    font-size: 12px;
    color: #666;
    margin: 0;
}
.service-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px; }
    .service-card { padding: 15px 10px; }
    .service-card img { width: 60px; height: 60px; }
    .service-card h3 { font-size: 14px; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* PARTNERS SLIDER - HORIZONTAL SCROLL */
.partners-section {
    background: linear-gradient(135deg, #cbddec, #d9e4f0);
    padding: 50px 0;
}
.partners-slider-container {
    position: relative;
    overflow: hidden;
    margin: 30px 0;
}
.partners-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: thin;
    scrollbar-color: #ff8c42 #e0e0e0;
}
.partners-slider::-webkit-scrollbar { height: 6px; }
.partners-slider::-webkit-scrollbar-track { background: #e0e0e0; border-radius: 10px; }
.partners-slider::-webkit-scrollbar-thumb { background: #ff8c42; border-radius: 10px; }
.partner-card {
    flex: 0 0 auto;
    width: 180px;
    background: white;
    border-radius: 60px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px solid #ff8c42;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.partner-card:hover {
    transform: translateY(-5px);
    background: #ff8c42;
    border-color: white;
}
.partner-card:hover span { color: white; }
.partner-card img { width: 40px; height: 40px; object-fit: contain; }
.partner-card span {
    font-size: 16px;
    font-weight: 700;
    color: #1e3c72;
    transition: color 0.3s ease;
}
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.slider-prev, .slider-next {
    background: #1e3c72;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.slider-prev:hover, .slider-next:hover {
    background: #ff8c42;
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .partner-card { width: 150px; padding: 12px 15px; }
    .partner-card img { width: 30px; height: 30px; }
    .partner-card span { font-size: 14px; }
}

/* HELP DESK */
.helpdesk-section {
    background: linear-gradient(135deg, #1e3c72, #2b5876);
    padding: 30px 0;
    color: white;
    border-radius: 50px 50px 0 0;
    margin-top: 40px;
}
.helpdesk-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.helpdesk-item {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(5px);
    padding: 15px 30px;
    border-radius: 60px;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid #ffb347;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 16px #00000030;
}
.helpdesk-item i { font-size: 2rem; color: #ffdd99; }
.helpdesk-item a { color: #ffd966; text-decoration: underline; font-weight: 700; }
.quote-btn {
    background: #ff8c42;
    border: none;
    padding: 15px 35px;
    border-radius: 60px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #001d3d;
    border: 3px solid #ffc300;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 0 #9c5100;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.quote-btn:hover {
    background: #ffbc6e;
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #9c5100;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover { color: black; }
.modal-content input, .modal-content textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.modal-content button {
    width: 100%;
    padding: 12px;
    background: #ff8c42;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* FOOTER */
.footer-gov {
    background: #0b1f33;
    color: #e0e9f5;
    padding: 60px 20px 25px;
    border-top: 6px solid #ff8c42;
    font-size: 0.95rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px 60px;
    max-width: 1300px;
    margin: 0 auto;
}
.footer-col h4 {
    color: #ffb347;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    border-left: 4px solid #ff8c42;
    padding-left: 12px;
}
.footer-col p {
    line-height: 1.8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-col a {
    color: #bdd3f0;
    text-decoration: none;
    display: block;
    line-height: 2.4;
    transition: 0.2s;
    font-weight: 400;
}
.footer-col a:hover {
    color: #ffb347;
    padding-left: 8px;
}
.footer-col i { width: 24px; color: #ffb347; }
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}
.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    transition: all 0.3s;
}
.social-icons a:hover {
    background: #ff8c42;
    transform: translateY(-3px);
}
.social-icons i {
    font-size: 1.2rem;
    color: white;
    margin: 0;
}
.copyright {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #2e4a70;
    padding-top: 25px;
    font-size: 0.9rem;
    color: #a0b8d0;
}
.copyright-text { line-height: 1.6; }
.copyright-text strong { color: #ffb347; }
.copyright-text small {
    font-size: 0.8rem;
    line-height: 1.5;
    display: block;
    margin: 10px 0;
    color: #8aa9c9;
}
@media (max-width: 768px) {
    .copyright-text { font-size: 0.75rem; }
    .copyright-text small { font-size: 0.7rem; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff8c42;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #ff9f5e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    .back-to-top i { font-size: 18px; }
}

/* ============================================
   LEFT SIDE OVERLAY MENU
   ============================================ */
.overlay-trigger-area {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    cursor: pointer;
}
.trigger-content {
    background: linear-gradient(135deg, #ff8c42, #ffb347);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(255, 140, 66, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}
.trigger-content:hover {
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.5);
}
.trigger-icon {
    width: 22px;
    height: 22px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.trigger-text { font-size: 14px; font-weight: 600; }
.arrow-icon { width: 14px; height: 14px; transition: transform 0.3s ease; }
.trigger-content:hover .arrow-icon { transform: translateX(5px); }

.left-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
}
.left-overlay-menu.active {
    visibility: visible;
    pointer-events: auto;
}
.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.left-overlay-menu.active .overlay-background { opacity: 1; }
.overlay-content {
    position: absolute;
    top: 0;
    left: -450px;
    width: 450px;
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
    transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.left-overlay-menu.active .overlay-content { left: 0; }
.overlay-header {
    padding: 25px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #ff8c42;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-logo svg { stroke: white; }
.header-logo h3 { font-size: 20px; font-weight: 700; margin: 0; }
.close-overlay {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.close-overlay:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}
.overlay-menu-items {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.overlay-menu-item {
    background: white;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.overlay-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #ff8c42, #ffb347);
    transition: width 0.4s ease;
    z-index: 0;
}
.overlay-menu-item:hover::before { width: 100%; }
.overlay-menu-item:hover { transform: translateX(10px); box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3); }
.item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fff3e0, #ffe6cc);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.item-icon svg { stroke: #ff8c42; transition: all 0.3s ease; }
.overlay-menu-item:hover .item-icon { background: white; transform: scale(1.1) rotate(5deg); }
.overlay-menu-item:hover .item-icon svg { stroke: white; }
.item-content {
    flex: 1;
    position: relative;
    z-index: 1;
}
.item-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e3c72;
    margin: 0 0 6px 0;
}
.item-content p {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.item-badge {
    display: inline-block;
    background: rgba(255, 140, 66, 0.1);
    color: #ff8c42;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.overlay-menu-item:hover .item-content h4,
.overlay-menu-item:hover .item-content p { color: white; }
.overlay-menu-item:hover .item-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}
.item-arrow {
    width: 36px;
    height: 36px;
    background: rgba(255, 140, 66, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.item-arrow svg { stroke: #ff8c42; }
.overlay-menu-item:hover .item-arrow { background: white; transform: translateX(5px); }
.quick-links-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.quick-links-section h4 {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #1e3c72;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.quick-link svg { stroke: #ff8c42; }
.quick-link:hover {
    background: #ff8c42;
    color: white;
    transform: translateX(5px);
}
.quick-link:hover svg { stroke: white; }
.overlay-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8f9fa;
}
.support-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 12px;
}
.support-info svg { stroke: #ff8c42; }
.support-info span { font-size: 13px; color: #666; flex: 1; }
.overlay-content::-webkit-scrollbar { width: 5px; }
.overlay-content::-webkit-scrollbar-track { background: #f1f1f1; }
.overlay-content::-webkit-scrollbar-thumb { background: #ff8c42; border-radius: 5px; }

@media (max-width: 768px) {
    .overlay-content { width: 380px; left: -380px; }
    .trigger-content { padding: 10px 15px; }
    .trigger-text { font-size: 12px; }
    .overlay-menu-item { padding: 15px; gap: 12px; }
    .item-icon { width: 50px; height: 50px; }
    .item-content h4 { font-size: 16px; }
    .item-content p { font-size: 12px; }
    .quick-links-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .overlay-content { width: 100%; left: -100%; }
    .trigger-text { display: none; }
    .trigger-content { padding: 12px; }
}
/* Urdu Font Support */
@font-face {
    font-family: 'Jameel Noori Nastaleeq';
    src: url('../fonts/JameelNooriNastaleeq.woff2') format('woff2'),
         url('../fonts/JameelNooriNastaleeq.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Language-specific styles */
.urdu-text, [lang="urdu"] {
    font-family: 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', 'Urdu Typesetting', serif;
    direction: rtl;
    text-align: right;
}

.hindi-text, [lang="hi"] {
    font-family: 'Noto Sans Devanagari', 'Mangal', 'Nirmala UI', sans-serif;
}

.arabic-text, [lang="ar"] {
    font-family: 'Noto Naskh Arabic', 'Amiri', 'Traditional Arabic', serif;
    direction: rtl;
    text-align: right;
}