/* Global Styles */
:root {
    --primary-color: #FF6B35; /* Modern orange */
    --secondary-color: #1A2A3A; /* Deep navy blue */
    --accent-color: #FFD166; /* Vibrant yellow */
    --text-color: #2F2F2F;
    --light-color: #F8F9FA;
    --dark-color: #121212;
    --gray-color: #6C757D;
    --header-height: 90px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #FF8D65 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary-color) 0%, #2C3E50 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
    bottom: 5px;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

.underline {
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 5px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.cta-button:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.cta-button:hover:before {
    opacity: 1;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: loader-rotation 1s linear infinite;
}

.loader-inner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    top: 5px;
    left: 5px;
    animation: loader-rotation 0.8s linear infinite reverse;
}

@keyframes loader-rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.preloader-text {
    color: var(--light-color);
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    animation: pulsate 1.5s infinite;
}

@keyframes pulsate {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 100;
    transition: var(--transition);
    backdrop-filter: blur(0);
}

header.scrolled {
    background-color: rgba(26, 42, 58, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1.5px;
    position: relative;
}

.logo-text:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    bottom: 8px;
    right: -12px;
}

.logo-tagline {
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 40px;
}

.nav-link {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover:before,
.nav-link.active:before {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-color);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-animate 2s infinite;
}

@keyframes scroll-animate {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 35px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    background-color: var(--light-color);
    position: relative;
}

.about:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: url('images/pattern.png');
    opacity: 0.04;
    z-index: 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
    position: relative;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.company-stats {
    display: flex;
    margin-top: 50px;
    justify-content: space-between;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat {
    text-align: center;
    flex: 1;
    position: relative;
}

.stat:not(:last-child):after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.stat-number:after {
    content: "";
}

.stat:first-child .stat-number:after,
.stat:last-child .stat-number:after {
    content: "+";
    font-size: 1.8rem;
    position: absolute;
    top: 5px;
    right: -20px;
}

.stat:nth-child(2) .stat-number:after {
    content: "%";
    font-size: 1.8rem;
    position: absolute;
    top: 5px;
    right: -25px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: translateZ(0);
    transition: var(--transition);
}

.image-frame:before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 90px;
    height: 90px;
    border: 8px solid var(--primary-color);
    z-index: -1;
    opacity: 0.3;
}

.image-frame:after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    border: 8px solid var(--accent-color);
    z-index: -1;
    opacity: 0.3;
}

.image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: var(--transition);
}

.image-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.image-frame:hover img {
    transform: scale(1.05);
}

.company-info {
    display: flex;
    gap: 30px;
    margin-top: 60px;
}

.info-card {
    flex: 1;
    background: white;
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.info-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    opacity: 0.03;
    z-index: -1;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.info-card:hover:before {
    height: 100%;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.info-card h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.info-card ul li, .info-card address {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* Services Section */
.services {
    background-color: white;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-card:hover:before {
    height: 100%;
    opacity: 1;
}

.service-card:hover * {
    color: white;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card p {
    margin-bottom: 0;
    transition: var(--transition);
}

/* Projects Section */
.projects {
    background-color: var(--light-color);
}

.projects-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 10px 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--primary-color);
}

.filter-btn:hover:after, 
.filter-btn.active:after {
    width: 30px;
}

.filter-btn.active {
    color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-item {
    position: relative;
    transition: var(--transition);
    opacity: 1;
    transform: scale(1);
}

.project-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    height: 300px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 42, 58, 0.95) 0%, rgba(26, 42, 58, 0.4) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    transform: translateY(20px);
    transition: var(--transition);
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.project-info p {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-link {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.project-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.project-link:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 0 0 48%;
    padding: 40px;
    background-color: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.contact-button-container {
    flex: 0 0 48%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-right: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.contact-us-button {
    font-size: 1.2rem;
    padding: 20px 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.contact-us-button:hover {
    transform: scale(1.05);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-method i {
    font-size: 1.6rem;
    color: var(--primary-color);
    background-color: rgba(255, 107, 53, 0.1);
    padding: 16px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-info:hover .contact-method i {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.contact-method h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.contact-method p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    padding: 50px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    position: relative;
    overflow: hidden;
}

.contact-form:before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    opacity: 0.03;
    z-index: 0;
}

.contact-form:after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    opacity: 0.03;
    z-index: 0;
}

.form-group {
    position: relative;
    z-index: 1;
}

.form-group:nth-child(5) {
    grid-column: 1 / -1;
}

.form-group:nth-child(6) {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    background: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: none;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--gray-color);
    transition: var(--transition);
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.form-border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.form-group input:focus ~ .form-border,
.form-group textarea:focus ~ .form-border {
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    position: static;
    padding: 0;
    background: none;
    color: var(--text-color);
    font-size: 0.95rem;
}

.contact-form .cta-button {
    grid-column: 1 / -1;
    justify-self: center;
    width: auto;
    min-width: 200px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.map-container iframe {
    height: 100%;
    width: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: "";
    position: absolute;
    top: -80px;
    right: 0;
    width: 40%;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.03;
    transform: rotate(-20deg);
    z-index: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo .logo-text {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.footer-logo p {
    margin-top: 20px;
    opacity: 0.8;
}

.footer-links-container {
    display: flex;
    gap: 60px;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    padding: 5px 0;
    display: inline-block;
    position: relative;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-links ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 25px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    color: white;
}

.cookie-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
}

.cookie-content p {
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    margin-left: 30px;
}

.cookie-btn {
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    border: none;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn.settings {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cookie-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.5s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close {
    color: var(--gray-color);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

.policy-content {
    max-height: 70vh;
    overflow-y: auto;
}

.policy-text {
    margin-top: 30px;
    line-height: 1.7;
}

.policy-text h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--secondary-color);
}

.policy-text p, .policy-text ul {
    margin-bottom: 15px;
}

.policy-text ul {
    padding-left: 20px;
}

/* Cookie Settings */
.cookie-options {
    margin: 30px 0;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--light-color);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
}

.cookie-option h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cookie-option p {
    margin-bottom: 0;
    font-size: 0.9rem;
    max-width: 80%;
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.cookie-settings-buttons {
    text-align: center;
    margin-top: 30px;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .company-info {
        flex-direction: column;
    }
    
    .company-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 25px 15px;
    }
    
    .stat {
        flex: 0 0 30%;
    }
    
    .stat:not(:last-child):after {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .company-stats {
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
    }
    
    .stat {
        flex: 0 0 100%;
    }
    
    .stat-number {
        font-size: 3.2rem;
        margin-bottom: 10px;
    }
    
    .stat-label {
        font-size: 0.9rem;
        max-width: 120px;
        margin: 0 auto;
    }
    
    .stat:first-child .stat-number:after,
    .stat:last-child .stat-number:after {
        right: -15px;
        font-size: 1.5rem;
    }
    
    .stat:nth-child(2) .stat-number:after {
        right: -20px;
        font-size: 1.5rem;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
    }
    
    .cookie-buttons {
        margin-top: 15px;
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .cookie-consent {
        padding: 20px 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-child(1),
    .form-group:nth-child(2),
    .form-group:nth-child(3),
    .form-group:nth-child(4) {
        grid-column: 1 / -1;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 99;
}

.scroll-to-top.show {
    transform: translateY(0);
    opacity: 1;
}

.scroll-to-top:hover {
    background: var(--gradient-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Form success message */
.success-message {
    text-align: center;
    padding: 50px 0;
    animation: fadeIn 0.6s ease-out;
}

.success-message i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.success-message p {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* Form error styling */
.error-message {
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 5px;
    animation: shake 0.6s ease-in-out;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #f44336;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
} 