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

:root {
    --primary-color: #1a1a2e; /* Dark Navy - Modern feel */
    --secondary-color: #16c784; /* Vibrant Green - Tech accent */
    --accent-color: #0f3460; /* Deep Blue - Contrast */
    --text-color: #2d3436;
    --light-text-color: #ffffff;
    --background-light: #ffffff;
    --background-dark: #f8f9fa;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

.accent {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary, .btn-secondary, .cookie-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: #12a86d;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

/* Navigation */
.navbar {
    background-color: var(--background-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.nav-brand h1 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.5px;
}

.nav-brand .tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-top: -3px;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    font-size: 0.9rem;
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text-color);
    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;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(15, 52, 96, 0.5) 100%);
}

.hero-content {
    z-index: 10;
    max-width: 700px;
    padding: 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.2rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons a {
    margin: 0 12px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 300;
}

/* Block 2: Achievements */
.achievements {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--light-text-color);
    padding: 60px 0;
}

.achievements .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

.achievement-item {
    flex-basis: 22%;
    padding: 20px;
}

.achievement-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.achievement-item p {
    font-size: 1rem;
    font-weight: 300;
}

/* Block 3: Services Highlight */
.services-highlight {
    background-color: var(--background-light);
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 35px;
    text-align: center;
    border-radius: 8px;
    background-color: var(--background-dark);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(22, 199, 132, 0.15);
    border-color: var(--secondary-color);
}

.service-card i {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
    color: #7f8c8d;
}

/* Block 4: Featured Showcase */
.featured-showcase {
    background-color: var(--background-dark);
    padding: 80px 0;
}

.featured-showcase .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.showcase-content p {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}

.project-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

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

.stat-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-top: 5px;
}

.showcase-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Block 5: Process Timeline */
.process-timeline {
    background-color: var(--background-light);
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.timeline-item {
    flex-basis: calc(20% - 16px);
    text-align: center;
    position: relative;
}

.timeline-marker {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.timeline-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Block 6: Testimonials */
.testimonials {
    background-color: var(--background-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    padding: 30px;
    background-color: var(--light-text-color);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial .rating {
    margin-bottom: 15px;
}

.testimonial i {
    color: var(--secondary-color);
    margin-right: 3px;
}

.testimonial p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial footer {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Block 7: CTA Final */
.cta-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--light-text-color);
    text-align: center;
    padding: 70px 0;
}

.cta-final h2 {
    color: var(--light-text-color);
    margin-bottom: 15px;
}

.cta-final p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: #0f0f1e;
    color: #bdc3c7;
    padding: 50px 0 20px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-section {
    flex-basis: 23%;
    margin-bottom: 20px;
}

.footer-section h3, .footer-section h4 {
    color: var(--light-text-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 10px;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.1rem;
    margin-right: 12px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #2d3436;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 46, 0.95);
    color: var(--light-text-color);
    padding: 18px 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.cookie-text {
    display: flex;
    align-items: center;
    flex: 1;
}

.cookie-text i {
    font-size: 1.5rem;
    margin-right: 18px;
    color: var(--secondary-color);
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 300;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 20px;
}

.cookie-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cookie-btn.accept {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
}

.cookie-btn.accept:hover {
    background-color: #12a86d;
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--light-text-color);
    border: 1px solid var(--light-text-color);
}

.cookie-btn.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Utility Class for other pages */
.content-page {
    padding: 100px 0;
    min-height: 70vh;
}

.content-page h2 {
    margin-bottom: 30px;
    text-align: left;
    color: var(--primary-color);
}

.content-page p, .content-page ul {
    margin-bottom: 20px;
}

.content-page ul {
    list-style: disc;
    padding-left: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .featured-showcase .container {
        flex-direction: column;
    }

    .timeline {
        flex-direction: column;
    }

    .timeline-item {
        flex-basis: 100%;
    }

    .footer-section {
        flex-basis: 45%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .achievements .container {
        flex-direction: column;
    }

    .achievement-item {
        flex-basis: 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        margin-bottom: 12px;
    }

    .cookie-actions {
        justify-content: center;
        margin-left: 0;
    }

    .project-stats {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-section {
        flex-basis: 100%;
    }
}
