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

:root {
    /* Color Palette */
    --bg-dark: #050811;
    --bg-card: rgba(13, 20, 35, 0.55);
    --bg-card-hover: rgba(22, 34, 58, 0.8);
    --primary: #248236; /* Exact Logo Green */
    --primary-light: #2ecc71; /* Neon green for active elements/glow */
    --primary-rgb: 36, 130, 54;
    --accent-blue: #0ea5e9; /* Electric energy blue */
    --accent-blue-rgb: 14, 165, 233;
    
    /* Text Colors */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-light: #ffffff;
    
    /* Borders & Accents */
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(36, 130, 54, 0.35);
    --glow-color: rgba(36, 130, 54, 0.15);
    
    /* Typography */
    --font-logo: 'Syncopate', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Glow Background FX */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: floatGlow 12s infinite alternate ease-in-out;
}
.bg-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}
.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -150px;
    right: -100px;
    animation-delay: -4s;
}
.bg-glow-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-light);
    top: 50%;
    left: 60%;
    animation-delay: -8s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.15); }
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-light);
}

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

/* Glassmorphic elements */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--transition-smooth);
}
.glass:hover {
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px -10px var(--glow-color);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 8, 17, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-smooth);
}
.header.scrolled {
    background: rgba(5, 8, 17, 0.95);
    border-bottom: 1px solid rgba(36, 130, 54, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

/* Logo block */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-globe-container {
    width: 38px;
    height: 38px;
}
.logo-globe-container svg {
    width: 100%;
    height: 100%;
    fill: var(--primary);
}
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: 0.1em;
}
.logo-title span {
    text-transform: lowercase; /* For the special 'k' styling */
}
.logo-tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.52rem;
    color: var(--primary-light);
    letter-spacing: 0.18em;
    font-style: italic;
    text-transform: uppercase;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}
.nav-link.active::after {
    width: 100%;
}

/* Phone Block Right */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    background: rgba(36, 130, 54, 0.15);
    border: 1px solid rgba(36, 130, 54, 0.4);
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}
.nav-phone:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.3);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

/* Hero Left (Branding) */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-brand {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 3rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(36, 130, 54, 0.15);
}
.hero-subtitle {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 30px;
    position: relative;
    padding-left: 16px;
}
.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--primary-light);
    border-radius: 2px;
}
.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 16px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    border: 1px solid var(--primary-light);
}
.btn-primary:hover {
    background: var(--primary-light);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.4);
    transform: translateY(-2px);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* Hero Right (Impact scoreboard) */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.impact-header {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(36, 130, 54, 0.3);
    padding-bottom: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.impact-header svg {
    color: var(--primary-light);
    width: 24px;
    height: 24px;
}
.impact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.impact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
}
.impact-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-light);
    min-width: 130px;
    line-height: 1;
    display: flex;
    align-items: center;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}
.impact-details {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.4;
}

/* Section Common Layout */
.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.section-header {
    margin-bottom: 60px;
    text-align: center;
}
.section-tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.section-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Who We Are Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}
.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.about-highlight {
    background: rgba(36, 130, 54, 0.08);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-top: 30px;
}
.about-highlight p {
    margin-bottom: 0;
    color: var(--text-main);
    font-weight: 500;
}

/* Professional Badge */
.profile-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}
.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, var(--bg-dark) 100%);
    border: 3px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.25);
}
.profile-avatar-placeholder svg {
    width: 60px;
    height: 60px;
    color: var(--text-light);
}
.profile-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.profile-role {
    font-size: 0.95rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.profile-creds {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    width: 100%;
}

/* Our Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}
.service-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(36, 130, 54, 0.15);
    border: 1px solid rgba(36, 130, 54, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-light);
    transition: var(--transition-smooth);
}
.service-card:hover .service-icon-box {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.1);
}
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    line-height: 1.4;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    flex-grow: 1;
}

/* Innovations Section */
.innovations-tab-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}
.tab-btn {
    padding: 16px 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
}
.tab-btn svg {
    width: 20px;
    height: 20px;
}
.tab-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
}
.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary-light);
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(36, 130, 54, 0.3);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}
.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.innovations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}
.innov-card {
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: start;
}
.innov-number {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-light);
    background: rgba(36, 130, 54, 0.12);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.innov-body h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.4;
}
.innov-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Samples of Clients Section */
.clients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.client-cat-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.client-cat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.client-cat-header svg {
    color: var(--primary-light);
    width: 24px;
    height: 24px;
}
.client-cat-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}
.client-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.client-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}
.client-tag:hover {
    border-color: var(--primary-light);
    background: rgba(36, 130, 54, 0.1);
}
.client-cat-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.client-highlight-block {
    background: rgba(36, 130, 54, 0.08);
    border-left: 4px solid var(--primary-light);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    grid-column: span 2;
}
.client-highlight-block svg {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
    flex-shrink: 0;
}
.client-highlight-block p {
    margin-bottom: 0;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Meet the Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.team-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, var(--bg-dark) 100%);
    border: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.8rem;
    font-family: var(--font-heading);
}
.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.team-title {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.team-exp {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-style: italic;
}
.team-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 14px;
    width: 100%;
}

/* Contact & Get in Touch Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-info-card {
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: start;
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(36, 130, 54, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}
.contact-details-box h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.contact-details-box p, .contact-details-box a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-fast);
}
.contact-details-box a:hover {
    color: var(--primary-light);
}

/* Glass Booking Form */
.booking-form-box {
    padding: 40px;
}
.form-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-light);
}
.form-control {
    width: 100%;
    background: rgba(5, 8, 17, 0.6);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.15);
}
textarea.form-control {
    resize: vertical;
    min-height: 110px;
}
.form-success-msg {
    display: none;
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.4s ease;
}
.form-success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(36, 130, 54, 0.15);
    border: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 2.2rem;
    margin: 0 auto 24px auto;
}
.form-success-msg h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.form-success-msg p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Footer */
.footer {
    background: #03050a;
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-logo-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-logo-block p {
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-license {
    color: var(--primary-light);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-brand {
        font-size: 2.6rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .client-highlight-block {
        grid-column: span 1;
    }
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile menu hidden by default */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(5, 8, 17, 0.98);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        z-index: 99;
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-phone {
        margin-left: auto;
        margin-right: 15px;
    }
    .hero-brand {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .impact-value {
        font-size: 1.8rem;
        min-width: 100px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .innovations-tab-header {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* Shift header and page down when admin bar is visible */
body.admin-logged-in {
    padding-top: 50px !important;
}
body.admin-logged-in #header {
    top: 50px !important;
}

/* Floating Admin Control Bar */
.admin-control-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(13, 20, 35, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-family: var(--font-heading);
    transition: transform 0.3s ease;
}

.admin-control-bar.hidden {
    display: none !important;
}

.admin-bar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-bar-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--primary-light);
    animation: admin-pulse 1.5s infinite;
}

@keyframes admin-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 14px var(--primary-light); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.admin-bar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Admin Buttons */
.admin-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text-muted);
}

.admin-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-muted) !important;
}

.admin-btn-primary {
    background: var(--primary);
    color: var(--bg-dark) !important;
    border-color: var(--primary);
}

.admin-btn-primary:hover:not(:disabled) {
    background: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
}

.admin-btn-danger {
    background: #ef4444;
    color: #ffffff !important;
    border-color: #ef4444;
}

.admin-btn-danger:hover {
    background: #f87171;
    border-color: #f87171;
}

/* Admin Modals */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 17, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.admin-modal.hidden {
    display: none !important;
}

.admin-modal-content {
    width: 90%;
    max-width: 460px;
    background: rgba(13, 20, 35, 0.85);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: admin-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes admin-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.admin-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.admin-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.admin-modal-close:hover {
    color: #ef4444;
}

/* Admin Form Controls */
.admin-form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-form-group label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-form-group input[type="text"],
.admin-form-group input[type="password"],
.admin-form-group input[type="email"],
.admin-form-group input[type="number"] {
    background: rgba(5, 8, 17, 0.6);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.admin-form-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 10px rgba(36, 130, 54, 0.25);
}

.admin-form-row {
    display: flex;
    gap: 16px;
}

.admin-form-group.half {
    flex: 1;
}

.checkbox-group {
    justify-content: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 0.8rem !important;
    text-transform: none !important;
}

.checkbox-label input {
    cursor: pointer;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.admin-submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-submit-btn:hover {
    background: var(--primary-light);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.35);
}

.admin-modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.admin-modal-footer .admin-submit-btn {
    flex: 1.2;
}

.admin-modal-footer .admin-btn {
    flex: 0.8;
}

/* Feedback Messages */
.admin-error-msg {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 0.8rem;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
}

.admin-status-msg {
    background: rgba(36, 130, 54, 0.1);
    border: 1px solid rgba(36, 130, 54, 0.3);
    color: var(--primary-light);
    font-size: 0.8rem;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
}

.admin-status-msg.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Inline Edit Mode States */
body.admin-edit-mode [data-editable-id] {
    outline: 1px dashed rgba(46, 204, 113, 0.5) !important;
    outline-offset: 4px !important;
    cursor: text !important;
    position: relative;
}

body.admin-edit-mode [data-editable-id]:hover {
    outline: 1.5px dashed var(--primary-light) !important;
    background: rgba(36, 130, 54, 0.05) !important;
}

body.admin-edit-mode [data-editable-id]:focus {
    outline: 2px solid var(--primary-light) !important;
    background: rgba(36, 130, 54, 0.1) !important;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

/* Extra discrete footer login styling */
.admin-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.admin-link:hover {
    color: var(--primary-light);
}


/* Content Settings Modal width */
.admin-content-modal-width {
    max-width: 580px !important;
}

/* Scrollable form container */
.admin-form-scrollable {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 20px;
}

/* Custom scrollbar for scrollable form */
.admin-form-scrollable::-webkit-scrollbar {
    width: 6px;
}
.admin-form-scrollable::-webkit-scrollbar-track {
    background: rgba(5, 8, 17, 0.4);
}
.admin-form-scrollable::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
.admin-form-scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.admin-textarea {
    background: rgba(5, 8, 17, 0.6);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    min-height: 90px;
    resize: vertical;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.admin-textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 10px rgba(36, 130, 54, 0.25);
}

/* Tab controls inside modal */
.admin-tab-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.admin-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.admin-tab-btn.active {
    background: rgba(36, 130, 54, 0.15);
    color: var(--primary-light);
}

.admin-tab-btn:hover:not(.active) {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Logo Preview Box */
.logo-preview-box {
    width: 100%;
    height: 120px;
    border: 1.5px dashed var(--border);
    border-radius: 8px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 8, 17, 0.3);
    overflow: hidden;
}

.logo-preview-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px;
}

.preview-placeholder {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* Card Delete Button (Floating in top-right) */
.card-delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: var(--transition-fast);
}

.card-delete-btn:hover {
    background: #f87171;
    transform: scale(1.1);
}

/* Grid Add Button Placeholder Card */
.admin-grid-add-btn {
    background: rgba(36, 130, 54, 0.05);
    border: 2px dashed rgba(36, 130, 54, 0.25);
    color: var(--primary-light);
    border-radius: 12px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    gap: 8px;
    transition: var(--transition-smooth);
    padding: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
}

.admin-grid-add-btn:hover {
    background: rgba(36, 130, 54, 0.12);
    border-color: var(--primary-light);
    color: var(--text-light);
    box-shadow: 0 0 15px rgba(36, 130, 54, 0.15);
}

.admin-grid-add-btn .add-icon {
    font-size: 1.8rem;
    line-height: 1;
}

/* Badge Uploadable Hover Effects */
body.admin-edit-mode .badge-uploadable {
    position: relative;
    cursor: pointer;
    outline: 1.5px dashed var(--primary-light) !important;
    outline-offset: 2px !important;
    transition: var(--transition-fast);
}

body.admin-edit-mode .badge-uploadable::before {
    content: '📷';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 20, 35, 0.7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.2s ease;
    z-index: 5;
}

body.admin-edit-mode .badge-uploadable:hover::before {
    opacity: 1;
}

/* Prevent cards layout shifting in Edit Mode */
.impact-card, .service-card, .team-card, .client-cat-card {
    position: relative;
}


/* Promotion Banner */
.promo-banner {
    background: rgba(36, 130, 54, 0.08);
    border-bottom: 1px solid var(--border-glow);
    padding: 10px 0;
    margin-top: 80px; /* Offset the fixed header height */
    position: relative;
    z-index: 50;
    font-family: var(--font-body);
}

.promo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
}

.promo-badge {
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.promo-text {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.promo-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.promo-btn {
    border-radius: 6px;
    font-size: 0.8rem;
    padding: 6px 14px;
}

.admin-btn-upload-pdf {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
    color: #38bdf8 !important;
}

.admin-btn-upload-pdf:hover {
    background: #0ea5e9;
    color: var(--bg-dark) !important;
    border-color: #0ea5e9;
}

.hidden {
    display: none !important;
}
