:root {
    /* Color Palette */
    --primary: #0a192f;
    --secondary: #0077ff;
    --accent: #64ffda;
    --text-main: #e6f1ff;
    --text-muted: #8892b0;
    --bg-dark: #020c1b;
    --navbar-bg: rgba(10, 25, 47, 0.85);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Transitions */
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    /* background-color: var(--bg-dark); */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Navbar Implementation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 15px 50px;
    background: var(--navbar-bg);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

/* Adaptive: light-background sections */
.navbar--light:not(.scrolled) {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.navbar--light:not(.scrolled) .nav-item > a,
.navbar--light:not(.scrolled) .logo {
    color: #0a192f;
}

.navbar--light:not(.scrolled) .nav-item > a:hover,
.navbar--light:not(.scrolled) .nav-item > a.active {
    color: var(--secondary);
}

.navbar--light:not(.scrolled) .menu-toggle {
    color: #0a192f;
}

.navbar--light:not(.scrolled) .nav-cta {
    border-color: var(--secondary);
    color: var(--secondary);
}


.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    height: 30px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 10px 0;
}

.nav-item>a {
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.nav-item:hover>a {
    color: var(--secondary);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 200px;
    background: var(--primary);
    border-radius: 8px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dropdown li a:hover {
    color: var(--accent);
    background: rgba(100, 255, 218, 0.05);
}

/* CTA Button */
.nav-cta {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background: rgba(0, 119, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Slider Section */
#hero {
    aspect-ratio: 13 / 7;
    width: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide::after {
    display: none;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Slider Pagination */
.slider-pagination {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 1vw;
}

.dot {
    width: 1.2vw;
    height: 1.2vw;
    min-width: 8px;
    min-height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--secondary);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.slider-nav button {
    background: rgba(2, 12, 27, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.2);
    color: white;
    width: 4vw;
    height: 4vw;
    min-width: 35px;
    min-height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.slider-nav button:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.1);
}

.slider-nav button i {
    font-size: 1.2vw;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 33%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 80%;
    max-width: 900px;
}

.hero-content h1 {
    font-size: clamp(1.5rem, 5vw, 4rem);
    margin-bottom: 2vw;
    background: linear-gradient(to right, #fff, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 3vw;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 2vw;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    padding: clamp(10px, 1.5vw, 15px) clamp(20px, 3vw, 35px);
    border-radius: 4px;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
}

.btn-secondary {
    border: 1px solid var(--text-muted);
    padding: clamp(10px, 1.5vw, 15px) clamp(20px, 3vw, 35px);
    border-radius: 4px;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
}

/* Services Section */
.services {
    padding: 100px 50px;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: 2.5rem;
    color: black;
}

.section-head p {
    color: black;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #112240;
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer Styles */
.footer {
    background: #020c1b;
    padding: 80px 50px 30px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--secondary);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    color: var(--text-main);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.footer-contact-list li i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-list a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #495670;
    font-size: 0.85rem;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
    z-index: 1001;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1,
.hero-content p,
.hero-btns,
.service-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-content p {
    animation-delay: 0.4s;
}

.hero-btns {
    animation-delay: 0.6s;
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) {
    animation-delay: 0.6s;
}

.service-card:nth-child(4) {
    animation-delay: 0.8s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-item {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 0;
        display: none;
        width: 100%;
    }

    .nav-item:hover .dropdown {
        display: block;
    }

    .dropdown li a {
        padding: 8px 0;
    }

    .nav-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Interior Pages Styles */
.interior-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    padding: 0 50px;
}

.service-detail {
    padding: 100px 50px;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 900px;
    margin-bottom: 50px;
}

.intro-text p {
    margin-bottom: 20px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 15px 0 40px;
}

/* Compact Solutions List */
.solutions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-top: 40px;
}

.solution-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    transition: var(--transition);
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid rgba(100, 255, 218, 0.05);
}

.solution-item:hover {
    background: rgba(17, 34, 64, 0.8);
    transform: translateX(5px);
    border-color: var(--secondary);
}

.solution-item i {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.solution-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.solution-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .solutions-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .interior-hero {
        height: 50vh;
    }

    .service-detail {
        padding: 60px 30px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================================= */
/* Services Page Custom Styles */
/* ========================================================= */

.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
    /* Ensures responsiveness on mobile */
}

.image-column,
.list-column {
    flex: 1;
    min-width: 300px;
}

.service-main-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-bullet-list {
    list-style: none;
    padding: 0;
}

.service-bullet-list li {
    display: flex;
    align-items: center;
    color: black;
    /* margin-bottom: 20px; */
    padding: 10px;
    transition: transform 0.3s ease;
}

.service-bullet-list li:hover {
    transform: translateX(10px);
}

.service-bullet-list i {
    color: #020c1b;
    /* Adjust to your brand color */
    font-size: 1.2rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.service-bullet-list h3 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
    }
}

/* ========================================================= */
/* About Us Page Custom Styles */
/* ========================================================= */

.stats-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    background: #f8fbff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 119, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
}

.about-text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    color: #333;
    line-height: 1.8;
}

.about-text-content strong {
    color: var(--secondary);
}

/* Chatbot Styles */
.ai-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    font-family: var(--font-main);
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 119, 255, 0.4);
    transition: var(--transition);
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1) rotate(5deg);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4d4d;
    color: white;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 10px;
    font-weight: bold;
    border: 2px solid white;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.chatbot-window.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chatbot-header {
    padding: 20px;
    background: rgba(0, 119, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.bot-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
}

.close-chat {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-chat:hover {
    color: white;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(100, 255, 218, 0.1);
    border-radius: 3px;
}

.message {
    padding: 12px 16px;
    border-radius: 15px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-bottom-left-radius: 2px;
}

.message.user {
    align-self: flex-end;
    background: var(--secondary);
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

#chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 10px;
    padding: 10px 15px;
    color: white;
    resize: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

#chat-input:focus {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

#send-chat {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

#send-chat:hover {
    transform: scale(1.05);
    background: #0066dd;
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        bottom: 80px;
        right: -10px;
    }
}