:root {
    --primary-bg-color: #2c3e50;
    --primary-txt-color: #fff;
    --active-color: #3498db;
  }

  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Open Sans Light'), local('OpenSans-Light'),
         url(../assets/fonts/OpenSans-Light.ttf) format('truetype');
    font-display: swap;
  }
  
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans-Regular'),
         url(../assets/fonts/OpenSans-Regular.ttf) format('truetype');
    font-display: swap;
  }
  
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Open Sans Bold'), local('OpenSans-Bold'),
         url(../assets/fonts/OpenSans-Bold.ttf) format('truetype');
    font-display: swap;
  }
  
  * {
    font-family: 'Open Sans', sans-serif; /* Fallback to a default sans-serif font */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }  

*::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden; 
}

.content-wrapper {
    display: flex;
    flex-direction: row; 
    width: 100%;
    height: calc(100vh - 50px);
}

.main-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: calc(100vh - 50px);
}

.main-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px 0px;
    overflow: auto; /* Enables scrolling */
    height: 100%; /* Ensure it fills its container */
}

.content-container {
    display: flex;          
    flex-direction: column;  
    justify-content: center; 
    align-items: center;     
    flex-grow: 1;          
}

.header-container {
    display: flex;
    flex-direction: row;   
    align-items: center;   
    width: 100%;         
    gap: 20px;             
    padding: 0px 0px 20px 10px;    
    border-bottom: 8px solid #2c3e50;
}

.name-container {
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    gap: 5px;  
}

.footer-container {
    display: none;
    height: 0px;
}

/* ------------------------------------- Styling Sidebar ------------------------------------- */
.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    width: 75px; /* Only enough to show the icons */
    height: 100%;
    padding: 20px 0px;
    background-color: #2c3e50;
    color: #fff;
    overflow-y: auto;
    flex-shrink: 0;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 1);
    transition: width 0.3s ease-in-out; /* Change to width animation */
}

.sidebar:hover {
    width: 165px; /* Full width on hover */
}

.menu-buttons {
    margin-top: 20px;
}

.menu-buttons li {
    display: flex;
    align-items: center; /* This ensures vertical alignment */
    padding: 20px;
    color: #fff;
    transition: background-color 0.3s, font-size 0.3s;
}

/* Active state when sidebar is closed */
.menu-buttons li.active {
    background-color: #3498db;  /* Active color */
}

.menu-buttons li.active span.material-icons-outlined {
    color: #fff;                /* Color of the icon when active */
    align-items: center;
}

/* Active state when sidebar is hovered */
.sidebar:hover .menu-buttons li.active {
    border-radius: 0;           /* Remove the rounded effect */
    padding: 20px;              /* Restore original padding */
}


.menu-buttons li span.material-icons-outlined {
    margin-right: 10px; /* Adjust spacing between the icon and text */
    margin-left: 5px; /* Add left margin to center the icon more */
    font-size: 24px;   /* Adjust the size of the icon */
}

.menu-buttons a {
    display: flex; /* Make the anchor also a flex container */
    align-items: center; /* Align the items vertically */
    justify-content: flex-start; /* Align items to the start */
    font-size: 0; /* Hide the text initially */
    overflow: hidden; /* Ensure text doesn't take up space */
    white-space: nowrap; /* Keep text in one line */
    transition: font-size 0.3s ease-in-out; /* Smooth font transition */
    text-decoration: none;
}

.sidebar:hover .menu-buttons a {
    font-size: 16px; /* Adjust to your desired font size */
    text-decoration: none;
}

.menu-buttons li:hover {
    background-color: #3498db;
    font-size: 15px;
}

.sidebar-link {
    color: #fff;
    transition: color 0.3s;
}

.sidebar-link.active li {
    background-color: #3498db;
}
/*------------------------------------- Styling Navbar - -------------------------------------*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background-color: #2c3e50;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
    z-index: 2;
}

.navbar .site-logo {
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 24px;
}

.navbar .site-logo a{
    text-decoration: none;
    color: #fff;
}

.navbar .social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.navbar .social-icons ul {
    list-style-type: none; 
    padding: 0;        
    margin: 0;            
    display: flex;     
    gap: 10px;      
}

.navbar .social-icons ul li {
    display: inline-block;  
}

.navbar .social-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
    padding: 10px;          
    margin: 0 5px;       
    display: inline-block; 
    border-radius: 50%;  
}

.navbar .social-icons a:hover {
    color: #3498db;
}

body > div.navbar > div.social-icons > a:nth-child(2) > i{
   height: 25px;
   width: 25px;
}

body > div.navbar > div.social-icons > a:nth-child(1) > i {
    height: 25px;
    width: 25px;
}

body > div.navbar > div.social-icons > a:nth-child(3) > i
{
    height: 25px;
    width: 25px;
}

/* ------------------------------------- Styling the modal ------------------------------------------*/

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10px auto; 
    padding: 20px;
    width: 80%;
    max-width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.gallery img {
    width: 100%;
    margin-top: 15px;
}

/* ------------------------------------- Styling Login -------------------------------------*/

.login-page {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* This makes the body take up the full viewport height */
    margin: 0; /* This removes the default margin from the body element */
    background: #f0f0f0; /* A light grey background, you can choose your own */
  }
  
  .login-container {
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    min-width: 400px;
    padding: 20px;
    background: #fff; /* Fallback for browsers that do not support gradients */
    background: linear-gradient(to bottom, #ffffff 0%,#f2f2f2 100%);
    border: 1px solid #d4d4d4;
    border-radius: 8px;
  }

/* Add this to your CSS file or within a <style> tag in your HTML */
.logo {
    text-align: center; /* Centers the logo container */
    margin-bottom: 20px; /* Adds space between the logo and the form */
  }
  
  .logo img {
    max-width: 100px; /* Ensures the image is responsive and does not overflow its container */
    height: auto; /* Keeps the image aspect ratio */
  }
  .login-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 24px;
  }

  .form-group label {
    display: block;
    color: #666;
    margin-bottom: 8px;
  }

  .form-group input {
    width: calc(100% - 16px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 16px; /* Space for error messages */
  }

  .form-group button {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
  }

  .form-group button:hover {
    background-color: #4cae4c;
  }

  /* Ensures the styling is consistent with the dark mode */
  body[data-theme='dark'] .login-container {
    background: #333;
    color: #fff;
    border-color: #444;
  }

  body[data-theme='dark'] .form-group label {
    color: #ddd;
  }

  body[data-theme='dark'] .form-group input {
    background: #555;
    color: #fff;
  }

  body[data-theme='dark'] .form-group button {
    background-color: #3498db;
  }

  body[data-theme='dark'] .form-group button:hover {
    background-color: #2980b9;
  }

  .home-link {
    text-align: center; /* Centers the link */
    margin-top: 20px; /* Adds some space above the link */
  }
  
  .home-page-link {
    color: #000; /* Change as needed */
    text-decoration: none; /* Removes underline from links */
    font-size: 1rem; /* Adjusts the font size */
    /* Add any other styles such as hover effects as necessary */
  }
  
  .home-page-link:hover {
    text-decoration: underline; /* Example hover effect */
  }
  

/* ------------------------------------- Styling Profile Image -------------------------------------*/

.text-container {
    flex: 2;
    padding: 20px 50px 100px 50px;
}

.text-container ul {
    padding-left: 30px;
}

.image-container {
    flex-shrink: 0;
    width: 200px;
    padding-right: 20px;
    padding-left: 20px;
}

.image-container img {
    width: 150px;
    height: 150px;
    max-width: 100%;
    border-radius: 9999px;
}

/* ------------------------------------- Styling Portfolio Experience Card -------------------------------------*/

#project-container {
    display: flex;
    flex-direction: column;
    align-items: center;  /* centers children horizontally */
    justify-content: center; /* centers children vertically */
    min-width: 80%;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    width: 80%;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #ffffff;
}

.company-name, .project-title, .job-title {
    margin-bottom: 10px;
}

.description {
    margin-bottom: 20px;
    color: #555;
}

.portfolio-link {
    align-self: center;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    background-color: #3498db;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.portfolio-link:hover {
    background-color: #2c3e50;
}

.project-thumbnail {
    width: 250px; 
    height: 150px;
    object-fit: cover; 
    border-radius: 8px 8px 0 0; 
    margin-bottom: 10px;
    cursor: pointer;
}

/* ------------------------------------- Styling Thank You Page -------------------------------------*/

.social-icons i {
    font-size: 24px;
    margin: 0 10px; 
}

.social-icons a:hover i {
    color: #3498db;
}

.social-icons-thank-you i {
    font-size: 50px; 
    margin: 20px 10px; 
    color: #3498db;
}

.social-icons-thank-you a:hover i {
    color: #2c3e50;
}

/* ------------------------------------- Video Responsive ------------------------------------- */
.main-video-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px 0px;
    overflow-y: auto;
}
.video-content-container {
    display: flex;             
    flex-direction: row;  
    justify-content: center; 
    align-items: center;     
    flex-grow: 1;            
    flex-wrap: wrap;     
}
.video-card {
    display: flex;
    flex-direction: column;
    width: 40%;
    margin: 10px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}
.video-card iframe {
    width: 100%;
    height: 250px;
}
.video-info {
    padding: 10px;
}
.video-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
.video-info p {
    max-height: 100px;
    min-height: 100px;
    overflow: hidden;
    color: #555;
    margin-bottom: 10px;
}
.video-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #888;
    padding: 0 10px 10px;
}

@media (max-width: 768px) {
    .video-content-container {
        flex-direction: column;
    }

    .video-card {
        width: 70%;
        margin: 5px 0;
    }
}

/* ------------------------------------- Contact Form Styles -------------------------------------*/

.contact-form-container {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    width: 100%;
    margin: 0 10px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
    width: 100%;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 10px 15px;
    margin: 0; 
    border: 1px solid #ddd;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.input-group textarea {
    resize: vertical;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #085b54;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #064a48;
}

.error-button {
    display: inline-block;
    background-color: #f44336;
    color: white;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.loader {
    border: 8px solid #f3f3f3; 
    border-radius: 50%;
    border-top: 8px solid #3498db; 
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    display: none;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/*-------------------------------------------------Styles for project submission --------------------------------------------*/


.project-submission-form-container {
    display: flex;
    flex-direction: column;
    max-width: 60%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.project-submission-form-group {
    margin-bottom: 20px;
    position: relative;
}

.project-submission-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.project-submission-form-group input[type="text"],
.project-submission-form-group input[type="url"],
.project-submission-form-group input[type="file"],
.project-submission-form-group textarea {
    width: 100%;
    padding: 10px 15px;
    margin: 0;
    border: 1px solid #ddd;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.project-submission-form-group textarea {
    resize: vertical;
    height: 100px;
}

.project-submission-form-group input[type="file"] {
    border: none;
    padding: 0;
    margin-top: 8px;
}

.project-submission-form-submit {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #085b54;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.project-submission-form-submit:hover {
    background-color: #064a48;
}

.remove-button {
    position: absolute;
    top: 5px;
    right: 5px;
    border: none;
    background: red;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

#imagePreview {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Align items to the top of the container */
    gap: 10px; /* Space between thumbnails */
}

.thumbnail-image {
    width: 100px; /* Thumbnail size */
    height: auto;
    display: block; /* Or inline-block, depending on layout */
    margin: 5px; /* Space around thumbnails */
}

.draggable {
    touch-action: none;
  }
  
  .over {
    border: 2px dashed #000;
  }  

/* Full-size image styles */
.image-fullsize {
    width: 100%; /* full width */
    height: auto;
    display: none; /* hidden by default */
}

#enlargeImagesBtn {
    display: none;
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #085b54;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#enlargeImagesBtn:hover {
    background-color: #064a48;
}

/* Additional styles for the modal or overlay if you want to use one */
.image-modal {
    display: none; /* hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-modal-content {
    margin: 5% auto;
    display: block;
    width: 80%;
    max-width: 700px; /* You can adjust this as needed */
}


/*For the modal on the new projects page*/

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  @media screen and (max-width: 700px) {
    .modal-content {
      width: 100%;
    }
  }

/*-------------------------------------------------Responsive styles --------------------------------------------*/

@media (max-width: 768px) {

    .sidebar, .heading-title {
        display: none; 
    }

    .content-wrapper {
    display: flex;
    flex-direction: row; 
    width: 100%;
    height: calc(100vh - 130px);
    padding-bottom: 50px;
} 

    .footer-container {
        display: flex; /* Changed to flex to ensure it takes the full width */
        height: 50px;
        width: 100%;
        height: auto;
        background-color: var(--primary-bg-color);
        color: #fff;
        float: none;
        margin: 0;
        padding: 0;
        bottom: 0;
        justify-content: center;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .footer-menu-buttons {
        margin-top: 0;
        color: #fff;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center; /* Add this line to align items vertically */
        list-style: none;
        padding: 10px 0;
        width: 100%; /* Ensure full width for proper spacing */
    }

    .footer-menu-buttons li {
        display: flex;
        align-items: center; /* Add this to ensure contents of li are centered */
        justify-content: center; /* Center horizontally */
        padding: 10px 30px;
    }

    .footer-menu-buttons li:hover {
        background-color: transparent;
        font-size: 14px;
    }

    .footer-menu-buttons a {
        text-decoration: none;
        color: #fff;
        align-items: center; /* Align text and icons */
        justify-content: center; /* Center the contents */
        gap: 10px;
        display: flex;
        flex-direction: column;
        text-align: center; /* Center the text itself */
    }

    .footer-menu-buttons a span {
        font-size: 15px; /* This will reduce the text size */
        line-height: 1; /* Adjust line height to maintain layout */
        display: block; /* Helps with aligning text below the icon */
    }

    .footer-menu-buttons .material-icons-outlined {
        font-size: 25px;
    }

    .header-container {
        font-size: 14px;
        padding-right: 20px;
    }

    .content-container {
        margin-top: 0px;
        padding-top: 0px;
    }
    .contact-form-container {
        display: flex;
        flex-direction: column;
        max-width: 80%;
        width: 100%;
        padding: 10px 20px;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        background-color: #f9f9f9;
    }

    .input-group input,
    .input-group textarea {
        font-size: 5px;
    }

    .submit-button {
        padding: 8px 15px;
        font-size: 16px;
    }

    .main-container {
        overflow: visible;
    }

    .main-content {
        padding-bottom: 100px; 
    }
}

@media (max-width: 600px) {
    .footer-menu-buttons a {
        /* Ensure anchor elements are flex containers with column direction */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center items horizontally in the flex container */
        justify-content: center; /* Center items vertically in the flex container */
        text-align: center; /* Center the text itself */
    }

    .footer-menu-buttons .material-icons-outlined {
        font-size: 20px;
    }

    .footer-menu-buttons a span {
        font-size: 15px; /* This will reduce the text size */
        line-height: 1; /* Adjust line height to maintain layout */
        display: block; /* Helps with aligning text below the icon */
    }

    .footer-container ul li {
        font-size: 12px;
        padding: 10px 15px;
    }

    .footer-menu-buttons {
        height: 70px;
    }
}

@media (max-width: 410px) {
    .footer-menu-buttons a .footer-text {
        display: none; /* This hides the text */
    }

    .footer-menu-buttons .material-icons-outlined {
        font-size: 27px; /* or whatever size you prefer */
    }
    
}




.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 48px;
    line-height: 0;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: white;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

body {
    background-color: #fff;
    color: #333;
}

body[data-theme="dark"] {
    background-color: #333;
    color: #fff;
}

body[data-theme="dark"] .sidebar {
    background-color: #2c3e50;
    color: #fff;
}

body[data-theme="dark"] label,
body[data-theme="dark"] input,
body[data-theme="dark"] textarea {
    color: #fff; 
}

body[data-theme="dark"] .contact-form-container {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); 
}

body[data-theme="dark"] .contact-form-container:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.9); 
    transition: box-shadow 0.3s ease; 
}


body[data-theme="dark"] .contact-form-container .submit-button {
    background-color: #3498db; 
}

body[data-theme="dark"] .contact-form-container .submit-button:hover {
    background-color: #2980b9; 
    transition: box-shadow 0.3s ease; 
}

body[data-theme="dark"] .contact-form-container {
    background-color: #444;
    border-color: #444;
}

body[data-theme="dark"] .portfolio-card,
body[data-theme="dark"] .portfolio-card h2,
body[data-theme="dark"] .portfolio-card h3,
body[data-theme="dark"] .portfolio-card h4,
body[data-theme="dark"] .portfolio-card p,
body[data-theme="dark"] .portfolio-card a {
    color: #fff; 
    background-color: #444;
    border-color: #444;
}

body[data-theme="dark"] .portfolio-card {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); 
    transition: box-shadow 0.3s ease; 
}

body[data-theme="dark"] .portfolio-card:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.9);
}

body[data-theme="dark"] .portfolio-card .portfolio-link {
    background-color: #3498db; 
    color: #fff; 
    border: none; 
    padding: 10px 15px;
    border-radius: 5px; 
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
    transition: background-color 0.3s ease; 
}

body[data-theme="dark"] .portfolio-card .portfolio-link:hover {
    background-color: #2980b9;
}

/* Dark Mode Modal Styling */
body[data-theme="dark"] .modal-content {
    background-color: #333; 
    color: #fff; 
}

body[data-theme="dark"] .close {
    color: #fff;
}

body[data-theme="dark"] .close:hover,
body[data-theme="dark"] .close:focus {
    color: #aaa; 
}

body[data-theme="dark"] .gallery img {
    border: 1px solid #444; 
}

body[data-theme="dark"] .text-container {
    border-top: 1px solid #444;
}

body[data-theme="dark"] .modal-content h1,
body[data-theme="dark"] .modal-content h2,
body[data-theme="dark"] .modal-content h3,
body[data-theme="dark"] .modal-content h4,
body[data-theme="dark"] .modal-content h5,
body[data-theme="dark"] .modal-content h6 {
    color: #fff;
    background-color: #333;
}

body[data-theme="dark"] .main-video-content {
    background-color: #333;
    color: #fff;
}

body[data-theme="dark"] .video-info h3,
body[data-theme="dark"] .video-info p,
body[data-theme="dark"] .video-stats span {
    color: #ddd;
}

body[data-theme="dark"] .main-video-content .video-card{
    background-color: #333;
    border: 1px solid #333;;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.9);
}

/*-------------------------------------------------Dark theme for project submissions --------------------------------------------*/

/* Dark Mode - Overrides */
body[data-theme="dark"] .project-submission-form-container {
    background-color: #444; /* Dark mode background for the form */
    color: #fff; /* Dark mode text color */
    border: 1px solid #555; /* Adjust the border color to match dark mode if necessary */
}

body[data-theme="dark"] .project-submission-form-group label {
    color: #fff; /* Ensuring label text is visible in dark mode */
}

body[data-theme="dark"] .project-submission-form-group input[type="text"],
body[data-theme="dark"] .project-submission-form-group input[type="url"],
body[data-theme="dark"] .project-submission-form-group input[type="file"],
body[data-theme="dark"] .project-submission-form-group textarea {
    background-color: #333; /* Darker background for input fields */
    color: #fff; /* Light text color for contrast */
    border: 1px solid #555; /* Dark mode border color */
}

body[data-theme="dark"] .project-submission-form-submit {
    background-color: #3498db; /* Button color in dark mode */
    color: #fff; /* Text color for the button in dark mode */
}

body[data-theme="dark"] .project-submission-form-submit:hover {
    background-color: #2980b9; /* Button hover color in dark mode */
}

body[data-theme="dark"] #enlargeImagesBtn {
    background-color: #3498db; /* Button color in dark mode */
    color: #fff; /* Text color for the button in dark mode */
}

body[data-theme="dark"] #enlargeImagesBtn:hover {
    background-color: #2980b9; /* Button hover color in dark mode */
}

/*------------------------------------------------------ Dashboard Styling ------------------------------------------------*/

.dashboard-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px; /* This adds space between the cards */
    align-items: flex-start; /* Aligns items to the top of the container */
    justify-content: flex-start; /* Aligns items to the start (left side) of the container */
  }
  
  .dashboard-card-item {
    flex: 1; /* Allows the cards to grow and fill the space */
    min-width: 300px; /* Minimum width of each card to ensure content fits */
    min-height: 200px; /* Minimum height of each card to ensure content fits */
    max-width: calc(33.333% - 20px); /* Maximum width for three columns with gap */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Simple box shadow for styling */
    background: #555; /* Background color for the card */
    border-radius: 4px; /* Optional: Adds rounded corners to the card */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and shadow */
  }
  
  .dashboard-card-item:hover {
    transform: scale(1.05); /* Scales up the card to 105% */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhances the shadow for a "pop" effect */
    cursor: pointer; /* Changes the cursor to indicate the item is clickable */
  }
  
  .dashboard-card-content {
    padding: 20px; /* Padding inside the card */
  }

  .dashboard-card-content .add-icon {
    display: block; /* Allows margin to be applied and centers the icon */
    margin: 20px auto 20px; /* Centers the icon horizontally and adds space below */
    font-size: 48px; /* Increases the size of the icon */
    color: #fff; /* Sets the color of the icon */
    background: #555; /* Background color for the circle */
    border-radius: 50%; /* Makes the background a circle */
    width: 64px; /* Width of the circle */
    height: 64px; /* Height of the circle */
    line-height: 64px; /* Centers the icon vertically */
    text-align: center; /* Centers the icon horizontally */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow to the circle */
  }
  
  .dashboard-card-item:hover .add-icon {
    background: #333; /* Darkens the background on hover for a subtle effect */
  }
  
  .dashboard-card-content .settings-icon {
    display: block; /* Allows margin to be applied and centers the icon */
    margin: 20px auto 20px; /* Centers the icon horizontally and adds space below */
    font-size: 48px; /* Increases the size of the icon */
    color: #fff; /* Sets the color of the icon */
    background: #555; /* Background color for the circle */
    border-radius: 50%; /* Makes the background a circle */
    width: 64px; /* Width of the circle */
    height: 64px; /* Height of the circle */
    line-height: 64px; /* Centers the icon vertically */
    text-align: center; /* Centers the icon horizontally */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow to the circle */
  }
  
  .dashboard-card-item:hover .settings-icon {
    background: #333; /* Darkens the background on hover for a subtle effect */
  }
  
  
  /* Media queries for responsiveness */
  @media screen and (max-width: 900px) {
    .dashboard-card-item {
      max-width: calc(50% - 20px); /* On smaller screens, go for a 2 column layout */
      min-height: 150px; /* Adjust the min-height for a two column layout */
    }
  }
  
  @media screen and (max-width: 600px) {
    .dashboard-card-item {
      max-width: 100%; /* On even smaller screens, stack the cards */
      min-height: auto; /* Let the height be determined by content */
    }
  }
  