/* Custom Fonts (assuming a modern sans-serif like Poppins/Roboto/Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
    --color-dark-bg: #121212;
    --color-text-light: #F0F0F0;
    --color-text-grey: #A0A0A0;
    --color-primary: #00A6FF;
    --color-white: #FFFFFF;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--color-text-light);
}

/* --- Logo Styling (Inside Header) --- */
.logo-link {
    text-decoration: none;
    display: inline-block;
    z-index: 1001;
    padding-right: 20px;
    background-color: transparent;
    border-radius: 8px;
}

.logo-container {
    display: flex;
    align-items: center;
    font-size: initial;
    font-weight: initial;
}

.header-logo-img {
    height: 90px;
    width: auto;
    border-radius: 8px;
    background-color: transparent;
    padding: 0;
    filter: none;
}


/* --- Header & Navigation --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    /* CHANGED to slightly translucent black */
    background-color: rgba(43, 43, 43, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Added a slightly softer shadow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    height: 120px;
}

/* Navigation width adjustment */
.desktop-nav {
    max-width: 600px;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    margin-left: 30px;
}

.desktop-nav ul li a {
    padding: 10px 15px;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

.desktop-nav ul li a:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* CHANGED to match the translucent background */
    background-color: rgba(43, 43, 43, 0.95);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mobile-nav-overlay.open {
    display: flex;
}

.mobile-nav-overlay .close-menu {
    position: absolute;
    top: 30px;
    right: 5%;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-overlay ul {
    list-style: none;
    padding: 0;
}

.mobile-nav-overlay ul li a {
    display: block;
    font-size: 2rem;
    padding: 20px 0;
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-nav-overlay ul li a:hover {
    color: var(--color-primary);
}


/* --- Buttons --- */
.btn {
    padding: 15px 30px;
    border-radius: 40px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    border: 2px solid var(--color-text-grey);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-dark-bg);
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn-dark {
    background-color: #333;
    color: var(--color-white);
    border-color: #333;
}

.btn-dark:hover {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}


/* --- Section: Home/Hero --- */
.hero-section {
    display: flex;
    min-height: 90vh;
    align-items: stretch;
    padding-top: 50px;
}

.hero-content {
    flex: 1;
    padding: 5% 5% 5% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-text {
    font-size: 4vw;
    font-weight: 400;
    margin-bottom: 0;
    color: var(--color-white);
}

.company-name {
    font-size: 7vw;
    margin-top: -10px;
    margin-bottom: 30px;
    line-height: 1;
    color: var(--color-white);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.hero-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #2a2a2a;
    min-height: 400px;
}

.image-overlay {
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: calc(100% - 80px);
    border-radius: 10px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 166, 255, 0.15) 0%, rgba(0, 166, 255, 0.0) 70%);
    pointer-events: none;
}


/* --- Content Sections (General Styles) --- */
.content-section {
    padding: 80px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Padding fix for pages that start with a title right below the header */
#about,
#vision,
#contact {
    padding-top: 140px !important;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 40px;
    padding-bottom: 10px;
    color: var(--color-white);
}

.content-section p,
.content-section li {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-text-grey);
}

.content-section strong {
    color: var(--color-white);
}

/* Consistent Background for About and Vision Sections */
.about-section,
.vision-section {
    background-color: #1a1a1a;
}

.next-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
}

.next-button {
    border-radius: 0;
    padding: 10px 20px;
    font-size: 1rem;
    border: 1px solid var(--color-white);
    background-color: transparent;
    color: var(--color-white);
}

.next-button:hover {
    background-color: var(--color-white);
    color: var(--color-dark-bg);
}

/* Vision Section Specifics */
.vision-section h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--color-white);
}

.core-values ul {
    list-style: none;
    padding: 0;
}

.core-values ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.core-values ul li::before {
    content: "•";
    color: var(--color-primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.mission {
    margin-top: 50px;
    padding: 30px;
    border-left: 5px solid var(--color-primary);
    background-color: #1a1a1a;
}

.mission p {
    font-style: italic;
    color: var(--color-white);
}


/* --- Contact Section (Final Alignment) --- */
.contact-section {
    text-align: center;
    padding-bottom: 100px;
    background-color: #0b0b0b;
}

.contact-section .section-title {
    text-align: center;
}

.presence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: left;
    margin-bottom: 80px;
}

.address-group {
    width: 100%;
    padding-right: 15px;
}

.location-card {
    background-color: #1a1a1a;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-primary);
    background-color: #181818;
}

.location-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
    transition: color 0.3s;
}

.location-card:hover h3 {
    color: var(--color-text-light);
}

/* 🏆 ALIGNMENT FIX: Flexbox with the text wrapped in a span 🏆 */
.contact-detail {
    display: flex;
    align-items: flex-start;

    /* Ensure the entire paragraph block can wrap, but we control the contents */
    flex-wrap: nowrap;

    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.5;
    padding-left: 10px;
}

.contact-detail i {
    color: var(--color-white);

    /* Critical: Set a fixed width for the icon, and prevent it from shrinking */
    min-width: 25px;
    flex-shrink: 0;

    margin-top: 3px;
    font-size: 1.1em;
    transition: color 0.3s;
}

.contact-detail span {
    /* Allow the text container to grow and wrap naturally within the remaining space */
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;

    display: block;
    /* Ensures the span behaves like a block for text wrapping */
    padding-right: 5px;
    /* Ensure text doesn't touch the card edge */
}


.map-image {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    margin-top: 25px;
    border-radius: 5px;
    background-color: #333;
    filter: grayscale(80%);
    opacity: 0.8;
    transition: opacity 0.3s, filter 0.3s;
}

.location-card:hover .map-image {
    opacity: 1;
    filter: grayscale(0%);
}

.social-media {
    margin-top: 50px;
}

.social-media h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--color-white);
}

.social-links a {
    font-size: 2.5rem;
    margin: 0 15px;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links .fa-instagram {
    color: #E4405F;
}

.social-links .fa-linkedin-in {
    color: #0077B5;
}


/* --- Media Queries for Mobile Responsiveness --- */
@media (max-width: 900px) {

    /* Header & Navigation */
    .main-header {
        display: flex;
        justify-content: space-between;
        padding: 15px 5%;
        height: 70px;
    }

    .logo-link {
        padding-right: 0;
    }

    .header-logo-img {
        height: 40px;
        border-radius: 8px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-top: 0;
    }

    /* Mobile Nav Overlay Fix (if needed) */
    .mobile-nav-overlay .close-menu {
        top: 20px;
    }

    /* Hero Section */
    .hero-section {
        flex-direction: column;
        padding-top: 0;
        min-height: auto;
    }

    .hero-content {
        padding: 80px 5% 50px 5%;
        text-align: center;
    }

    .welcome-text {
        font-size: 6vw;
    }

    .company-name {
        font-size: 12vw;
        margin-top: 0;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-image-container {
        padding: 0 5%;
        width: 100%;
    }

    .hero-image {
        width: 100%;
        min-height: 300px;
        margin-bottom: 50px;
    }

    .image-overlay {
        left: 5%;
        width: 90%;
        top: 0;
        height: 100%;
    }

    /* Content Sections */
    .content-section {
        padding: 50px 5%;
    }

    /* Corrected top padding for mobile pages to account for the smaller header */
    #about,
    #vision,
    #contact {
        padding-top: 80px !important;
    }

    .section-title {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .about-section .next-action,
    .vision-section .next-action {
        justify-content: center;
    }

    /* Contact Section */
    .presence-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-card {
        padding: 25px;
    }
}