/* Simplified font declarations */
@font-face {
    font-family: 'Noto-Sans-Mono-Regular';
    src: url('path-to-font/Noto-Sans-Mono-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Sailec-Font';
    src: url('path-to-font/Sailec-Bold.ttf') format('truetype');
}

/* Color Theme Variables */
:root {
    /* Neutral Colors */
    --gray-base: #3D4F58;
    --gray-light-1: #C1C7C6;
    --gray-light-2: #E8EDEB;
    --gray-dark-2: #3D4F58;
    --gray-dark-4: #112733;
    
    /* Background Colors */
    --primary-bg-light: #FFFFFF;
    --secondary-bg-light: #E8EDEB;
    --primary-bg-dark: #001E2B;
    --secondary-bg-dark: #112733;
    
    /* Accent Colors */
    --green-primary: #589636;
    --blue: #0498EC;
    --yellow: #F2C94C;
    --red: #EB5757;
    --purple: #9B51E0;
    
    /* Original Theme Colors */
    --highlight-teal: #72F6DC;
    --text-light: #CBD6F6;
    --text-muted: #8891B0;
}

/* Base styles */
body {
    margin: 0;
    padding: 0;
    background: var(--primary-bg-dark);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Icon section - reduced height and adjusted positioning */
.container {
    position: relative;
    top: 0;
    width: 100%;
    height: 80px; /* Reduced from 120px */
    opacity: 100%;
}

.icon {
    position: absolute;
    top: 30px; /* Reduced from 50px */
    display: flex;
    justify-content: space-evenly;
    height: 3em;
    width: 100%;
}

.tran {
    transition: all .8s;
}

.invert {
    position: relative;
    top: -10px;
}

.zigzag {
    position: relative;
    top: 30px;
}

/* Icon hover effects - maintaining original effects */
.html:hover {
    position: relative;
    top: 53px;
    color: var(--blue);
}

.css:hover {
    position: relative;
    top: -30px;
    color: var(--blue);
}

.js:hover {
    position: relative;
    top: -30px;
    color: var(--yellow);
}

.python:hover {
    position: relative;
    top: -30px;
    color: var(--green-primary);
}

.sql:hover {
    position: relative;
    top: 53px;
    color: var(--blue);
}

.mongodb:hover {
    position: relative;
    top: 53px;
    color: var(--green-primary);
}

.django:hover {
    position: relative;
    top: -30px;
    filter: brightness(200%);
    color: var(--green-primary);
}

.bootstrap:hover {
    position: relative;
    top: -30px;
    color: var(--purple);
}

.java:hover {
    position: relative;
    top: 53px;
    filter: brightness(120%);
    color: var(--red);
}

.django {
    filter: brightness(200%);
}

.java {
    filter: brightness(120%);
}

/* Intro section - reduced top margin to bring content closer to icons */
.cont {
    width: 100%;
    display: block;
    margin-top: 50px; /* Reduced from 150px */
    margin-bottom: 50px;
}

.intro {
    color: var(--highlight-teal);
    font-family: 'Noto-Sans-Mono-Regular', monospace;
    font-size: 25px;
    position: relative;
    left: 100px;
    top: 50px; /* Reduced from 100px */
    margin: 0;
}

.name {
    color: var(--text-light);
    font-family: 'sailec-font', 'Montserrat', sans-serif;
    position: relative;
    left: 100px;
    top: 60px;
    font-size: 50px;
    transition: all 1s ease;
    margin: 0;
}

.sub {
    color: var(--text-muted);
    font-family: 'sailec-font', 'Montserrat', sans-serif;
    position: relative;
    left: 100px;
    top: 10px;
    font-size: 40px;
    margin: 0;
}

.info {
    color: var(--highlight-teal);
    opacity: 60%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    position: relative;
    left: 100px;
    top: -15px;
    max-width: 600px;
    margin: 0;
}

.name:hover {
    font-size: 60px;
    transition: 1s ease-out;
    color: var(--green-primary);
}

/* Projects section - enhanced styling while maintaining design */
.projects-container {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 0 20px;
}

.projects-heading {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-family: 'sailec-font', 'Montserrat', sans-serif;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--secondary-bg-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 15px;
}

.project-title {
    color: var(--highlight-teal);
    margin-top: 0;
    font-family: 'sailec-font', 'Montserrat', sans-serif;
}

.project-description {
    color: var(--text-muted);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tech-tag {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--highlight-teal);
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    justify-content: space-between;
}

.project-link {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.github-link {
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.github-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.demo-link {
    background-color: var(--highlight-teal);
    color: var(--primary-bg-dark);
}

.demo-link:hover {
    background-color: rgba(114, 246, 220, 0.8);
}

/* Contact Section - preserve original styling with enhanced hover effects */
.contact {
    position: relative;
    top: 65px;
    height: 30px;
    width: 400px;
    left: 100px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 100px;
}

.contact p {
    color: var(--text-muted);
    position: relative;
    top: -10px;
    font-family: 'sailec-font', 'Montserrat', sans-serif;
    margin: 0;
}

.contact i {
    opacity: 70%;
    transition: all 0.2s ease;
}

/* Social media icon hover effects */
.fa-linkedin:hover {
    font-size: 2.5em;
    transition: 0.2s ease-out;
    color: var(--blue);
}

.fa-github:hover {
    font-size: 2.5em;
    transition: 0.2s ease-out;
    color: var(--text-light);
}

.fa-whatsapp:hover {
    font-size: 2.5em;
    transition: 0.2s ease-out;
    color: var(--green-primary);
}

.fa-instagram:hover {
    font-size: 2.5em;
    transition: 0.2s ease-out;
    color: var(--purple);
}

.fa-file:hover {
    font-size: 2.5em;
    transition: 0.2s ease-out;
    color: var(--yellow);
}

/* Responsive adjustments while preserving desktop appearance */
@media screen and (max-width: 1024px) {
    /* Minor adjustments for medium screens */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* Adjustments for tablet and mobile while preserving layout */
    .icon img {
        /* Keep logos visible but adjust size slightly */
        max-height: 30px;
        width: auto;
    }
    
    .intro, .name, .sub, .info {
        left: 50px; /* Bring text closer to edge on smaller screens */
    }
    
    .name {
        font-size: 45px;
    }
    
    .sub {
        font-size: 35px;
    }
    
    .contact {
        left: 50px;
        width: 350px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    /* Minimal adjustments for mobile */
    .icon {
        /* Preserve the spacing between logos */
        justify-content: space-around;
    }
    
    .icon img {
        /* Keep logos visible */
        margin: 0 5px;
        max-height: 25px;
    }
    
    .intro, .name, .sub, .info {
        left: 20px; /* Further reduce left margin */
    }
    
    .name {
        font-size: 40px;
    }
    
    .sub {
        font-size: 30px;
    }
    
    .info {
        max-width: 90%;
    }
    
    .contact {
        left: 20px;
        width: 90%;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .projects-heading {
        font-size: 2rem;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--secondary-bg-dark);
    margin-top: 100px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
/* // CSS for Slidshow */
/* slideshow.css - Add these styles to your style.css file */

/* Slideshow styles */
.slideshow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  
  .slideshow-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .slideshow-container {
    width: 90%;
    max-width: 1000px;
    background-color: var(--secondary-bg-dark);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
  }
  
  .close-btn:hover {
    color: var(--highlight-teal);
  }
  
  .slideshow-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .slideshow-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
  }
  
  .slideshow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
  }
  
  .prev-btn, .next-btn {
    background-color: var(--highlight-teal);
    color: var(--primary-bg-dark);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
  }
  
  .prev-btn:hover, .next-btn:hover {
    background-color: rgba(114, 246, 220, 0.8);
  }
  
  .slideshow-counter {
    margin: 0 15px;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
  }
  
  /* Make project images look clickable */
  .project-image {
    cursor: pointer;
    transition: opacity 0.3s;
  }
  
  .project-image:hover {
    opacity: 0.8;
  }
  
  /* Add an indicator for clickable images */
  .project-card {
    position: relative;
  }
  
  .project-card::after {
    content: '🔍';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--highlight-teal);
    color: var(--primary-bg-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .project-card:hover::after {
    opacity: 1;
  }