/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    background-color: #0a0a0a;
    overflow: hidden;
    height: 100vh;
    background-image: url("https://i.pinimg.com/736x/c4/26/7c/c4267c4cced32591887578825d3bd9d0.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 15vh 20px 0;
}

.hero-section .main-title {
    font-size: 2.5rem; /* Optimized for smaller screens */
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(to right, #00d4ff, #00ff8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section .sub-title {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.navigation {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center navigation for all devices */
    gap: 10px;
}

.navigation a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-size: 1rem;
    padding: 10px 15px;
    border: 1px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navigation a:hover {
    background-color: white;
    color: black;
}



/* Particle Animation Canvas */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Video Section Styling */
.video-section {
    display: flex;
    flex-direction: column; /* Default to column layout for small devices */
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}

.video-section .content {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Spacing between elements */
    max-width: 1200px;
    width: 100%;
}

.video-section .description {
    margin-bottom: 20px;
}

.video-section .description h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.video-section .description p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 1rem;
}

.video-section .video-container video {
    width: 100%; /* Responsive video width */
    max-width: 500px;
    border: 3px solid #00d4ff;
    border-radius: 10px;
}

/* Services Section */
.services-section {
    padding: 50px 20px;
    background: #0a0a0a;
    color: white;
    text-align: center;
}

.services-section .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #00d4ff;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.service-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #00d4ff;
}

.service-card .service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    padding: 10px;
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    bottom: 0;
    left: 0;
}

/* Animation: Slide Up on Hover */
.service-card:hover .service-description {
    display: block;
    animation: slide-up 0.5s ease-out;
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 20px;
    text-align: center;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-right {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon img:hover {
    transform: scale(1.1);
    filter: brightness(1.3);
}

/* Media Queries */
@media (min-width: 768px) {
 
    .video-section .content {
        flex-direction: row;
    }

    .video-section .description {
        flex: 1;
        text-align: left;
    }

    .video-section .video-container {
        flex: 1;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}


@media (max-width: 480px) {
    .hero-section .main-title {
        font-size: 1.5rem;
    }

    .hero-section .sub-title {
        font-size: 0.9rem;
    }

    .navigation a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .quote-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .video-section .description p {
        font-size: 0.9rem;
    }

    .footer-container {
        font-size: 12px;
    }

    .social-icon img {
        width: 30px;
        height: 30px;
    }
}
