/* CSS Variables & Reset */
:root {
    /* Light Corporate Theme (Original) */
    --primary-color: #1E293B;
    /* Slate 800 */
    --secondary-color: #475569;
    /* Slate 600 */
    --accent-color: #0F62FE;
    /* Corporate Blue */
    --accent-hover: #0043CE;
    /* Darker Blue */

    /* Backgrounds */
    --bg-light: #FFFFFF;
    --bg-off-white: #F9FAFB;

    /* UI Elements */
    --text-color: #1F2937;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --font-heading: 'Outfit', sans-serif;
    /* Cleaner, more modern for corporate */
    --font-body: 'Outfit', sans-serif;

    --transition-speed: 0.3s;
    --border-radius: 4px;
    /* Sharper corners for corporate feel */
    --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);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    color: #FFFFFF;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-block;
    border: none;
    transition: all var(--transition-speed);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.3);
    /* Blue shadow */
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-block;
    border: 2px solid var(--primary-color);
    transition: all var(--transition-speed);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #E5E7EB;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    /* color: var(--primary-color); Font styles removed as text is in logo now */
}

.logo img {
    height: 50px;
    /* Increased slightly for horizontal logo */
    width: auto;
}

.nav-links ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links .btn-primary {
    padding: 8px 20px;
    color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 65vh;
    min-height: 600px;
    /* Prevent cutoff on short screens (laptops) */
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-main);
    overflow: hidden;
    padding-top: 80px;
    /* Account for fixed navbar */
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('assets/corporate_hero.png');
    background-size: cover;
    background-position: center;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.4;
    /* Reduced from 0.9 for subtler effect */
}

.hero .container {
    width: 100%;
    /* Ensures container takes full width of the flex parent */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding-top: 50px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero .highlight {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.separator {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 20px auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary-color);
    padding: 40px 0;
    color: white;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.stats-bar .stat-item .number {
    font-size: 2rem;
    /* Reduced from 2.5rem per user request */
    font-weight: 700;
    color: var(--accent-color);
    /* Blue pop on dark background */
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stats-bar .stat-item .label {
    font-size: 1rem;
    /* Reverted to original */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #E2E8F0;
    /* Light grey text */
    font-weight: 500;
}

/* About Section adjustments */
.about-section {
    background-color: var(--bg-light);
    padding-bottom: 40px;
}

/* Removed old .stats styles from About */


/* Products/Services Section (Z-Pattern) */
.products-section {
    background-color: var(--bg-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    /* Cards same height */
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-visual {
    width: 100%;
    height: 220px;
    background-color: var(--bg-off-white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .card-visual img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Fills remaining space */
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-content p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes list to bottom if needed */
}

/* Reuse existing service list styles */
.service-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Tablet */
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* 1 Column on Mobile */
    }
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-details li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-details strong {
    color: var(--primary-color);
    min-width: 80px;
}

.contact-form {
    background-color: var(--bg-off-white);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #E5E7EB;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: white;
    border: 1px solid #D1D5DB;
    border-radius: var(--border-radius);
    color: var(--text-main);
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(15, 98, 254, 0.1);
    /* Blue glow */
}

/* Footer */
footer {
    background-color: #F3F4F6;
    padding: 60px 0 30px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo h3 {
    font-size: 1.1rem;
    /* Reduced from 1.5rem */
    font-weight: 700;
    color: var(--primary-color);
    /* Dark Navy for high contrast */
    margin-bottom: 0.2rem;
}

.footer-logo p {
    color: #94A3B8;
    /* Slate 400 */
    font-size: 0.9rem;
}

.footer-logo img {
    height: 30px;
    opacity: 1;
    /* Keeping logo colorful */
}

.footer-links a {
    color: var(--secondary-color);
    margin-left: 30px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        height: auto;
        /* Allow content to determine height on mobile */
        min-height: 80vh;
        /* Ensure it still covers most of the screen */
        align-items: flex-start;
        /* Align to top so padding pushes it down */
        padding-bottom: 60px;
    }

    .hero-bg {
        width: 100%;
        height: 100%;
        /* Cover entire background */
        top: 0;
        bottom: 0;
        clip-path: none;
        opacity: 0.15;
        /* Very subtle watermark effect */
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 0;
        /* Remove spacer, center content */
        padding-top: 140px;
        /* Significant padding to clear header completely */
    }

    .hero h1 {
        font-size: 2.8rem;
        /* Slightly smaller text for mobile */
    }

    .hero-btns {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid #E5E7EB;
        box-shadow: var(--shadow-sm);
    }

    .nav-links.active {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        color: var(--primary-color);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn span {
        background-color: var(--primary-color);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}