/* DP Corporation - CSS Design System & Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0f5132;
    --primary-rgb: 15, 81, 50;
    --primary-light: #198754;
    --primary-dark: #0a3622;
    --secondary: #0d6efd;
    --accent: #ffd700;
    --accent-rgb: 255, 215, 0;
    
    /* Light Theme (Default) */
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(15, 81, 50, 0.15);
    --highlight: rgba(15, 81, 50, 0.05);
    
    /* Layout */
    --header-height: 80px;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme overrides */
body.dark-theme {
    --bg: #090d16;
    --bg-card: #111827;
    --bg-glass: rgba(17, 24, 39, 0.75);
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --border: #1f2937;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px -15px rgba(25, 135, 84, 0.25);
    --highlight: rgba(255, 255, 255, 0.05);
}

/* Global Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* CSS Utilities & Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 44px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 2px 6px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.03);
}

body.dark-theme .logo-img {
    border-color: #374151;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    padding: 8px 0;
    position: relative;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Theme Switcher */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--highlight);
    color: var(--text);
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--border);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .sun-icon {
    display: none;
}

body.dark-theme .theme-toggle .moon-icon {
    display: none;
}

body.dark-theme .theme-toggle .sun-icon {
    display: block;
}

.mobile-nav-actions {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 81, 50, 0.25);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

body.dark-theme .btn-outline {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(25, 135, 84, 0.1), transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(13, 110, 253, 0.05), transparent 45%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 4px;
}

body.dark-theme .stat-item h3 {
    color: var(--primary-light);
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0;
}

.hero-image-container {
    position: relative;
}

.hero-image-wrapper {
    width: 100%;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid var(--bg-card);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 260px;
    animation: float 4s ease-in-out infinite;
}

.floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(15, 81, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.floating-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.floating-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* About Us Section */
.about {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--primary);
}

body.dark-theme .about-text h3 {
    color: var(--primary-light);
}

.about-text p {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-card {
    background-color: var(--bg);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.value-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-graphics {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.graphic-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow);
}

.graphic-box.blue {
    background: linear-gradient(135deg, #0d6efd, #0b49a8);
}

.graphic-box h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 10px;
}

.graphic-box p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Services Section */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background-color: var(--bg-card);
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(15, 81, 50, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: var(--highlight);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

body.dark-theme .service-icon-wrapper {
    color: var(--primary-light);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card .btn-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

body.dark-theme .service-card .btn-text {
    color: var(--primary-light);
}

.service-card .btn-text:hover {
    color: var(--primary-light);
}

.service-card .btn-text svg {
    transition: var(--transition);
}

.service-card:hover .btn-text svg {
    transform: translateX(4px);
}

/* Modals for service details */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 32px 32px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--highlight);
    transition: var(--transition);
}

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

.modal-body {
    padding: 32px;
}

.modal-body h4 {
    margin: 24px 0 12px;
    color: var(--primary);
}

body.dark-theme .modal-body h4 {
    color: var(--primary-light);
}

.modal-body ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.modal-body li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.modal-body li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

/* Microbial Sterilization Timeline */
.timeline {
    margin-top: 24px;
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 11px;
    width: 2px;
    height: 100%;
    background-color: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-light);
    border: 3px solid var(--bg-card);
    z-index: 1;
}

.timeline-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Interactive Inquiry & Form Section */
.inquiry {
    position: relative;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    box-shadow: var(--shadow);
}

.inquiry-info h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.inquiry-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--highlight);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.dark-theme .contact-icon {
    color: var(--primary-light);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background-color: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
    background-color: var(--bg-card);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Form success message overlay */
.form-container {
    position: relative;
}

.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 10;
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-icon {
    width: 72px;
    height: 72px;
    background-color: rgba(25, 135, 84, 0.15);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-icon svg {
    width: 36px;
    height: 36px;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Offices & PAN India service partner network */
.offices {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.offices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.office-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-card {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition);
}

.office-card:hover {
    border-color: var(--primary-light);
    transform: translateX(4px);
}

.office-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-theme .office-card h4 {
    color: var(--primary-light);
}

.office-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.reach-panel {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reach-panel h4 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.reach-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 32px;
}

.reach-item {
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reach-item::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-light);
}

.associates-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
}

.associates-box h5 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.associates-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Client Ticker */
.clients {
    padding: 60px 0;
    background-color: var(--bg);
}

.clients-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clients-wrapper::before,
.clients-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent);
}

.clients-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg), transparent);
}

.clients-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.client-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.6;
    letter-spacing: -0.5px;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.client-logo:hover {
    opacity: 1;
    color: var(--primary-light);
}

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

/* Inquiry CRM / Admin Dashboard Section */
.crm-section {
    display: none; /* Controlled by admin state */
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 80px 0;
}

.crm-section.active {
    display: block;
}

.crm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.crm-actions {
    display: flex;
    gap: 12px;
}

.crm-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.crm-table-container {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: var(--bg-card);
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    min-width: 800px;
}

.crm-table th,
.crm-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.crm-table th {
    background-color: var(--bg);
    font-weight: 600;
    color: var(--text-muted);
}

.crm-table tr:last-child td {
    border-bottom: none;
}

.crm-table tr:hover td {
    background-color: var(--highlight);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pending {
    background-color: rgba(255, 215, 0, 0.15);
    color: #b58900;
}

.badge-contacted {
    background-color: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
}

.badge-completed {
    background-color: rgba(25, 135, 84, 0.15);
    color: var(--primary-light);
}

.crm-select {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background-color: var(--bg);
    color: var(--text);
    font-size: 0.8rem;
    cursor: pointer;
}

/* Passcode Modal */
.passcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.passcode-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.passcode-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.passcode-modal.active .passcode-content {
    transform: scale(1);
}

.passcode-content h3 {
    margin-bottom: 12px;
}

.passcode-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.passcode-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
}

/* Footer styling */
.footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 1px solid #1e2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo span {
    color: var(--primary-light);
}

.footer-logo-img {
    height: 90px;
    width: auto;
    border-radius: 12px;
    background-color: #ffffff;
    padding: 6px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.footer-logo-img:hover {
    transform: scale(1.02);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1e2937;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.15rem;
    color: white;
    margin-bottom: 24px;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-light);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.95rem;
    color: #94a3b8;
}

.footer-link:hover {
    color: white;
    transform: translateX(4px);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
}

.info-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #1e2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 16px;
}

/* Animations on scroll classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid,
    .inquiry-grid,
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-graphics {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-card);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 24px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-actions .theme-toggle,
    .nav-actions .btn-primary {
        display: none;
    }

    .mobile-nav-actions {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-top: 16px;
        padding-top: 24px;
        border-top: 1px solid var(--border);
        width: 80%;
        justify-content: center;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .inquiry-grid {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Operations Showcase Gallery Styling */
.gallery-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background-color: var(--bg);
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

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

body.dark-theme .filter-btn {
    background-color: #1f2937;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    cursor: pointer;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--bg);
    border: 1px solid var(--border);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(15, 81, 50, 0.2);
}

.gallery-media-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #000;
}

.gallery-media-wrapper img,
.gallery-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-media-wrapper img,
.gallery-item:hover .gallery-media-wrapper video {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 81, 50, 0.9) 20%, rgba(15, 23, 42, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

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

.gallery-zoom-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.gallery-zoom-btn:hover {
    background-color: white;
    color: var(--primary);
    transform: scale(1.1);
}

.gallery-info {
    color: white;
}

.gallery-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 6px;
    display: inline-block;
}

.gallery-info h4 {
    font-size: 1.15rem;
    color: white;
    margin-bottom: 4px;
}

.gallery-info p {
    font-size: 0.82rem;
    opacity: 0.85;
    line-height: 1.4;
    margin-bottom: 0;
}

.gallery-video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(15, 81, 50, 0.85);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .gallery-video-indicator {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Lightbox Modal CSS */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3100;
}

.lightbox-close:hover {
    background-color: white;
    color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-content-wrapper {
    width: 90%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content-wrapper {
    transform: scale(1);
}

.lightbox-content {
    width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-caption {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    color: white;
}

.lightbox-title {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 6px;
}

.lightbox-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}
