/* Global Styles */
body {
    background-color: #000000;
    color: white;
    margin: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    position: relative;
    overflow-y: scroll; /* Ensures a scrollbar is always visible */
}



/* GENERAL SECTION STYLES */

section {
    padding: 10px;
    justify-content: center;
    margin-top: 10px;
 
    display: none;/* Hide sections by default */
}

section.visible {
    animation: fadeIn 1s ease-out;
    display: block;  /* Ensure sections are displayed when visible */
}







/* SECTION ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default "About" section visible on load */
section#section1.visible {
    animation-delay: 0.1s;
}

section#section2.visible {
    animation-delay: 0.1s;
}

section#section3.visible {
    animation-delay: 0.1s;
}
section#section4.visible {
    animation-delay: 0.1s;
}
/* NAVBAR */

header {
    background-color: rgb(225, 238, 243);
    color: #1C1C1C;
    padding: 5px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    margin-left: 10px;
    height: 40px;
    border-radius: 50%;
}

.nav-links {
    list-style: none;
    display: flex;
    padding: 0;
    flex-grow: 1;
    justify-content: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 18px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
    background-color: #1C1C1C;
    color: rgb(255, 255, 255);
    padding: 5px 5px;
    border-radius: 15px;
}

.menu-icon {
    display: none;
    margin-right: 25px;
    font-size: 26px;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.menu-icon:hover {
    color: #ffffff; /* Change to any color you prefer */
    background-color:   #1C1C1C;
    border-radius: 5px;
}

@media (max-width: 950px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgb(225, 238, 243);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-icon {
        display: block;
    }
}

.styled-text {
    color: rgb(0, 0, 0);
    margin-left: 3%;
    font-weight: bold;
    font-family: Arial, sans-serif;
}



    
    /* CSS for collapsing the navbar */

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-icon {
        display: block;
    }
}
    
.video-container {
    margin-top: 50px;
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}
@media (max-width: 600px) {
    .video-container video {
        width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
        object-fit: contain;
    }
}
   
.experience-section {
    text-align: center;
    background-image: url("assets/about\ section.jpg");
   
}

.counter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.counter {
    line-height: 1.3;
    margin: 20px;
}

.counter-number {
    font-size: 2em;
    color: #ff6347; /* Change the color as per your branding */
    animation: count 3s ease-in-out;
}

.counter-suffix, h3 {
    font-size: 1.2em;
    color: #333; /* Change the color as per your branding */
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: calc(25% - 40px); /* 25% width minus margins */
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

@keyframes count {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media (max-width: 768px) {
    .card {
        width: calc(50% - 40px); /* 50% width minus margins */
    }

    .story-section p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .card {
        width: calc(100% - 40px); /* 100% width minus margins */
    }

    .story-section p {
        font-size: 0.9em;
    }
}


.story-section{
    background-image: url("assets/storyb.jpg");
    color: rgb(198, 229, 233);
    border-radius: 8px;
    text-align: center;
   
}


.story-section h1 {
    font-size: 2em;
    color: rgb(255, 255, 255); /* Change the color as per your branding */
}

.story-section p {
    font-size: 1.2em;
    color: rgb(255, 255, 255); /* Change the color as per your branding */
    line-height: 1.5;
}

.contact-pot{
    margin-bottom: 10%;
    text-align: center;
   
}

.contact-sect {
            
    background: #000000;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
   
    
}




.social-icons {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}

.social-icons a {
display: inline-block;
margin: 10px 10px 0 0;
padding: 10px;
text-decoration: none;
text-align: center;
}

.social-icons img {
border-radius: 20px;
width: 40px;
height: 40px;
}
@media (max-width: 600px) {

    .social-icons {
        justify-content: center;
    }

    .social-icons a {
        margin: 5px;
    }
}

        /* Portfolio Styles */
        .portfolio-items {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .portfolio-item {
            margin: 20px;
            flex: 1 1 300px;
            max-width: 300px;
        }
        
        .portfolio-item img {
            width: 100%;
            height: auto;
        }
        
        form label, form input, form textarea {
            display: block;
            width: 100%;
            margin: 10px 0;
        }
        
        button {
            background-color: #333;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
        }
        
        button:hover {
            background-color: #000000;
        }
        
        /* Responsive Styles */
        @media (max-width: 768px) {
            .portfolio-items {
                flex-direction: column;
            }
        }
        

        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            
        }
        .container {
            width: 90%;
            margin: auto;
            text-align: center;
        }
        .dropdown {
            margin: 20px 0;

        }
        .portfolio-cards {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .portfolio-card {
            display: none;
            
            border-radius: 4px;
            margin: 5px;
            width: 300px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .portfolio-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            cursor: pointer;
            
            
        }
        .portfolio-card h1 {
            font-size: 1.5em;
            margin: 10px 0;
        }
        .portfolio-card p {
            padding: 0 10px 10px;
        }
        @media (max-width: 768px) {
            .portfolio-card {
                width: 100%;
                margin: 10px 0;
            }
        }



.contact-pot{
    margin-bottom: 10%;
    text-align: center;
   
}
.contact-sect {
        
    background: #000000;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
   
    
}




.social-icons {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}

.social-icons a {
display: inline-block;
margin: 10px 10px 0 0;
padding: 10px;
text-decoration: none;
text-align: center;
}

.social-icons img {
border-radius: 20px;
width: 40px;
height: 40px;
}
@media (max-width: 600px) {

    .social-icons {
        justify-content: center;
    }

    .social-icons a {
        margin: 5px;
    }
}
            /* SERVICES SECTION */
            .service-container {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-around;
            }
            
            .service-card {
                flex: 1 1 calc(33.33% - 20px);
                box-sizing: border-box;
                margin: 10px;
                transition: transform 0.3s ease, opacity 0.3s ease;
                opacity: 0;
                transform: translateY(20px);
            }
            
            .service-card img {
                width: 100%;
                height: auto;
            }
            
            .service-card .details {
                padding: 10px;
                text-align: center;
            }
            
            @media (max-width: 992px) {
                .service-card {
                    flex: 1 1 calc(50% - 20px);
                }
            }
            
            @media (max-width: 576px) {
                .service-card {
                    flex: 1 1 100%;
                }
            }
            
            .service-card.visible {
                opacity: 1;
                transform: translateY(0);
            }
            
                        .service-card {
                           
                            padding: 10px;
                            text-align: center;
                            width: calc(33.333% - 20px);
                            box-sizing: border-box;
                            margin: 10px;
                            display: inline-block;
                            vertical-align: top;
                        }
            
                        .image-container {
                            width: 100%;
                            height: 500px; /* Fixed height for all images */
                            overflow: hidden;
                            display: flex;
                          
                            justify-content: center;
                        }
            
                        .service-card img {
                           
                            object-fit: cover; /* Ensures images fill the space */
                          
                        }
            
                        .service-card h3 {
                            margin-top: 10px;
                            color: white;
                        }
            
                        .service-container {
                            display: flex;
                            flex-wrap: wrap;
                            justify-content: space-around;
                        }
            
                        /* Modal styling */
                       
            
            
                      
                        @media (max-width: 768px) {
                            .experience-section {
                                padding: 10px;
                            }
            
                            .service-card {
                                margin: 10px;
                            }
            
                            .image-container {
                                height: 450px; /* Adjust height for smaller screens */
                            }
            
                            .service-card h3 {
                                font-size: 1em;
                            }
                        }

                        .contact-pot{
                            margin-bottom: 10%;
                            text-align: center;
                           
                        }

                        .contact-sec{
                            margin-top: 60px;
                            text-align: center;
                        }
      
                        .contact-section {
                            background: #000000;
                          
                            border-radius: 8px;
                            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
                            max-width: 600px;
                            margin: auto;
                            margin-top: 40px;
                            
                        }
                        
                       
                
                    
                    .social-icons {
                        display: flex;
                        justify-content: space-around;
                        flex-wrap: wrap;
                    }
                    
                    .social-icons a {
                        display: inline-block;
                        margin: 10px 10px 0 0;
                        padding: 10px;
                        text-decoration: none;
                        text-align: center;
                    }
                    
                    .social-icons img {
                        border-radius: 20px;
                        width: 40px;
                        height: 40px;
                    }
                        @media (max-width: 600px) {
                       
                            .social-icons {
                                justify-content: center;
                            }
                        
                            .social-icons a {
                                margin: 5px;
                            }
                        }
                          

                        /* FOOTER */
footer {
    text-align: center;
    padding: 0px;
    background-color: #000000;
    color: #ffffff;
    position: fixed;
    bottom: 0;
  margin-top: 20%;
    width: calc(100% );
}


/* Existing styles... */

/* Modal image styling */
#imageModal {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears above other elements */
}

#imageModal img {
    max-width: 90%;
    max-height: 90%;
}









/* Add animation for modal image */
@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.modal-content img {
    animation: zoom 0.6s;
}
