:root {
    --black: #0A0A0A;
    --white: #FFFFFF;
    --dark-grey: #1A1A1A;
    --light-grey: #F5F5F5;
    --silver: #C0C0C0;
    
    /* Pastel Accents */
    --pastel-mint: #D1E8E2;
    --pastel-lavender: #E6E6FA;
    --pastel-peach: #FFE5D9;
    --light-black: #222222; /* Added light black */

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    width:100%;
    overflow-x:hidden;
}

body {
    background-color: var(--white);
    color: var(--dark-grey);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100%;
}
/* Updated Sticky Nav */
.sticky-nav{
    position:fixed;
    top:0;
    left:0;
    right:0;

    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;

    padding:15px clamp(15px,4vw,50px);

    background:var(--black);

    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:1000;
}

.nav-logo-img {
    height: 60px; /* Increased size to fit nav bar better */
    width: 60px; /* Force square for circular radius */
    object-fit: cover;
    border-radius: 50%; /* Circular */
    filter: none; 
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    justify-content: center; /* Center the links */
    grid-column: 2;
}

/* Burger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    grid-column: 3;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Updated Mobile Styles */
@media (max-width: 768px) {
    .sticky-nav { justify-content: space-between; }
    .menu-toggle { display: block; } /* Show on mobile */
    .nav-links{

    display:none;

    flex-direction:column;

    position:absolute;

    top:100%;

    left:0;
    right:0;

    width:100%;

    padding:20px;

    background:var(--dark-grey);

    text-align:center;

    gap:20px;

    box-sizing:border-box;
}

    .nav-links.active { display: flex; }
    .hero { padding-top: 20px; height: auto; min-height: 100vh;}
    .hero-text-logo {
        margin-left: 0;
        margin-top: 50px;
    }
    .hero h1 {
        margin-left: 0;
        font-size: 2.5rem;
    }
    section { padding: 60px 20px; }
}
.hero{

    position:relative;

    background-image:
        linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),
        url("images/industry_landing_page.jpg");

    background-size:cover;
    background-position:center;

    min-height:calc(100svh - 90px);

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    color:var(--white);

    padding-inline:clamp(16px,5vw,50px);

}

/* Hero Logo Container */
.hero-logo-container {
    margin-bottom: 30px;
    overflow: hidden; /* Essential for shimmer masking */
    position: relative;
    width: 200px;
}

.hero-text-logo{

    width:min(90vw,600px);

    height:auto;

    margin-top:80px;

    margin-bottom:20px;
    

}

.hero-logo {
    width: 100%;
    height: auto;
    display: block;
    will-change: transform;
}

/* Shimmer Overlay */
.shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    pointer-events: none;
}

.hero h1{

    font-family:var(--font-heading);

    font-size:clamp(2rem,9vw,4rem);

    line-height:1.1;

    margin:0 0 20px;

    word-break:break-word;

}

.hero p{

    font-size:clamp(.95rem,3.5vw,1.2rem);

    line-height:1.6;

    max-width:700px;

    margin:0 auto 30px;

}

/* Animations */
.hidden { opacity: 0; transition: opacity 1s; }
.fade-in { opacity: 1; }

/* Modern Layout Styles */
section{

    padding:

    clamp(60px,8vw,100px)

    clamp(16px,5vw,50px);

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 0 20px;
}

.service-card {
    background: var(--light-black); /* Light black background */
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-img-container {
    display: flex;
    gap: 10px;
    height: 150px;
    margin-bottom: 15px;
}

.service-img-container img {
    flex: 1;
    object-fit: contain; /* Changed from cover to contain to prevent cropping */
    border-radius: 10px;
    background-color: var(--white); /* Add white background for better visibility if needed */
}

.service-img-placeholder {
    height: 150px;
    background-color: var(--dark-grey);
    border-radius: 10px;
    margin-bottom: 15px;
}

.btn {
    padding: 15px 30px;
    background: var(--dark-grey);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .services-grid { 
        padding: 0 20px; /* Added padding to prevent edge clipping */
        gap: 15px; 
    }
}

@media (max-width: 768px) {
    .services-grid { 
        padding: 0 20px;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    background: #333;
}

/* About Section Styling */
#about {
    text-align: center;
}

#about h3 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

#about p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

#more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

#more-content.expanded {
    max-height: 2000px;
}

#read-more-btn {
    cursor: pointer;
    margin-top: 10px;
}
/* End About Section Styling */

/* Industries Section Styling */
#industries {
    text-align: center;
    padding: 100px 20px; /* Reduced side padding for mobile */
}

.industries-grid {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.industry-card {
    background: var(--light-grey);
    padding: 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--black);
    transition: background 0.3s;
    width: 100%;
    box-sizing: border-box; /* Ensure padding doesn't increase width */
}

.industry-card:hover {
    background: var(--silver);
}

.industry-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    list-style: none;
    margin: 15px 0 0 0;
}

.industry-topics li {
    border: 1px solid var(--black);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--dark-grey);
}

.industry-topics li::before {
    content: "•";
    margin-right: 5px;
    color: var(--black);
}

/* Contact Styling */
#contact {
    background: var(--black);
    color: var(--white);
    padding: 100px 50px;
    text-align: center;
}

#contact h2 {
    color: var(--white);
    margin-bottom: 40px;
}

.contact-container{

    display:flex;

    gap:50px;

    justify-content:center;

    align-items:flex-start;

    max-width:1000px;

    margin:auto;

    width:100%;

}

.contact-info {
    flex: 1;
    padding: 20px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-form{

    flex:1;

    width:100%;

    max-width:600px;

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form button {
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width:360px){

.hero{

    padding-inline:15px;

}

.hero-text-logo{

    width:85%;

    margin-top:70px;

}

.hero h1{

    font-size:2rem;

}

.hero p{

    font-size:.95rem;

}

.nav-logo-img{

    width:50px;

    height:50px;

}

.sticky-nav{

    padding:12px 15px;

}

}

/* Footer Styling */
footer {
    background: var(--dark-grey);
    color: var(--white);
    text-align: center;
    padding: 30px;
}
