/* ==============================
   GLOBAL STYLES
============================== */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ==============================
   CARD HOVER EFFECT
============================== */

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==============================
   NAVBAR STYLES
============================== */


.site-logo {
    height: 68px;
    /* desktop size */
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
    background-color: black;
}

/* Brand */
.navbar-brand {
    font-weight: bold;
    font-size: 1.4rem;
    color: #ffffff !important;
}

/* Nav links */
.navbar-nav .nav-link {
    color: #ffffff !important;
    margin-left: 38px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

/* Hover & active */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #daa520 !important;
}


/* STICKY NAVBAR ANIMATION */
.custom-navbar {
    background: transparent;
    transition: all 0.35s ease;
}

/* Navbar when scrolled */
.custom-navbar.scrolled {
    background: white;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Slight shrink effect */
.custom-navbar.scrolled .navbar-brand {
    font-size: 1.25rem;
    transition: 0.3s;
}

/* MENU TEXT TURN BLACK ON SCROLL */
.custom-navbar.scrolled .nav-link,
.custom-navbar.scrolled .navbar-brand {
    color: #000000 !important;
}

/* 1. Force Active Color (General) */
.navbar-nav .nav-link.active {
    color: #daa520 !important;
    /* Gold/Yellow */
    font-weight: 700;
}

/* 2. Force Active Color when Scrolled (White Background) */
.custom-navbar.scrolled .nav-link.active {
    color: #daa520 !important;
}

/* 3. Dropdown Highlighting */
.dropdown-item.active {
    background-color: #daa520 !important;
    /* Yellow background for the tiny menu item */
    color: #fff !important;
}


/* HERO SLIDER */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    height: 100vh;
}

.hero-slider .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay */
.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

/* Text over slider */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */
    text-align: center;
}

.hero-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 36px;
    background: #daa520;
    color: #ffffff;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #c4961c;
    transform: translateY(-2px);
    color: #000;
}


.hero-container p {
    font-size: 2rem !important;
}


.hero-container {
    padding-left: 80px;
}

/* Position arrows at extreme edges */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    z-index: 3;
    /* above overlay & text */
}

/* Move left arrow more left */
.hero-slider .carousel-control-prev {
    left: 10px;
    /* reduce to move further left */
}

/* Move right arrow more right */
.hero-slider .carousel-control-next {
    right: 10px;
    /* reduce to move further right */
}

/* HERO CONTENT ANIMATION */
.hero-animate>* {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    animation: heroReveal 1s ease forwards;
}

/* Stagger timing */
.hero-animate h1 {
    animation-delay: 0.3s;
    font-size: 2.5rem;
}

.hero-animate h2 {
    animation-delay: 0.6s;
    font-style: italic;
}

.hero-animate p {
    animation-delay: 0.9s;
    font-size: 1rem;
}

.hero-for-img {
    display: block;
    margin: 10px auto;
    max-width: 120px;
    /* adjust as needed */
    height: auto;
}


@keyframes heroReveal {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* =========================
   REVEAL BASE (VISIBLE BY DEFAULT)
========================== */
.reveal-section {
    opacity: 1;
    transform: none;
    filter: none;
}

/* =========================
   DESKTOP ONLY ANIMATION
========================== */
@media (min-width: 992px) {

    .reveal-section.animate {
        opacity: 0;
        transform: scale(0.96);
        filter: blur(6px);
    }

    .reveal-section.animate.revealed {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
        transition: all 0.9s ease;
    }
}



/* ==============================
   DROPDOWN (BOOTSTRAP + HOVER)
============================== */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown base (DO NOT hide it) */
.dropdown-menu {
    border-radius: 4px;
    overflow: hidden;
    border: none;
    min-width: 200px;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Dropdown items */
.dropdown-item {
    padding: 6px 10px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #333;
    background-color: #fff;
}

/* Dropdown hover */
.dropdown-item:hover {
    background-color: #b6d3ff;
    color: #ffffff;
}

/* ==============================
   OPTIONAL ANIMATION
============================== */

.dropdown-menu {
    animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}


/* ==============================
   ABOUT US SECTION
============================== */

.about-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
}

/* Badge */
.about-badge {
    display: inline-block;
    background: #daa520;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Title */
.about-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-title span {
    color: #daa520;
}

/* Text */
.about-text {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    text-align: left;
}

/* Stats */
.about-stats {
    display: flex;
    gap: 30px;
}

.about-stats div h3 {
    font-size: 2rem;
    color: #daa520;
    margin-bottom: 0;
}

.about-stats div span {
    font-size: 0.9rem;
    color: #666;
}

/* Right Visual */
.about-visual {
    position: relative;
    height: 380px;
}

/* Decorative circles */
.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.circle-one {
    width: 220px;
    height: 220px;
    background: #daa520;
    top: 10px;
    left: 30px;
}

.circle-two {
    width: 160px;
    height: 160px;
    background: #000;
    bottom: 30px;
    right: 40px;
}

/* Card */
.about-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    max-width: 400px;
}


.about-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card ul {
    padding-left: 0;
    list-style: none;
}

.about-card li {
    margin-bottom: 8px;
    color: #444;
}

/* Mobile */
@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 15px;
    }

    .about-visual {
        height: auto;
        margin-top: 40px;
    }

    .about-card {
        position: relative;
    }
}

/* ==============================
   PRODUCTS SECTION
============================== */

.products-section {
    padding: 20px 0;
    background: #ffffff;
}

/* Section heading */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(218, 165, 32, 0.15);
    color: #daa520;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-title span {
    color: #daa520;
}

.section-subtitle {
    max-width: 1000px;
    margin: 0 auto;
    color: #666;
    font-size: 1rem;
}

/* Product card */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    height: 320px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

/* Image */
.product-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.12);
}

/* Overlay */
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.1));
}

/* Content */
.product-content {
    position: absolute;
    bottom: 0;
    padding: 20px;
    color: #fff;
    z-index: 2;
    transform: translateY(40px);
    transition: all 0.4s ease;
}

.product-card:hover .product-content {
    transform: translateY(0);
}

.product-content h5 {
    font-weight: 600;
}

.product-content p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 5px 0;
}

/* Button */
.product-btn {
    display: inline-block;
    color: #daa520;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.product-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #daa520;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.product-btn:hover::after {
    width: 100%;
}


/* ==============================
   APPLICATIONS - IMAGE CARDS
============================== */
.applications-section {
    padding: 30px 0;
    background: linear-gradient(180deg, #f9fafb, #ffffff);
}

.app-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    /* IMPORTANT for rounded image */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.35s ease;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

/* Image wrapper */
.app-image {
    width: 100%;
    height: 180px;
    /* height is fine as you said */
    overflow: hidden;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fills width nicely */
    transition: transform 0.5s ease;
}

.app-card:hover .app-image img {
    transform: scale(1.08);
}

/* Content */
.app-content {
    padding: 10px;
}

.app-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.app-content p {
    font-size: 0.9rem;
    color: #666;
}

/* Read more */
.app-content a {
    display: inline-block;
    color: #daa520;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.app-content a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #daa520;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.app-content a:hover::after {
    width: 100%;
}

.app-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.app-card-link:hover {
    text-decoration: none;
}

.more-link {
    text-align: right;
    margin-top: 10px;
}

.more-link a {
    font-size: 1rem;
    font-weight: 600;
    color: #daa520;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
}

.more-link a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #daa520;
    transition: width 0.3s ease;
}

.more-link a:hover::after {
    width: 100%;
}

.more-link a span {
    transition: transform 0.3s ease;
}

.more-link a:hover span {
    transform: translateX(4px);
}


/* ==============================
   CONTACT LINKS SECTION
============================== */

.contact-links-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #07121f, #0b1c2d);
    color: #ffffff;
}

/* Brand text */
.contact-brand {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.contact-desc {
    color: #cfd6dd;
    max-width: 360px;
    line-height: 1.7;
}

/* Titles */
.contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Lists */
.contact-list,
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li,
.contact-info-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-list a {
    color: #cfd6dd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: #daa520;
}

/* Contact info */
.contact-info-list li {
    color: #cfd6dd;
}

/* Social icons */
.contact-social {
    display: flex;
    gap: 14px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: #daa520;
    border-color: #daa520;
    color: #000;
}

/* ==============================
   CONTACT FORM (ONLY FORM PART)
============================== */

/* Center contact form column */
#contact-us .col-lg-7 {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}


.contact-form-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
}

.contact-form-card .form-control::placeholder {
    color: #666666;
}

/* Inputs & textarea */
.contact-form-card .form-control {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: black;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
}

.contact-form-card .form-control:focus {
    background: transparent;
    border-color: #daa520;
    box-shadow: none;
    color: black;
}

/* Textarea */
.contact-form-card textarea {
    resize: none;
}

/* Submit button */
.contact-btn {
    background: #daa520;
    color: #000;
    border: none;
    padding: 12px 34px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #c4961c;
    transform: translateY(-2px);
}

/* ==============================
   FOOTER
============================== */

.site-footer {
    background: #050d18;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    text-align: center;
}

.footer-text {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.footer-subtext {
    color: #aeb6bf;
    font-size: 0.8rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-text {
        font-size: 0.9rem;
    }

    .footer-subtext {
        font-size: 0.8rem;
    }
}

.email-link {
    text-decoration: none;
    color: inherit;
    /* keeps your current text color */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.email-link:hover {
    color: #daa520;
    /* gold on hover (optional) */
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-item span {
    line-height: 1.6;
}




/* Spacing on mobile */
@media (max-width: 768px) {
    .contact-form-card {
        padding: 30px 24px;
        margin-top: 30px;
    }
}


/* Mobile */
@media (max-width: 768px) {
    .contact-brand {
        font-size: 1.8rem;
    }
}



/* Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .product-card {
        height: 360px;
    }
}


/* MOBILE FIX FOR HERO ARROWS */
@media (max-width: 768px) {

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        top: auto;
        bottom: 100px;
        transform: none;
        width: 44px;
        height: 44px;
    }

    .hero-slider .carousel-control-prev {
        left: 15px;
    }

    .hero-slider .carousel-control-next {
        right: 15px;
    }

    .hero-content {
        justify-content: center;
        /* center horizontally */
        text-align: center;
    }

    .hero-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 auto;
        max-width: 900px;
    }

    .hero-container p {
        margin-left: auto;
        margin-right: auto;
    }

}

/* MOBILE NAV MENU BACKGROUND FIX */
@media (max-width: 991px) {
    .navbar-toggler {
        border-color: #000;
    }

    .navbar-toggler-icon {
        filter: invert(1);
    }

    .custom-navbar {
        background: white;
    }

    .navbar-nav .nav-link {
        color: #000000 !important;
        /* black text */
    }

    .navbar-brand {
        color: #000000 !important;
    }

    .navbar-collapse {
        background: white;
        padding: 10px;
        border-radius: 0 0 3px 3px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    /* 🔥 key fix */
    gap: 10px;
    margin-bottom: 10px;
    text-align: left;
}

.about-list .tick {
    color: #daa520;
    /* gold tick */
    font-weight: bold;
    flex-shrink: 0;
    /* prevent moving */
    margin-top: 3px;
    /* aligns tick nicely */
}


@media (max-width: 768px) {
    .about-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto;
        text-align: center;
    }

    .about-stats {
        align-items: center;
        text-align: center;
    }

    .about-stats div {
        width: 100%;
    }

    .about-visual {
        height: auto;
        /* REMOVE fixed height */
        margin-top: 20px;
        /* reduce spacing */
    }

    .circle {
        display: none;
    }

    .about-section {
        padding-bottom: 20px;
    }
}

/* ==============================
   CONTACT US – MOBILE CENTER ONLY
============================== */
@media (max-width: 768px) {

    /* Brand text */
    #contact-us .contact-brand,
    #contact-us .contact-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Section titles */
    #contact-us .contact-title {
        text-align: center;
    }

    /* Explore & Products lists */
    #contact-us .contact-list,
    #contact-us .contact-info-list {
        text-align: center;
    }

    #contact-us .contact-list li,
    #contact-us .contact-info-list li {
        text-align: center;
    }

    /* Social icons */
    #contact-us .contact-social {
        justify-content: center;
    }

    .site-logo {
        height: 46px;
    }
}

/* ==============================
   NAVBAR INQUIRY BUTTON
============================== */

.nav-inquiry {
    background-color: #daa520;
    /* gold */
    color: #000 !important;
    width: 120px;
    height: 40px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
    display: inline-flex;
}

/* Hover effect */
.nav-inquiry:hover {
    background-color: #c4961c;
    color: #000 !important;
    transform: translateY(-1px);
}

/* Keep button style when navbar turns white */
.custom-navbar.scrolled .nav-inquiry {
    color: #000 !important;
}

/* Mobile spacing fix */
@media (max-width: 991px) {
    .nav-inquiry {
        background-color: transparent;
        color: #000 !important;
        width: auto;
        height: auto;
        border-radius: 0;
        padding: 10px 0;
        display: block;
        /* behave like normal nav link */
        justify-content: flex-start;
        align-items: center;
    }
}

/* FIX MOBILE NAVBAR SCROLLING */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: calc(100vh - 70px);
        /* screen height minus navbar */
        overflow-y: auto;
        /* ENABLE SCROLL */
    }
}

/* HOVER DROPDOWN — DESKTOP ONLY */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}



/* new hero section for all page */
.hero-single {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../assets/backgroundTwo.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    padding-left: 0 !important;
    /* Removes the 80px offset from index page */
    max-width: 900px;
    /* Controls how wide the H1 spreads */
    margin: 0 auto;
}

/* Ensure content stays aligned */
.hero-content {
    width: 100%;
    z-index: 2;
}

.hero-container p {
    font-size: 1.5rem;
    line-height: 1.3;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .hero-container p {
        margin: 0 auto;
    }

    /* Stagger timing */
    .hero-animate h1 {
        font-size: 2rem;
    }

    .hero-animate h2 {

        font-style: italic;
    }

    .hero-animate p {
        font-size: 1.2rem !important;
    }
}

/* MOBILE: force dark logo always */
@media (max-width: 991px) {
    #siteLogo {
        content: url('../assets/logo.png');
    }
}

.add-img {
    width: 20px;
    height: 20px;
}


/* Fix anchor scroll for fixed navbar */
[id] {
    scroll-margin-top: 90px;
    /* navbar height */
}