:root {
    --primary-blue: #438cf9;
    --dark-blue: #0a58ca;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    padding-top: 72px;
    height: 100%;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1,
h2,
h5 {
    font-weight: 600;
}

.navbar {
    background-color: #438cf9;
}

.nav-search-btn {
    background: transparent !important;
    border: none !important;
    padding: 6px 10px !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
}

.nav-search-btn:hover,
.nav-search-btn:focus {
    color: #dbe7ff;
    outline: none;
}

/* Better spacing on mobile */
@media (max-width: 991px) {
    .navbar-nav {
        gap: 8px;
    }
}

.hero-section {
    position: relative;
}

.hero-img {
    height: 90vh;
    object-fit: cover;
}

/* Dark overlay for readability */
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(61, 61, 61, 0.65);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    text-align: left;
    max-width: 600px;
    bottom: 20%;
}

.carousel-caption h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

/* Mobile alignment */
@media (max-width: 768px) {
    .carousel-caption {
        text-align: center;
        left: 10%;
        right: 10%;
        bottom: 15%;
    }
}


.about-section img {
    width: 650px;
    max-height: 400px;
    object-fit: cover;
    border-radius: 0px 200px 200px 0px;
}

.service-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    height: 100%;
    transition: transform 0.2s ease;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #438cf9;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(67, 140, 249, 0.18);
}

.contact-cta {
    background: var(--primary-blue);
    color: #fff;
    padding: 60px 20px;
}


.footer-logo {
    width: 150px;
    height: auto;
}

.footer-social {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-social {
        justify-content: flex-end;
    }
}

.social-icon {
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #438cf9;
    transform: translateY(-2px);
}

.footer-bottom {
    font-size: 0.85rem;
    opacity: 0.85;
}

.footer-tagline {
    font-size: 0.7rem;
    line-height: 1.4;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 320px;
}

.product-box {
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    height: 100%;
    border-left: 4px solid #438cf9;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(67, 140, 249, 0.18);
}

.product-box h6 {
    font-weight: 600;
    margin-bottom: 8px;
}

.product-box p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

.product-icon {
    font-size: 1.8rem;
    color: #438cf9;
    margin-bottom: 12px;
    display: inline-block;
}

@media (max-width: 768px) {

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-img {
        height: 75vh;
    }

    .carousel-caption {
        max-width: 500px;
        bottom: 18%;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .hero-img {
        height: 40vh;
    }

    .carousel-caption {
        text-align: center;
        left: 8%;
        right: 8%;
        bottom: 12%;
    }

    .about-section {
        text-align: center;
    }

    .about-section img {
        margin-top: 20px;
        border-radius: 16px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-tagline {
        margin: 0 auto;
    }
}

.timeline {
    list-style: none;
    padding-left: 0;
}

.timeline li {
    padding: 10px 0;
    border-left: 3px solid #438cf9;
    padding-left: 16px;
    margin-left: 8px;
}

.about-section-block {
    display: none;
}

.about-section-block.active {
    display: block;
}

/*About page*/
/* ===== ABOUT COMBINED SECTION ===== */
.about-combined {
    background-color: #ffffff;
}

/* TOP IMAGE BLOCK */
.about-hero {
    position: relative;
    height: 100vh;
    background-image: url("../img/AboutBanner.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 20px;
    color: #ffffff;
}

.about-hero-content h1 {
    font-size: clamp(4rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 16px;
}

.about-hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* BOTTOM CARDS */
.about-cards-wrapper {
    background-color: #f8faff;
    padding: 80px 0;
}

.about-img-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.about-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 28px;
    height: 100%;
    box-shadow: 0 16px 40px rgba(67, 140, 249, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content-card h3 {
    font-weight: 600;
    margin-bottom: 16px;
}

.about-content-card h3 span {
    color: #438cf9;
}

.about-content-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 24px;
}

@media (max-width: 768px) {

    .about-hero {
        height: 55vh;
    }

    .about-hero-content {
        max-width: 90%;
    }

    .about-hero-content p {
        font-size: 0.95rem;
    }

    .about-cards-wrapper {
        padding: 60px 0;
    }

    .about-content-card {
        padding: 32px 20px;
        text-align: center;
    }

    .about-img-card {
        max-height: 260px;
    }
}

@media (max-width: 768px) {

    .about-hero {
        height: 55vh;
    }

    .about-hero-content {
        max-width: 90%;
    }

    .about-hero-content p {
        font-size: 0.95rem;
    }

    .about-cards-wrapper {
        padding: 60px 0;
    }

    .about-content-card {
        padding: 32px 20px;
        text-align: center;
    }

    .about-img-card {
        max-height: 260px;
    }
}

@media (max-width: 576px) {

    .about-hero {
        height: 45vh;
    }

    .about-hero-content h1 {
        font-size: 1.6rem;
    }

    .about-hero-content p {
        font-size: 0.9rem;
    }

    .about-cards-wrapper {
        padding: 48px 0;
    }

    .about-img-card {
        max-height: 220px;
    }

    .about-content-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 420px) {

    .about-hero-content h1 {
        font-size: 1.4rem;
    }

    .about-hero-content p {
        font-size: 0.85rem;
    }
}

/* ===== VISION SECTION ===== */
.vision-section {
    background-color: #ffffff;
}

.vision-title {
    font-weight: 600;
    line-height: 1.3;
}

.vision-title span {
    color: #438cf9;
}

.vision-subtitle {
    max-width: 700px;
    margin: 16px auto 0;
    font-size: 0.95rem;
    color: #666;
}

/* Tabs */
.vision-tabs {
    display: inline-flex;
    gap: 8px;
    background: #f1f5ff;
    padding: 6px;
    border-radius: 40px;
    margin-top: 28px;
}

.vision-tab {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
}

.vision-tab.active {
    background: #438cf9;
    color: #fff;
}

/* Content */
.vision-content {
    display: none;
}

.vision-content.active {
    display: block;
}

.vision-content h3 {
    font-weight: 600;
    margin-bottom: 12px;
}

.vision-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 16px;
}

/* Checklist */
.vision-list {
    list-style: none;
    padding: 0;
}

.vision-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #444;
}

.vision-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #438cf9;
    font-size: 0.9rem;
}

/* Images */
.vision-images {
    display: flex;
    gap: 20px;
}

.vision-images img {
    width: 50%;
    border-radius: 20px;
    object-fit: cover;
}

@media (max-width: 768px) {

    .vision-images {
        margin-top: 40px;
        flex-direction: row;
        gap: 8px;
    }

    .vision-title {
        font-size: 1.6rem;
    }

    .vision-images img {
        width: 49%;
        border-radius: 20px;
        object-fit: cover;
    }
}

/* ===== MILESTONES SECTION ===== */
.milestones-section {
    background-color: #ffffff;
    /* white page background */
}

.milestones-title {
    font-weight: 600;
}

.milestones-subtitle {
    font-size: 0.95rem;
    color: #666;
    max-width: 600px;
    margin: 12px auto 0;
}

/* Card Style */
.milestone-card {
    position: relative;
    background: #0f172a;
    /* dark card */
    color: #ffffff;
    border-radius: 18px;
    padding: 32px 32px 32px 80px;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Number */
.milestone-number {
    position: absolute;
    top: 24px;
    left: 32px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Content */
.milestone-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.milestone-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {

    .milestone-card {
        padding: 28px 20px 28px 64px;
    }

    .milestone-number {
        left: 20px;
    }
}

@media (max-width: 576px) {

    .milestone-card {
        padding: 24px;
    }

    .milestone-number {
        position: static;
        display: block;
        margin-bottom: 12px;
    }
}

/* ===== INNOVATION SECTION ===== */
.innovation-section {
    background: linear-gradient(180deg, #ffffff, #f8faff);
}

.innovation-title {
    font-weight: 600;
    line-height: 1.3;
}

.innovation-title span {
    color: #438cf9;
    position: relative;
}

.innovation-title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;
    background: #438cf9;
    opacity: 0.3;
}

.innovation-subtitle {
    max-width: 720px;
    margin: 16px auto 0;
    font-size: 0.95rem;
    color: #666;
}

/* Images */
.innovation-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.innovation-img.large {
    height: 340px;
}

.innovation-img.small {
    height: 280px;
}

.innovation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge */
.innovation-badge {
    background: linear-gradient(135deg, #438cf9, #6aa5ff);
    color: #ffffff;
    border-radius: 40px;
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(67, 140, 249, 0.4);
}

.innovation-badge p {
    font-size: 0.8rem;
    margin: 0;
}

.avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
}

.avatars img:first-child {
    margin-left: 0;
}

@media (max-width: 991px) {

    .innovation-img.large,
    .innovation-img.small {
        height: 260px;
    }

    .innovation-badge {
        margin: 24px 0;
    }
}

@media (max-width: 576px) {

    .innovation-title {
        font-size: 1.6rem;
    }

    .innovation-img.large,
    .innovation-img.small {
        height: 220px;
    }

    .innovation-badge {
        width: 100%;
        border-radius: 20px;
    }
}

/* ===== QUALITY SECTION ===== */
.quality-section {
    background: linear-gradient(180deg, #ffffff, #f8faff);
}

.quality-title {
    font-weight: 600;
    line-height: 1.3;
}

.quality-title span {
    color: #438cf9;
    position: relative;
}

.quality-title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;
    background: #438cf9;
    opacity: 0.3;
}

.quality-subtitle {
    max-width: 720px;
    margin: 16px auto 0;
    font-size: 0.95rem;
    color: #666;
}

/* Content */
.quality-content h3 {
    font-weight: 600;
    margin-bottom: 12px;
}

.quality-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 16px;
}

/* Checklist */
.quality-list {
    list-style: none;
    padding: 0;
}

.quality-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #444;
}

.quality-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #438cf9;
}

/* Images */
.quality-images {
    display: flex;
    gap: 20px;
}

.quality-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quality-img.large {
    height: 320px;
    flex: 1.2;
}

.quality-img.small {
    height: 260px;
    flex: 1;
}

.quality-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {

    .quality-images {
        margin-top: 32px;
    }

    .quality-img.large {
        height: 260px;
    }

    .quality-img.small {
        height: 220px;
    }
}

@media (max-width: 576px) {

    .quality-title {
        font-size: 1.6rem;
    }

    .quality-images {
        flex-direction: column;
    }

    .quality-img.large,
    .quality-img.small {
        height: 220px;
    }
}

/* ===============================
   PRODUCT PAGE STYLES
================================ */

/* ---------- PRODUCT HERO ---------- */
.product-hero {
    position: relative;
    height: 100vh;
    background-image: url("../img/product.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.product-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 20px;
    color: #ffffff;
}

.product-hero-content h1 {
    font-size: clamp(4rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 16px;
}

.product-hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* ---------- PRODUCT CATEGORIES ---------- */
.product-categories {
    background-color: #ffffff;
}

.product-category-card {
    background: #0f172a;
    border-radius: 18px;
    padding: 30px 22px;
    height: 100%;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(67, 140, 249, 0.18);
}

.product-category-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.product-category-card p {
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.6;
}

/* ---------- PRODUCT LIST ---------- */
.product-list {
    background-color: #f8faff;
}

.product-item {
    background: #ffffff;
    padding: 26px 24px;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.product-item h6 {
    font-weight: 600;
    margin-bottom: 6px;
}

.product-item p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* ---------- PRODUCT CTA ---------- */
.product-cta {
    background: linear-gradient(135deg, #438cf9, #6aa5ff);
    color: #ffffff;
}

.product-cta h2 {
    font-weight: 600;
    margin-bottom: 12px;
}

.product-cta p {
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* ===============================
   RESPONSIVE STYLES
================================ */

/* Tablets */
@media (max-width: 991px) {

    .product-hero {
        padding: 90px 0 70px;
        height: 30vh;
    }

    .product-category-card {
        padding: 26px 20px;
    }

    .product-item {
        padding: 24px 20px;
    }
}

/* Mobile */
@media (max-width: 576px) {

    .product-hero {
        padding: 80px 0 60px;
        height: 30vh;
    }

    .product-hero h1 {
        font-size: 1.8rem;
    }

    .product-hero p {
        font-size: 0.95rem;
    }

    .product-category-card,
    .product-item {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }
}

/* ===============================
   SERVICES PAGE STYLES
================================ */

/* Hero */
.service-hero {
    position: relative;
    height: 100vh;
    background-image: url("../img/service.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 20px;
    color: #ffffff;
}

.service-hero-content h1 {
    font-size: clamp(4rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 16px;
}

.service-hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Core Services */
/* ===== SERVICE IMAGE CARDS ===== */

.service-img-card {
    position: relative;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    /* IMPORTANT for zoom */
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

/* Image */
.service-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Overlay */
.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.25));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #ffffff;
    transition: background 0.4s ease;
}

.service-overlay h5 {
    font-weight: 600;
    margin-bottom: 6px;
}

.service-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* Hover effects */
.service-img-card:hover img {
    transform: scale(1.12);
    /* zoom inside card */
}

.service-img-card:hover .service-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.35));
}


/* Process */
.process-step {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 22px;
    height: 100%;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.process-step span {
    display: inline-block;
    font-weight: 600;
    color: #438cf9;
    margin-bottom: 10px;
}

.process-step h6 {
    font-weight: 600;
    margin-bottom: 6px;
}

.process-step p {
    font-size: 0.9rem;
    color: #555;
}

/* CTA */
.service-cta {
    background: linear-gradient(135deg, #438cf9, #6aa5ff);
    color: #ffffff;
}

.service-cta h2 {
    font-weight: 600;
    margin-bottom: 12px;
}

.service-cta p {
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 576px) {
    .service-hero {
        padding: 90px 0 70px;
        height: 30vh;
    }

    .service-card,
    .process-step {
        padding: 24px 18px;
    }
}

/* ===============================
   CONTACT PAGE STYLES
================================ */

.contact-section {
    background: #ffffff;
}

/* LEFT IMAGE */
.contact-image {
    background-image: url("../img/contact.jpg");
    background-size: cover;
    background-position: center;
}

/* FORM WRAPPER */
.contact-form-wrapper {
    max-width: 460px;
    width: 100%;
    margin: auto;
    padding: 40px;
}

.contact-form-wrapper h2 {
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-form-wrapper p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 28px;
}

/* FORM */
.contact-form .form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    border-color: #438cf9;
    box-shadow: 0 0 0 0.15rem rgba(67, 140, 249, 0.2);
}

@media (max-width: 768px) {

    .contact-form-wrapper {
        max-width: 420px;
        padding: 28px;
    }

    .contact-image {
        height: 30vh;
        display: block;
    }
}

@media (max-width: 576px) {

    .contact-form-wrapper {
        max-width: 100%;
        padding: 24px 20px;
    }

    .contact-form-wrapper h2 {
        font-size: 1.6rem;
    }

    .contact-form-wrapper p {
        font-size: 0.9rem;
    }

    .contact-image {
        height: 30vh;
        display: block;
    }
}

@media (max-width: 991px) {

    .contact-image {
        height: 30vh;
        display: block;
    }

    .contact-form-wrapper {
        padding: 32px;
    }
}

@media (max-width: 420px) {

    .contact-form-wrapper h2 {
        font-size: 1.4rem;
    }

    .contact-image {
        height: 30vh;
        display: block;
    }
}