/* Navbar styles */


/* Style for the active link in the main navbar */
.navbar-links a.active {
    color: #ffffff; /* White text */
    background: linear-gradient(45deg, #6a11cb, #2575fc); /* Gradient background matching button style */
    padding: 8px 15px; /* Adjust padding as needed */
    border-radius: 20px; /* Rounded corners */
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); /* Subtle text shadow */
    box-shadow: 0 2px 8px rgba(106, 17, 203, 0.6); /* Glow effect */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.navbar-links a.active:hover {
    transform: scale(1.02); /* Slight scale on hover */
    box-shadow: 0 4px 12px rgba(37, 117, 252, 0.7); /* Enhanced glow on hover */
}

/* Ensure default main navbar link styles don't override active state */
.navbar-links a {
    color: #ccc; /* Default link color */
    text-decoration: none;
    padding: 8px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-links a:hover:not(.active) {
    color: #fff;
}


/* sdhasbc */


.navbar {

    background-color: black;
    
    display: flex;
    
    align-items: center;
    
    justify-content: flex-start;
    
    font-family: Arial, sans-serif;
    
    }
    
    
    
    .navbar-links {
    
    flex-grow: 1;
    
    justify-content: space-around;
    
    }
    
    
    
    
    
    
    
    .navbar-logo {
    
    display: flex;
   margin-left: 30px;
    align-items: center;
    
    }
    
    
    
    .navbar-logo img {
    
    height: 60px;
    
    width: 60px;
    
    margin-right: 10px;
    
    }
    
    
    
    .company-name {
    
    color: rgb(255, 255, 255);
    
    font-size: 1.5em;
  
    font-weight: bold;


   
    
    }








    
    
    
    .navbar-links {
    
    list-style: none;
    
    display: flex;
    
    margin-left: 0;
    
    margin-right: 0;
    
    padding: 0;
    
    justify-content: center;
    
    flex: 1;
    
    }
    
    
    
    .navbar-links li {
    
    position: relative;
    
    }
    
    
    
    .navbar-links a {
    
    color: #6a11cb;
    
    text-decoration: none;
    
    padding: 10px 15px;
    
    display: block;
    
    font-weight: 600;
    
    }
    
    
    
 
    
    
    
    .dropdown-content {
    
    display: none;
    
    position: absolute;
    
    background-color: black;
    
    min-width: 160px;
    
    z-index: 1;
    
    top: 100%;
    
    left: 0;
    
    border: 1px solid#6a11cb;
    
    }
    
    
    
    .dropdown-content li a {
    
    padding: 10px 15px;
    
    color:#6a11cb;
    
    }
    
    
    
    .dropdown-content li a:hover {
    
    background-color: #000000;
    
    color: rgb(255, 255, 255);
    
    }
    
    
    
    .dropdown:hover .dropdown-content {
    
    display: block;
    
    }

/* Responsive Navbar */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 100px;
   
    padding: 0;
    align-self: center;
}

.hamburger .bar {
    height: 3px;
    width: 25px;
    background-color: #6a11cb;
    margin: 4px 0;
   
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
    
        
    }

    .navbar-links {
        width: 100%;
        flex-direction: column;
        display: none;
        margin-top: 10px;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-links li {
        text-align: center;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        border: none;
        box-shadow: none;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown .dropbtn::after {
        content: " ▼";
    }

.dropdown.active .dropdown-content {
    display: block;
}
}
/* Footer Styles */
/* Footer Styles */
.footer {
    background-color: #000000;
    color: white;
    padding: 60px 20px 20px;
    border-top: 1px solid #a0a0a0;
   
    /* margin-top: 5;  <-- This was incomplete, removed or set to a value */
}


.footer-container {
  
    display: flex;
    justify-content: space-between;
    max-width: 1200px; /* Limit overall width */
    margin: 0 auto; /* Center the container */
    gap: 30px; /* Space between cards */
    /* On large screens, cards will naturally try to fit horizontally.
       If they don't fit, they'll wrap due to default flex-wrap.
       We don't need flex-wrap: nowrap here. */
    flex-wrap: wrap; /* Allow wrapping by default */
}

.footer-card {
    /* For large screens, we want them to take up roughly 1/3 of the space */
    flex: 1 1 30%; /* flex-grow, flex-shrink, flex-basis */
    min-width: 280px; /* Minimum width before wrapping */
    box-sizing: border-box;
    background-color: #000000;
    border: 1px solid #6a11cb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ccc;
    transition: background-color 0.3s ease;
}

.footer-card:hover {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}

.footer-card h3 {
    color: #ffffff;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-card p {
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #ffffff;

}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid#6a11cb;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    background-color: #6a11cb;
    color: rgb(255, 255, 255);
}

.work-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.work-links .footer-link {
    margin: 5px 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
}

/* Responsive Footer - unified media query */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack cards vertically */
        align-items: center; /* Center them when stacked */
        gap: 20px; /* Adjust gap for vertical stacking */
        padding: 0 10px; /* Add some horizontal padding */
    }

    .footer-card {
        max-width: 90%; /* Allow cards to take up more width on small screens */
        min-width: auto; /* Remove specific min-width to allow more flexibility */
        margin: 0 auto; /* Center individual cards */
    }
}
/* Contact section*/
/* Social Links Section */
.social-links-section {
    background-color: rgb(255, 255, 255);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    font-family: Arial, sans-serif;
}

.social-links-container {
    display: flex;
    gap: 60px;
    max-width: 900px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.social-links-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px 40px;
}

.social-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(0, 0, 0);
    text-align: center;
}

.social-link-item a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
    font-size: 1em;
    word-break: break-word; /* Prevent long text from overflowing */
}

.social-link-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #A020F0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.social-link-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px #A020F0;
}

/* Responsive Social Links Section */

/* Tablet and Smaller Desktop Screens */
@media (max-width: 992px) {
    .social-links-container {
        gap: 40px; /* Reduce gap slightly */
    }

    .social-links-group {
        grid-gap: 25px 30px; /* Adjust grid gap */
    }

    .social-link-item img {
        width: 55px;
        height: 55px;
    }

    .social-link-item a {
        font-size: 0.95em;
    }
}

/* Phones in Landscape Mode / Smaller Tablets */
@media (max-width: 768px) {
    .social-links-container {
        flex-direction: column;
        gap: 40px;
    }

    .social-links-group {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for better use of space */
        grid-gap: 20px 20px;
    }

    .social-link-item img {
        width: 50px;
        height: 50px;
    }

    .social-link-item a {
        font-size: 0.9em;
    }
}

/* Phones in Portrait Mode */
@media (max-width: 576px) {
    .social-links-section {
        padding: 30px 15px; /* Reduce padding for smaller screens */
    }

    .social-links-container {
        gap: 30px;
    }

    .social-links-group {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for very small screens */
        grid-gap: 15px 15px;
    }

    .social-link-item img {
        width: 45px;
        height: 45px;
        border-width: 1px; /* Thinner border */
    }

    .social-link-item a {
        font-size: 0.85em;
        margin-top: 5px; /* Reduce margin */
    }
}

/* Even smaller phones */
@media (max-width: 400px) {
    .social-links-section {
        padding: 20px 10px;
    }

    .social-links-container {
        gap: 25px;
    }

    .social-links-group {
        grid-template-columns: repeat(2, 1fr); /* Still 2 columns, but adjust gaps */
        grid-gap: 10px 10px;
    }

    .social-link-item img {
        width: 40px;
        height: 40px;
    }

    .social-link-item a {
        font-size: 0.8em;
    }
}


/* About Section Styles */
.about-section {
    display: flex;
    background-color: black;
    color: white;
    padding: 40px 20px;
    gap: 20px;
    align-items: stretch;
    font-family: Arial, sans-serif;
    height: 300px; /* fixed height for equal height divs */
}





.glowtech {
    /* Ensure the element can be transformed. h2 is block by default,
       but inline-block can sometimes give more predictable transform behavior. */
    display: inline-block; 
    
    /* Your existing styles for color, font-size, font-weight for this h2 */
    /* Example (adjust as per your design): */
    color: rgb(255, 255, 255); /* Assuming you want white text */
    font-size: 2.5em; /* Adjust font size as appropriate for an h2 */
    font-weight: bold;

    /* Apply the animation */
    animation: popAndGlow 3s ease-in-out infinite; /* Name, duration, timing, loop */
}

/* The @keyframes definition remains the same */
@keyframes popAndGlow {
    0% {
        transform: scale(1); /* Original size */
        text-shadow: none; /* No glow */
        color: rgb(255, 255, 255); /* Start with white */
    }
    50% {
        transform: scale(1.1); /* Pop up to 10% larger */
        text-shadow: 0 0 10px #A020F0, /* Inner glow */
                     0 0 20px #A020F0, /* Outer glow */
                     0 0 30px #A020F0; /* Wider glow (purple color) */
        color: #FFFFFF; /* Keep text white during glow */
    }
    100% {
        transform: scale(1); /* Back to original size */
        text-shadow: none; /* No glow */
        color: rgb(255, 255, 255); /* End with white */
    }
}

/* Responsive adjustment for font size (optional, adjust as needed) */
@media (max-width: 768px) {
    .glowtech {
        font-size: 1.8em; /* Adjust for smaller screens */
    }
}




.about-text, .about-logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%; /* ensure child divs fill the container height */
}

.about-text h2 {
    margin-bottom: 0px; /* Removes the bottom margin from the H2 */
    font-size: 2.5em;
   align-content: center;
   text-align: center;
    color:  #ffffff;
}
.about-text h4 {
    margin-top: 0px; /* Removes the top margin from the H4 */
    text-align: center;
   align-content: center;
    color: #6a11cb;
}
.about-text p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #ccc;
}

.about-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* changed from contain to cover for full div coverage */
    border-radius: 8px;
}

/* Responsive About Section */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        padding: 20px 10px;
        height: auto; /* reset height for stacked layout */
    }

    .about-text, .about-logo {
        flex: none;
        width: 100%;
        height: auto;
    }

    .about-logo img {
        height: auto;
        max-width: 100%;
    }
}

/* Skills Section Styles */
.skills-section {
    background-color: white;
    padding: 40px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-top: 0px;
}

.skills-heading {
    font-size: 2.5em;
    color: black;
    margin-top: 0px;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for large screens */
    gap: 60px; /* Gap between cards */
    max-width: 1000px;/* Max width for the container */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Padding around the container */
    justify-content: center; /* Centers grid content if it doesn't fill max-width */
    align-items: stretch; /* Ensures cards in a row have equal height */
}

.skill-div {
    display: flex; /* Used to center skill-card within its grid cell */
    justify-content: center;
    align-items: center;
    
}

.skill-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 30px 20px; /* Consistent padding */
    width: 100%; /* Card fills its grid cell width */
    height: 100%; /* Card fills its grid cell height */
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically within the card */
    align-items: center; /* Centers content horizontally within the card */
    text-align: center; /* Centers text within the card */
    color: #222;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px); /* Slight lift on hover */
    box-shadow: 0 12px 30px rgba(0,0,0,0.2); /* Enhanced shadow on hover */
}

.skill-card h3 {
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 700;
    color: #4b0082;
    text-shadow: 1px 1px 3px rgba(75,0,130,0.3);
}

.skill-card p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px; /* Added margin for consistency with bar graph */
}

/* Bar Graph Styles */
.bar-graph {
    margin-top: 20px;
}

.bar {
    width: 300px;
    margin-bottom: 15px;
    background-color: #b7b7b7;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.7);
}

.bar-label {
    display: block;
    font-weight: 500;
    font-size: 13px;
   
    color: black;
    text-align: left; /* Aligned left for bar labels */
    padding-left: 10px;
}

.bar-fill {
    height: 24px;
    border-radius: 12px 0 0 12px;
    transition: width 0.7s ease-in-out;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    position: relative;
    /* Removed animation properties here to avoid conflict with inline width */
}

.bar-fill::after {
    content: ""; /* Removed previous content to prevent showing inline style */
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    white-space: nowrap;
}

/* Download CV Button */
.download-cv-container {
    margin-top: 70px;
}

.download-cv-button {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    border: none;
    color: white;
    padding: 18px 50px;
    font-size: 1.3em;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.7);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.download-cv-button:hover {
    background: linear-gradient(45deg, #2575fc, #6a11cb);
    box-shadow: 0 10px 30px rgba(37, 117, 252, 0.8);
}

/* Responsive Skills Section */

/* For screens smaller than 992px (e.g., larger tablets) */
@media (max-width: 992px) {
    .skills-container {
        gap: 25px; /* Slightly reduced gap */
        /* grid-template-columns: repeat(2, 1fr); is inherited from default */
    }
    .skill-card {
        padding: 30px 25px; /* Adjust padding slightly */
    }
}

/* For screens smaller than 768px (e.g., tablets in portrait, large phones) */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr; /* Stack cards in a single column */
        gap: 20px; /* Adjust gap for stacked items */
        max-width: 500px; /* Constrain width for readability on smaller screens */
        padding: 15px; /* Reduce container padding */
    }
    .skill-card {
        padding: 25px 20px; /* Further reduce padding */
    }
    .skills-heading {
        font-size: 2em; /* Smaller heading on smaller screens */
        margin-bottom: 30px;
    }
}

/* For screens smaller than 480px (e.g., most mobile phones) */
@media (max-width: 480px) {
    .skills-section {
        padding: 30px 15px; /* Adjust overall section padding */
    }
    .skills-container {
       
        gap: 15px; /* Smaller gap */
    }
    .skill-card {
        padding: 20px 15px; /* Minimal padding for small screens */
    }
    .skill-card h3 {
        font-size: 1.7em;
    }
    .skill-card p {
        font-size: 1em;
    }
    .bar-label {
        font-size: 0.9em;
    }
    .bar-fill {
        height: 20px;
    }
    .download-cv-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}
/* graphics & motion  */
/* GM Navigator Section */
.gmnavigator {
    background:  #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    height: 70px;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.6);
    border-radius: 15px;
    margin: 20px auto;
    max-width: 400px;
}

.gmnavigator-card {
    background:  #000000;
    padding: 10px 30px;
    border-radius: 25px;
    text-align: center;
    display: inline-block;
    min-width: 220px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
   
    backdrop-filter: blur(8px);
}

.gmnavigator-text {
    color: #ffffff;
    font-size: 1.1em;
    margin: 3px 0;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.gmnavigator-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 3px 0;
    border-radius: 100px;
    
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.gmnavigator-button {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 5px 15px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.4s ease, color 0.4s ease;
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    flex: 1;
   
}

.gmnavigator-button:last-child {
    border-right: none;
}

.gmnavigator-button:hover {
    background-color: rgb(0, 0, 0);
    color: #fff;
}

.gmnavigator-button.active {
    background-color: rgb(0, 0, 0);
    color: #ffffff;
    box-shadow: 0 0 15px #6a11cb;
    text-shadow: none;
}


/* Graphics Filter Section */
.graphicsfilter {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.graphicsfilter-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    color: white;
    font-size: 1.1em;
    font-weight: 600;
}

.filter-select {
    padding: 8px 12px;
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #6a11cb;
    background-color: #1a1a1a;
    color: white;
    cursor: pointer;
}

/* Display Graphics Section */
.displaygraphics {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.displaygraphics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default for larger screens */
    gap: 10px; /* Reduced gap for more space for images */
    max-width: 1000px;
    justify-content: center;
}

.display-image {
    width: 100%;
    max-height: 400px; /* Increased max-height for larger photos */
    object-fit: contain;
}

/* Responsive for smaller screens */
@media (max-width: 1024px) {
    .displaygraphics-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for medium-large screens */
        gap: 8px; /* Slightly reduced gap */
    }
    .display-image {
        max-height: 400px; /* Adjust max-height */
    }
}

@media (max-width: 768px) {
    .displaygraphics-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
        gap: 15px; /* Increase gap slightly for better separation on 2 columns */
    }
    .display-image {
        max-height: 350px; /* Adjust max-height for tablets */
    }
}

@media (max-width: 480px) {
    .displaygraphics-container {
        grid-template-columns: 1fr; /* Single column for small mobile screens */
        gap: 20px; /* More space between stacked images */
    }
    .display-image {
        max-height: 250px; /* Allow images to be taller when stacked */
        object-fit: contain; /* Ensure the image fits within its bounds */
    }
}


/* Motion Filter Section */
.motion-filter-section {
    display: flex;
    justify-content: center;
    padding: 20px 10px;
    background-color: #000000;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 960px;
}

.motion-filter-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    justify-content: center; /* Center items when they wrap */
}

.filter-label {
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center; /* Center text if it wraps */
}

.filter-select {
    padding: 8px 12px;
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #6a11cb;
    background-color: #1a1a1a;
    color: white;
    cursor: pointer;
    min-width: 120px; /* Ensure a minimum width for the select box */
}

/* Responsive for Motion Filter Section */
@media (max-width: 550px) {
    .motion-filter-container {
        flex-direction: column; /* Stack filter elements on very small screens */
        gap: 15px;
    }
    .filter-select {
        width: 80%; /* Make select box wider when stacked */
        max-width: 250px; /* Limit max-width */
    }
}
/* Display Motion Section */
.display-motion-section {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.display-motion-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1000px;
    justify-content: center;
}

.motion-video {
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(106, 17, 203, 0.6);
}



/* Modal styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.modal.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(106, 17, 203, 0.8);
    animation-name: zoom;
    animation-duration: 0.6s;
}




/* motion styles */

/* Video Section Styles */
.video-section {
    display: flex;
    justify-content: center;
    padding: 5vh 2vw;
    background-color: #000000;
    border-radius: 12px;
   
    margin: 2vh auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 20vh;
}

.video-container {
    position: relative;
    width: 90%;
    padding-top: 0;
    height: 0;
    padding-bottom: 30%; /* 16:9 Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    max-height: 60vh;
    min-height: 20vh;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .video-section {
        padding: 4vh 3vw;
        min-height: 15vh;
    }
    .video-container {
        max-height: 40vh;
        min-height: 15vh;
        padding-bottom: 56.25%;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 3vh 4vw;
        min-height: 12vh;
    }
    .video-container {
        max-height: 40vh;
        min-height: 12vh;
        padding-bottom: 56.25%;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 2vh 5vw;
        min-height: 10vh;
    }
    .video-container {
        max-height: 30vh;
        min-height: 10vh;
        padding-bottom: 56.25%;
    }
}

@keyframes zoom {
    from {transform: scale(0.7)} 
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
    
    width: 60px;
    
    margin-right: 10px;
    
    }
   
    

/*web dev section styles */

/* Website Showcase Section */
.website-showcase {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    flex-wrap: wrap;
}

.card-container {
    flex: 1 1 45%;
    min-width: 280px;
    max-width: 500px;
}

.card {
    background-color: #1a1a1a;
    border: 1px solid #6a11cb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 400px;
    box-shadow: 0 0 15px #6a11cb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px #a020f0;
}

.card-image {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ccc;
}

.card-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid #6a11cb;
    background-color: transparent;
    color: #6a11cb;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 5px auto;
    width: 140px;
}

.btn:hover {
    background-color: #6a11cb;
    color: #fff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.modal.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    margin: auto;
    background-color: #222;
    padding: 30px;
    border-radius: 12px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 0 20px #6a11cb;
    animation-name: zoom;
    animation-duration: 0.6s;
    color: #ccc;
}

.modal-content h2 {
    margin-top: 0;
    color: #fff;
    text-align: center;
}

.modal-content p {
    margin: 15px 0;
    line-height: 1.6;
    text-align: center;
}

.modal-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-images img {
    max-width: 30%;
    border-radius: 8px;
    box-shadow: 0 0 10px #6a11cb;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-images img:hover {
    transform: scale(1.05);
}

@keyframes zoom {
    from {transform: scale(0.7);}
    to {transform: scale(1);}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .website-showcase {
        flex-direction: column;
        padding: 20px 10px;
        gap: 40px;
    }

    .card-container {
        max-width: 100%;
        flex: none;
    }

    .card {
        height: auto;
    }

    .card-image {
        height: 200px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 90%;
        padding: 20px;
    }

    .modal-images img {
        max-width: 45%;
    }

    .btn {
        width: 100%;
        margin: 10px 0;
    }
}


    

/* SERVICES */


/* Additional styles for the modernized services page */
.services-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/services-banner.jpg'); /* Placeholder image - ensure this path is correct or replace */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
}

.services-hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #6a11cb; /* Matches primary accent color from styles.css */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.services-hero p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.service-category {
    align-content: center;
    justify-content: center;
    background-color: #1a1a1a;
    border: 1px solid #6a11cb; /* Matches primary accent color */
    border-radius: 12px;
    margin-bottom: 50px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(106, 17, 203, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: none; /* Hide all service categories by default for filtering */
}

.service-category.active-service-category {
    display: block; /* Show active service category */
}

.service-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(106, 17, 203, 0.6);
}

.service-category h2 {
    font-size: 2.8em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.service-grid {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-content: center;
}

.service-card {
    background-color: #000;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 25px;
    color: #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.service-card:hover {
    border-color: #a020f0; /* Darker accent on hover */
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(160, 32, 240, 0.4);
}

.service-card h3 {
    font-size: 1.8em;
    color: #6a11cb; /* Matches primary accent color */
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.price-range {
    font-weight: bold;
    color: #fff;
    font-size: 1.2em;
    text-align: right;
    margin-top: 10px;
}

.call-to-action {
    text-align: center;
    padding: 50px 20px;
    background-color: #000;
    color: #fff;
   

}

.call-to-action h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

.call-to-action .btn {
    background: linear-gradient(45deg, #6a11cb, #2575fc); /* Matches existing button gradient */
    border: none;
    max-height: 10%;
    color: white;
    max-width: 70%;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.6);
}

.call-to-action .btn:hover {
    transform: scale(1.05);
   
    box-shadow: 0 8px 20px rgba(37, 117, 252, 0.7);
}

.service-navigator {
    background-color: #0d0d0d;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.service-navigator nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px; /* Increased gap for better spacing */
}

.service-navigator nav li {
    margin: 0;
}

.service-navigator nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: #222;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    white-space: nowrap; /* Prevents text wrapping */
}

.service-navigator nav a:hover {
    background-color: #6a11cb; /* Matches primary accent color */
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(106, 17, 203, 0.5);
}

.service-navigator nav a.active-nav-link {
    background-color: #6a11cb; /* Active link color */
    color: #fff;
    box-shadow: 0 5px 10px rgba(106, 17, 203, 0.5);
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5em;
    }

    .services-hero p {
        font-size: 1em;
    }

    .service-category h2 {
        font-size: 2em;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-navigator nav ul {
        flex-direction: column;
        gap: 15px;
    }
}








/* --- Services Category and Card Styles --- */

/* Parent container for all service categories */
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px; /* Ensures content has space from screen edges */
}

/* Individual Service Category block */
.service-category {
    
    background-color: #1a1a1a;
    border: 1px solid #6a11cb;
    border-radius: 12px;
    margin-bottom: 50px;
    padding: 30px;

    box-shadow: 0 0 20px rgba(106, 17, 203, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: none; /* Hidden by default for filtering via JavaScript */
}

.service-category.active-service-category {
    display: block; /* Shown when active */
}

.service-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(106, 17, 203, 0.6);
}

.service-category h2 {
    font-size: 2.8em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Grid for Service Cards within a Category */
.service-grid {
    display: grid;
    /* Default for larger screens */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 10px;
}

/* Individual Service Card */
.service-card {
    background-color: #000;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 25px;
    color: #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Ensure cards don't stretch too wide on mobile and are contained */
    max-width: 300px; /* Sets a maximum readable width for each card */
    width: 100%; /* Ensures the card takes up full available width up to max-width */
    margin: 0 auto; /* Centers the card horizontally if it's narrower than its grid cell */
}

.service-card:hover {
    border-color: #a020f0;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(160, 32, 240, 0.4);
}

.service-card h3 {
    font-size: 1.8em;
    color: #6a11cb;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    word-wrap: break-word; /* Ensures long words break and wrap within the paragraph */
    overflow-wrap: break-word; /* Modern equivalent for word-wrap */
}

.price-range {
    font-weight: bold;
    color: #fff;
    font-size: 1.2em;
    text-align: right;
    margin-top: 10px;
}





/* sfklsj;nlfsdl */
