@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-dark: #060e17;
    --navy-deep: #0a192f;
    --steel-blue: #1e3a8a;
    --accent-blue: #3b82f6;
    --accent-orange: #f39233;
    --accent-teal: #20c997;
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --glass-bg: rgba(6, 14, 23, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-accent-orange {
    color: #f39233 !important;
}

.btn-contact-premium {
    background: #f39233;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-contact-premium:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 146, 51, 0.3);
    color: white;
}

/* Premium Form Controls */
.form-control {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 0.95rem;
    transition: all 0.3s ease !important;
    color: var(--primary-dark);
}

.form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--accent-orange) !important;
    box-shadow: 0 10px 20px rgba(243, 146, 51, 0.08) !important;
    outline: none !important;
}


.form-label {
    color: var(--primary-dark);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

body {
    font-family: var(--font-body);
    color: var(--text-white);
    background-color: var(--primary-dark);
    overflow-x: hidden;
}

.metallic-blue-text {
    background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 25%, #3b82f6 50%, #1e3a8a 75%, #0a192f 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blueGlitter 3s linear infinite;
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #060e17;
}

::-webkit-scrollbar-thumb {
    background: #f39233;
    border-radius: 20px;
    border: 3px solid #060e17;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #e67e22;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Top Bar Styling */
.top-bar {
    background: #040a12;
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar .social-links a {
    color: var(--text-white);
    opacity: 0.7;
    transition: var(--transition);
}

.top-bar .social-links a:hover {
    color: #f39233;
    opacity: 1;
}

/* Header & Navbar Styling */
.main-header {
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: #ffffff; /* Solid white background */
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 0;
}

.main-header.scrolled {
    min-height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2px 0;
}

.main-header.scrolled .navbar-brand img {
    height: 50px;
}

.main-header.scrolled .brand-name {
    font-size: 1.45rem;
}

.main-header.scrolled .brand-tagline {
    font-size: 0.3rem;
}

.main-header.scrolled .nav-link {
    font-size: 0.8rem;
    margin: 0 1rem;
}

.main-header.scrolled .btn-consult-premium {
    padding: 8px 20px;
    font-size: 0.75rem;
}

.navbar {
    width: 100%;
    padding: 0 !important;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-family: var(--font-heading);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    height: 90px;
    width: auto;
    object-fit: contain;
    /*transition: var(--transition);*/
}

.brand-name {
    font-weight: 800;
    font-size: 2.475rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--navy-deep);
    text-transform: none;
    padding-bottom: 2px;
    transition: var(--transition);
}

.brand-tagline {
    font-size: 0.45rem;
    font-weight: 700;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    white-space: nowrap;
    transition: var(--transition);
}

@keyframes blueGlitter {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/*.navbar-brand:hover img {*/
/*    transform: scale(1.05);*/
/*    filter: brightness(1.1);*/
/*}*/

/* Remove old logo background */
.navbar-brand::before {
    display: none;
}

.nav-link {
    color: #1e3a8a !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0 1.2rem;
    padding: 0.5rem 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 25%, #3b82f6 50%, #1e3a8a 75%, #0a192f 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blueGlitter 3s linear infinite;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: var(--transition);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(243, 146, 51, 0.6);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

/* Offcanvas Mobile Menu Styling */
@media (max-width: 991px) {
    .offcanvas-lg {
        background-color: #ffffff;
        width: 280px !important;
    }

    .offcanvas-header {
        padding: 20px;
        background: #f8fafc;
    }

    .offcanvas-body {
        padding: 20px 0;
    }

    .offcanvas-lg .nav-item {
        width: 100%;
    }

    .offcanvas-lg .nav-link {
        margin: 0;
        padding: 15px 30px !important;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.03);
        text-align: left;
    }

    .offcanvas-lg .nav-link::after {
        left: 0;
        transform: none;
        bottom: 0;
    }

    .offcanvas-lg .nav-link:hover, .offcanvas-lg .nav-link.active {
        background: rgba(243, 146, 51, 0.05); /* very light orange tint */
        padding-left: 40px !important;
        -webkit-background-clip: initial;
        -webkit-text-fill-color: #1e3a8a;
        border-left: 4px solid var(--accent-orange);
    }
}

@media (max-width: 991px) {
    .main-header {
        min-height: 80px;
    }
    
    .navbar-brand img {
        height: 70px;
    }
    
    .brand-name {
        font-size: 1.95rem;
    }
    
    .brand-tagline {
        font-size: 0.36rem;
    }
    
    .navbar-toggler {
        padding: 8px;
        background: #f8fafc;
        border-radius: 8px;
        border: 1px solid #e2e8f0 !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 58, 138, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    /* ---- Banner: Premium redesign for mobile ---- */
    .main-slider, .main-slider .carousel-item {
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: 1600 / 680;
    }

    /* Lighter, subtle overlay to keep image bright while ensuring text is readable */
    .main-slider .carousel-item::after {
        background: linear-gradient(
            90deg, 
            rgba(0, 0, 0, 0.6) 0%, 
            rgba(0, 0, 0, 0.2) 60%, 
            rgba(0, 0, 0, 0.0) 100%
        ) !important;
    }

    /* Left-aligned caption with proper padding */
    .main-slider .carousel-caption {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 0 30px !important; /* Generous side padding */
        padding-bottom: 4% !important;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        text-align: left;
    }

    /* Bright, crisp, left-aligned headline */
    .hero-content h1 {
        font-size: 2.4rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 16px !important;
        color: #ffffff !important;
        text-shadow: 0 4px 15px rgba(0,0,0,0.8), 0 2px 5px rgba(0,0,0,0.5) !important;
    }

    /* Readable subtitle */
    .hero-content p {
        font-size: 1.15rem !important;
        font-weight: 500 !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important;
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8) !important;
        padding: 0;
        max-width: 95%;
    }

    /* Left-aligned buttons */
    .hero-btns {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
    }

    .btn-primary-glass {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        text-align: center !important;
        background: linear-gradient(135deg, #f39233, #e67e22) !important; /* Orange CTA pops more */
        border: none !important;
        box-shadow: 0 5px 15px rgba(243, 146, 51, 0.4) !important;
    }

    .btn-secondary-glass {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        color: #ffffff !important;
    }

    /* Hide carousel arrows on mobile */
    .main-slider .carousel-control-prev,
    .main-slider .carousel-control-next {
        display: none !important;
    }
}

/* CTA Button */
.btn-consult-premium {
    background: linear-gradient(135deg, #f39233, #e67e22);
    color: white !important;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(243, 146, 51, 0.3);
    white-space: nowrap;
}

.btn-consult-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 146, 51, 0.5);
    background: linear-gradient(135deg, #e67e22, #f39233);
}

.btn-consult-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-consult-premium:hover::before {
    left: 100%;
}

/* Main Slider Styling */
.main-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 750;
    height: auto;
    min-height: auto;
    overflow: hidden;
}

.main-slider .carousel-item {
    width: 100%;
    height: 100%;
    aspect-ratio: 1600 / 750;
    background-size: 100% 100%;
    background-position: center;
}

.main-slider .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(6, 14, 23, 0.4) 0%, rgba(6, 14, 23, 0.2) 50%, rgba(6, 14, 23, 0.1) 100%);
}

.main-slider .carousel-caption {
    text-align: left;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 0;
    padding-bottom: 4%;
}

.main-slider .hero-content {
    padding-left: 0;
}

.main-slider .carousel-control-prev,
.main-slider .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    margin: 0 30px;
}

.main-slider .carousel-control-prev:hover,
.main-slider .carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.main-slider .carousel-indicators {
    bottom: 40px;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
}

.main-slider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
}

.main-slider .carousel-indicators .active {
    background-color: var(--accent-orange);
    width: 30px;
    border-radius: 10px;
}

/* Hero Overlay Gradient */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15), transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: left;
    max-width: 800px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.6rem;
    color: #ffffff !important;
    margin-bottom: 3rem;
    max-width: 650px;
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-btns {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.btn-primary-glass {
    background: var(--accent-blue);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.internal-hero {
    height: 160px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(4, 10, 18, 0.7), rgba(4, 10, 18, 0.8)), url('../images/Banner/Gemini_Generated_Image_ynjenwynjenwynje.png');
    background-attachment: fixed;
}

.internal-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Light Section for Content */
.section-light {
    background-color: #ffffff;
    color: #2d3436;
}

.section-light h2, .section-light h3 {
    color: #040a12;
}

.section-light .text-muted {
    color: #636e72 !important;
}

.btn-primary-glass:hover {
    transform: translateY(-3px);
    background: #2563eb;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
    color: white;
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
}

/* Services Section */
.services-section {
    padding: 100px 0; /* Increased padding more */
    background: #f8fafc;
    color: #2d3436;
    overflow: visible;
}

.section-title {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 800;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.product-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    max-width: 450px; /* Reduced size as requested */
    margin: 0 auto;
    background: #fff;
}

.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 15px;
    opacity: 0;
    transition: var(--transition);
}

.product-image-container:hover .carousel-control-prev,
.product-image-container:hover .carousel-control-next {
    opacity: 1;
}

.carousel-indicators {
    bottom: 10px;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-orange);
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(243, 146, 51, 0.15) !important;
    color: #f39233 !important; /* Force orange color */
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    background: var(--accent-orange);
    color: #fff;
    transform: rotate(10deg);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.service-img-wrapper {
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 16px;
}

.service-img-wrapper img {
    transition: transform 0.5s ease;
}

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

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer Section */
.footer-section {
    background: #040a12;
    padding: 80px 0 30px;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 25px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-orange);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--accent-orange);
    margin-right: 12px;
    font-size: 1.1rem;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-orange);
    color: #fff !important;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
