/* Dark Theme Additions */
.theme-dark {
    --background-color: #0d1117;
    --light-bg: #1b2733;
    --primary-color: #1e6bd7;
    --secondary-color: #124370;
    --accent-color: #4dabf7;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --border-color: #2d3f53;
    background: radial-gradient(circle at 20% 20%, #16222e 0%, #0d1117 55%);
    color: var(--text-color);
}

.glass-nav {
    background: rgba(15,17,23,0.72) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.glass-nav .logo { height: 100px; }
.theme-dark .nav-link { color: var(--text-light); }
.theme-dark .nav-link:hover, .theme-dark .nav-link.active { color: var(--accent-color); }

.theme-dark .hero {
    height: 640px;
    background-image: url('topsectoverlay.jpg');
    background-size: cover;
    background-position: center;
}
.hero-overlay { background: linear-gradient(135deg, rgba(13,17,23,0.75) 0%, rgba(17,24,31,0.85) 60%, rgba(24,32,42,0.92) 100%); }
.hero-gradient-bottom { position:absolute; left:0; right:0; bottom:0; height:140px; background:linear-gradient(to top,#0d1117,transparent); }
.fade-in { animation: fadeUp 0.9s ease forwards; opacity:0; }
@keyframes fadeUp { from { opacity:0; transform:translateY(28px);} to { opacity:1; transform:translateY(0);} }

.stats-bar .stat { position:relative; padding:0 1.2rem; }
.stats-bar .stat:not(:last-child)::after { content:''; position:absolute; top:10%; right:0; width:1px; height:80%; background:rgba(255,255,255,0.12); }

.feature-box { background:#1f2a35; border:1px solid rgba(255,255,255,0.05); }
.text-accent { color: var(--accent-color) !important; }
.feature-list li { padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.feature-list li:last-child { border-bottom: none; }

.theme-dark .service-card,
.theme-dark .stat-item,
.theme-dark .contact-form,
.theme-dark .document-category,
.theme-dark .modal-content {
    background-color: #1f2a35;
    box-shadow: 0 4px 24px -4px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.04);
}
.theme-dark .service-card:hover { box-shadow: 0 6px 30px -6px rgba(0,0,0,0.55); }

.btn-glow { position:relative; overflow:hidden; }
.btn-glow::after { content:''; position:absolute; inset:0; border-radius:inherit; box-shadow:0 0 0 0 rgba(77,171,247,.6); animation:pulseGlow 3s infinite; }
@keyframes pulseGlow { 0% { box-shadow:0 0 0 0 rgba(77,171,247,.6);} 70% { box-shadow:0 0 0 14px rgba(77,171,247,0);} 100% { box-shadow:0 0 0 0 rgba(77,171,247,0);} }

/* Scroll reveal utility */
.reveal { opacity:0; transform:translateY(28px); transition: all .8s cubic-bezier(.16,.8,.3,1); }
.reveal.show { opacity:1; transform:translateY(0); }

.theme-dark .partners { background: linear-gradient(160deg,#13202b 0%, #0d1117 80%); }
.theme-dark .partner { background:white; }
.theme-dark .partner:hover { background:#22313d; }

.theme-dark .footer { background:#0a0c10; }
.theme-dark .footer-bottom { border-top:1px solid rgba(255,255,255,0.08); }

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #004080;
    --accent-color: #00aaff;
    --text-color: #333;
    --text-light: #666;
    --background-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white
    /* color: var(--primary-color);
    border: 2px solid var(--primary-color); */
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 150px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url('topsectoverlay.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 7rem;
    padding-top: 5rem;
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 100px;
    padding-top: 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Partners Section */
.partners {
    background-color: var(--light-bg);
    text-align: center;
    overflow: hidden;
    padding: 3rem 0;
}

.partners-carousel {
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
    width: 100%;
}

.partners-track {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    background-color: white;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 150px;
    white-space: nowrap;
    flex-shrink: 0;
}

.partner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.partner-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h4 {
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Form Styles */
.contact-form {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Gallery Styles */
.gallery-header {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: #ccc;
    margin: 0;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-image {
    display: block;
    margin: 5% auto;
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.modal-caption {
    text-align: center;
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.modal-prev,
.modal-next {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.modal-prev:hover,
.modal-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Documents Styles */
.documents-header {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.document-category {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.document-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.document-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.document-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.document-info {
    flex: 1;
}

.document-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.document-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.document-size {
    font-size: 0.8rem;
    color: var(--text-light);
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.documents-note {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.note-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.note-content i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.note-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.note-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.note-content a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-image {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Floating Quote Button */
.floating-quote {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    transition: var(--transition);
}

.floating-quote:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.floating-quote i {
    color: white;
    font-size: 1.5rem;
}

.tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--text-color);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.floating-quote:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.close:hover {
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        height: 500px;
    }

    .hero-overlay {
        padding: 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .floating-quote {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-quote i {
        font-size: 1.2rem;
    }

    .tooltip {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .modal-nav {
        padding: 0 1rem;
    }

    .partners-list {
        gap: 1rem;
    }

    .partner {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .partner-logo {
        height: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .stat-item {
        padding: 1.5rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }

    /* Partners mobile */
    .partners-list {
        gap: 1.5rem;
    }

    .partner {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
