:root {
    --theme-color: #155bd5;
}

body {
    font-family: "Inter", sans-serif;
}

/* Logo Container */
.logo-animate {
    display: flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    position: relative;
}

/* Main Logo Text */
.logo-text {
    font-size: 26px;
    /* letter-spacing: 1px; */
}

/* Sub Text */
.logo-sub {
    font-size: 20px;
    /* margin-left: 2px; */
    font-weight: 500;
    opacity: 0.9;
}

/* Vertical Flash Line */
.logo-line {
    width: 2px;
    height: 25px;
    background-color: #fff;
    margin: 0 10px;
    animation: logoFlash 1.4s ease-in-out 1;
    /* transform: scaleY(0);
    transform-origin: center; */
    /* opacity: 0; */
}

/* Flash Animation */
@keyframes logoFlash {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }

    30% {
        opacity: 1;
        transform: scaleY(1);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

/* Accessibility + performance */
@media (prefers-reduced-motion: reduce) {
    .logo-line {
        animation: none !important;
        transform: scaleY(1);
        opacity: 1;
    }
}


/* Logo */
.navbar-brand {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    /* font-size: 1.8rem; */
    /*Larger, more prominent */
    color: #ffffff;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Logo Icon */
.logo-icon {
    width: 36px;
    /* Icon size */
    height: 36px;
    object-fit: contain;
}

/* Tagline */
.logo-tagline {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* Plain Text Logo */
.navbar-brand.logo-text {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    /* Large & bold */
    color: #ffffff;
    /* White for blue theme */
    /* letter-spacing: 1px;      Slight spacing for elegance */
    /* text-transform: uppercase; */
    transition: all 0.3s ease;
    position: relative;
}

/* Optional underline effect */
.navbar-brand.logo-text::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: width 0.3s ease;
    margin-top: 4px;
}

/* Hover animation */
.navbar-brand.logo-text:hover::after {
    width: 50%;
    /* Underline grows on hover */
}

/* Optional hover color change */
.navbar-brand.logo-text:hover {
    color: var(--theme-color);
}

/* Navbar */
.navbar {
    background-color: var(--theme-color);
    padding: 13px 0;
}

.navbar-brand,
.nav-link {
    color: #fff !important;
    font-weight: 500;
}

.navbar-nav .nav-link {
    /* color: #fff !important; */
    padding: 20px 22px;
    margin: 0 5px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16.5px;
    transition: all 0.3s ease;
    color: #ffffff !important;
    position: relative;
    /* padding: 14px 18px; */
}

@media (min-width: 992px) {
    .navbar-nav .nav-item:first-child {
        margin-left: -64px;
    }
}

/* Hover highlight */
/* .navbar-nav .nav-link:hover {
    background-color: #ffffff;
    color: var(--theme-color) !important;
} */

/* Underline */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* Hover animation */
.navbar-nav .nav-link:hover::after {
    color: var(--theme-color) !important;
    width: 60%;
}

/* Menu Toggler for Mobile */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Custom hamburger icon */
.custom-toggler {
    border: none;
    background: none;
    padding: 6px;
}

.custom-toggler span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #000;
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* When menu is open (X icon) */
.custom-toggler.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.custom-toggler.active span:nth-child(2) {
    opacity: 0;
}

.custom-toggler.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Header Slider */
.header-slider {
    margin-top: 75px;
}

.carousel-item img {
    height: 90vh;
    object-fit: cover;
}

/* Overlay Text Animation */
.carousel-caption {
    bottom: 40%;
    text-align: center;
}

/* Initial hidden state */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: slideFadeUp 1s ease forwards;
}

/* Delay for paragraph */
.animate-text.delay-1 {
    animation-delay: 0.6s;
}

/* Keyframes */
@keyframes slideFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Re-trigger animation on slide change */
.carousel-item.active .animate-text {
    animation-name: slideFadeUp;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 18px;
    margin-top: 10px;
}

/* Modern Indicator Dots */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 0 6px;
    border: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 14px;
    height: 14px;
    background-color: #fbfbfc;
}

/* Service Section */
.service-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-6px);
}

/* Icon Styling */
.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--theme-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    margin-bottom: 20px;
    line-height: 1;
}

.service-box h5 {
    font-weight: 600;
    margin-bottom: 13px;
}

.service-box p {
    color: #555;
    margin-bottom: 0;
}


/* Industries Alternating Layout */

@media (max-width: 768px) {
    .industry-img {
        height: 180px;
    }
}

.industry-row {
    gap: 20px;
}

.industry-img {
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.industry-text {
    padding: 20px;
}

.industry-text h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.industry-text p {
    color: #555;
    line-height: 1.7;
}

.industry-title {
    position: relative;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.6s ease;
}

/* underline */
.industry-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: var(--theme-color);
    transition: width 0.6s ease;
}

/* when revealed */
.reveal.active .industry-title {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active .industry-title::after {
    width: 48px;
}

/* hover effect */
.industry-title:hover {
    transform: translateY(-2px);
    color: var(--theme-color);
}

.industry-title:hover::after {
    width: 100%;
}

/* Industry Image Animation */
.industry-animate {
    /* overflow: hidden;
    border-radius: 12px;
    transform: scale(0.95); */
    opacity: 0;
    transition: all 0.8s ease;
}

/* Direction animations */
/* .from-left {
    transform: translateX(-60px);
}

.from-right {
    transform: translateX(60px);
} */

/* Reveal when section is visible */
.reveal.active .industry-animate {
    transform: scale(1);
    opacity: 1;
}

/* Hover Effect */
.industry-animate:hover {
    transform: scale(1.03);
}

/* Image wrapper */
.industry-img-wrap {
    height: 400px;
    /* Adjust img height here */
    overflow: hidden;
    border-radius: 12px;
}

/* Base image style */
.industry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ✅ Crops vertically */
    transition: transform 0.4s ease;
}

/* Hover zoom */
.industry-img-wrap:hover .industry-img {
    transform: scale(1.08);
}

.industry-icon {
    font-size: 25px;
    color: var(--theme-color);
    margin-bottom: 10px;
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Hover sync with heading */
.industry-text:hover .industry-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(0, 123, 255, 0.35));
}


/* Projects Section */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover zoom */
.project-card:hover img {
    transform: scale(1.08);
}

/* Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.85));
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Tag */
.project-tag {
    background-color: var(--theme-color);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.project-overlay h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.project-overlay p {
    font-size: 14px;
    line-height: 1.6;
}

/* Sections */
.section-padding {
    padding: 90px 20px;
}

.section-subtitle {
    margin-top: 6px;
    margin-bottom: 40px;
    /* adjust as needed */
}

.industry-section-subtitle {
    margin-top: 8px;
    margin-bottom: 65px;
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--theme-color);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

#scrollTopBtn:hover {
    transform: translateY(-4px);
}

/* Chevron Arrow */
.chevron {
    width: 10px;
    height: 10px;
    border-left: 3px solid #fff;
    border-top: 3px solid #fff;
    transform: rotate(45deg);
}

/* About Section */
.about-image img {
    width: 100%;
    height: 340px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Section Tag */
.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(21, 91, 213, 0.1);
    color: var(--theme-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Features */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-item {
    font-size: 14px;
    color: #444;
}

/* Stats */
.about-stat h3 {
    color: var(--theme-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.about-stat span {
    font-size: 13px;
    color: #777;
}

/* Contact Section */
/* Unified Contact Wrapper */
.contact-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.contact-info-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* Cards */
.contact-card {
    padding: 40px;
}

/* Remove inner card shadow */
.contact-form,
/* .contact-info {
    box-shadow: none;
} */

.form-control:invalid {
    border-color: #dc3545;
}

.form-control:valid {
    border-color: #238f5c;
}

/* Remove browser default red outline */
input:invalid,
textarea:invalid {
    box-shadow: none;
    outline: none;
}

/* Prevent red border before submit */
.was-validated .form-control:invalid,
.form-control:invalid {
    border-color: #238f5c;
    background-image: none;
}

/* Show red border ONLY after submit */
.was-validated .form-control:invalid {
    border-color: #dc3545;
}


/* Map */
.contact-map iframe {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
}

/* Contact Icons */
.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 18px;
}

/* Mobile Friendly */
@media (max-width: 991px) {
    .contact-card {
        padding: 30px;
    }

    .contact-map iframe {
        height: 260px;
    }
}

/* Fix Submit Button */
.btn-theme {
    display: inline-block;
    background-color: var(--theme-color);
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-theme:hover {
    background-color: #0f4bb8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 91, 213, 0.35);
}

/* Footer */
.footer {
    background-color: #ffffff;
    color: #1f2937;
    padding: 80px 0 30px;
}

.footer-title {
    color: #0f172a;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 22px;
}

.footer-text {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--theme-color);
    padding-left: 4px;
}

/* Certifications */
.footer-certifications li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 14px;
    color: #475569;
}

.footer-certifications i {
    color: var(--theme-color);
    font-size: 17px;
    margin-top: 2px;
}

/* Social Icons */
.footer-social {
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(21, 91, 213, 0.1);
    color: var(--theme-color);
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--theme-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

/* Quote Button */
.btn-quote {
    background-color: #ffffff;
    color: var(--theme-color);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--theme-color);
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background-color: var(--theme-color);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Icon size */
.btn-quote i {
    font-size: 16px;
}

/* Optional hover icon movement */
.btn-quote:hover i {
    transform: translateX(2px);
}

/* Reveal Animation Base */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease, opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
}

/* When visible */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Optional variations */
.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.95);
}


/* Cards */
.card {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Theme Section */
.bg-theme {
    background-color: var(--theme-color);
    color: white;
}

/* Footer */
footer {
    background-color: #0d1b3d;
    color: #ccc;
}