/******************************* General Styles *******************************/
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #eef3f8, #dbe3ea);
    color: #2c3e50;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Orbitron', serif;
    color: #1a4b72;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: 'Poppins', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
/******************************** End *****************************************/

/******************************** Hero Section ********************************/
.hero {
    height: 100vh;
    background: linear-gradient(to bottom right, #2a659e, #c8d7e7);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    color: white;
}
/*
.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    margin: 0;
    color: white;
    text-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff;
}*/

.hero-content p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.button {
    background: #326d9d;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.15);
}

.button:hover {
    background: #285a85;
    transform: scale(1.05);
}
/******************************** Carousel ************************************/

/* Carousel container */
.hero .carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.05);
}

.hero .carousel-item {
    width: 100%;
    height: 95vh;
    text-align: center;
    padding: 20px 50px;
    display: none;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero .carousel-item.active {
    display: block;
    object-fit: cover;
}

.hero .carousel-item h1 {
    color: #fff;
}


.hero .carousel-content {
    position: absolute; /* Position relative to the .carousel-item */
    top: 0; /* Align to the top of the parent container */
    left: 10%; /* Align to the left of the parent container */
    width: 50%; /* Full width of the parent */
    height: 100%; /* Full height of the parent */
    padding-top: 5%;
    display: flex; /* Enable flexbox */
    flex-direction: column;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Center text inside */
    background: rgba(0, 0, 0, 0.6); /* Optional background */
}


.carousel-content-header {
    position: absolute; /* Position relative to the .carousel-item */
    top: 0; /* Align to the top of the parent container */
    left: 10%; /* Align to the left of the parent container */
    width: 50%; /* Full width of the parent */
    height: 30%; /* Full height of the parent */
    display: flex; /* Enable flexbox */
    flex-direction: column;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Center text inside */
    background: rgba(133, 1, 1, 0.7); /* Optional background */
    z-index: 999;
}

/* Service-list specific styles */
.service-list {
    /*background-color: rgba(116, 195, 101, 0.8); /* Light background color */
    padding: 0 5%; /* Add some padding inside the container */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for depth */
    margin-top: 30%; /* Create spacing between content */
    width: 100%;
    margin:0;


}


.service-list ul {
    list-style-type: none; /* Remove default bullets */
    padding: 0; /* Remove padding from the list */
    margin: 0; /* Remove margin from the list */
}

.service-list ul li {
    margin: 10px 0; /* Add spacing between items */
    color: #fff; /* Dark text color for contrast */
    font-size: 16px; /* Adjust font size */
}

.service-list h2 {
    margin-top: 20px;
    color: #fff; /* Heading color */
    font-size: 20px;
}

.service-list p {
    color: #fff; /* Paragraph text color */
    font-size: 16px;
}

/* Buttons */
.hero .carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #326d9d;
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.hero .carousel-content {
    margin: auto 0;
}

.hero .carousel-prev {
    left: 10px;
}

.hero .carousel-next {
    right: 10px;
}

/* Progress bar */
.hero .carousel-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #e0e0e0;
    overflow: hidden;
}

/*.hero .carousel-progress-bar::before {
    content: "";
    display: block;
    width: 0%;
    height: 100%;
    background: #326d9d;
    animation: progress 5s linear infinite;
}*/

/* Progress bar 
.hero .carousel-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; 
    height: 5px;
    background: #326d9d;
    transition: width 0s; 
}*/


/* Progress bar animation */
@keyframes progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}
/******************************** Contact Form ********************************/



.service-list form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.service-list form input,
.service-list form textarea,
.service-list form button {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
}

.service-list form input,
.service-list form textarea {
    background: #1b1b1b;
    color: white;
}

.service-list form button {
    background: #00d4ff;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.service-list form button:hover {
    background: #00b0cc;
}

/******************************** End *****************************************/

/******************************** About Section *******************************/
.about {
    padding: 20px 50px;
    background: linear-gradient(to bottom, #eef3f8, #f7f9fc);
    text-align: center;
    padding-bottom: 60px;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a4b72;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.about-content .text {
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.8;
    color: #465a6c;
}

.about-content .image {
    flex: 1;
    min-width: 300px;
    height: auto;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/******************************* End ******************************************/

/******************************* Portfolio Section ****************************/
.portfolio {
    padding: 20px 0;
    /*background: linear-gradient(to bottom, #eef3f8, #f7f9fc);*/     
    text-align: center;
    background-color: #eef3f8;
    padding-bottom: 60px;    
}

.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portfolio p {
    font-size: 1rem;
    color: #465a6c;
    margin-bottom: 2rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
/******************************* End ******************************************/

/******************************* Services Section *****************************/
.services {
    background: linear-gradient(to bottom, #f7f9fc, #eef3f8);
    padding: 20px 20px;
    padding-bottom: 50px;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
/*
.service-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.service-card {
    background: #ffffff;
    border: 1px solid #d0d8df;
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a4b72;
}
*/


.services .service-grid {
    /*display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    justify-items: center;*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 100px;
    width: 90%;
}

.services .service-item {
    background: linear-gradient(145deg, #0e0e0e, #1b1b1b);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.services .service-item:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 3px 10px rgba(255, 255, 255, 0.2);
}

.services .service-item h3 {
    color: #00d4ff;
    font-size: 1.2rem;
}

.quote {
    margin-top: 50px;
}
/********************************* End ****************************************/

/********************************* Carousel Styles ****************************/
.carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.05);
}

.carousel-item {
    width: 100%;
    height: 400px;
    text-align: center;
    padding: 20px;
    display: none;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: auto;
}

.carousel-item img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.carousel-item.active {
    display: block;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #326d9d;
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}
/****************************** End *******************************************/

/****************************** Video Section *********************************/
.video-section {
    padding: 80px 50px;
    /*background: linear-gradient(to bottom, #eef3f8, #f7f9fc);*/
    text-align: center;
}

.video-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a4b72;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-player {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/***************************** End ********************************************/

/************************************ Recent Projects *************************/


/* Recent Projects Section */
.recent-projects {
    padding: 50px 20px;
    background: #f8f9fa;
    text-align: center;
}

.recent-projects h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

.project-item {
    position: relative;
    width: 280px;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 1rem;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 80%;
    margin: auto;
    padding: 20px;
    text-align: center;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.main-image-container {
    position: relative;
    height: 65vh;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
}

.nav-arrow:hover {
    background: rgba(255,255,255,0.5);
}

.prev { left: 20px; }
.next { right: 20px; }

.thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 15px 0;
}

.thumbnails img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: opacity 0.3s, border 0.3s;
}

.thumbnails img.active {
    opacity: 1;
    border-color: #fff;
}

    
/************************************ End *************************************/ 
        .contact {
            padding: 100px 20px;
            background: #121212;
            text-align: center;
        }

        .contact h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .contact form {
            max-width: 600px;
            margin: 0 auto;
            text-align: left;
        }

        .contact form input,
        .contact form textarea,
        .contact form button {
            width: 100%;
            margin-bottom: 15px;
            padding: 15px;
            font-size: 1rem;
            border: none;
            border-radius: 5px;
        }

        .contact form input,
        .contact form textarea {
            background: #1b1b1b;
            color: white;
        }

        .contact form button {
            background: #00d4ff;
            color: white;
            cursor: pointer;
            transition: background 0.3s;
        }

        .contact form button:hover {
            background: #00b0cc;
        }
        
/***************************** End ********************************************/
/***************************** Clients ****************************************/

/* Clients Section Styles */
.clients {
    padding: 50px 20px;
    background: #f8f9fa;
    text-align: center;
}

.clients h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Desktop Grid */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.clients-grid img {
    max-width: 180px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.clients-grid img:hover {
    filter: grayscale(0%);
}

/* Mobile Carousel */
.clients-carousel {
    display: none;
    position: relative;
    max-width: 100%;
    margin: auto auto;
    overflow: hidden;
}



.clients-carousel .carousel-item {
    display: none;
    text-align: center;
    padding: 20px;
    top: 50%;
}

.clients-carousel .carousel-item.active {
    display: block;
}

.clients-carousel img {
    max-width: 200px;
    height: auto;
    margin: auto auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}



.clients-carousel .carousel-prev { left: 5px; }
.clients-carousel .carousel-next { right: 5px; }

@media (max-width: 768px) {
    .clients-grid { display: none; }
    .clients-carousel { 
        display: block;
        margin: auto 0;
    }
    .clients-carousel { 
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto 0;
    }    
    .clients-carousel img { width: 160px; }
    .clients-carousel img { height: 160px; }
}

/***************************** End ********************************************/

/***************************** Responsive Styles ******************************/
@media (max-width: 768px) {
    body {
        font-size: 90%;

    }

    h1, h2, h3 {
        font-size: 90%;
        margin-bottom: 0.8rem;
    }

    .hero .carousel-item {
        width: 100%;
        height: 65vh;
        
    }    

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
/*************************** Video Section ************************************/    
    .video-section {
        padding: 20px 0;
        text-align: center;
    }
    
    .video-container {
        width: 100%;
        margin: 0 auto;
    }    
    .video-player {
        /*height: 250px;*/
        border-radius: 0;    
    }
    
/************************************ End *************************************/

/************************************ About ***********************************/   

    .about {
        padding: 20px 10px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-content .text {
        width: 100%;
    }
/************************************ End *************************************/
/************************************ Services ********************************/
    .services {
        padding: 80px 0;
        text-align: center;
    }    

    .services .service-grid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        gap: 20px;
        width: 100%;
    }    
        
    .services .service-item {
        background: linear-gradient(145deg, #0e0e0e, #1b1b1b);
        border-radius: 50%;
        width: 140px;
        height: 140px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .services .service-item h3 {
        font-size: 0.8rem;
    }
    
/*********************************** Contact **********************************/


    .contact form {
        max-width: 80%;
        margin: 0 auto;
        text-align: left;
    }

/*********************************** End **************************************/    
}
/*********************************** End **************************************/


@media (max-width: 600px) {
    .hero {
        height: 70vh;
        line-height: 1.2;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .service-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1200px) {
.hero {
    padding-top: 5%;
}    
.hero .carousel-content {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    padding-top: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
}

.carousel-content-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(133, 1, 1, 0.7);
    z-index: 999;
}    
}

@media (max-width: 992px) {
    .hero .carousel-item {
        padding: 15px;
        background-position: center;
    }

    .hero .carousel-content {
        width: 90%;
        padding-top: 10%;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero .carousel-content {
        width: 100%;
        padding: 5% 10%;
    }
    
    .hero .carousel-content-header {
        width: 100%;
    }    

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .hero .carousel-prev, .hero .carousel-next {
        width: clamp(30px, 6vw, 45px);
        height: clamp(30px, 6vw, 45px);
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero .carousel-content {
        width: 100%;
        padding: 5%;
    }

    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero .carousel-item {
        min-height: 70vh;
    }

    .button {
        font-size: 0.8rem;
        padding: 10px 20px;
    }

    .hero .carousel-prev, .hero .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}
