/*
Theme Name: SLTC Corporate Theme
Theme URI: https://starlandqa.com
Author: VIN Technosoft
Description: A premium, modern, responsive corporate theme for Star Land Trading & Contracting.
Version: 1.0
Text Domain: sltc
*/
.text-primary{
    color: #0B1F33 !important;
}
 .custom-svg{
    width: 3rem;
    margin-bottom: 20px;
 } 
:root {
    --primary: #0B1F33;
    --secondary: #123B5D;
    --accent: #F4A62A;
    --bg-color: #F5F7F9;
    --text-main: #263746;
    --white: #FFFFFF;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(11, 31, 51, 0.05);
    --shadow-md: 0 10px 30px rgba(11, 31, 51, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 31, 51, 0.12);
    --border-radius: 12px;
}

html, body {
    overflow-x: hidden; /* Strictly prevents horizontal scrolling */
    width: 100%;
    position: relative;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

/* Ensure row margins don't cause overflow on mobile */
.row {
    margin-right: 0;
    margin-left: 0;
}
.row > * {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
    font-family: var(--font-heading);
}

.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-secondary-custom { background-color: var(--secondary) !important; }
.bg-accent { background-color: var(--accent) !important; }

.btn-accent {
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 50px; /* SaaS style pill buttons */
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(244, 166, 42, 0.25);
}
.btn-accent:hover {
    background-color: #df911a;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 166, 42, 0.35);
}

.btn-outline-light-custom {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}
.btn-outline-light-custom:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.section-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: inline-block;
    background: rgba(244, 166, 42, 0.1);
    padding: 0.35rem 1rem;
    border-radius: 50px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.navbar {
    transition: all 0.4s ease;
    padding: 1.5rem 0;
    background-color: transparent;
}
.navbar.scrolled {
    background-color: rgba(11, 31, 51, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}
.navbar-brand-custom {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}
.brand-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: 1px;
    color: var(--white);
    transition: color 0.3s;
}
.brand-main span {
    color: var(--accent);
}
.brand-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--white);
    opacity: 0.8;
    margin-top: 4px;
}
.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-link:hover, .nav-link.active {
    color: var(--white) !important;
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}
/* =========================================
   PREMIUM MOBILE MENU REDESIGN
   ========================================= */
@media (max-width: 991px) {
    .navbar { 
        background-color: var(--primary) !important; 
        padding: 1rem 0; 
        box-shadow: var(--shadow-md);
    }
    
    /* Full-width Glassmorphism Dropdown */
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(11, 31, 51, 0.98) 0%, rgba(18, 59, 93, 0.98) 100%);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1.5rem 2rem 2.5rem 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 3px solid var(--accent);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }
    
    .nav-link {
        font-size: 1.15rem;
        padding: 1rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
        margin: 0;
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .nav-item:last-child {
        margin-top: 1.5rem !important;
        margin-left: 0 !important;
    }
    
    /* Center the button on mobile */
    .nav-item:last-child .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .nav-link::after { 
        display: none; 
    }
}

/* =========================================
   HAMBURGER TO 'X' TOGGLE ANIMATION
   ========================================= */
.custom-toggler {
    border: none !important;
    background: transparent !important;
    padding: 0;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1050;
}

.custom-toggler:focus, 
.custom-toggler:active {
    box-shadow: none !important;
    outline: none !important;
}

.hamburger-lines {
    display: block;
    height: 24px;
    width: 30px;
    position: relative;
}

.hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 10px;
    background: var(--white);
    position: absolute;
    transition: transform 0.4s ease, opacity 0.3s ease, top 0.4s ease;
}

/* Initial Line Positions */
.hamburger-lines .line1 { top: 0; }
.hamburger-lines .line2 { top: 10px; }
.hamburger-lines .line3 { top: 20px; }

/* 
 * Active State Animation (Hamburger to 'X')
 * Bootstrap removes the 'collapsed' class when the menu is open.
 */
.custom-toggler:not(.collapsed) .line1 {
    top: 10px;
    transform: rotate(45deg);
    background: var(--accent);
}

.custom-toggler:not(.collapsed) .line2 {
    opacity: 0;
}

.custom-toggler:not(.collapsed) .line3 {
    top: 10px;
    transform: rotate(-45deg);
    background: var(--accent);
}

.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(to right, rgba(11, 31, 51, 0.95) 0%, rgba(11, 31, 51, 0.7) 100%), url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&q=80&w=2070') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}
.hero-eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}
.hero-title {
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.hero-title span { color: var(--accent); }
.hero-text {
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s;
    text-decoration: none;
    color: var(--white);
}
.scroll-indicator:hover { opacity: 1; color: var(--white); }
.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}
.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

.trust-strip {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%);
    position: relative;
    z-index: 10;
    padding: 2rem 0;
    margin-bottom: -50px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 2rem;
    border-right: 1px solid rgba(11, 31, 51, 0.08);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
    font-size: 2.5rem;
    color: var(--accent);
    background: rgba(244, 166, 42, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}
.trust-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}
@media (max-width: 991px) {
    .trust-strip { transform: translateY(0); margin-top: 2rem; margin-bottom: 2rem; padding: 1rem 0; }
    .trust-item { border-right: none; border-bottom: 1px solid rgba(11, 31, 51, 0.08); padding: 1.5rem; }
    .trust-item:last-child { border-bottom: none; }
}

.saas-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(11,31,51,0.05);
    box-shadow: var(--shadow-sm);
}
.saas-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(244, 166, 42, 0.3);
}

.img-card-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.img-card-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}
.overlap-stats-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--accent);
    max-width: 250px;
}

.service-grid-card {
    background: #e5e7e8;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    cursor: pointer;
}
.service-grid-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    border-radius: var(--border-radius);
}
.service-grid-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.service-grid-card:hover::before { height: 100%; }
.service-grid-card:hover * { color: var(--white) !important; }
.service-grid-card:hover .text-muted { color: rgba(255,255,255,0.8) !important; }
.service-grid-card:hover .service-icon { background: rgba(255,255,255,0.1); color: var(--accent) !important; }

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: var(--bg-color);
    width: 65px;
    height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s;
}
.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.product-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-bottom: 3px solid var(--accent);
}

.bg-navy { background-color: var(--primary); }
.industry-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
}
.industry-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.vision-quote {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--primary);
    position: relative;
    padding-left: 4rem;
    font-family: var(--font-heading);
}
.vision-quote::before {
    content: '"';
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    left: 0;
    top: -20px;
    font-family: serif;
}

.journey-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2rem 0;
    gap: 1rem;
}
.journey-node {
    text-align: center;
    flex: 1;
    min-width: 120px;
}
.node-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}
.journey-node:hover .node-icon {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.1);
}
.node-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    letter-spacing: 1px;
}
.node-arrow {
    color: rgba(11, 31, 51, 0.2);
    font-size: 1.5rem;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .journey-flow { flex-direction: column; align-items: center; gap: 2rem; }
    .node-arrow { transform: rotate(90deg); }
}

.form-control, .form-select {
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.3s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(244, 166, 42, 0.15);
    background-color: var(--white);
}

.footer {
    background-color: #06121f; /* Darker variant of primary */
    color: #94a3b8;
    padding: 5rem 0 0 0;
}
.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.footer-link {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
    font-size: 0.95rem;
}
.footer-link:hover { color: var(--accent); }
.footer-bottom {
    background-color: #030a11;
    padding: 1.5rem 0;
    margin-top: 4rem;
    font-size: 0.875rem;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}
.d-delay-1 { transition-delay: 100ms; }
.d-delay-2 { transition-delay: 200ms; }
.d-delay-3 { transition-delay: 300ms; }
.d-delay-4 { transition-delay: 400ms; }

/* =========================================
   LOGO VISIBILITY FIX
   ========================================= */
.navbar-brand-custom img {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* =========================================
   HERO SLIDER ANIMATIONS & COLLAPSE FIX
   ========================================= */
.hero-section {
    padding: 0;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden; /* Prevents horizontal scrollbars during transition */
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
    width: 100%;
}

.hero-slider-bg {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Animate text inside active slide */
.carousel-item.active .hero-eyebrow { animation: slideUpFade 0.8s ease forwards; }
.carousel-item.active .hero-title { animation: slideUpFade 0.8s ease 0.2s forwards; opacity: 0; }
.carousel-item.active .hero-text { animation: slideUpFade 0.8s ease 0.4s forwards; opacity: 0; }
.carousel-item.active .btn-group-animate { animation: slideUpFade 0.8s ease 0.6s forwards; opacity: 0; }

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Customize Slider Controls */
.carousel-indicators { margin-bottom: 3rem; z-index: 15; }
.carousel-indicators [data-bs-target] {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255,255,255,0.5);
    border: none;
}
.carousel-indicators .active { background-color: var(--accent); }
.carousel-control-prev, .carousel-control-next { width: 8%; z-index: 15; }

/* =========================================
   FOOTER HOVER EFFECTS
   ========================================= */
.footer-link-hover {
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-link-hover:hover {
    color: var(--accent) !important;
    transform: translateX(4px);
}
.footer-icon-hover {
    transition: all 0.3s ease;
    display: inline-flex;
}
.footer-icon-hover:hover {
    color: var(--accent) !important;
    transform: translateY(-3px);
}