@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary: #64748B;
    /* Industrial Grey */
    --secondary: #94A3B8;
    /* Slate Soft */
    --accent: #F97316;
    /* Safety Orange */
    --bg-color: #F8FAFC;
    /* Light Slate Background */
    --text-main: #334155;
    /* Dark Slate Text */
    --text-light: #64748B;
    /* Muted Text */
    --white: #ffffff;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --blur-amount: 12px;

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
}

.text-gradient {
    background: linear-gradient(135deg, #F97316 20%, #FFFFFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-main);
    border: 1px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--white);
    border-color: var(--primary);
}

/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 100px;
    padding: 0 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
    /* Removed gap to be flush */
    letter-spacing: -0.03em;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
}

.brand-tech {
    color: var(--accent);
    font-weight: 800;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-logo .brand-tech {
    color: var(--accent);
}

.footer-logo {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-logo .brand-tech {
    color: var(--accent);
}

.footer-logo .logo-icon path[fill="#334155"] {
    fill: #cbd5e1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
    /* We'll use a gradient mask here later if needed or rely on the image */
    background: linear-gradient(90deg, #F8FAFC 40%, rgba(248, 250, 252, 0.7) 100%);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Hero Section */
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--white);
    /* Changed to white for contrast */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* Added shadow for readability */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #E2E8F0;
    /* Slate 200 - lighter text */
    margin-bottom: 40px;
    max-width: 540px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    /* Changed to white */
}

.stat-item p {
    font-size: 0.9rem;
    color: #CBD5E1;
    /* Slate 300 */
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Lighter border */
}

/* ... other hero styles ... */

/* Services/Advantages Section */
.services {
    background: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Remove .learn-more styles since we are removing links */
.learn-more {
    display: none;
}

/* Projects Section */
.projects {
    background: #F1F5F9;
    /* Keeping it slightly different or reusing bg-color */
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/pattern_bg.png');
    background-size: 800px;
    opacity: 0.05;
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 400px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ... existing code ... */

/* Fix background-clip in text-gradient (needs to be applied earlier in file, but I'll use a separate block for that if needed, or just re-declare the class here to override if cascade permits, but better to edit the original location. I will use a separate replacement for the text-gradient fix). */

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.check-list {
    margin-top: 32px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
    font-weight: 500;
}

.check-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

/* Footer */
.footer {
    background: #1E293B;
    /* Slate 800 */
    color: #F8FAFC;
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-brand span {
    color: var(--accent);
}

.footer-brand p {
    color: #94A3B8;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 100%);
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(249, 115, 22, 0.9);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.project-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    max-width: 90%;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        height: 350px;
    }
}