﻿/* Reset box-sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Hero Section Styles */
.hero-section {
    background-image: url('/images/bgimg/bgimg2.webp'); /* replace with your image */
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    padding: 12px 25px;
    background-color: #ff6b00;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #e65a00;
    }
/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Services Section */
.services-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
    }

    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: #333;
    }

    .service-card p {
        font-size: 1rem;
        color: #666;
        margin-bottom: 20px;
    }

.view-more {
    display: inline-block;
    color: #ff6b00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

    .view-more:hover {
        color: #e65a00;
    }
/* Combined Card Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /* Jelly bounce */
    .service-card:hover {
        animation: jelly 0.5s ease;
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    }

@keyframes jelly {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.1, 0.9);
    }

    50% {
        transform: scale(0.95, 1.05);
    }

    70% {
        transform: scale(1.02, 0.98);
    }

    100% {
        transform: scale(1);
    }
}

/* Animated borders */
.service-card::before,
.service-card::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background: #ff6b00;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card::before {
    top: 0;
    transform-origin: left;
}

.service-card::after {
    bottom: 0;
    transform-origin: right;
}

.service-card:hover::before,
.service-card:hover::after {
    transform: scaleX(1);
}

/* Vertical borders */
.service-card .border-left,
.service-card .border-right {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: #ff6b00;
    top: 0;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-card .border-left {
    left: 0;
    transform-origin: top;
}

.service-card .border-right {
    right: 0;
    transform-origin: bottom;
}

.service-card:hover .border-left,
.service-card:hover .border-right {
    transform: scaleY(1);
}
/* Card Image Container */
.card-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 20px;
    height: 180px;
}

    /* Image Style */
    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    /* Zoom on Hover */
    .card-image:hover img {
        transform: scale(1.1);
    }

/* Overlay Effect */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* dark transparent overlay */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show Overlay on Hover */
.card-image:hover .image-overlay {
    opacity: 1;
}
.servicebtn {
    color: white;
    text-decoration: none;
    border-radius: 24px;
}
/*========== CTA Section ===============*/
.cta-section {
    background: linear-gradient(to right, #ff6b00, #ff9000);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: white;
    color: #ff6b00;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .cta-btn:hover {
        background-color: #333;
        color: white;
    }
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}
/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background-color: #fff;
    max-width: 900px;
    margin: 0 auto;
}

    .faq-section .section-title {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

/* Accordion Style */
.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    padding: 15px;
    background: #f4f4f4;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
}

    .faq-question:hover {
        background: #eaeaea;
    }

.faq-answer {
    display: none;
    padding: 16px 15px 15px;
    font-size: 1rem;
    color: #555;
}
