
  /**********************************/
/********** General CSS ***********/
/**********************************/
body {
    color: #555555;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    background: #ffffff;
    margin: 0%;
    padding: 0px;
    padding-top: 100px;
}


a {
    color: #FFD662;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #333333;
    outline: none;
    text-decoration: none;
}

p {
    color: #555555;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333333;
    font-family: 'Oswald', sans-serif;
}

/* TOP BAR */
.top-bar {
    position: relative;   /* NOT fixed */
    top: auto;
    width: 100%;
    z-index: auto;
    background: #387DF8;          /* light background */
    color: #000;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}


/* LEFT SIDE */
.top-left {
    display: flex;
    align-items: center;
    gap: 30px;                    /* space between items */
}

.top-left span {
    display: flex;
    align-items: center;
    gap: 8px;                     /* space between icon & text */
}

.top-left i {
    color: #000;
    font-size: 13px;
}

/* LINKS */
.top-bar a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* RIGHT SIDE (SOCIAL ICONS) */
.top-right {
    display: flex;
    align-items: center;
    gap: 18px;                    /* space between icons */
}

.top-right a {
    color: #000;
    font-size: 15px;
    transition: 0.3s ease;
}

.top-right a:hover {
    opacity: 0.7;
}

/**********************************
*********** NAV BAR CSS ***********
**********************************/

/* MAIN NAV WRAPPER */
#nav {
    position: fixed;        /* FLOAT ABOVE HEADER */
    top: 0;
    left: 0;
    width: 100%;
    min-height: 158px;
    height: 80px;

    background: white;
    box-shadow: none;
    z-index: 5;

    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}


/* NAVBAR CONTAINER */
#nav .navbar {
   max-width: 1140px;
    margin: auto;
    padding: 5px 0;
    background: transparent !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO IMAGE */
#nav .navbar img.certificates {
     width: 100px;
    height: auto;
    display: block;
}

/* CERTIFICATE IMAGE */
#nav .navbar img.certificate {
    width: 200px;
    height: auto;
    display: block;
}

.certificat {
    width: 100px;
    margin-left: 60px;
    height: auto;
    display: block;
}


/* NAV LINKS */
#nav .navbar-nav {
    display: flex;
    align-items: center;
    margin-left: 170px;
   
}

#nav .navbar-light .nav-link {
   position: relative;
    color: #0a2e6f;             /* DARK FOR HEADER IMAGE */
    font-size: 20px;
    font-weight: 700;
    padding: 12px 18px;
    letter-spacing: 0.5px;
     white-space: nowrap;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* UNDERLINE EFFECT */
#nav .navbar-light .nav-link::after {
    content: "";
    position: absolute;
    width: 36px;
    height: 2px;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    background: #0a2e6f;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#nav .navbar-light .nav-link:hover::after,
#nav .navbar-light .nav-link.active::after {
      opacity: 1;
}

#nav .navbar-light .nav-link:hover,
#nav .navbar-light .nav-link.active {
    color: #0081a1;
}

/* TOGGLER */
.navbar-toggler {
    border: none;
    outline: none;
}


/* ===== MEGA DROPDOWN ===== */
/* ===== MEGA DROPDOWN ===== */
.mega-dropdown {
    position: relative;
}

/* MENU PANEL */
.mega-menu {
    position: fixed;
    top: 130px;
    left: 20%;
    right: 2%;
    padding: 18px;

    background: linear-gradient(135deg, #3a99dd, #ffffff 65%);
    border-radius: 16px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.35s ease;

    z-index: 9999;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* SHOW MENU */
.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* GRID */
.mega-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
}

/* PRODUCT CARD */
.mega-item {
    background: linear-gradient(to bottom right, #ffffff, #dbeeff);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    transition: 0.3s ease;
}

/* IMAGE HOLDER (IMPORTANT FIX) */
.mega-img {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* TEXT */
.mega-item h4 {
    font-size: 13px;
    color: #0d6efd;
    margin: 6px 0 2px;
}

.mega-item span {
    font-size: 11px;
    color: #444;
}

/* HOVER */
.mega-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(13,110,253,0.25);
}
/* ================= MOBILE NAV FIX ================= */
/* ================= MOBILE RESPONSIVE (MERGED) ================= */
/* ================= MOBILE ONLY ================= */
@media (max-width: 991px) {

    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* ================= TOP BAR ================= */
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #387DF8;
        padding: 4px 8px;
        font-size: 12px;
        z-index: 1200;
    }

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    .email--box{
        margin-left: -40px;
    }

    .top-left {
        display: flex;
        flex-direction: column;
        gap: 2px;
        text-align: justify;
    text-justify: inter-word;

    word-break: normal;       /* prevent word cutting */
    overflow-wrap: normal;    /* keep words intact */
    hyphens: none;            /* disable hyphenation */
    }
    .phonesize{
        font-size: 8px;
    }
    .emailsize{
        margin-left: -40px;
    }


    .top-right {
        display: flex;
        gap: 12px;
    }

    /* ================= NAV ================= */
     #nav {
        position: relative;
        z-index: 1100;
        min-height: 50px;   /* smaller height */
        padding: 4px 0;
    }

    #nav .navbar {
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        background: #ffffff !important;
        box-shadow: 0 3px 8px rgba(0,0,0,0.12);
        border-bottom: none !important;
        margin: 0;
        padding: 2px 0px;
        z-index: 1100;
    }

    #nav .navbar .container {
        position: relative;   /* anchor for absolute positioning */
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        padding-right: 10px;
    }

    /* ================= LOGO ================= */
    #nav .navbar img.certificate {
        width: 150px;
        height: auto;
        position: relative;
        z-index: 1;
    }

     #nav .navbar img.certificat{
        width: 63px !important;
        margin-left: -70px !important;
     }
     
    /* ================= CERTIFICATE IMAGE (CENTER LAYER) ================= */
    #nav .navbar img.certificates {
        display: block !important;
        position: absolute;
        left: 75%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: auto;
        z-index: 2;
        pointer-events: none;
    }

    /* ================= NAV TOGGLER ================= */
    .navbar-toggler {
        padding: 4px 6px;
        border: 1px solid #ccc;
        position: relative;
        z-index: 3;
    }

    .navbar-toggler-icon {
        width: 18px;
        height: 18px;
    }

    /* ================= MENU ================= */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #eee;
        z-index: 1000;
    }

    .navbar-nav {
        margin-left: 0 !important;
        padding: 0px;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar-nav .nav-item {
        flex: 1;
        text-align: center;
        min-width: 0;
    }

    .navbar-nav .nav-link {
        font-size: 12px !important;
        padding: 4px 0px;
        color: #0a2e6f;
        white-space: nowrap;
        text-transform: uppercase;
        overflow: hidden;
    }

    /* ================= REMOVE MEGA MENU ================= */
    .mega-menu,
    .mega-dropdown:hover .mega-menu {
        display: none !important;
    }

    .mega-dropdown > a::after {
        display: none;
    }

    /* ================= PAGE OFFSET ================= */
    body {
        padding-top: 30px;
    }
}


/* WhatsApp Fixed Square Box */
.whatsapp-box {
    position: fixed;
    right: 0;
    bottom: 70px;

    height: 56px;
    width: 56px;                 /* logo visible before hover */
    background: #25d366;
    color: #fff;

    display: flex;
    align-items: center;

    font-size: 28px;
    z-index: 9999;

    border-radius: 6px 0 0 6px;
    overflow: hidden;

    transition: width 0.35s ease;
}

/* WhatsApp Icon (always visible) */
.whatsapp-box i {
    width: 56px;
    text-align: center;
    flex-shrink: 0;
}

/* Text hidden before hover */
.whatsapp-box span {
    white-space: nowrap;
    opacity: 0;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

/* Hover – slide left */
.whatsapp-box:hover {
    width: 170px;
}

/* Show text on hover */
.whatsapp-box:hover span {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-box {
        width: 48px;
        height: 48px;
        bottom: 60px;
    }

    .whatsapp-box i {
        width: 48px;
        font-size: 24px;
    }

    /* Disable hover expand on mobile */
    .whatsapp-box:hover {
        width: 48px;
    }

    .whatsapp-box span {
        display: none;
    }
}

/* Phone Fixed Square Box */
.phone-box {
    position: fixed;
    right: 0;
    bottom: 210px;              /* place above Email */

    height: 56px;
    width: 56px;
    background: #28a745;        /* call green */
    color: #fff;

    display: flex;
    align-items: center;

    font-size: 24px;
    z-index: 9999;

    border-radius: 6px 0 0 6px;
    overflow: hidden;

    transition: width 0.35s ease;
}

/* Icon always visible */
.phone-box i {
    width: 56px;
    text-align: center;
    flex-shrink: 0;
}

/* Text hidden before hover */
.phone-box span {
    white-space: nowrap;
    opacity: 0;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

/* Hover – slide left */
.phone-box:hover {
    width: 150px;
}

/* Show text on hover */
.phone-box:hover span {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .phone-box {
        width: 48px;
        height: 48px;
        bottom: 200px;
    }

    .phone-box i {
        width: 48px;
        font-size: 22px;
    }

    /* Disable expand on mobile */
    .phone-box:hover {
        width: 48px;
    }

    .phone-box span {
        display: none;
    }
}


/* Email Fixed Square Box */
.email-box {
    position: fixed;
    right: 0;
    bottom: 140px;              /* place above WhatsApp */

    height: 56px;
    width: 56px;
    background: #0072c6;        /* email blue */
    color: #fff;

    display: flex;
    align-items: center;

    font-size: 26px;
    z-index: 9999;

    border-radius: 6px 0 0 6px;
    overflow: hidden;

    transition: width 0.35s ease;
}

/* Icon always visible */
.email-box i {
    width: 56px;
    text-align: center;
    flex-shrink: 0;
}

/* Text hidden before hover */
.email-box span {
    white-space: nowrap;
    opacity: 0;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

/* Hover – slide left */
.email-box:hover {
    width: 160px;
}

/* Show text on hover */
.email-box:hover span {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .email-box {
        width: 48px;
        height: 48px;
        bottom: 130px;
    }

    .email-box i {
        width: 48px;
        font-size: 22px;
    }

    /* Disable expand on mobile */
    .email-box:hover {
        width: 48px;
    }

    .email-box span {
        display: none;
    }
}


/* ****************************** */
/******** CONTACT SECTION ********/
/********************************/

#contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fbff, #e6f2ff);
}

/* HEADER */
#contact-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

#contact-section h1 {
    font-weight: 700;
    color:#000000;
}

#contact-section p {
    color: #555;
    text-align: justify;
    text-justify: inter-word;

    word-break: normal;       /* prevent word cutting */
    overflow-wrap: normal;    /* keep words intact */
    hyphens: none;            /* disable hyphenation */
}

/* INFO BOX */
.contact-info {
    background: #ffffff;
    padding: 45px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(13, 110, 253, 0.15);
}

.contact-info h2 {
    color: #0d6efd;
    margin-bottom: 15px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 12px;
    font-size: 15px;
}

.contact-info i {
    color: #0d6efd;
    margin-right: 10px;
}

/* FORM */
.contact-form {
    background: #ffffff;
    padding: 45px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(13, 110, 253, 0.15);
}

/* keep original input styles */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
}

/* textarea */
.contact-form textarea {
    min-height: 110px;
    resize: none;
}

/* focus border */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0d6efd;
}

/* BUTTON */
.contact-btn {
    background: linear-gradient(135deg, #0d6efd, #40f7f7);
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.4);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

/* BUTTON VISIBLE ON SCROLL */
.contact-btn.show {
    opacity: 1;
    transform: translateY(0);
}

/* HOVER */
.contact-btn:hover {
    transform: translateY(-3px);
}

/* new wrapper for heading background */
.heading-bg {
    position: relative;
    width: 100%;
    height: 200px;
    padding: 60px 20px;
    background: url("../img/contact-bg.jpg") center/cover no-repeat;
    text-align: center;
    overflow: hidden;
}

/* transparent overlay */
.heading-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    z-index: 1;
}

/* heading text above overlay */
.heading-bg h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #000;
}

/* mobile */
@media (max-width: 576px) {
    .heading-bg {
        padding: 40px 15px;
    }

    .heading-bg h1 {
        font-size: 28px;
        letter-spacing: 3px;
    }
}

/* ================= FLOATING LABEL FIX ================= */

/* FLOATING INPUT GROUP */
.input-group {
    position: relative;
    margin-bottom: 18px;
}

/* INPUT & TEXTAREA (override spacing for floating label) */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    background: transparent;
}

/* LABEL */
.input-group label {
    position: absolute;
    left: 14px;
    top: 40%;
    transform: translateY(-50%);
    color: #777;
    font-size: 14px;
    pointer-events: none;
    background: #ffffff;
    padding: 0 6px;
    transition: all 0.25s ease;
}

/* FLOAT ON FOCUS OR WHEN FILLED (FIXED) */
.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
    top: -6px;
    font-size: 12px;
    color: #0d6efd;
}

/* BORDER ON FOCUS */
.input-group input:focus,
.input-group textarea:focus {
    border-color: #0d6efd;
}

/********************************/
/******** SCROLL ANIMATION *******/
/********************************/

.slide-left,
.slide-right {
    opacity: 0;
    transition: all 0.8s ease;
}

.slide-left {
    transform: translateX(-60px);
    margin-bottom: 20px;
}

.slide-right {
    transform: translateX(60px);
}

.slide-left.show,
.slide-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* APPLICATION */
.app-box {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.app-box.show {
    opacity: 1;
    transform: translateY(0);
}


/* Footer Section */
.footer-section {
    background: #00356B; /* very light blue */
    color: #333;
}
/* Headings */
.footer-section h4 {
    color: #1e88e5; /* light blue */
    border-color: #90caf9 !important;
}


/* Paragraph & Text */
.footer-section p {
    color: #d8d8d8;
     text-align: justify;
    text-justify: inter-word;
}

/* Icons */
.footer-section i {
    color: #1e88e5;
}
/* Links */
.footer-section a {
    color: #1e88e5;
    text-decoration: none;
}

.footer-section a:hover {
    color: #1565c0;
}

/* Phone link color fix */
.footer-section .phone-link {
    color: #d8d8d8 !important;
    text-decoration: none;
}

/* Prevent blue/purple on hover & visited */
.footer-section .phone-link:hover,
.footer-section .phone-link:focus,
.footer-section .phone-link:visited {
    color: #d8d8d8;
    text-decoration: none;
}
/* ================= FOOTER BUTTONS ================= */

/* Primary button base */
.footer-section .btn-primary {
    background-color: #1e88e5;
    border-color: #1e88e5;
    margin: 2%;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.25s ease,
        box-shadow 0.3s ease;
}

.footer-section .btn-primary:hover {
    background-color: #1565c0;
    border-color: #1565c0;
}

/* ================= SOCIAL MEDIA BUTTONS ================= */

/* Default social button background */
.footer-section .btn-lg-square {
    background: #e3f2fd;
    color: #1e88e5;
}

.footer-section .btn-lg-square:hover {
    background: #70767a;
    color: #fff;
}
/* ================= CIRCLE SIZE CONTROL ================= */

/* Force perfect circle + smaller size */
.footer-section .social-simbol .btn {
    width: 42px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    /* animation base */
    background-color: transparent;
    border: 2px solid #1e88e5;
    transition:
        background-color 0.3s ease,
        transform 0.25s ease,
        box-shadow 0.3s ease;
}

/* Icon default size & color */
.footer-section .social-simbol .btn i {
    font-size: 18px;
    line-height: 1;
    color: #1e88e5;
    transition: color 0.3s ease;
}

/* ================= HOVER EFFECT (BLUE + GLOW + BLACK ICON) ================= */

.footer-section .social-simbol .btn:hover {
    background-color: #1e88e5; /* blue bg */
    transform: scale(1.15);
    box-shadow:
        0 0 10px rgba(30, 136, 229, 0.6),
        0 0 20px rgba(30, 136, 229, 0.4),
        0 0 30px rgba(30, 136, 229, 0.2); /* glow */
}

/* Icon turns black on hover */
.footer-section .social-simbol .btn:hover i {
    color: #000;
}

/* Reduce spacing between icons */
.footer-section .social-simbol {
    gap: 5px;
    overflow: visible;
}


/* Google Map */
.map-container iframe {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Copyright Section */
.container-fluid.border-top {
    background: #00356B;
    border-color: #bbdefb !important;
}

.container-fluid.border-top p {
    color: #d8d8d8;
    
}

.container-fluid.border-top a {
    color: #1e88e5;
    font-weight: 600;
}
.footer-section {
    padding-top: 30px;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Inner container spacing */
.footer-section .container {
    padding-bottom: 20px;
}

/* Copyright section */
.copyright-section {
    padding: 10px 0;
    margin: 0;
}

/* Ensure no gap after footer */
.footer-section + div {
    margin-bottom: 0 !important;
}
/* mobile responsiveness */
/* =========================
   MOBILE & TABLET FOOTER
========================= */
@media (max-width: 768px) {

   /* ================= RESET ================= */
    .footer-section h4,
    .footer-section p,
    .footer-section a {
        text-align: left;
        font-size: 13px;
         text-align: justify;
    text-justify: inter-word;

    word-break: normal;       /* prevent word cutting */
    overflow-wrap: normal;    /* keep words intact */
    hyphens: none; 
    }

    /* ================= MAIN STACK ================= */
    .footer-section .row {
        display: flex;
        flex-wrap: wrap;
        row-gap: 20px;
    }

    /* ================= GET IN TOUCH (FULL ROW) ================= */
    .footer-getintouch {
        width: 100%;
        order: 1;
    }

    /* ================= ADDRESS + ENQUIRY (2 COLUMNS) ================= */
    .footer-address {
        width: 50%;
        order: 2;
    }

    .footer-enquiry {
        width: 50%;
        order: 3;
    }

    /* ================= EMAIL (FULL ROW BELOW ADDRESS) ================= */
    .footer-email {
        width: 100%;
        order: 4;
    }

    /* ================= PHONE (FULL ROW) ================= */
    .footer-phone {
        width: 100%;
        order: 5;
    }

    /* ================= SOCIAL ICONS (SINGLE ROW) ================= */
    .footer-social {
        width: 100%;
        order: 6;
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 10px;
    }

    .footer-social .btn-lg-square {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    /* ================= GOOGLE MAP (FULL WIDTH) ================= */
    .footer-map {
        width: 100%;
        order: 7;
        margin-top: 15px;
    }

    .footer-map iframe {
        width: 100%;
        height: 220px;
        border-radius: 12px;
        border: none;
    }

    /* ================= COPYRIGHT ================= */
    .container-fluid.border-top p {
        font-size: 12px;
        text-align: center;
        padding: 10px 0;
    }
}

