/* --- Custom Styles --- */

:root {
    --bs-dark-blue: #0A1B2C;
    --bs-light-blue: #009FFD;
    --bs-accent-orange: #FF6B2B;
    --bs-accent-purple: #8A4FFF;
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-body-color: #333;
    --bs-body-bg: #ffffff;
}
html {
  scroll-behavior: smooth;
}
body {
    font-family: var(--bs-body-font-family);
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    scroll-behavior: smooth;
}

/* --- Utility & Helper Classes --- */
.section-subheading {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--bs-accent-orange);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.section-heading {
    font-weight: 800;
    color: var(--bs-dark-blue);
}

.btn-brand {
    background-color: var(--bs-light-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-brand:hover {
    background-color: #008be0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 159, 253, 0.3);
}

.btn-outline-brand {
    color: var(--bs-dark-blue);
    border-color: #ddd;
    padding: 0.5rem 1.5rem;
    border-radius: 50rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-brand:hover {
    background-color: var(--bs-dark-blue);
    color: white;
    border-color: var(--bs-dark-blue);
}

/* --- Decorative Shapes --- */
.shape {
    position: absolute;
    z-index: -1;
    opacity: 0.8;
}

.shape-triangle-orange {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 60px solid var(--bs-accent-orange);
    transform: rotate(45deg);
}

.shape-square-purple {
    width: 50px;
    height: 50px;
    background-color: var(--bs-accent-purple);
    transform: rotate(30deg);
    border-radius: 8px;
}

.shape-badge {
    width: 100px;
    height: 100px;
    background: url("https://placehold.co/100x100/ffffff/cccccc?text=Badge") no-repeat center center;
    background-size: contain;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Navigation Bar --- */
.navbar {
    background-color: whitesmoke;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(200, 25, 24, 0.8);
}
.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--bs-dark-blue);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0.5rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: blue;
}

.navbar .btn-brand {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
}

/* Custom styles for Bootstrap Icon toggler */
.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Target the <i> icon inside the toggler */
.navbar-dark .navbar-toggler .bi-list {
    color: blue;
    font-size: 1.75rem;
    /* Control size here */
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--bs-dark-blue);
    color: white;
    min-height: 80vh;
    padding: 8rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section .display-3 {
    font-weight: 800;
    line-height: 1.2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    min-height: 400px;
}

/* Positioning decorative shapes in Hero */
.hero-section .shape-badge {
    top: 25%;
    left: -30px;
}

.hero-section .shape-square-purple {
    top: 15%;
    right: 5%;
    opacity: 0.3;
    transform: rotate(45deg) scale(1.5);
}

.hero-section .shape-triangle-orange {
    bottom: 10%;
    left: 45%;
    opacity: 0.3;
}

/* --- Intro Section --- */
.intro-section {
    position: relative;
}

.intro-section .shape-triangle-orange {
    top: 20%;
    left: 5%;
}

/* --- "Our Work" Carousel --- */
.work-section {
    background-color: #f8f9fa;
}

.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
    transform: translateX(0);
    /* Fix for partial view */
}

.carousel-inner {
    overflow: hidden;
    /* Set to hidden for clean edges */
}

.carousel-item-partial {
    display: none;
}

.work-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.work-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.work-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.work-card-body {
    padding: 1.5rem;
}

.work-card-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.work-card-body h5 {
    font-weight: 700;
    color: var(--bs-dark-blue);
}

/* Custom Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.carousel-controls .drag-text {
    font-weight: 600;
    color: #aaa;
    letter-spacing: 1px;
    margin: 0 1rem;
}

.carousel-controls button {
    background: none;
    border: 1px solid #ddd;
    color: #555;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.carousel-controls button:hover {
    background-color: var(--bs-dark-blue);
    color: white;
    border-color: var(--bs-dark-blue);
}

/* --- Build Together Section --- */
.build-together-section .img-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.build-together-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    min-height: 300px;
}

@media (min-width: 768px) {
    .build-together-section .img-grid {
        grid-template-columns: 1fr 1fr;
    }

    .build-together-section .img-grid img:nth-child(2) {
        margin-top: 4rem;
        /* Offset effect */
    }
}

/* --- Services Pitch Section --- */
.services-pitch-section {
    background-color: var(--bs-dark-blue);
    color: white;
    position: relative;
}

.services-pitch-section .display-5 {
    font-weight: 800;
}

.scroll-arrow {
    color: white;
    font-size: 2rem;
    margin-top: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --- Services Tabs Section --- */
.services-tabs-section {
    min-height: 500px;
}

.services-tabs-section .nav-link {
    padding: 2rem 1.5rem;
    color: #aaa;
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    border-left: 4px solid #eee;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.services-tabs-section .nav-link.active {
    color: var(--bs-dark-blue);
    background-color: white;
    border-left: 4px solid var(--bs-light-blue);
}

.services-tabs-section .nav-link .tab-number {
    font-size: 1rem;
    font-weight: 800;
    color: #ccc;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.services-tabs-section .nav-link.active .tab-number {
    color: var(--bs-light-blue);
    transform: scale(1.2);
}

.services-tabs-section .tab-content {
    padding: 2rem;
}

.services-tabs-section .tab-pane h3 {
    font-weight: 700;
    color: var(--bs-dark-blue);
}

/* --- Contact Section --- */
.contact-section {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.contact-section .shape-triangle-orange {
    bottom: 10%;
    left: 10%;
    transform: rotate(-30deg) scale(1.2);
}

.contact-section .shape-square-purple {
    top: 20%;
    right: 10%;
    transform: rotate(15deg) scale(1.2);
}

/* --- Footer --- */
footer {
    background-color: var(--bs-dark-blue);
    color: rgba(255, 255, 255, 0.7);
}

footer .footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}

footer img {
    border-radius: 0.5rem;
}

footer .footer-links h5 {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

footer .footer-links ul {
    list-style: none;
    padding: 0;
}

footer .footer-links li {
    margin-bottom: 0.5rem;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

footer .footer-links a:hover {
    color: white;
    text-decoration: underline;
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-bottom p {
    font-size: 0.8rem;
    margin: 0;
}

footer .social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    margin-left: 1rem;
    letter-spacing: 1px;
}

footer .social-links a:hover {
    color: white;
}