/* Base styles and variables */
:root {
    --primary-color: #31b233; /* Deep navy blue - more professional */
    --secondary-color: #ff6b35; /* Vibrant orange - stands out better */
    --tertiary-color: #2c5f96; /* Medium blue for accents */
    --text-color: #344054; /* Improved readability */
    --light-text: #ffffff;
    --light-bg: #ffffff;
    --dark-bg: #f5f7fa; /* Slightly more blue-tinted */
    --accent-bg: #e8f0fe; /* Subtle blue tint for hover states */
    --card-hover-bg: rgba(20, 58, 98, 0.03); /* Subtle hover effect */
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08); /* More pronounced shadow */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.07); /* Specific shadow for cards */
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.12); /* Shadow for hover states */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px; /* Standardized border radius */
    --section-spacing: 100px; /* Standardized section spacing */
}

/* Keyframe Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: 1.7;
    letter-spacing: 0.3px;
    color: var(--text-color);
    background: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.container {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 40px;
    opacity: 0;
    animation: fadeInRight 0.6s ease forwards;
    animation-delay: calc(0.1s * var(--i));
}
.nav-menu li:nth-child(1) { --i: 1; }
.nav-menu li:nth-child(2) { --i: 2; }
.nav-menu li:nth-child(3) { --i: 3; }
.nav-menu li:nth-child(4) { --i: 4; }
.nav-menu li:nth-child(5) { --i: 5; }

.nav-menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    padding: 8px 0;
}

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

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

.nav-menu a:hover, 
.nav-menu a.active {
    color: var(--secondary-color);
}

/* Language Selector */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.language-selector .lang-toggle {
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.language-selector .lang-toggle:hover {
    color: var(--secondary-color);
}

.language-selector .lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 10px 0;
    min-width: 160px;
    z-index: 1001;
    animation: fadeInUp 0.3s ease;
    transform-origin: top center;
}

.language-selector:hover .lang-dropdown,
.language-selector .lang-toggle:focus + .lang-dropdown {
    display: block;
}

.language-selector .lang-dropdown a {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.language-selector .lang-dropdown a i {
    margin-right: 10px;
}

.language-selector .lang-dropdown a:hover,
.language-selector .lang-dropdown a.active {
    background: var(--accent-bg);
    color: var(--secondary-color);
}

/* Hamburger Menu */
.menu-toggle {
    display: none; /* Hidden by default */
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1010;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(160deg, var(--light-bg) 0%, var(--dark-bg) 100%);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: rgba(20, 58, 98, 0.03);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    position: relative;
}

.pre-heading {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.pre-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    transform: translateY(-50%);
}

.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.cta-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

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

/* Section Styling */
section {
    padding: var(--section-spacing) 0;
    position: relative;
}

section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    display: block;
    margin: 15px auto 0;
    transition: width 0.4s ease;
}

section:hover h2::after {
    width: 80px;
}

#introduction {
    background: var(--dark-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#introduction::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(20, 58, 98, 0.03);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

#introduction p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Industry Cards */
.industries {
    background: linear-gradient(160deg, var(--dark-bg) 0%, #fff 100%);
    position: relative;
    z-index: 1;
}

.industry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

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

.card-img {
    height: 220px;
    overflow: hidden;
    border-radius: calc(var(--border-radius) - 2px);
    margin-bottom: 25px;
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover .card-img::after {
    opacity: 1;
}

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

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.card a {
    text-decoration: none;
    color: var(--primary-color);
}

.card a:hover h3 {
    color: var(--secondary-color);
}

.card p {
    margin-top: auto;
    color: var(--text-color);
    line-height: 1.6;
}

/* Headline Section */
#headline {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

#headline::before {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 50%;
}

.headline-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.headline-container h2 {
    margin-bottom: 30px;
}

.headline-container p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Partners Section */
.partners {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
    padding-bottom: var(--section-spacing);
}

.partners::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: center;
}

.partner-logos .logo {
    padding: 25px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logos .logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(20, 58, 98, 0.1);
}

.partner-logos .logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logos .logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
footer {
    background: linear-gradient(160deg, var(--dark-bg) 0%, #e8edf3 100%);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links h3, 
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.footer-links h3::after, 
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    margin-bottom: 14px;
    display: block;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #555;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    color: #777;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: none;
}

.cookie-consent button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    transition: var(--transition);
}

.cookie-consent button:hover {
    background-color: #c09a2b;
}

/* Back-to-Top and Scroll Progress */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 1001;
    transition: width 0.2s ease;
}

/* Animation classes for page elements */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeInLeft 1s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInRight 1s ease forwards;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Enhanced Responsive Design */
@media screen and (max-width: 1200px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .container {
        width: 90%;
    }
}

@media screen and (max-width: 992px) {
    :root {
        --section-spacing: 80px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .nav-menu li {
        margin-left: 30px;
    }
    
    .hero .container {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show only on smaller screens */
    }

    .lang-dropdown {
        display: none;
    }
    
    .lang-dropdown.show {
        display: block;
    }
    
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--light-bg);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0; /* Slide in when active */
    }

    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        font-size: 18px;
        padding: 10px 0;
    }

    .language-selector {
        margin: 20px 0;
        width: 100%;
    }
    
    .language-selector .lang-dropdown {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        margin-top: 10px;
        padding: 0;
    }
    
    .language-selector .lang-dropdown a {
        padding: 10px 15px;
    }

    /* Ensure language selector appears last in mobile view */
    .nav-menu li.language-selector {
        order: 5; /* Moves it to the end of the list */
        margin-top: 20px; /* Add some spacing above it */
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-top: 30px;
    }

    .hero {
        padding: 120px 0 60px;
    }
    
    .pre-heading {
        padding-left: 0;
    }
    
    .pre-heading::before {
        display: none;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .partner-logos {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Industries Section Styles */
.industries-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(160deg, var(--dark-bg) 0%, #fff 100%);
}

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

.industry-item {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.industry-item:hover .industry-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.industry-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.industry-item:hover h3 {
    color: var(--secondary-color);
}

.industry-item p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.industry-item button {
    margin-top: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 108, 178, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.read-more-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.read-more-btn:hover::before {
    left: 100%;
}

/* Project details styling */
.project-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 50px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.project-image {
    height: 100%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-details {
    padding: 30px;
}

.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.project-location {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.project-location::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.9rem;
}

.project-description {
    line-height: 1.7;
    margin-top: 15px;
}

/* Additional Project Information */
.project-specs {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 5px;
}

.spec-value {
    font-weight: 600;
    color: var(--primary-color);
}

@media screen and (max-width: 992px) {
    .project-item {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 250px;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --section-spacing: 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .card-img {
        height: 180px;
    }
    
    .partner-logos .logo {
        height: 100px;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .read-more-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .project-details {
        padding: 20px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .industries-grid {
        gap: 25px;
    }
    
    .industry-item {
        padding: 20px;
    }
}