@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

header {
    position: fixed; /* Fix the header at the top */
    width: 100%;
    z-index: 1000;   /* Ensure it stays above other content */
}

@media (max-width: 767px) {
    .hidden-on-small-screens {
        display: none;
    }
    .testimonial-detail {
        font-size: medium;
    }
}
.cerulean-gradient {
    background: linear-gradient(135deg, #2a7fff 0%, #00b4d8 100%);
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(42, 127, 255, 0.1);
    color: #2a7fff;
    font-size: 24px;
    margin-bottom: 20px;
}

.nav-link {
    position: relative;
    margin-left: 4px;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    position: relative; /* Ensure the nav-container is positioned relative */
}

#menu-toggle {
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    margin-right: 20px;
}

#navbar {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: absolute; /* Position it absolutely to not affect layout */
    top: calc(100% + 5px); /* Start below the header, with a small gap */
    right: 20px; /* Offset the menu to the left by 20px */
    background: linear-gradient(90deg, #2a7fff 0%, #00b4d8 100%);
    width: auto;
    max-height: 0;       /* Initially hidden */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out; /* Smooth transition */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Optional shadow for better look */
    z-index: 9;
}

#navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#navbar li {
    width: 100%;
}

#navbar a {
    text-decoration: none;
    color: rgb(245, 245, 245);
    padding: 15px 20px; /* Increased padding */
    display: block;
    text-align: left; /* Aligns text to the left */
}

#navbar a:hover {
    background-color: aliceblue;
    color: #000000;
}

/* Testimonials */
.testimonial-main {
  padding-left: 4%;
  padding-right: 4%;
  padding-bottom: 4%;
}
.testimonial-title {
  padding-top: 4%;
}
.testimonial-arrows {
    background-color: #2a7fff;
    color: #f0f9ff;
}
.testimonial-arrows:hover {
    background-color: #4992ff;
}
.testimonial-card {
  transition: all 0.9s ease;
  transform: scale(0.9);
  opacity: 0.7;
}
.testimonial-card.active {
  transform: scale(1);
  opacity: 1;
}
.dot-indicator {
  transition: all 0.3s ease;
}
.dot-indicator.active {
  transform: scale(1.2);
  background-color: #2a7fff;
}
.dot-indicator:hover {
    background-color: #4992ff;
}
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Experience */
.timeline-item {
    border-color: #2a7fff;
}

/* Achievement Bullets */
#achievement-1 {
    list-style-type: square;
}
#achievement-2 {
    list-style-type: disc;
}
#achievement-3 {
    list-style-type: circle;
}

/* Image Animation */
.image-link {
    position: relative;
    margin-left: 4px;
}

.image-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #2a7fff;
    transition: width 0.3s ease;
}

.image-link:hover:after {
    width: 100%;
}