:root {
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto';
    --primary-blue: #0079C2;
    --primary-red: #E6001F;
    --header-bg: #ffffff;
    --header-text: #1a1a1a;
    --hero-bg: #f3f7fb;
    --text-color: #333333;
    --btn-bg: var(--primary-red);
    --btn-hover-bg: var(--primary-blue);
    --primary-gradient: linear-gradient(90deg, rgba(214, 226, 234, 0.7), rgba(219, 167, 174, 0.7));
    /* Reduce opacity of gradient */
}

:root {
    --primary-font: 'Poppins', sans-serif;
    --font-size: 1rem;
    --font-weight: 500;
    --primary-text-color: #1a1a1a;
    --primary-border-color: #0079C2;
    --nav-bg-color: #fff;
}

#scrollProgressBarContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f1f1f1;
    z-index: 9999;
}

.highlighted-text {
    font-size: 3rem;
    /* Bigger than normal */
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    display: inline-block;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll bar fill */
#scrollProgressBar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #0079C2, #E6001F);
    transition: width 0.1s ease-out;
}

/* drop down */

.msc-navigation-itms li {
    position: relative;
    color: var(--primary-red);
    cursor: pointer;
}

.msc-support-li.active::after {
    content: "";
    position: absolute;
    top: 2.7rem;
    left: 0;
    width: 100%;
    /* Full width of the dropdown */
    height: 3px;
    /* Border thickness */
    background-color: var(--primary-border-color);
    /* Border color */
}

/* Drop Down Styles */
.msc-drop-down {
    display: none;
    position: absolute;
    top: calc(100% + 22px);
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 999;
    width: max-content;
    min-width: 100%;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    cursor: pointer;
    padding: 10px;
}

.msc-drop-down.show {
    display: block;
}

.msc-support-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 10px;
}

.itmes {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.itmes i {
    font-size: 16px;
    display: inline-block;
}

.itmes::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.itmes:hover::after {
    width: 100%;
}

/* Icon animation for dropdown */
.msc-rotate-icon {
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

/*drop down end  */
/* ========== Header ========== */


/* 🔷 Falling Rectangles Container - stays behind */
.falling-rectangles-container {
    position: absolute;
    /* ✅ poore viewport pe effect */
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    z-index: 0;
    /* header ke neeche rehna chahiye */
    pointer-events: none;
    overflow: hidden;
}

/* 🔷 Rectangle Base Style */
.falling-rectangle {
    position: absolute;
    width: 40px;
    height: 200px;
    top: -250px;
    transform: rotate(30deg);
    opacity: 0;
    z-index: 999;
    animation: dropIn 4s ease-in-out infinite;
}

/* Existing right side */
.rect1 {
    left: 85%;
    background-color: #7ccefd;
    animation-delay: 0s;
}

.rect2 {
    left: 92%;
    background-color: #ff95a3;
    animation-delay: 1.5s;
    height: 220px;
}

.rect3 {
    left: 97%;
    background-color: #ffd16a;
    animation-delay: 3s;
    height: 190px;
}

/* ✅ Left side rectangles */
.rect4 {
    left: 3%;
    background-color: #7ccefd;
    animation-delay: 0.5s;
    height: 210px;
}

.rect5 {
    left: 8%;
    background-color: #ff95a3;
    animation-delay: 2s;
    height: 230px;
}

.rect6 {
    left: 15%;
    background-color: #ffd16a;
    animation-delay: 3.5s;
    height: 180px;
}

/* responsive */
@media (max-width: 768px) {
    .falling-rectangle {
        width: 40px !important;
        height: 40px !important;
        transform: rotate(45deg);
    }

}

@keyframes dropIn {
    0% {
        transform: translateY(0) rotate(30deg);
        opacity: 0;
    }

    20% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(100vh) rotate(30deg);
        opacity: 0;
    }
}

#msc-header-main-section {
    width: 100%;
    height: 13vh;
    /* background-color: transparent; */
    background: url("../img/hero-bg.jpg") no-repeat center center fixed;
    background-size: cover;
    color: var(--header-text);
    font-family: var(--font-primary), sans-serif;
    padding: 1rem;
    position: relative;
}

#msc-header-main-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    /* Border thickness */
    width: 100%;
    background: linear-gradient(to right, #b9e4fe, #ffc1c9);
}
@media (min-width: 1024px) {
    #msc-header-main-section {
      position: relative; /* Ensure relative positioning for ::after */
    }
  
    #msc-header-main-section::after {
      top: 4.7rem !important;
    }
  }
  
.msc-navigation-bar-section {
    font-family: var(--primary-font);
    background-color: var(--nav-bg-color);
}

.msc-navigation-itms {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.msc-navigation-itms li {
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    font-family: var(--font-primary);
    list-style-type: none;
    position: relative;
}

.msc-navigation-itms a {
    text-decoration: none;
    color: var(--primary-text-color);
    padding: 4px 10px;
    display: inline-block;
    position: relative;
}

.msc-navigation-itms-li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    bottom: -1.11rem;
    height: 0.2rem;
    background-color: var(--primary-border-color);
    transition: width 0.3s ease;
}

.msc-navigation-itms-li a.active::after {
    width: 100%;
}

.msc-login-btn {
    border-radius: 4px;
    padding: 10px 20px;
    text-align: center;
    border: 1px solid transparent;
    background-color: var(--btn-bg);
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.msc-login-btn:hover {
    background-color: var(--btn-hover-bg);
}

/* responsive for mobile start */
@media (max-width: 768px) {
    .msc-support-items {
        display: none;
    }

    .highlighted-text {
        font-size: 2rem !important;
    }
    body {
        overflow-x: hidden; /* Prevent unwanted horizontal scroll */
    }
    .mobile-overlay-menu{
        display: flex !important;
    }
}

/* Mobile screen */
.mobile-overlay-menu {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 100vw;
    background: white;
    z-index: 9999;
    display: none;
    flex-direction: column;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.mobile-overlay-menu.show-menu {
    left: 0;
    /* Slide into view */
}

.mobile-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid #ddd;
    background: white;
}

.mobile-overlay-body {
    padding: 10px 20px;
}

.mobile-overlay-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-overlay-body ul li {
    margin-bottom: 0.4rem;
}

.mobile-overlay-body ul li a {
    text-decoration: none;
    color: black;
    font-size: 14px;
}
.mobile-contact-info {
    padding-left: 24px;
    padding-right: 16px;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 10px;
}

.mobile-contact-info i {
    font-size: 12px;
    color: #000;
    text-align: center;
}
.icon-box {
    background-color: #e0f1fe;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: black;
    transition: background-color 0.3s ease;
    text-decoration: none;
}
.icon-box:hover {
    background-color: #cce8fc;
    color: #0079C2;
}
.social-icons a{
    text-decoration: none;
}
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}



/* responsive for mobile end */
/* ================= end header section =================== */

/* ==========start Hero Section ========== */
@media (min-width: 1024px) {
    #msc-hero-main-section {
        padding: 80px 80px !important;
    }
  
    
  }
#msc-hero-main-section {
    background: transparent;
    padding: 60px 40px;
    color: var(--text-color);
    position: relative; /* make hero section above the rectangles */
    /* z-index: -1; */
    /* height: 400px; */
    background: url("../img/hero-bg.jpg") no-repeat center center fixed;
    background-size: cover;
    /* background-position: 0 0; */
    position: static;
    z-index: 0;
}

.msc-hero-left-section h1 {
    font-size: 47px;
    line-height: 1.4;
    font-weight: 800;
    /* font-family: var(--font-secondary); */
    color: var(--text-color);
}

.msc-hero-left-section p {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    /* font-family: var(--font-secondary); */
    color: #555;
}

.msc-hero-left-section h3 {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-color);
    /* font-family: var(--font-secondary); */

}

/* ========== Buttons ========== */
.msc-btn {
    border-radius: 4px;
    font: normal normal 700 13px / 22px var(--font-primary);
    letter-spacing: 1.57px;
    padding: 16px 25px;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.msc-product {
    background-color: var(--btn-bg);
    color: #fff;
}

.msc-btn:hover {
    background-color: var(--btn-hover-bg);
    color: white !important;
}

.msc-call-back {
    background-color: transparent;
    border: 1px solid var(--primary-blue);
}

.msc-call-back:hover {
    background-color: var(--btn-hover-bg);
    color: #fff;
}

/* responisve hero section */
@media (max-width: 768px) {
    .msc-btn {
        font: inherit; /* Reset the desktop font */
        letter-spacing: normal; /* Reset letter spacing */
        font-size: 10px;
        font-weight: 500;
        padding: 6px 5px;
        width: 100%;
        display: block;
      }
    .msc-right-hero-section {
        display: none;
    }

    .msc-hero-left-section h3 {
        font-size: 18px !important;
    }

    .msc-hero-left-section h1 {
        font-size: 20px !important;
    }

    .msc-hero-left-section p {
        font-size: 15px !important;
    }

    #msc-hero-main-section {
        padding: 40px 10px !important;

    }
    .site-header.scroll .btn{
        color: white;
    }
    .site-header.scroll .msc-btn-scroll{
        color: black !important;
    }
}

/* ==============end hero section =================== */