@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

body {
    font-family: 'Google Sans';
    background-color: #ffffff;
    color: #1a1a1a;
    transition: color 0.5s ease;
    overflow-x:hidden;
}

/* Modified Part 1 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b0b0b;
    /* Increase this so it's just below the text/navbar links */
    z-index: 0; 
    clip-path: circle(0% at 50% 0%);
    transition: clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none; /* Crucial: allows clicks to pass through to the logo */
}

/* Ensure your main content has a z-index to stay above the wave */
.navbar, .hero-section, #systems, #designs, #compliance, footer {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
}

.brand-main {
    /* Clamps between 64px and 200px based on screen size */
    font-size: clamp(4rem, 18vw, 12.5rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
    color: #000;
}

.brand-sub {
    font-size: clamp(0.875rem, 3vw, 2rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.8em;
    color: #888;
    margin-right: -0.6em;
    text-align: center;
    /* Offsets the letter spacing to keep it centered */
}

/* Chevron Container */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-text {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #aaa;
    margin-bottom: 10px;
    margin-right: -0.3em;
    /* Center correction */
    transition: color 0.3s ease;
}

.chevron {
    fill: none;
    stroke: #ccc;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 30px;
    height: 30px;
    animation: bounce 2s infinite;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

/* Hover Effects */
.scroll-indicator:hover .scroll-text {
    color: #212529;
}

.scroll-indicator:hover .chevron {
    stroke: #000;
    transform: translateY(5px);
    animation-play-state: paused;
    /* Stops bouncing on hover */
}

/* Gentle Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Layout & Sections */
.section-padding {
    padding: 120px 0;
}

/* Button Styling */
.btn-iandev {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 20px 40px;
    border-radius: 0;
    /* Sharp edges for minimalist look */
    transition: all 0.3s ease;
}

.btn-primary-dev {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
}

.btn-primary-dev:hover {
    background-color: #212529;
    transform: translateY(-3px);
    color: white;
}

.btn-secondary-dev {
    background-color: transparent;
    color: #000;
    border: 1px solid #eee;
}

.btn-secondary-dev:hover {
    border-color: #000;
    background-color: #fafafa;
}

/* Services Small Header */
.service-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    margin-bottom: 2rem;
    display: block;
}

/* Unified Solutions Styling (For both Grid and Scroller) */
.solution-box, .solution-card-inner {
    border: 1px solid #f0f0f0;
    padding: 50px 30px;
    height: 100%;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, background-color;
    display: flex;
    flex-direction: column;
    cursor: default;
}

/* Hover State: The "Blackout" Effect */
.solution-box:hover,
.solution-card:hover .solution-card-inner {
    border-color: #000;
    background: #212529 !important;
    transform: translateY(-5px);
}

/* Text Color Shift on Hover */
.solution-box:hover h3, .solution-box:hover p, .solution-box:hover .solution-number,
.solution-card:hover h3, .solution-card:hover p, .solution-card:hover .solution-number {
    color: #fff !important;
}

/* Service List & Dash Fixes */
.service-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-list li {
    font-size: 0.85rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.4s ease;
}

/* Using Unicode for the dash to prevent encoding errors (å€") */
.service-list li::before {
    content: "\2014";
    /* Standard EM Dash */
    position: absolute;
    left: 0;
    color: #000;
    transition: color 0.4s ease;
}

/* Force everything to white on hover */
.solution-box:hover .service-list li,
.solution-box:hover .service-list li::before,
.solution-card:hover .service-list li,
.solution-card:hover .service-list li::before {
    color: #fff !important;
}

/* Scroller Specific Adjustments */

.solution-card {
    flex: 0 0 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}


/* Mobile view: 1 card visible */
@media (max-width: 768px) {
    .solution-card {
        flex: 0 0 100%;
    }
}

/* Contact Form */
.contact-input {
    border: none;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    padding: 20px 0;
    font-size: 1.1rem;
    background: transparent;
}

.contact-input:focus {
    box-shadow: none;
    border-bottom-color: #000;
    background: transparent;
}

.form-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #aaa;
    margin-top: 1rem;
}

/* Centered Logo Adjustment */
.navbar {
    padding: 30px 0;
    /* Slightly more breathing room for a solo logo */
    background: white;
    /* Keeping it clean over the hero */
}

.navbar-logo {
    height: 40px;
    /* Slightly larger since it's the solo element */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Ensure navbar-brand doesn't have default Bootstrap padding that offsets the center */
.navbar-brand {
    padding: 0;
    margin: 0;
}

/* Section Headers */
.category-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #000;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 3rem;
}

/* Service List Styling */
.service-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-list li {
    font-size: 0.85rem;
    color: #000;
    /* Black text normally */
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.4s ease;
    /* Smooth color change */
}

.service-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #000;
    /* Black dash normally */
    transition: color 0.4s ease;
}

.solution-box:hover .service-list li,
.solution-box:hover .service-list li::before {
    color: #fff !important;
    /* Forces text and dash to white on hover */
}

/* Graphic Design Box Variation */
.solution-box.design {
    background-color: #fafafa;
}

/* Graphic Design Hover logic */
.solution-box.design:hover {
    background-color: #1a1a1a;
    /* A slightly softer black than the systems boxes */
    border-color: #1a1a1a;
    transform: translateY(-5px);
    /* Adds a "lift" effect for the creative section */
}

/* Ensure all text inside design boxes turns white on hover */
.solution-box.design:hover h4,
.solution-box.design:hover p,
.solution-box.design:hover .service-list li,
.solution-box.design:hover .service-list li::before {
    color: #fff !important;
}



/* Compliance Section */
/* Compliance Image Styles */
.compliance-icon {
    height: 60px;
    /* Fixed height for uniformity */
    width: auto;
    filter: grayscale(100%);
    /* Keeps it minimalist */
    opacity: 0.6;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.compliance-card:hover .compliance-icon {
    filter: grayscale(0%);
    /* Shows original color on hover */
    opacity: 1;
    transform: scale(1.1);
}

.compliance-grid {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    /* Closing the grid */
    margin-top: 40px;
}

.compliance-card {
    padding: 30px;
    text-align: center;
    border-right: 1px solid #eee;
    transition: all 0.3s ease;
}

.compliance-card:last-child {
    border-right: none;
}

.compliance-title {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #000;
}

.compliance-status {
    font-size: 0.65rem;
    color: #00b894;
    /* A clean, subtle success green */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* On Mobile, remove the right border and add a bottom one */
/* Ensure the 5th item centers on mobile if it's alone on a row */
@media (max-width: 768px) {
    .compliance-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .compliance-card {
        border-right: none;
        border-bottom: 1px solid #eee;
        min-height: 180px;
        /* Keeps height consistent */
    }
}

footer {
    padding: 80px 0 40px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.footer-link {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #000;
}

.footer-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #ccc;
    margin-bottom: 20px;
    display: block;
}

.copyright {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 60px;
    letter-spacing: 0.05em;
}

#formResponse {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.65rem;
}

.text-success {
    color: #00b894 !important;
}

.text-danger {
    color: #ff7675 !important;
}

.scroller-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #eee;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #000;
    transform: scale(1.4);
}

/* Ensure the scroller snaps perfectly for the dots to work well */
.horizontal-scroller {
    display: flex;
    overflow-x: auto;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 20px 0;
    -ms-overflow-style: none !important;
    /* IE and Edge */
    scrollbar-width: none !important;
}

.solution-card {
    scroll-snap-align: center;
    /* Better for mobile-to-desktop consistency */
}

.horizontal-scroller::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

#systems {
    overflow: hidden;
}

.social-icon-link {
    color: #888;
    /* Matches your footer-link color */
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon-link:hover {
    color: #000;
    /* Turns solid black on hover */
    transform: translateY(-2px);
    /* Subtle lift effect */
}

.bg-dark-accent {
  background-color: #0a0a0a; /* Slightly lighter than pure black to create depth */
}

.case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
}

.case-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #007bff; /* Or your brand primary color */
  transform: translateY(-5px);
}

.case-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #007bff;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.case-stats {
  display: flex;
  gap: 30px;
  margin: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.75rem;
  color: #6c757d;
}

.case-link {
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.case-link:hover {
  color: #007bff;
}

.case-study-hero {
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

.case-detail-row p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* For that IANDEV look, make the numbers big and thin */
.case-detail-row span.text-warning {
    font-size: 3rem;
}

p {
    text-align: justify;
}