
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

:root {

  --axis-black: #000000;
  --axis-white: #ffffff;
  --axis-gray-dark: #333333;
  --axis-gray-medium: #545454;
  --axis-gray-light: #f6f6f6;
  --axis-blue: #276ef1;


  --font-main: 'Inter', sans-serif;
  

  --size-logo: 60px;
  --size-h1: 52px;
  --size-h2: 28px;
  --size-body: 16px;
  --size-button: 14px;


--button-text-weight:700;
  --radius-small: 4px;
  --shadow-subtle: 0 4px 12px rgba(0,0,0,0.08);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--axis-white);
  color: var(--axis-black);
  line-height: 1.6;
}

.Login-header {
    background-color: var(--axis-black); 
    color: var(--axis-white);
    padding: 20px 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--axis-blue); 
}
.Normal-header {
    background-color: var(--axis-black); 
    color: var(--axis-white);
    padding: 20px 30px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    border-bottom: 2px solid var(--axis-blue); 
    gap: 50px;
}
.List-elements {
    display: flex;
    gap: 50px;
    list-style-type: none;
    margin-top: 15px; /* Adjusted to align better with 'Axis' */
    width: 100%;      /* Allow the list to fill the header width */
    align-items: center;
}

.user-profile.right {
    margin-left: auto; 
    font-size: 24px;   /* Makes the icon a good size */
    cursor: pointer;
}
/* Container must be relative so menu positions correctly */
.user-profile {
    position: relative;
    display: inline-block;
}

.dropbtn {
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

/* The actual dropdown menu card */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    right: 0; /* Align to the right edge of the icon */
    top: 45px; /* Distance from the icon */
    background-color: var(--axis-white);
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 100;
    padding: 10px 0;
    border: 1px solid var(--axis-gray-light);
}

.user-info-header {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
}

.user-info-header strong { color: var(--axis-black); font-size: 14px; }
.user-info-header span { color: var(--axis-gray-medium); font-size: 12px; }

hr { border: 0; border-top: 1px solid #eee; margin: 5px 0; }

/* Links inside the dropdown */
.dropdown-content a {
    color: var(--axis-black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-content a i {
    margin-right: 10px;
    width: 15px;
    text-align: right;
}

.dropdown-content a:hover {
    background-color: var(--axis-black);
    color: var(--axis-white);
}



/* Show class for JS toggle */
.show {
    display: block;
    position: absolute; /* This allows z-index to actually work */
    z-index: 1000;      /* Maps often use high z-indices (like 400), so 1000 is safer */
}
.Link-element{
text-decoration: none;
color: var(--axis-white);
}
.Link-element.active {
    border-bottom: 2px solid var(--axis-white);
    padding-bottom: 5px;
}

.Link-element:active {
    border-bottom: 2px solid var(--axis-white);
    padding-bottom: 5px;
}

.user-profile i {
    font-size: 1.5rem; /* Makes it slightly larger than the text */
    color: var(--axis-white);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    
}

.user-profile i:hover {
 /* Professional blue highlight */
    transform: scale(1.1); /* Subtle zoom effect */
}
.main-footer {
    background-color: var(--axis-black);
    color: var(--axis-white);
    padding: 60px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--axis-gray-light);
    line-height: 1.6;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--axis-gray-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--axis-white);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 20px;
    font-size: 20px;
}

.footer-social a {
    color: var(--axis-white);
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--axis-white);
    font-size: 12px;
    color: var(--axis-gray-light);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .List-elements {
        gap: 20px;
        margin-left: 25px;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .Normal-header {
        padding: 12px 15px;
    }

    .Normal-header h1 {
        font-size: 20px; /* Smaller logo for mobile */
    }

    .List-elements {
        gap: 15px; /* Tighten links to prevent overflow */
        margin-left: 15px;
    }

    .Link-element {
        font-size: 14px; /* Slightly smaller text */
    }

    /* Adjust dropdown for touch targets */
    .dropdown-content {
        position: fixed; /* Fixes it to the screen on mobile */
        right: 15px;
        top: 60px;
        width: calc(100% - 30px); /* Makes it almost full width on small phones */
        max-width: 250px;
    }

    .dropdown-content a {
        padding: 15px 20px; /* Larger hit area for thumbs */
    }
}

/* Extra Small Screens */
@media (max-width: 400px) {
    .List-elements {
        gap: 30px;
    }
    
    .Link-element {
        font-size: 13px;
    }
    
}