/* Subheading Glow Effect */
.glow-subheading {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 12px rgba(108, 92, 231, 0.6);
}

/* Title Gradient Effect */
.gradient-title {
  background-image: linear-gradient(
    to right,
    #99dfff 15%, /* Color A: Left, lighter blue */
    #FFFFFF 50%, /* Color B: Middle, pure white */
    #99dfff 95%  /* Color C: Right, slightly left of center */
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}


/* Header General Styles */
.header {
    background-color: #1f2937;
    color: white;
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

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

/* Logo Styles */
.header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header__logo img {
    height: 80px;
}

/* Burger Menu Styles */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 11;
    align-self: center;
}

.header__burger span {
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Navigation Styles */
.header__nav {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: space-between;
}

.header__nav--left,
.header__nav--right {
    display: flex;
    gap: 20px;
}

.header__link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    padding: 5px 10px;
    gap: 8px; /* Ensures consistent spacing between icons and text */
}

.header__link i {
    margin: 0; /* Remove any unnecessary margin to rely on gap */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header .container {
        justify-content: space-between;
    }

    .header__logo {
        position: static;
        transform: none;
        order: 1;
        margin-left: 20px; /* Align logo */
    }

    .header__burger {
        display: flex;
        order: 2;
        margin-right: 20px; /* Align with logo */
    }

    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0c2461;
        flex-direction: column;
        gap: 15px;
        display: none; /* Initially hidden */
        padding: 20px;
        z-index: 10;
    }

    .header__nav.open {
        display: flex; /* Show menu when toggled */
    }

    .header__nav--left,
    .header__nav--right {
        flex-direction: column;
        align-items: center; /* Align links in the center */
        gap: 15px;
    }

    .header__link {
        font-size: 18px; /* Slightly larger font for mobile */
        padding: 10px 0;
    }
}
