:root {
    --primary-color: #0f172a; /* Deep Slate - Professional and Engineering focused */
    --secondary-color: #2563eb; /* Vibrant Blue for Trust and Precision */
    --accent-color: #f59e0b; /* Amber/Gold for premium badges/highlights */
    --text-color: #334155;
    --text-light-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 110px;
    
    /* Premium Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-card: 0 12px 32px -4px rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* Premium smooth corners */
}

.highlight {
    color: var(--secondary-color);
}

/* Utility Classes */
.text-white { color: var(--white) !important; }
.text-white .highlight { color: #93c5fd; } /* Lighter blue highlight for dark backgrounds */
.text-light-gray { color: #cbd5e1 !important; }
.text-center { text-align: center; }
.margin-top-large { margin-top: 60px; }
.margin-bottom { margin-bottom: 32px; }
.w-100 { width: 100%; }

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-bottom: 24px;
    border-radius: 2px;
}

.divider.center {
    margin: 0 auto 24px;
}

.section-header-text {
    max-width: 720px;
    margin: 0 auto 48px;
    color: var(--text-light-gray);
    font-size: 1.125rem;
}

.subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: #cbd5e1;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero .btn-secondary {
    border-color: var(--primary-color);
}

.hero .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary-color);
}

.btn-quote {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-quote::after { display: none; }

.btn-quote:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.nav-close, .nav-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section (Light Theme Adjusted) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    z-index: -2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Refined vignette leaving the center bright and crisp */
    background: radial-gradient(circle at center, transparent 20%, rgba(15, 23, 42, 0.4) 100%);
    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-content {
    max-width: 680px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 56px 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 20px;
    padding: 6px 16px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
}

.hero-title {
    color: var(--primary-color);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-description {
    color: var(--text-color);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 36px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 16px;
}

.about-image img {
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    border: 4px solid var(--white);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.section-text {
    margin-bottom: 20px;
    color: var(--text-light-gray);
    font-size: 1.05rem;
}

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 12px 16px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.about-features i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 72px;
    height: 72px;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-description {
    color: var(--text-light-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Why Choose Us */
.why-us {
    background-color: var(--primary-color);
    padding: 100px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.stat-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.industry-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 340px;
    box-shadow: var(--shadow-md);
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
}

.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.industry-overlay h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.4rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.industry-overlay p {
    color: #cbd5e1;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    line-height: 1.5;
}

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

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.industry-card:hover .industry-overlay h3,
.industry-card:hover .industry-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Facility */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.list-title {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.custom-list {
    margin-bottom: 24px;
}

.custom-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.custom-list i {
    color: var(--secondary-color);
    font-size: 1.4rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 4px;
    border-radius: 50%;
}

/* Project Highlights & Testimonials */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.project-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.project-card p {
    color: var(--text-light-gray);
    font-size: 1rem;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.testimonial-item {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.testimonial-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
    opacity: 0.9;
}

.testimonial-item p {
    font-style: italic;
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.75rem;
    color: var(--white);
    background-color: var(--secondary-color);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light-gray);
    font-size: 1rem;
}

.contact-form-container {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid #f1f5f9;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    display: block;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-text {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-weight: 700;
}

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

.footer-col ul li a {
    color: #94a3b8;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.95rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .about-grid, .why-us-grid, .split-section, .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .experience-badge {
        right: 20px;
        bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .nav-toggle, .nav-close {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white);
        padding: 80px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1001;
    }
    .nav-menu.show-menu {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .nav-link {
        color: var(--primary-color);
        font-size: 1.1rem;
    }
    .nav-close {
        position: absolute;
        top: 24px;
        right: 24px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form-container {
        padding: 32px 24px;
    }
    
    .services-grid, .projects-grid, .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    /* Extra Mobile Adjustments */
    :root {
        --header-height: 90px; /* Smaller header for mobile */
    }
    .logo img {
        height: 80px !important; /* Scale down the 120px logo */
    }
    .hero-content {
        padding: 32px 24px;
        margin: 0 16px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer {
        padding: 60px 0 24px;
    }
    .about-features li {
        font-size: 0.95rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
}
/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    color: white;
}
