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

/* Base Reset & Variables */
html {
    font-size: 83.5%;
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
body {
    background: #fff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(249, 115, 22, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 40%, rgba(245, 115, 11, 0.06) 0px, transparent 50%),
        radial-gradient(at 0% 80%, rgba(234, 88, 12, 0.07) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(249, 115, 22, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    color: #1e293b;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(.16, 1, .3, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(.16, 1, .3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(.16, 1, .3, 1);
}
.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Header & Navigation */
.header-bottom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header-scrolled {
    padding: 11px 8%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-text {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #1e3a8a;
    display: flex;
    align-items: flex-start;
}
.logo-text span {
    color: #d97706;
}
.logo-text sup {
    font-size: 0.55em;
    font-weight: 800;
    color: #64748b;
    margin-left: 3px;
    margin-top: 4px;
}
.main-nav ul {
    display: flex;
    gap: 24px;
}
.main-nav li a {
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}
.main-nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #ea580c;
    transition: width 0.3s;
}
.main-nav li a:hover {
    color: #ea580c;
}
.main-nav li a:hover::after {
    width: 100%;
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #1e293b;
}
.menu-toggle svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

/* Slideshow Hero Section */
.hero-slideshow.fluid-3d-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 40%, #ea580c 100%);
    overflow: hidden;
    padding: 110px 0 60px 0;
}
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.dipper {
    position: absolute;
    filter: drop-shadow(0 15px 30px rgba(153, 27, 27, 0.28));
    transform-origin: center;
}
.dipper-1 {
    width: 18vw;
    max-width: 220px;
    top: -2%;
    right: 10%;
    --rot: 25deg;
    animation: floatShape 9s ease-in-out infinite;
}
.dipper-2 {
    width: 28vw;
    max-width: 320px;
    bottom: -15%;
    left: -2%;
    --rot: -40deg;
    animation: floatShape 12s ease-in-out infinite reverse;
    filter: drop-shadow(0 25px 40px rgba(153, 27, 27, 0.35));
}
.dipper-3 {
    width: 13vw;
    max-width: 160px;
    top: 14%;
    left: 14%;
    --rot: 65deg;
    animation: floatShape 14s ease-in-out infinite 1s;
    filter: drop-shadow(0 18px 30px rgba(153, 27, 27, 0.3));
    opacity: 0.9;
}
.dipper-4 {
    width: 22vw;
    max-width: 260px;
    bottom: 18%;
    right: 5%;
    --rot: -20deg;
    animation: floatShape 11s ease-in-out infinite 2s;
    filter: drop-shadow(0 22px 35px rgba(153, 27, 27, 0.32));
    opacity: 0.95;
}
@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(var(--rot, 0deg));
    }
    50% {
        transform: translateY(-30px) rotate(calc(var(--rot, 0deg) + 8deg));
    }
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 10;
}
.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(.25, 1, .5, 1);
    width: 100%;
}
.slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 8%;
}

.white-glass-card {
    max-width: 680px;
    width: 100%;
    z-index: 10;
    padding: 38px 46px;
    border-radius: 28px;
    background: #110f81;
    border: none;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.white-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
}
.slide-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}
.slide-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #ea580c;
    border-radius: 3px;
}
.slide-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 16px 0 8px 0;
    text-align: left;
    letter-spacing: -0.3px;
}
.slide-content li {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 14px;
    padding-left: 32px;
    position: relative;
    line-height: 1.6;
    font-weight: 500;
}
.slide-content li strong {
    color: #ffffff;
}
.slide-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 16px;
    height: 2.5px;
    background: #ea580c;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(234, 88, 12, 0.4);
}
.slide-sublist {
    margin-bottom: 6px;
}
.slide-sublist li {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 8px;
    padding-left: 24px;
    line-height: 1.5;
}
.slide-sublist li::before {
    top: 9px;
    width: 10px;
    height: 2px;
    background: #ea580c;
}
.slide-content .highlight-blue {
    color: #ffffff !important;
}
.highlight-blue {
    color: #0284c7 !important;
    font-weight: 800 !important;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.3);
    border: none !important;
    border-radius: 50%;
    color: #1e293b;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}
.slider-btn:hover {
    background: #fff;
    color: #ea580c;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.25) !important;
}
.slider-btn:focus,
.slider-btn:active,
.slider-btn:focus-visible {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
#prev {
    left: 4%;
}
#next {
    right: 4%;
}
.dots-container {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}
.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
}
.dot.active {
    background: #fff;
    transform: scale(1.4);
    box-shadow: 0 0 14px rgba(255, 255, 255, 1);
}

/* General Section Styles */
.section-padding {
    padding: 80px 8%;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.section-header h2 span {
    color: #d97706;
}
.section-header p {
    font-size: 1.15rem;
    color: #64748b;
    font-weight: 300;
}
.light-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(.25, 1, .5, 1);
}
.light-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(217, 119, 6, 0.06);
    border-color: #fff;
}

/* =========================================
   OUR COLONY / HONEYCOMB SECTION
   ========================================= */
.colony-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(245, 158, 11, 0.04) 100%);
    padding: 100px 6%;
}
.colony-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}
.colony-left-content {
    padding-right: 15px;
}
.colony-left-content h2 {
    font-size: 3.4rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.colony-left-content h2 span {
    color: #d97706;
}
.colony-left-content p {
    font-size: 1.18rem;
    color: #475569;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 25px;
}

/* Honeycomb Matrix */
.honeycomb-cluster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    padding: 20px 0;
}
.hex-row {
    display: flex;
    justify-content: center;
    margin-top: -39px; /* Seamless vertical interlocking */
}
.hex-row:first-child {
    margin-top: 0;
}
.hex-wrapper {
    position: relative;
    width: 135px;
    height: 156px;
    background: linear-gradient(135deg, #ea580c, #facc15);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -2px;
}
.hex-inner {
    width: 129px;
    height: 149px;
    background: #fff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hexagon Image / Logo Styling */
.hex-inner img {
    width: 95px;
    height: 95px;
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

/* Bento Grid */
.solutions-section {
    background: #f8fafc;
    position: relative;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}
.bento-card {
    padding: 40px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}
.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(217, 119, 6, 0.1);
    border-color: #fff;
}
.bento-card.tall {
    grid-row: span 2;
    justify-content: center;
}
.bento-card.wide {
    grid-column: span 2;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
}
.bento-card.wide h3 {
    color: #fff;
}
.bento-card.wide p {
    color: #94a3b8;
}
.bento-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}
.bento-card.wide .bento-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #facc15;
}
.bento-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}
.bento-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
.bento-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 300;
}

/* Careers Section */
.careers-section {
    background: #fff;
}
.careers-container {
    max-width: 1000px;
    margin: 0 auto;
}
.career-highlight-card {
    padding: 45px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(254, 243, 199, 0.5));
    border: 1px solid rgba(245, 158, 11, 0.25);
}
.career-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}
.career-text p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}
.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.career-tags span {
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.btn-career {
    display: inline-block;
    white-space: nowrap;
    background: linear-gradient(135deg, #ea580c, #d97706);
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
    transition: all 0.3s ease;
}
.btn-career:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.45);
    color: #fff;
}

/* =========================================
   CASE STUDIES / OUR IMPACT SECTION (2 BOXES)
   ========================================= */
.impact-section {
    background: #ffffff;
}
.impact-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}
.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    align-items: stretch;
}
.case-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: transform 0.4s cubic-bezier(.25, 1, .5, 1), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(217, 119, 6, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
}
.card-img {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}
.case-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.case-card:hover .case-card-img {
    transform: scale(1.05);
}
.card-content {
    padding: 34px 32px 30px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.industry-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: #ea580c;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}
.card-content h3 {
    font-size: 1.45rem;
    color: #0f172a;
    margin-bottom: 14px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.3px;
}
.card-content p {
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 28px;
    flex-grow: 1;
}
.card-action {
    margin-top: auto;
}
.btn-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background: transparent;
    color: #ea580c;
    border: 1.5px solid #ea580c;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-read:hover {
    background: linear-gradient(135deg, #ea580c, #d97706);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
    transform: translateY(-2px);
}
.btn-read:focus,
.btn-read:active {
    outline: none;
}

/* =========================================
   FOOTER / CONTACT SECTION
   ========================================= */
.main-footer {
    background-color: #0f172a;
    color: #fff;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 8%;
}

/* Left Column: Address, Phone, Email & Socials */
.footer-col.left {
    justify-self: start;
    text-align: left;
}
.footer-col.left h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 800;
}
.footer-col.left p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 420px;
}
.footer-col.left p svg {
    width: 20px;
    height: 20px;
    fill: #d97706;
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-col.left a {
    color: #cbd5e1;
    transition: color 0.3s;
}
.footer-col.left a:hover {
    color: #d97706;
}

/* Social Icons / LinkedIn Button */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.35);
}
.social-icons svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Center Column: D-U-N-S Badge */
.footer-col.center {
    justify-self: center;
    text-align: center;
}
.footer-col.center img {
    width: 100%;
    max-width: 240px;
    height: auto;
    max-height: 115px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
    transition: transform 0.3s ease;
}
.footer-col.center img:hover {
    transform: scale(1.05);
}

/* Right Column: Navigation Links */
.footer-col.right {
    justify-self: end;
    text-align: right;
}
.footer-col.right h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 800;
}
.footer-col.right li {
    margin-bottom: 15px;
}
.footer-col.right a {
    color: #cbd5e1;
    transition: 0.3s;
    font-size: 1.05rem;
    font-weight: 300;
}
.footer-col.right a:hover {
    color: #d97706;
    padding-right: 5px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 25px 8%;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .header-bottom {
        padding: 14px 6%;
    }
    .menu-toggle {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 30px 8%;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        display: none;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        transition: all 0.3s ease;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .colony-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .colony-left-content {
        padding-right: 0;
        text-align: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.tall,
    .bento-card.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .career-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }
    .career-tags {
        justify-content: center;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .footer-col.left,
    .footer-col.center,
    .footer-col.right {
        justify-self: center;
        text-align: center;
    }
    .footer-col.left p {
        justify-content: center;
    }
    .social-icons {
        justify-content: center;
    }
}