/* General Styles */
body {
    font-family: 'Salesforce Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F4F6F9;
    color: #032D60;
    line-height: 1.6;
    font-size: 16px; /* Best practice for body text */
}

/* Header Navigation */
header {
    background-color: #032D60;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
  .menu {
    list-style: none;
    display: flex;
    
  }
  
  .menu li {
    margin: 0 15px;
  }
  
  .menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
  }
  
  .menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .menu {
      display: none;
      width: 100%;
      flex-direction: column;
      text-align: center;
    }
  
    .menu li {
      margin: 10px 0;
    }
  
    .menu.show {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  }

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: 14px; /* Best practice for navigation */
    text-transform: uppercase;
}

nav ul li a:hover {
    color: #00A1E0;
    transform: scale(1.1);
}


/* Hero Section */
/*.hero {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(to right, #001639, #032D60);
    color: white;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}*/

.hero {
    text-align: center;
    padding: 120px 20px;
    background: url('SF_backgroundone.png') no-repeat center center/cover;
    color: white;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    position: relative;
}

.experience-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}


/* Optional: Add a dark overlay for better text readability */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* Ensure text stays above the overlay */
.hero h1, 
.hero p, 
.hero .cta-button {
    position: relative;
    z-index: 1;
}


.cta-button {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 15px;
    background-color: #00A1E0;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 14px; /* Best practice for buttons */
    text-transform: uppercase;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    background-color: #0288D1;
    transform: translateY(-3px);
}

/* Section Styling */
section {
    max-width: 1000px;
    margin: 80px auto;
    padding: 30px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

h2 {
    color: #032D60;
    font-size: 24px; /* Best practice for section titles */
    font-weight: 700;
    border-bottom: 3px solid #00A1E0;
    padding-bottom: 10px;
    text-transform: uppercase;
}

/* Experience & Skills */
.experience-item, .project {
    border-left: 5px solid #00A1E0;
    padding-left: 20px;
    margin-bottom: 20px;
    background: #E3E8EF;
    padding: 15px;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 14px; /* Best practice for small text */
}

.experience-item:hover, .project:hover {
    background: #F4F6F9;
    transform: scale(1.02);
}

/* Expand/Collapse Experience */
.experience-item ul {
    display: none;
}

.experience-item.expanded ul {
    display: block;
}

/* Experience Section */
.experience-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 20px;
}

.experience-content {
    flex: 1;
}

h3 {
    margin: 0;
    font-size: 20px; /* Best practice for subheadings */
    font-weight: 600;
}

h4 {
    margin: 5px 0;
    font-size: 16px; /* Best practice for minor headings */
    color: #555;
}

.location {
    font-weight: bold;
    color: #555;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #032D60;
    color: white;
    position: relative;
    font-size: 12px; /* Best practice for small text */
}

/* Carousel Styles */
.carousel {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin: auto;
    border-radius: 15px;
}

.carousel-container {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scrollCarousel 25s linear infinite;
}

.carousel img {
    width: 220px;
    height: 130px;
    object-fit: contain;
    border-radius: 12px;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Skills Section - Expand/Collapse */
.skill-category {
    background: #032D60;
    color: white;
    padding: 12px;
    margin-top: 12px;
    cursor: pointer;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
}

.skill-category:hover {
    background: #001639;
}

.skill-details {
    display: none;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-top: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.skill-category.expanded + .skill-details {
    display: block;
}

/* Horizontal list styling */
.skill-details ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.skill-details ul li {
    background: #DDE3EB;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 12px; /* Best practice for small text */
    white-space: nowrap;
}
/* Contact Section */

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 14px; /* Best practice for buttons */
    font-weight: bold;
    transition: 0.3s ease;
    color: white;
    text-transform: uppercase;
}

.gmail { background: #D44638; }
.linkedin { background: #0077B5; }
.resume { background: #2E7D32; }

.contact-btn:hover {
    opacity: 0.85;
    transform: translateY(-3px);
}

.contact-btn img {
    width: 22px;
    height: 22px;
}

/* Add styles for the button in certifications */
/* Certification Section */
#certifications {
    position: relative;
}

/* Button for certifications section */
/* Styling for the stars */
.star {
    font-size: 18px;
    margin: 0 5px;
    animation: blink 1.5s infinite; /* Add blinking animation */
    vertical-align: middle; /* Ensure stars align properly with text */
}

/* Adjusting button line-height to ensure proper vertical alignment */
.certifications-button {
    position: absolute;
    top: 1px; /* Adjust as needed */
    right: 1px; /* Adjust as needed */
    padding: 10px 20px;
    background-color: #00A1E0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    line-height: 1.5; /* Ensures proper alignment */
}

/* Hover effect for the button */
.certifications-button:hover {
    background-color: #0288D1;
    transform: translateY(-3px);
}


/* Blinking stars animation */
@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
/* Mobile styles */

@media (max-width: 768px) {
    .about-container {
      flex-direction: column; /* Stack the image and text vertically */
      text-align: center; /* Center the text */
      margin: 0 20px; /* Add padding on both sides for small screens */
    }
  
    .profile-pic {
      width: 150px; /* Adjust image size on mobile */
      height: 150px;
      max-width: 100%; /* Prevent image overflow */
      margin-bottom: 20px; /* Add space between the image and text */
    }
  
    .about-text {
      font-size: 1rem; /* Adjust text size on mobile */
      line-height: 1.5;
    }
  }

  


