/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: white;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('futuristic-background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons a {
    display: inline-block;
    margin: 10px;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
}

.cta {
    background: #2E8B57;
    color: white;
}

.cta:hover {
    background: #1F703F;
}

.cta-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.cta-outline:hover {
    background: white;
    color: #121212;
}

/* Carousel Section */
.carousel-section {
    text-align: center;
    padding: 50px 20px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    border-radius: 10px;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    max-width: 90%;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-nav .prev, .carousel-nav .next {
    cursor: pointer;
    font-size: 2rem;
    color: white;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

/* Services Section */
.services {
    text-align: center;
    background: #121212; /* Dark futuristic background */
    color: white;
    padding: 50px 20px;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2E8B57; /* Sea Green */
}

.services p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

.service-item {
    background: linear-gradient(135deg, #1F1F1F, #2B2B2B); /* Subtle gradient */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Realistic shadow */
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-10px); /* Lift effect */
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.5); /* Glow effect */
    background: linear-gradient(135deg, #2E8B57, #1F703F); /* Futuristic glow */
}

/* Icon Styling */
.service-item i {
    font-size: 3.5rem;
    color: #2E8B57; /* Sea Green */
    margin-bottom: 15px;
    transition: color 0.4s ease, transform 0.4s ease;
    text-shadow: 0 5px 15px rgba(46, 139, 87, 0.8); /* Glow effect */
}

.service-item:hover i {
    color: white;
    transform: scale(1.3); /* Slightly enlarge on hover */
    text-shadow: 0 10px 30px rgba(46, 255, 87, 1); /* Stronger glow */
}

/* Service Title */
.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
    transition: color 0.3s ease;
}

.service-item:hover h3 {
    color: #D4F1C5; /* Lighter sea green effect */
}

/* Service Description */
.service-item p {
    font-size: 1rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.service-item:hover p {
    color: white;
}

/* Additional Effects */
.service-item:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 255, 87, 0.2), transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    z-index: 0;
}

.service-item:hover:before {
    transform: scale(1);
}
