/* --- General Setup & Variables --- */
:root {
    --sandstone-beige: #eae4dc;
    --sunset-coral: #e76f51;
    --midnight-slate: #2f2e41;
    --fog-white: #f9f9f9;
    --charcoal-graphite: #2c2c2c;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal-graphite);
    background-color: var(--fog-white);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--midnight-slate);
    font-weight: 600;
}

h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

p {
    line-height: 1.6;
}

section {
    padding: 6rem 5%;
    overflow: hidden;
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

header.scrolled nav, nav.scrolled {
    background-color: rgba(249, 249, 249, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--midnight-slate);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links a {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--charcoal-graphite);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sunset-coral);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger { display: none; }

/* --- 1. Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 5%;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/25.jpg') no-repeat center center/cover;
    filter: brightness(0.4);
    z-index: -1;
    animation: zoom-in 20s ease-out infinite alternate;
}

@keyframes zoom-in {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content h1 {
    font-size: 4rem;
    color: white;
    margin: 0;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: white;
    font-family: var(--font-body);
    font-weight: 400;
    margin: 1rem 0 3rem;
}

.scroll-cta {
    animation: fade-in-out 2s ease-in-out infinite;
    position: absolute;
    bottom: 2rem;
}

.scroll-cta p {
    margin: 0;
    font-size: 0.9rem;
}

.scroll-cta span {
    font-size: 1.5rem;
    line-height: 1;
    animation: bounce 1.5s infinite;
    display: inline-block;
}

@keyframes fade-in-out {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}


/* --- 2. Who We Are Section --- */
.about-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    background-color: var(--sandstone-beige);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p strong {
    color: var(--sunset-coral);
    font-weight: 600;
}

/* --- 3. Capabilities Section --- */
.capabilities-section {
    background-color: var(--fog-white);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.capability-card {
    background: white;
    padding: 2.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(47, 46, 65, 0.1);
}

.capability-card i {
    font-size: 2.5rem;
    color: var(--sunset-coral);
    margin-bottom: 1rem;
}

.capability-card h4 {
    margin: 0;
    font-size: 1.2rem;
}

/* --- 4. Industries Served Section --- */
.industries-section {
    background-color: var(--midnight-slate);
    padding: 6rem 0;
}

.industries-section h3 {
    color: white;
    padding: 0 5%;
}

.horizontal-scroll-wrapper {
    overflow-x: auto;
    padding: 2rem 5%;
    scrollbar-width: none; /* Firefox */
}
.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.horizontal-scroll {
    display: flex;
    gap: 2rem;
    width: max-content;
}

.industry-card {
    width: 320px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover img {
    transform: scale(1.05);
}

.industry-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.card-content i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--sunset-coral);
}

.card-content h5 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.card-content p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
}

/* --- 5. Process Timeline --- */
.process-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--sandstone-beige);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 1rem 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--sunset-coral);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}
.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

/* --- 6. Sustainability Commitment --- */
.sustainability-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/7.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.sustainability-content h3 {
    color: white;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    text-align: center;
}

.badge i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--sunset-coral);
}

.badge p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* --- 7. Testimonials --- */
.testimonials-section {
    background-color: var(--sandstone-beige);
}

.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    padding: 0 2rem;
}

.testimonial-slide {
    padding: 2rem;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--midnight-slate);
    margin-bottom: 1.5rem;
}

.author {
    font-weight: 600;
    color: var(--sunset-coral);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 4rem);
    display: flex;
    justify-content: space-between;
}

.carousel-nav button {
    background: transparent;
    border: none;
    color: var(--midnight-slate);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.carousel-nav button:hover {
    opacity: 1;
}

/* --- 8. Contact / CTA --- */
.contact-section {
    background-color: var(--midnight-slate);
    color: var(--fog-white);
    text-align: center;
}

.contact-content h3 {
    color: white;
    font-size: 2.8rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content p {
    color: var(--sandstone-beige);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-buttons {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--sunset-coral);
    color: white;
}
.btn-primary:hover {
    background-color: #d65a3e;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--sandstone-beige);
    color: var(--sandstone-beige);
}
.btn-secondary:hover {
    background-color: var(--sandstone-beige);
    color: var(--midnight-slate);
}

.contact-details {
    margin-top: 3rem;
    font-size: 0.9rem;
}

.contact-details p {
    margin: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-details p:first-child {
    margin-right: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--sandstone-beige);
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    h3 { font-size: 2rem; }
    section { padding: 4rem 5%; }
    
    .nav-links { display: none; }
    .hamburger { display: block; position: relative; }
    .hamburger i { font-size: 1.5rem; cursor: pointer; color: var(--midnight-slate); }
    .mobile-menu {
        position: absolute;
        top: 2.5rem;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        width: 200px;
        padding: 1rem;
    }
    .mobile-menu a { padding: 0.75rem 1rem; color: var(--charcoal-graphite); text-decoration: none; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content h2 { font-size: 1.2rem; }
    
    .about-section { flex-direction: column; }
    
    .timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 15px; }
    .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .badges { flex-direction: column; gap: 2rem; }
    
    .contact-content h3 { font-size: 2rem; }
    .contact-details { display: flex; flex-direction: column; align-items: center; }
    .contact-details p:first-child { margin-right: 0; }
}