/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: #444;
    background-color: #f8f8f8;
}

.container {
    width: 85%;
    margin: auto;
    overflow: hidden;
    padding: 25px 0;
}

.btn {
    display: inline-block;
    color: #fff;
    background: #007bff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background: #0056b3;
}

.section-block {
    padding: 70px 0;
    background: #fff;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.section-block h2 {
    font-size: 2.8em;
    margin-bottom: 45px;
    color: #222;
    position: relative;
    display: inline-block;
}

.section-block h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

/* Header */
header {
    background: #222;
    color: #fff;
    padding-top: 25px;
    min-height: 80px;
    border-bottom: #007bff 4px solid;
}

header .logo {
    float: left;
    font-size: 2.2em;
    font-weight: bold;
    letter-spacing: 1px;
}

header nav {
    float: right;
    margin-top: 5px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 18px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 500;
}

header a:hover {
    color: #007bff;
    font-weight: bold;
}

/* Hero Section */
#hero {
    background: url("../images/hero_image.png") no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero h1 {
    font-size: 4em;
    margin-bottom: 15px;
    line-height: 1.2;
}

#hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.service-item {
    background: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-item img {
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-item h3 {
    color: #007bff;
    margin-bottom: 12px;
    font-size: 1.8em;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-item h3 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 1.6em;
}

/* Process Flow */
.process-flow {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 50px;
}

.flow-step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    background: #eef7ff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    border-left: 5px solid #007bff;
}

.flow-step h3 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* Portfolio Gallery */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.portfolio-item img {
    max-width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.portfolio-item p {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

/* Testimonials Carousel */
.testimonial-carousel {
    margin-top: 50px;
}

.testimonial-slide {
    background: #eef7ff;
    padding: 35px;
    border-radius: 10px;
    font-style: italic;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.testimonial-slide span {
    display: block;
    margin-top: 20px;
    font-weight: bold;
    color: #007bff;
    font-size: 1.1em;
}

/* Contact Form */
#contact form {
    max-width: 650px;
    margin: 50px auto 0;
    text-align: left;
    padding: 30px;
    background: #fefefe;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

#contact form input[type="text"],
#contact form input[type="email"],
#contact form input[type="tel"],
#contact form textarea {
    width: calc(100% - 24px); /* Account for padding */
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
}

#contact form button {
    width: 100%;
    padding: 15px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background 0.3s ease;
}

#contact form button:hover {
    background: #0056b3;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 25px;
}

footer p {
    margin: 8px 0;
    font-size: 0.95em;
}

footer .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 500;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

/* Cookie Consent Pop-up */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    z-index: 1000;
    display: block; /* Hidden by default */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-consent .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 0;
}

.cookie-consent p {
    margin: 0;
    font-size: 1em;
}

.cookie-consent a {
    color: #007bff;
    text-decoration: underline;
}

.cookie-consent .btn {
    background: #28a745;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 1em;
}

.cookie-consent .btn:hover {
    background: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .logo,
    header nav {
        float: none;
        text-align: center;
    }

    header nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    #hero h1 {
        font-size: 3em;
    }

    #hero p {
        font-size: 1.1em;
    }

    .service-grid,
    .features-list,
    .process-flow,
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }

    .flow-step {
        max-width: 100%;
    }

    .cookie-consent .container {
        flex-direction: column;
    }
}


