/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #1a237e;
    --accent-color: #d32f2f;
    --light-color: #ffffff;
    --dark-color: #1a1a1a;
    --text-color: #1a1a1a;
    --light-text: #ffffff;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

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

/* Navigation */
.navbar {
    padding: 1rem 0;
    background-color: var(--light-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.brand-text {
    color: var(--primary-color);
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 5rem;
    background-color: var(--light-color);
    position: relative;
}

.hero-image {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--light-color);
}

.hero-image h1 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Snapshot */
.service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--dark-color);
    margin: 1.5rem 0;
    font-weight: 700;
}

.service-card p {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Why Choose Us */
.why-us-item {
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-us-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Client Spotlight */
.client-spotlight {
    padding: 5rem 0;
}

.client-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.client-info {
    padding: 2rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-text);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--light-text);
    text-decoration: none;
}

.footer h5 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* About Us Page */
.about-section {
    padding: 8rem 0 5rem;
}

.timeline-item {
    position: relative;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    margin-bottom: 2rem;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
}

/* Services Page */
.service-page-item {
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin-bottom: 3rem;
}

.service-page-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Portfolio Page */
.portfolio-grid {
    padding: 5rem 0;
}

.portfolio-item {
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    background-color: rgba(52, 152, 219, 0.9);
}

.portfolio-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
}

/* Contact Page */
.contact-section {
    padding: 8rem 0 5rem;
}

.contact-form {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.contact-info {
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

/* Careers Page */
.careers-section {
    padding: 8rem 0 5rem;
}

.career-form {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 7rem 0 3rem;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card, .why-us-item {
        margin-bottom: 1.5rem;
    }
    
    .client-spotlight {
        text-align: center;
    }
    
    .client-image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.2rem;
        font-size: 1rem;
    }
}

/* Animation */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-consent p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 767.98px) {
    .cookie-consent .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cookie-buttons {
        margin-top: 10px;
        justify-content: center;
    }
}

/* Text */
p {
    color: #4a4a4a;
    line-height: 1.8;
}

/* Cookies Button */
#acceptCookies {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

#acceptCookies:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

/* Form Elements */
input, textarea, select {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: var(--dark-color);
    padding: 0.5rem;
    border-radius: 5px;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
    outline: none;
}
