
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  /* Yellow-Green Scale */
  --color-yellow-green-50:  #faffe5;
  --color-yellow-green-100: #f5ffcc;
  --color-yellow-green-200: #ebff99;
  --color-yellow-green-300: #e0ff66;
  --color-yellow-green-400: #d6ff33;
  --color-yellow-green-500: #ccff00;
  --color-yellow-green-600: #a3cc00;
  --color-yellow-green-700: #7a9900;
  --color-yellow-green-800: #526600;
  --color-yellow-green-900: #293300;
  --color-yellow-green-950: #1d2400;

  /* Dark Theme */
  --dark-base:   #0a0e17;
  --dark-mid:    #121825;
  --dark-accent: #0c1019;

  /* Semantic Light Theme */
  --light-base:   #ffffff;
  --light-mid:    #f1f3f5;
  --light-accent: #e6e9ee;
  --light-muted:  #c7ccd6;
  --light-border: #d7dbe3;

  /* Semantic Yellow-Green Usage */
  --accent-primary:        var(--color-yellow-green-500);
  --accent-primary-hover:  var(--color-yellow-green-400);
  --accent-primary-active: var(--color-yellow-green-600);

  --accent-soft:           var(--color-yellow-green-200);
  --accent-soft-hover:     var(--color-yellow-green-300);

  --accent-muted:          var(--color-yellow-green-100);
  --accent-subtle:         var(--color-yellow-green-50);

  --accent-border:         var(--color-yellow-green-400);
  --accent-border-strong:  var(--color-yellow-green-600);

  --accent-text:           var(--color-yellow-green-700);
  --accent-text-strong:    var(--color-yellow-green-800);

  --primary-font: "PT Mono",sans-serif;
  --secondary-font: "DM Sans", sans-serif;
  
}



::selection {
    background-color: var(--accent-primary);
    color: var(--dark-base);
}

/* Hero Section Gradient */
.gradient-container{
    height: fit-content;
    display: flex;
    flex-direction: column;
    background: 
        radial-gradient(
            circle at 20% 30%, 
            rgba(170, 212, 0, 0.6) 0%, 
            transparent 40%
        ),
        radial-gradient(
            circle at 80% 70%, 
            rgba(170, 212, 0, 0.4) 0%, 
            transparent 40%
        ),
        radial-gradient(
            circle at 40% 80%, 
            rgba(170, 212, 0, 0.3) 0%, 
            transparent 40%
        ),
        linear-gradient(
            135deg, 
            #0a0e17 0%, 
            #121825 50%, 
            #0c1019 100%
        );
    
    background-blend-mode: overlay;
}   

.blurred-circles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.blurred-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(170, 212, 0, 0.15);
    filter: blur(40px);
    opacity: 0.7;
    animation: float infinite alternate ease-in-out;
    top: -20px;
    left: 50px;
}

/* Navigation Bar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 50px;
    z-index: 1001;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: clamp(4.0625rem, 2.4545rem + 8.0357vw, 6.875rem);
    width: auto;
    display: block;
}

.nav-desktop {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-desktop a {
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-desktop a {
    position: relative;
    text-decoration: none;
    display: inline-block;
    color: var(--light-base);

}

.nav-desktop a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -10px; 
    left: 0;
    background-color:   var(--light-base);
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
    width: 100%;
}

.menu-trigger {
    display: none;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    z-index: 1002;
}

.close-label {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.menu-trigger.open .close-label {
    opacity: 1;
    transform: translateX(0);
}

.hamburger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: #717586;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-trigger.open .hamburger span:nth-child(1) { transform: translateY(10px) rotate(45deg); background-color: white; }
.menu-trigger.open .hamburger span:nth-child(2) { opacity: 0; }
.menu-trigger.open .hamburger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background-color: white; }

.menu-trigger.open:hover .hamburger {
    transform: rotate(180deg);
}

.mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100svh;
    background-color: var(--bg-dark);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    padding: 120px 40px;
    background-color: var(--dark-accent);
}

.mobile-panel.show { right: 0; }

.mobile-nav-list {
    margin-block-start: clamp(0.5rem, -0.4091rem + 4.5455vw, 3rem);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 20px;
    width: fit-content;
}

.mobile-nav-item, .nav-desktop a, .menu-trigger {
    font-family: var(--primary-font)
}

.mobile-nav-item span {
    color: white;
    font-size: 1rem;
    font-weight: 800;
    transition: color 0.3s ease;
}

.mobile-nav-item.inactive span { color: var(--text-gray); }

.arrow {
    color: white;
    font-size: 26px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-nav-item:hover span, .mobile-nav-item:hover .arrow { color: var(--accent); }
.mobile-nav-item:hover .arrow { transform: translateX(10px); }

@media (max-width: 991px) {
    .nav-desktop { display: none; }
    .menu-trigger { display: flex; }
    .navbar { padding: 20px 30px; }
}

.small-subheading {
    font-family: var(--primary-font);
    font-size: clamp(0.85rem, 0.85vw + 0.6375rem, 1.1rem);
    text-transform: uppercase;
    opacity: .8;
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-base);
    color: var(--light-base);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-description {
    font-family: var(--secondary-font);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--light-mid);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-mid);
    border-radius: 50%;
    color: var(--light-base);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-primary);
    color: var(--dark-base);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--primary-font);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light-base);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--light-mid);
    text-decoration: none;
    font-family: var(--secondary-font);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-item i {
    color: var(--accent-primary);
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

.contact-item span {
    font-family: var(--secondary-font);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--light-mid);
}

.footer-bottom {
    border-top: 1px solid var(--dark-mid);
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.copyright {
    font-family: var(--secondary-font);
    font-size: 0.9rem;
    color: var(--light-muted);
    text-align: center;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--light-mid);
    text-decoration: none;
    font-family: var(--secondary-font);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-primary);
}

.heading {
    font-family: var(--primary-font);
}

/* Responsive Footer */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 3rem;
    }
    
    .site-footer {
        padding: 5rem 3rem 2rem;
    }
}

@media (min-width: 1200px) {
    .site-footer {
        padding-left: calc((100% - 1200px) / 2);
        padding-right: calc((100% - 1200px) / 2);
    }
}

/* Scroll-sensitive navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
}

.navbar.scrolled {
    background-color: var(--dark-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 50px;
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* Adjust hero section to account for fixed navbar */
.hero-section {
    padding-top: 100px; /* Add space for fixed navbar */
}

/* Mobile panel adjustments for fixed navbar */
.mobile-panel {
    top: 70px; /* Start below navbar */
    height: calc(100svh - 70px);
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 30px;
    }
    
    .navbar.scrolled {
        padding: 15px 30px;
    }
    
    .hero-section {
        padding-top: 80px; /* Less space on mobile */
    }
    
    .mobile-panel {
        top: 60px;
        height: calc(100svh - 60px);
    }
}

@media (min-width: 900px) {
    .hero-section {
        min-height: calc(60vh - 100px); /* Account for navbar */
        max-height: calc(85vh - 100px);
        padding-top: 100px;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
    padding: 6px 50px;
}

.navbar.scrolled {
    background-color: var(--dark-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 50px;
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* Move gradient-container to start from top */
.gradient-container {
    position: relative;
    min-height: 100vh; /* Ensure it covers full viewport */
}

/* Position hero section to start from top */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 5;
    padding: 2rem 0 4rem;
}

/* Mobile panel adjustments for fixed navbar */
.mobile-panel {
    top: 0; /* Start from top */
    height: 100svh;
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 30px;
    }
    
    .navbar.scrolled {
        padding: 15px 30px;
    }
}

/* Ensure blurred circles are below navbar */
.blurred-circles-container {
    z-index: 3; /* Below navbar (1001) but above gradient */
}

/* Scroll-sensitive navbar styles - FINAL VERSION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
    padding: 6px 50px;
}

.navbar.scrolled {
    background-color: var(--dark-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 50px;
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* Move gradient-container to start from top */
.gradient-container {
    position: relative;
    min-height: 100vh; /* Ensure it covers full viewport */
    padding-top: 80px; /* Add space for fixed navbar */
}

.mobile-panel {
    position: fixed;
    top: 0; 
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-accent);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    padding: 120px 40px;
    overflow-y: auto; /* Allow scrolling if content is too tall */
}

.mobile-panel.show { 
    right: 0; 
}

/* Ensure blurred circles are below navbar */
.blurred-circles-container {
    z-index: 3; /* Below navbar (1001) but above gradient */
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 30px;
    }
    
    .navbar.scrolled {
        padding: 15px 30px;
    }
    
    .gradient-container {
        padding-top: 60px; /* Less space on mobile */
    }
}