@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

/* CSS Variables */
:root {
    --primary-color: #333;      /* Dark background color */
    --primary-hover: #1a1a1a;   /* Darker version of primary color for hover */
    --secondary-color: #f0a500; /* Highlight color for buttons */
    --secondary-hover: #d48d00; /* Darker version of secondary color for hover */
    --text-color: #333;      /* Default text color */
    --font-family: 'Poppins', sans-serif; /* Font family for the whole page */
    --font-size-default: 16px;  /* Default font size */
    --header-padding: 20px;     /* Padding for the header */
    --section-padding: 60px;    /* General section padding */
    --logo-width: 100px;        /* Width for the logo */
}

/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth
}

body {
    font-family: var(--font-family);
    
    color: var(--text-color);
}

/* Header Styling */
header {
    padding: var(--header-padding);
    padding-inline: var(--section-padding);
    background-color: #ffffffbe;
    color: var(--text-color);
    position: sticky;  /* Makes the header fixed at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;  /* Keeps header on top of other content */
    border-bottom: 1px solid #d9d9d9e8;

    backdrop-filter: blur(10px); /* Standard property */
    -webkit-backdrop-filter: blur(10px); /* WebKit for mobile */
}

header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; 
    margin: 0 auto;
}

.logo img {
    width: var(--logo-width); /* Adjust the logo size */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--font-size-default);
    transition: 0.2s ease;
}

header nav ul li a:hover {
    color: var(--secondary-color); /* Highlight color change on hover */
    text-decoration: underline;
}

/* Section Styling */
section {
    padding: var(--section-padding);
    
}



/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101; /* Make sure it's on top */
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 10px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1300px) {
    /* Hamburger becomes visible on smaller screens */
    .hamburger {
        display: flex;
    }
}

.sec-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Initially hidden */
    width: 250px;
    height: 100%;
    background-color: #333;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease; /* Smooth slide effect */
    z-index: 100;
}

.sidebar.active {
    left: 0; /* Slide in when active */
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
}

.sidebar-menu ul li {
    margin: 5px 0;
}

aside.sidebar-menu nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    display: block;
    padding: 10px 0;
}

.sidebar-menu ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.sidebar-menu ul  {
    flex-direction: column;
    gap: 2px!important;
}

.sidebar-menu ul a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    display: block;
    padding: 10px 0;
}

.sidebar-menu ul a.active {
    color: #fff;
}

.aside-download-cv {
    margin-top: 20px;
    margin-right: 0;
}

@media (min-width: 1000px) {
    .aside-download-cv {
        display: none!important;
    }

}

/* @media (max-width: 1000px) {
    .aside-download-cv {
        display: block;
    }

} */





















/* Hero Section */
#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--section-padding);
    position: relative;
    background-image: url('assets/images/bg.svg');
}

.hero-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Set a maximum width for the content */
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 48px;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 18px;
    margin: 20px 0;
    color: #555;
}



/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Primary Button */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border: 2px solid var(--secondary-hover);
}

/* Ghost Button */
.btn-ghost {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-ghost-sec {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-ghost-sec:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Hero Image */
.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px; /* Optional: gives the image rounded corners */
    box-shadow: 15px 15px var(--secondary-color);
}

#about {
    background-color: var(--primary-color);
}

/* About Section Styling */
#about {
    padding: var(--section-padding);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

#about .divider {
    min-height: 300px;
    max-height: 300px;
    width: 5px;
    background-color: var(--secondary-color);
    margin-block: auto;
    border-radius: 100%;
}

.about-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px; /* Adds space between the two columns */
}

/* Left Column: Description */
.about-description {
    flex: 1;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

 p {
    font-size: 16px;
    line-height: 1.6;
}

.skills-container {
    flex: 1;
}

/* Right Column: Skill Cards */
.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-card {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    width: calc(50% - 10px); /* Two skill cards per row */
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.skill-card svg {
    width: 30px;
    fill: white;
}

.skill-card:hover {
    transform: translateY(-3%);
}


#projects h2 {
    text-align: center;
    margin-bottom: 50px;
}

@media (max-width: 1000px) {
    #projects h2 {
        text-align: left;
    }
}

#projects .project-container {
    display: grid;
    gap: 70px;
}
  
  .project-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
  }
  
  .project-row .project-description {
    flex: 1;
    display: flex;
    gap: 16px;
    flex-direction: column;
  }
  
  .project-row .project-image {
    flex: 1;
  }
  
  .project-row .project-image img {
    max-width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    box-shadow: 15px 15px var(--secondary-color);
    border: 1px solid #d9d9d9;
    border-radius: 16px; /* Optional: gives the image rounded corners */
  }

  @media (max-width: 1000px) {
        .project-row .project-image img {
            box-shadow: 10px 10px var(--secondary-color);
        }
    }
  
  .project-row.reverse {
    flex-direction: row-reverse;
  }
  
  .project-row.reverse .project-description {
    margin-left: 20px;
    margin-right: 0;
  }

  @media (max-width: 1000px) {
    .project-row.reverse .project-description {
        margin-left: 0px;
        margin-right: 0;
      }
}
  
  
    #projects .desc-btn .disable {
      cursor: not-allowed;
      border: 0;
      opacity: 60%;
    }

    #projects .desc-btn .disable:hover {
      background-color: var(--secondary-color);
    }

#startup {
    background: #d9d9d9;
    text-align: center;
}

#startup h2 {
    margin-bottom: 50px;
}

#startup .startup-section {
    max-width: 900px;
    margin-inline: auto;
}

#startup h3 {
    margin-bottom: 10px;
}

#startup .startup-image {
    margin-top: 20px;
    min-width: 90%;
    max-width: 90%;
    margin-inline: auto;
    height: 400px;
    background: var(--primary-color);
    border-radius: 8px;
}

@media (max-width: 1000px) {
    #startup .startup-image {
        max-width: none;
        height: 300px;
    }
}

#startup .disable {
    margin-top: 10px;
}








/* Internships & Collaborations Section Styles */
#internships {
    padding: 50px 0;
    background-color: var(--primary-color);
    text-align: center;
}

#internships h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

.internships-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    justify-items: center;
    align-items: center;
}

.internship {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.internship h3 {
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
}
a {
    text-decoration: none;
}

.internships-container .internship img {
    border-radius: 6px;
    overflow: hidden;
}

.internship:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.internship img {
    max-width: 150px;
    max-height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #internships {
        padding: 30px 0;
    }

    .internship {
        padding: 15px;
    }

    .internship img {
        max-width: 120px;
        max-height: 80px;
    }

    .internship h3 {
        font-size: 1.15rem;
    }
}














#certificates {
    padding: 2rem;
    text-align: center;
}

#certificates h2 {
    font-size: 2rem;
    margin-bottom: 50px;
}

.certificate {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: transform 0.2s ease;
}

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

.cert-thumbnail {
    width: 250px; /* Set a fixed width */
    height: 180px; /* Set a fixed height */
    overflow: hidden;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cert-thumbnail img {
    width: 100%;
    object-fit: contain; /* Prevents distortion */
    border-radius: 4px;
}

.cert-info {
    width: 100%;
}

.cert-info h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.cert-info a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: 100%;
}

.cert-info a:hover {
    background-color: var(--secondary-hover);
}

/* Grid styling */
#certificates .certificate-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 640px) {
    #certificates .certificate-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}








/* Contact Section Styles */
#contact {
    padding: 50px;
    background-color: #f4f4f9;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    
}

#contact svg {
    width: 32px;
}

.contact-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: #333;
}

.contact-item p, .contact-item a {
    font-size: .8rem;
    color: #333;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;    
}

/* Contact Form Styles */
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--secondary-hover);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #contact {
        padding: 30px;
    }

    .contact-form {
        padding: 20px;
    }
}






footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
  
  .social-links {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .social-links li {
    display: inline;
  }
  
  .social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
  }
  


/* Testimonial Section */
#testimonial {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

#testimonial h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial {
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    max-width: 700px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.author-info {
    text-align: left;
}

.author-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.author-info a {
    font-size: 1rem;
    color: #0073b1;
    text-decoration: none;
}

.author-info a:hover {
    text-decoration: underline;
}


@media (max-width: 1000px) {
    header nav ul {
        flex-direction: column;
        display: none;
    }

    nav ul.active {
        display: block;
        position: absolute;
        top: 70px;
        background-color: white;
        width: 100%;
        text-align: center;
    }

    .download-cv {
        display: none;
    }
}

@media (max-width: 1300px) {
    header nav ul {
        flex-direction: column;
        display: none;
    }
}

@media (max-width: 1000px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-image img {
        width: 80%;
        margin-top: 20px;
    }
}



@media (max-width: 1000px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-skills {
        gap: 10px;
    }

    .skill-card {
        width: 100%;
    }

    #about .divider {
        width: 80%;
        min-height: 5px;
        max-height: 5px;
        margin-inline: auto;
    }
    
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-skills {
        gap: 10px;
    }

    .skill-card {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .project-row {
        flex-direction: column;
    }
    
    .project-row.reverse{
        flex-direction: column;
    }

    .project-image img {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 540px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


@media (max-width: 768px) {
    section {
        padding-inline: 8%;
        
    }
    
    #hero {
        padding-inline: 8%;
        
    }
    
    #hero .hero-image {
        width: 100%;
        margin-top: 20px;
    }
    
    #hero .hero-image img {
        width: 100%;    
    }
    
    #about {
        padding-inline: 8%;
        
    }
    
}

@media (max-width: 768px) {
    .testimonial {
        padding: 15px;
        max-width: 100%;
    }
    
    .testimonial h3 {
        font-size: 16px;
    }

    .testimonial-content p {
        font-size: 16px;
    }
    
    .author-info a {
        font-size: 14px;
    }
}

.header-container, .about-container, .hero-container, .internships-container, .project-container, .certificate-container, .contact-info {
    max-width: 1200px;
    margin-inline: auto;
}

header .header-container {
    max-width: 1400px;
}