/* ========================================
   Lampron Static Site - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --bg-main: #061D5B;
    --bg-secondary: #3155E7;
    --black: #32323B;
    --gray: #717077;
    --lime: #F6F6FF;
    --yellow: #F3A13C;
    --bg-gray: #dedddd;
    --bg-green: #14AF5C;
    --light-gray: #313131;
    --light-heading: #404040;
}

/* Font Faces */
@font-face {
    font-family: "Stem";
    src: url("../fonts/Stem-Bold.otf") format("truetype");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "Stem";
    src: url("../fonts/Stem-Medium.otf") format("truetype");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "Stem";
    src: url("../fonts/Stem-Regular.otf") format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Stem";
    src: url("../fonts/Stem-Light.otf") format("truetype");
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: "Stem";
    src: url("../fonts/stem-extra-light.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}

/* Global Styles */
* {
    font-family: "Stem", sans-serif !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

p {
    text-align: justify;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container { max-width: 640px; }
}
@media (min-width: 768px) {
    .container { max-width: 768px; }
}
@media (max-width: 1440px) {
    .container {
        max-width: 1440px;
        padding-left: 4%;
        padding-right: 4%;
    }
}
@media (min-width: 1280px) {
    .container { max-width: 1440px; }
}
@media (min-width: 1660px) {
    .container { max-width: 1660px; }
}

/* Utility Classes */
.bg-main { background-color: var(--bg-main); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-lime { background-color: var(--lime); }
.text-blue { color: var(--bg-main); }
.yellow { color: var(--yellow); }
.text-black { color: var(--black); }
.sub-heading { color: var(--light-heading); }
.box-shadow { box-shadow: 0px 4px 18px 0px #00000040; }
.dropdown-shadow { box-shadow: 0px 4px 56px 0px #00000012; }

/* Header/Topbar */
.topbar-container { padding: 0%; }

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: var(--bg-main);
    transition: background-color 0.5s;
}

header .topbar-inner {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    height: 96px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

header nav .nav-item {
    font-size: 18px;
    font-weight: 500;
    list-style: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

header nav .nav-item::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #0066cc;
    transition: none;
}

header nav .nav-item:hover::before {
    width: 100%;
    transition: width 0.5s ease;
}

/* Profile dropdown lives in .header-right, not inside `header nav`, so it
   doesn't inherit `header nav .nav-item { position: relative }`. Pinning
   it here ensures the absolutely-positioned panel + bridge anchor to the
   trigger instead of the <header>. */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    background-color: #F6F6F6;
    top: calc(100% + 12px);
    left: 0;
    width: 220px;
    border-radius: 12px;
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 12px 32px rgba(6, 29, 91, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}

/* Invisible bridge that extends the parent's hover hit-area down over
   the 12px gap between the trigger and the dropdown panel. Lives on the
   parent itself (not the panel) so it stays live even while the panel
   flips back to pointer-events:none during a transient hover-out. */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item-dropdown .nav-dropdown-icon {
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-dropdown-icon,
.nav-item-dropdown:focus-within .nav-dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 8px 24px;
    color: var(--bg-main);
    font-size: 18px;
}

.dropdown-menu a:hover {
    background-color: #d1d5db;
}

/* Primary Button */
.btn-primary {
    background-color: var(--bg-secondary);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #2944c6;
}

/* Hero/Banner Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: #000;
    opacity: 0.45;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 24px;
    max-width: 72rem;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 100px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 101px;
}

.hero-content p {
    font-size: 35px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    padding-bottom: 48px;
}

/* Online Support Section */
.online-support {
    padding: 16px;
    display: flex;
    align-items: flex-end;
    min-height: 511px;
    background-size: contain;
    background-repeat: no-repeat;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 74px;
    align-items: center;
    min-height: 480px;
}

.info-card {
    background: #fff;
    margin-top: 48px;
    border-radius: 12px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
    position: relative;
    min-width: 180px;
    height: 226px;
    cursor: pointer;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card-icon {
    position: absolute;
    top: -30%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.25);
    padding: 32px;
    height: 114px;
    width: 121px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-icon img {
    width: 60px;
    object-fit: contain;
}

.info-card-label {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
    color: var(--black);
}

/* Service Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: block;
}

.service-card img {
    width: 100%;
    height: 286px;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000, rgba(0,0,0,0.4), transparent);
}

.service-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 16px;
    width: 100%;
    transition: all 0.3s;
}

.service-card .card-content h3 {
    color: #fff;
    font-size: 1.875rem;
    font-weight: 700;
    text-transform: capitalize;
    transition: transform 0.3s;
}

.service-card:hover .card-content h3 {
    transform: translateY(-8px);
}

.service-card .hover-line {
    display: none;
    height: 4px;
    background-color: #60a5fa;
    border-radius: 4px;
    width: 0;
    margin-top: 8px;
    transition: width 0.3s;
}

.service-card:hover .hover-line {
    display: block;
    width: 38%;
}

.service-card .hover-desc {
    display: none;
    color: #fff;
    font-size: 14px;
    margin-top: 16px;
    width: 90%;
}

.service-card:hover .hover-desc {
    display: block;
}

/* Blog Section */
.blog-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 675px;
    background-size: cover;
    background-position: top;
    border-radius: 24px;
}

.blog-slide .blog-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.35);
}

.blog-slide-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 24px;
}

.blog-slide-content h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.blog-slide-content p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 24px;
    text-align: center;
    max-width: 36rem;
    font-weight: 300;
}

/* Company Highlights */
.highlights-box {
    background-color: #F4F4F4;
    display: flex;
    align-items: center;
    border-radius: 20px;
    position: relative;
    margin-top: 7.5%;
    padding: 24px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
}

.highlights-inner {
    display: flex;
    padding: 7.2% 0;
}

.highlights-logos {
    display: flex;
    flex-direction: column;
    width: 28%;
    align-items: center;
    gap: 24px;
}

.highlights-text {
    width: 100%;
    padding-left: 48px;
    border-left: 4px solid var(--black);
}

.highlights-text h2 {
    font-size: 38px;
    color: var(--black);
    font-weight: 700;
    line-height: 53px;
}

.highlights-text p {
    font-size: 18px;
    color: var(--black);
    font-weight: 300;
    margin-top: 16px;
    line-height: 30px;
}

/* Trusted Partners */
.trusted-section {
    margin-top: 7.5%;
}

.trusted-section h2 {
    font-size: 46px;
    font-weight: 700;
    text-align: center;
    color: var(--black);
}

.trusted-section .subtitle {
    font-size: 16px;
    color: var(--gray);
    text-align: center;
    margin-top: 16px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 4.5% 0;
}

.trusted-logo-card {
    background: #FDFDFD;
    border-radius: 10px;
    padding: 16px;
    height: 129px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 160px;
}

.trusted-logo-card img {
    max-height: 64px;
    object-fit: contain;
}

/* Quote/CTA Section */
.quote-section {
    background-color: #F4F4F4;
    border-radius: 20px;
    display: flex;
    align-items: center;
    position: relative;
    margin: 50px 0 -15% 0;
    padding: 4% 6%;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
    z-index: 9;
}

.quote-inner {
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 24px;
}

.quote-image {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-text {
    width: 85%;
    display: flex;
    align-items: center;
}

.quote-text span {
    font-size: 46px;
    color: var(--black);
    line-height: 60px;
}

/* Footer */
.footer {
    /* padding-top: 14rem; */
    padding-bottom: 24px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    background-size: cover !important;
    background-position: right !important;
}

.footer-content {
    margin-top: 9%;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4%;
    margin-top: 10px;
}

.footer-desc {
    width: 60%;
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    line-height: 28px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 28px;
    font-size: 18px;
}

.footer-links a {
    color: #fff;
    font-weight: 500;
    cursor: pointer;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid #D4D2E3;
    margin: 2% 0;
}

.footer-copyright {
    font-size: 16px;
    font-weight: 200;
    color: #fff;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--bg-secondary);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 125px;
    right: 4%;
    background-color: var(--bg-secondary);
    color: #fff;
    border-radius: 50%;
    width: 51px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    border: none;
    font-size: 20px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

/* Arrow Section */
.arrow-section-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow-section {
    background-color: var(--bg-main);
    width: 100%;
    height: 312px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    clip-path: polygon(0% 30%, 92% 30%, 92% 0%, 100% 50%, 92% 100%, 92% 70%, 0% 70%);
}

.arrow-section span {
    color: #fff;
    width: 83%;
    font-weight: 700;
    text-align: center;
    font-size: 40px;
    line-height: 40px;
}

/* Service Page Banners */
.service-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-banner .banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.5;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--bg-secondary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Offer Tabs */
.offer-tabs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.offer-tab {
    background-color: #F4F4F4;
    color: #404040;
    border-radius: 10px;
    padding: 30px;
    font-weight: 400;
    font-size: 24px;
    width: 390px;
    height: 139px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: none;
    line-height: 31px;
    transition: all 0.3s;
}

.offer-tab.active, .offer-tab:hover {
    background-color: var(--bg-main);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.offer-content {
    margin-top: 1%;
    background-color: #F4F4F4;
    border-radius: 16px;
    padding: 25px;
}

/* Contact Box */
.contact-container {
    border-radius: 10px;
    background: linear-gradient(90.23deg, #e0e0e0 0.17%, #ffffff 99.78%);
}

/* Blog Card */
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 16px;
}

.blog-card-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.blog-card-content p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 12px;
}

/* Career Page */
.career-banner {
    height: calc(100vh - 96px);
}

/* Responsive */
@media screen and (max-width: 1440px) {
    .scroll-top-btn {
        width: 40px !important;
        height: 40px !important;
    }
    .hero-content h1 {
        font-size: 62px;
        line-height: 70px;
    }
}

@media screen and (max-width: 1024px) {
    .info-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    header nav {
        display: none;
    }
    .highlights-inner {
        flex-direction: column;
    }
    .highlights-logos {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    .highlights-text {
        border-left: none;
        padding-left: 0;
        margin-top: 24px;
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
        line-height: 38px;
    }
    .hero-content p {
        font-size: 22px;
    }
    .hero-section {
        min-height: 458px;
    }
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .arrow-section {
        height: 160px;
    }
    .arrow-section span {
        font-size: 14px;
        width: 70%;
    }
    .footer {
        padding-top: 9rem;
        background-image: url("../images/mobile_footer.svg") !important;
        background-repeat: no-repeat;
        height: auto !important;
    }
    .footer-main {
        flex-direction: column;
    }
    .footer-desc {
        width: 100%;
        margin-bottom: 24px;
    }
    .blog-slide {
        height: 400px;
    }
    .blog-slide-content h2 {
        font-size: 26px;
    }
    .highlights-text h2 {
        font-size: 20px;
        line-height: 30px;
    }
    .offer-tab {
        width: 100%;
        min-width: 160px;
        max-width: 200px;
        height: 71px;
        font-size: 16px;
        padding: 30px 10px;
    }
    .quote-inner {
        flex-direction: column;
    }
    .quote-image, .quote-text {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .quote-text span {
        font-size: 24px;
        line-height: 36px;
    }
    .service-card img {
        height: 128px;
    }
    .service-card .card-content h3 {
        font-size: 18px;
    }
    .online-support {
        min-height: auto;
    }
}

@media screen and (max-width: 480px) {
    p {
        line-height: 25px !important;
        font-size: 16px !important;
    }
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer {
        background-position: top !important;
    }
}

/* Mobile sidebar */
.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 50;
    display: none;
}

.mobile-sidebar-overlay.open {
    display: flex;
    justify-content: flex-end;
}

.mobile-sidebar {
    width: 75%;
    max-width: 400px;
    height: 100%;
    padding: 24px;
    overflow-y: auto;
    background: rgba(3,14,45,0.44);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 16px 0 0 16px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}

.mobile-sidebar ul {
    list-style: none;
    margin-top: 32px;
}

.mobile-sidebar ul li a,
.mobile-sidebar ul li span {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}

.mobile-sidebar ul li a:hover,
.mobile-sidebar ul li span:hover {
    background: rgba(29,78,216,0.6);
}

.mobile-sidebar .sub-menu {
    padding-left: 16px;
    margin-top: 12px;
}

.mobile-sidebar .sub-menu a {
    font-size: 16px;
    font-weight: 400;
}

/* Hamburger button */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .hamburger-btn { display: block; }
    .desktop-nav { display: none !important; }
}
