/* General Styles */
body { 
    font-family: 'Public Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background-color: #5f5f5f; 

    background-image: url('Aurora\ B.jpg');
    background-size: cover; /* Makes the image cover the entire screen */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    margin: 0;
    padding: 0;
      
}

header {
    /* background: url('stars.jpeg') no-repeat center center/cover; */
    height: 100vh;
    color: #fff;
    text-align: center;
    position: relative;
    border-radius: 0px;
    margin: 0;
    padding: 0;
}




/* Default Navigation - Desktop */
nav ul {
    display: flex; /* Keeps the links horizontal */
    justify-content: left; /* Center-aligns the buttons */
    gap: 20px; /* Space between buttons */
    list-style: none; /* Remove bullets */
    padding: 0;
    margin: 0;
}

nav li {
    margin: 0; /* Remove list-item margins */
}

nav a {
    text-decoration: none;
    color: white; /* Match your design */
    font-size: 18px;
    padding: 10px 15px; /* Add padding to make buttons easier to click */
    display: block;
    transition: color 0.3s ease; /* Smooth hover effect */
}

nav a:hover {
    color: #ffd700; /* Highlight color on hover */
}

/* Mobile View (Smaller Buttons, Still Horizontal) */
@media only screen and (max-width: 768px) {
    nav ul {
        justify-content: space-around; /* Spread the buttons evenly */
        gap: 10px; /* Reduce space between buttons */
    }

    nav a {
        font-size: 14px; /* Smaller font size for mobile */
        padding: 8px 5px; /* Smaller padding to fit all buttons */
    }
}

@media only screen and (max-width: 480px) {
    nav ul {
        gap: 5px; /* Reduce space further for very small screens */
    }

    nav a {
        font-size: 12px; /* Even smaller font size for very small screens */
        padding: 5px 3px; /* Compact padding */
    }
}








.nav-button:hover {
    background-color: #6400ce;/* Change background color on hover */
    color: #fff; /* Change text color on hover */
    border-radius:3px;
}

header h1 {
    font-size: 20px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 25px;
}

header .hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

header .hero h2 {
    font-size: 80px;
    margin-bottom: 20px;
    color: #ffffff;
}

header .hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}


.btn {
    padding: 10px 20px;
    background-color: #6400ce;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transform: scale(1.03); /* Optional: Add a slight zoom effect on hover */
}



.portfolio, .services, .contact {
    padding: 60px 20px;
    text-align: center;
}

.portfolio h2, .services h2, .contact h2 {
    margin-bottom: 40px;
    font-size: 36px;
    color: #ffffff;
}

video {
    border: 2px solid #000;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    }
    video:hover {
      transform: scale(1.03); /* Optional: Add a slight zoom effect on hover */
    }
  

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    color: #ffffff;
    justify-items: center; /*center items wihtin each grif cell*/


    

}
.video-item video {
    width: 100%; /* Full width of grid cell */
    max-width: 700px; /* Set a maximum width for each video */
    width: 100%;
    max-width: 100%; /* Constrain the container to its grid cell */
    border: 3px solid #000000; /* Border around the video container */
    border-radius: 8px; /* Optional rounded corners */
    padding: 0px; /* Adds spacing between border and video */
    box-sizing: border-box; /* Ensures padding doesn’t affect width */
    background-color: #000000;

}



/* For screens larger than 768px 
@media (min-width: 800px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}*/

/* For screens larger than 1200px 
@media (min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens 
    }
}*/ 



/*.portfolio-grid-2 { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap:20px;
    color: #ffffff;
    
    
    
}*/

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0px;
}

.services .service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}








/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Contact Section Styling */
.contact-section {
    background-color: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

/* Contact Info Layout */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Item Styling */
.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 250px; /* Controls max width */
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2em;
    color: #640ddd; /* Icon color */
    margin-bottom: 10px;
}

.contact-item h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 1em;
    color: #666;
}

/* Responsive Layout */
@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        justify-content: center;
    }
}








.contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.contact button {
    display: block;
    width: 100%;
}

footer {
    padding: 20px;
    background-color: #5f5f5f;
    color: #fff;
    text-align: center;
}
