/* ===== RESET & TOKENS ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-950: #050d1a;
    --navy-900: #0a1628;
    --navy-850: #0d1c35;
    --navy-800: #101d33;
    --navy-750: #12243f;
    --navy-700: #152847;
    --navy-600: #1a3a6b;
    --green-700: #1a5c3a;
    --green-600: #1f6b43;
    --green-500: #22804d;
    --green-400: #2d9d5e;
    --green-100: #e8f5e9;
    --blue-600: #1d4ed8;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-300: #60a5fa;
    --blue-200: #93c5fd;
    --blue-100: #dbeafe;
    --cyan-400: #22d3ee;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-hover: rgba(26, 92, 58, 0.25);
    --glow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --glow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --glow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    color: var(--gray-900);
    line-height: 1.25;
}

h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== BACKGROUND PATTERNS ===== */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 92, 58, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 92, 58, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.bg-radial {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.5;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s;
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo-img {
    filter: none;
}

.navbar .logo-img:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-links a {
    color: var(--navy-700);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.06);
}

.nav-links .cta-link {
    background: linear-gradient(135deg, #1a5c3a, #174f33);
    color: var(--white);
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    margin-left: 0.5rem;
    box-shadow: 0 2px 12px rgba(25, 70, 50, 0.35);
    border-radius: 50px;
}

.nav-links .cta-link:hover {
    box-shadow: 0 4px 20px rgba(25, 70, 50, 0.5);
    transform: translateY(-1px);
    color: var(--white);
    background: linear-gradient(135deg, #1f6b43, #1a5c3a);
}

.navbar.scrolled .nav-links .cta-link {
    background: linear-gradient(135deg, #1a5c3a, #174f33);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.navbar.scrolled .menu-toggle span {
    background: var(--navy-700);
}

/* ===== HERO ===== */
#hero {
    position: relative;
    min-height: 83vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
    background: #1a3a2a;
}

/* Background image grid */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
}

.hero-bg-cell {
    position: relative;
    overflow: hidden;
}

.hero-bg-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(0.85);
    animation: heroKenBurns 20s ease-in-out infinite alternate;
    transition: opacity 1.5s ease;
}

.hero-bg-cell:nth-child(2) img {
    animation-delay: -5s;
}

.hero-bg-cell:nth-child(3) img {
    animation-delay: -10s;
}

.hero-bg-cell:nth-child(4) img {
    animation-delay: -15s;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    33% {
        transform: scale(1.08) translate(-1%, -1%);
    }

    66% {
        transform: scale(1.05) translate(1%, 0%);
    }

    100% {
        transform: scale(1.1) translate(-0.5%, 1%);
    }
}

/* Dark green overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 55, 40, 0.72);
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 900px;
    z-index: 2;
}

.hero-logo-img {
    max-width: 750px;
    width: 90%;
    height: auto;
    margin: 0 auto 4rem;
    display: block;
    filter: brightness(0) invert(1);
    animation: fadeInUp 1s ease-out 0.15s both;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.35s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: inherit;
    background: rgba(25, 70, 50, 0.85);
    color: #ffffff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1s ease-out 0.5s both;
    backdrop-filter: blur(10px);
}

.btn-hero:hover {
    background: rgba(25, 70, 50, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.35);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-600), var(--green-700));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(26, 92, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(26, 92, 58, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--green-600);
    border: 1px solid rgba(26, 92, 58, 0.2);
}

.btn-ghost:hover {
    background: rgba(26, 92, 58, 0.06);
    border-color: var(--green-500);
    color: var(--green-700);
    transform: translateY(-2px);
}

/* Hero stats bar */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.hero-stat .label {
    font-size: 0.78rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.section {
    position: relative;
    padding: 7rem 2rem;
    overflow: hidden;
}

.section-alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green-500);
    margin-bottom: 0.75rem;
    position: relative;
}

.section-label::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--green-500), transparent);
    margin: 0.5rem auto 0;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 800px;
    margin: 0 auto;
}

/* ===== GLASS CARDS ===== */
.glass-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(26, 92, 58, 0.15), transparent);
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

/* ===== WHO WE ARE ===== */
.commitment-block {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.commitment-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.commitment-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 92, 58, 0.1), transparent 60%);
    pointer-events: none;
}

.commitment-img-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), var(--glow-sm);
    transition: transform 0.6s ease;
}

.commitment-img-wrap:hover img {
    transform: scale(1.03);
}

.commitment-text h3 {
    font-size: 1.55rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.commitment-text p {
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    color: var(--gray-600);
    text-align: justify;
}

.focus-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.focus-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.focus-card .slideshow-container {
    margin-top: auto;
    padding-top: 2rem;
}

.focus-card .icon-wrap {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.focus-card .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focus-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-align: justify;
}

/* ===== SLIDESHOW ===== */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 400px;
    margin: 2rem auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--glow-sm);
}

.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slideshow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(26, 92, 58, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.slideshow-dot.active {
    background: var(--green-500);
    box-shadow: 0 0 8px rgba(26, 92, 58, 0.3);
    transform: scale(1.3);
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    z-index: 5;
    backdrop-filter: blur(8px);
}

.slideshow-nav:hover {
    background: var(--green-500);
    border-color: var(--green-500);
    color: var(--white);
}

.slideshow-nav.prev {
    left: 12px;
}

.slideshow-nav.next {
    right: 12px;
}

/* ===== SERVICES ===== */
.services-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

.services-intro-text p {
    font-size: 0.98rem;
    color: var(--gray-600);
    line-height: 1.85;
    text-align: justify;
}

.services-intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.highlight-item:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-card-hover);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-item strong {
    display: block;
    color: var(--gray-900);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.highlight-item p {
    font-size: 0.87rem;
    color: var(--gray-500);
    line-height: 1.6;
    text-align: justify;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.service-card .card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card:hover .card-img {
    opacity: 0.92;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.87rem;
    color: var(--gray-500);
    text-align: left;
}

/* ===== INDUSTRY FOCUS ===== */
.industry-description {
    font-size: 1.02rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 100%;
    text-align: justify;
}

.industry-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.industry-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.industry-image .slideshow-container {
    margin: 0;
    max-width: 100%;
}

.industry-image .slideshow-container {
    height: 420px;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.6s ease;
}

.industry-image:hover img {
    transform: scale(1.03);
}

.industry-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.industry-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
    cursor: default;
}

.industry-list-item:hover {
    border-color: var(--green-400);
    box-shadow: var(--shadow-card-hover);
    transform: translateX(4px);
}

.industry-list-item .item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--white);
}

.industry-list-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* ===== WHY SIDRATEC ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.why-card {
    padding: 2rem 1.25rem;
    text-align: center;
}

.why-card .why-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, rgba(26, 92, 58, 0.08), rgba(34, 128, 77, 0.04));
    border-radius: var(--radius-md);
    border: 1px solid rgba(26, 92, 58, 0.06);
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
    border-color: var(--green-400);
    box-shadow: 0 4px 12px rgba(26, 92, 58, 0.12);
    transform: scale(1.1);
}

.why-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.why-card p {
    font-size: 0.84rem;
    color: var(--gray-500);
}

/* Globe Animation */
.globe-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.globe-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.globe-card p {
    font-size: 0.84rem;
    color: var(--gray-500);
    margin-top: 0.35rem;
}

.globe-scene {
    position: relative;
    width: 120px;
    height: 120px;
}

.globe-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2.5px solid var(--green-600);
    position: relative;
    animation: globePulse 3s ease-in-out infinite;
    background: radial-gradient(circle at 35% 35%, rgba(26, 92, 58, 0.08), rgba(26, 92, 58, 0.03));
}

.globe-sphere::before,
.globe-sphere::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(26, 92, 58, 0.3);
}

.globe-sphere::before {
    width: 55%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.globe-sphere::after {
    width: 100%;
    height: 55%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.globe-equator {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(26, 92, 58, 0.2);
    transform: rotateX(70deg);
}

.globe-orbit {
    position: absolute;
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    border-radius: 50%;
    animation: orbitSpin 8s linear infinite;
}

.globe-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--green-500);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 160, 90, 0.6);
}

.globe-dot:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.globe-dot:nth-child(2) {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.globe-dot:nth-child(3) {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

.globe-orbit-2 {
    position: absolute;
    width: 160%;
    height: 160%;
    top: -30%;
    left: -30%;
    border-radius: 50%;
    animation: orbitSpin 12s linear infinite reverse;
}

.globe-dot-sm {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--green-400);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(34, 160, 90, 0.4);
}

.globe-dot-sm:nth-child(1) {
    top: 10%;
    left: 0;
}

.globe-dot-sm:nth-child(2) {
    bottom: 10%;
    right: 0;
}

@keyframes globePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(26, 92, 58, 0.15);
    }

    50% {
        box-shadow: 0 0 20px 8px rgba(26, 92, 58, 0.1);
    }
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* === Circuit Brain Animation === */
.brain-scene {
    position: relative;
    width: 120px;
    height: 120px;
}

.brain-core {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(26, 92, 58, 0.12), rgba(26, 92, 58, 0.04));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: corePulse 2.5s ease-in-out infinite;
}

.brain-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--green-600);
    border-top-color: transparent;
    border-left-color: transparent;
    animation: orbitSpin 6s linear infinite;
}

.brain-ring-2 {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-radius: 50%;
    border: 1.5px dashed rgba(26, 92, 58, 0.25);
    border-bottom-color: transparent;
    animation: orbitSpin 4s linear infinite reverse;
}

.brain-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--green-500);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 160, 90, 0.5);
}

.brain-node:nth-child(1) {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: nodePulse 2s ease-in-out infinite;
}

.brain-node:nth-child(2) {
    bottom: 5%;
    left: 20%;
    animation: nodePulse 2s ease-in-out 0.4s infinite;
}

.brain-node:nth-child(3) {
    bottom: 5%;
    right: 20%;
    animation: nodePulse 2s ease-in-out 0.8s infinite;
}

.brain-node:nth-child(4) {
    top: 35%;
    left: 5%;
    animation: nodePulse 2s ease-in-out 1.2s infinite;
}

.brain-node:nth-child(5) {
    top: 35%;
    right: 5%;
    animation: nodePulse 2s ease-in-out 1.6s infinite;
}

.brain-line {
    position: absolute;
    background: rgba(26, 92, 58, 0.15);
    transform-origin: center;
}

.brain-line:nth-child(6) {
    width: 1.5px;
    height: 35px;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
}

.brain-line:nth-child(7) {
    width: 1.5px;
    height: 40px;
    top: 30%;
    left: 18%;
    transform: rotate(55deg);
}

.brain-line:nth-child(8) {
    width: 1.5px;
    height: 40px;
    top: 30%;
    right: 18%;
    transform: rotate(-55deg);
}

@keyframes corePulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* === Regulatory Shield Animation === */
.shield-scene {
    position: relative;
    width: 120px;
    height: 120px;
}

.shield-outline {
    position: absolute;
    width: 70px;
    height: 85px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2.5px solid var(--green-600);
    border-radius: 4px 4px 35px 35px;
    animation: shieldGlow 3s ease-in-out infinite;
}

.shield-check {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 14px;
    transform: translate(-50%, -55%) rotate(-45deg);
    border-left: 3px solid var(--green-500);
    border-bottom: 3px solid var(--green-500);
    animation: checkDraw 2.5s ease-in-out infinite;
}

.shield-scan {
    position: absolute;
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green-400), transparent);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation: scanDown 3s ease-in-out infinite;
    opacity: 0.6;
}

.shield-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--green-400);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(34, 160, 90, 0.4);
}

.shield-sparkle:nth-child(4) {
    top: 8%;
    right: 15%;
    animation: nodePulse 2s ease-in-out 0.3s infinite;
}

.shield-sparkle:nth-child(5) {
    bottom: 15%;
    left: 12%;
    animation: nodePulse 2s ease-in-out 1s infinite;
}

.shield-sparkle:nth-child(6) {
    top: 25%;
    left: 8%;
    animation: nodePulse 2s ease-in-out 1.6s infinite;
}

@keyframes shieldGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(26, 92, 58, 0.1);
    }

    50% {
        box-shadow: 0 0 16px 4px rgba(26, 92, 58, 0.12);
    }
}

@keyframes checkDraw {

    0%,
    20% {
        opacity: 0;
    }

    40%,
    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes scanDown {
    0% {
        top: 15%;
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        top: 80%;
        opacity: 0;
    }
}

/* === Coordination Network Animation === */
.coord-scene {
    position: relative;
    width: 120px;
    height: 120px;
}

.coord-node {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2.5px solid var(--green-600);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 92, 58, 0.1), transparent);
}

.coord-node:nth-child(1) {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: coordFloat 3s ease-in-out infinite;
}

.coord-node:nth-child(2) {
    bottom: 15%;
    left: 12%;
    animation: coordFloat 3s ease-in-out 0.5s infinite;
}

.coord-node:nth-child(3) {
    bottom: 15%;
    right: 12%;
    animation: coordFloat 3s ease-in-out 1s infinite;
}

.coord-node-center {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2.5px solid var(--green-500);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 160, 90, 0.15), transparent);
    animation: globePulse 3s ease-in-out infinite;
}

.coord-link {
    position: absolute;
    height: 1.5px;
    background: linear-gradient(90deg, var(--green-500), rgba(26, 92, 58, 0.2));
    transform-origin: left center;
}

.coord-link:nth-child(5) {
    width: 38px;
    top: 38%;
    left: 50%;
    transform: translateX(-2px) rotate(-58deg);
    animation: linkPulse 2.5s ease-in-out infinite;
}

.coord-link:nth-child(6) {
    width: 38px;
    top: 58%;
    left: 22%;
    transform: rotate(30deg);
    animation: linkPulse 2.5s ease-in-out 0.4s infinite;
}

.coord-link:nth-child(7) {
    width: 38px;
    top: 58%;
    right: 22%;
    left: auto;
    transform: rotate(-30deg);
    transform-origin: right center;
    animation: linkPulse 2.5s ease-in-out 0.8s infinite;
}

.coord-dot-pulse {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--green-400);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(34, 160, 90, 0.5);
}

.coord-dot-pulse:nth-child(8) {
    top: 38%;
    left: 43%;
    animation: nodePulse 2s ease-in-out 0.2s infinite;
}

.coord-dot-pulse:nth-child(9) {
    bottom: 30%;
    left: 32%;
    animation: nodePulse 2s ease-in-out 0.8s infinite;
}

.coord-dot-pulse:nth-child(10) {
    bottom: 30%;
    right: 32%;
    animation: nodePulse 2s ease-in-out 1.4s infinite;
}

@keyframes coordFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-4px);
    }
}

@keyframes linkPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* ===== CONTACT ===== */
#contact {
    padding: 7rem 2rem;
    position: relative;
    background: var(--gray-50);
}

.contact-wrapper {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.contact-card {
    padding: 3rem 2.5rem;
    margin-top: 2rem;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-info {
    display: none;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    animation: fadeInUp 0.4s ease-out;
}

.contact-info.visible {
    display: block;
}

.contact-info h3 {
    font-size: 1.1rem;
    color: var(--green-600);
    margin-bottom: 0.75rem;
}

.contact-info p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--gray-600);
}

.contact-info a {
    color: var(--green-600);
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--green-700);
}

/* ===== FOOTER ===== */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.footer p {
    font-size: 0.82rem;
    color: var(--gray-500);
    letter-spacing: 0.3px;
}

/* ===== DIVIDER ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
    border: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        padding: 1rem;
        gap: 0;
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.85rem 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--gray-100);
        color: var(--gray-700) !important;
    }

    .nav-links .cta-link {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .slideshow-container {
        height: 260px;
    }

    .commitment-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .focus-cards {
        grid-template-columns: 1fr;
    }

    .services-intro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }



    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .section {
        padding: 5rem 1.5rem;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}

@media (max-width: 480px) {



    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITIES & HELPER CLASSES ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--green-600);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    box-shadow: 0 2px 10px rgba(26, 92, 58, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    background: var(--green-500);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(26, 92, 58, 0.4);
}

.icon-lg {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

.icon-sm {
    width: 24px;
    height: 24px;
    object-fit: contain;
}