/* ===== GLOBAL VARIABLES ===== */
:root {
  --green-800: #059669;
  --green-700: #2D6C55;
  --green-600: #3B8767;
  --green-500: #16a34a;
  --green-100: #D3E8E0;
  --mint-700: #7DA99B;
  --mint-600: #A7D1C0;
  --mint-100: #E5F4EE;
  --gray-800: #3B4A44;
  --gray-700: #5A6B64;
  --gray-600: #7A8B84;
  --gray-100: #EDEDED;
  --gray-50: #fafbfc;
  --white: #FFFFFF;

  --primary-green: #3B8767;
  --primary-mint: #A7D1C0;
  --primary-color: var(--green-600);
  --primary-dark: var(--green-700);
  --text-color: var(--gray-800);
  --text-light: var(--gray-600);
  --bg-color: var(--gray-50);
  --card-bg: var(--white);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  
  --nav-height: 70px; 
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--gray-800);
  color: var(--white);
}

/* Navigation Styles */

        /* Base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background: linear-gradient(to bottom right, #f8fafc, #f0f9ff);
            min-height: 100vh;
        }
        
        /* Navigation styles */
        nav {
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(4px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            border-bottom: 1px solid #f1f5f9;
            position: sticky;
            top: 0;
            z-index: 50;
        }
        
        .nav-container {
            max-width: 80rem;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        .nav-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 5rem;
        }
        
        /* Logo/Brand styles */
        .logo-container {
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        
        .logo-container:hover .logo {
            transform: rotate(6deg) scale(1.1);
        }
        
        .logo {
            width: 3.5rem;
            height: 3.5rem;
            background: linear-gradient(to bottom right, #10b981, #10b981, #0d9488);
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .logo-text {
            color: white;
            font-weight: 700;
            font-size: 1.25rem;
        }
        
        .logo-dot {
            position: absolute;
            top: -0.25rem;
            right: -0.25rem;
            width: 1rem;
            height: 1rem;
            background-color: #f59e0b;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        
        .logo-decoration {
            position: absolute;
            bottom: -0.5rem;
            right: -1rem; /* Ensure this value is the same for all pages */
            width: 1.5rem;
            height: 1.5rem;
            background: linear-gradient(to right, #f472b6, #f87171);
            border-radius: 50%;
            opacity: 0.7;
            animation: bounce 2.1s infinite;
        }
        
        .brand-text {
            margin-left: 1rem;
        }
        
        .brand-name {
            font-size: 1.2rem;
            font-weight: 700;
            background: linear-gradient(to right, #1f2937, #4b5563);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .brand-subtitle {
            font-size: 0.8rem;
            color: #059669;
            font-weight: 500;
            letter-spacing: 0.05em;
        }
        
        /* Desktop Navigation */
        .desktop-nav {
            display: none;
        }
        
        @media (min-width: 1024px) {
            .desktop-nav {
                display: block;
            }
        }
        
        .nav-items {
            display: flex;
            align-items: center;
            column-gap: 5px;
            background-color: #f9fafb;
            border-radius: 9999px;
            padding: 0.5rem;
            box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
        }
        
        .nav-item {
            position: relative;
            padding: 0.75rem 1.5rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
            cursor: pointer;
        }
        
        .nav-item:hover {
            background-color: white;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }
        
        .nav-item span {
            position: relative;
            z-index: 10;
            color: #374151;
        }
        
        .nav-item:hover span {
            color: #059669;
        }
        
        .nav-item:nth-child(2):hover span {
            color: #2563eb;
        }
        
        .nav-item:nth-child(3):hover span {
            color: #7c3aed;
        }
        
        .nav-item:nth-child(4):hover span {
            color: #ea580c;
        }
        
        .nav-item:nth-child(6):hover span {
            color: #4f46e5;
        }
        
        .nav-item-bg {
            position: absolute;
            inset: 0;
            border-radius: 9999px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .nav-item:hover .nav-item-bg {
            opacity: 0.1;
        }
        
        .nav-item:nth-child(1) .nav-item-bg {
            background: linear-gradient(to right, #10b981, #10b981);
        }
        
        .nav-item:nth-child(2) .nav-item-bg {
            background: linear-gradient(to right, #60a5fa, #06b6d4);
        }
        
        .nav-item:nth-child(3) .nav-item-bg {
            background: linear-gradient(to right, #a855f7, #ec4899);
        }
        
        .nav-item:nth-child(4) .nav-item-bg {
            background: linear-gradient(to right, #f97316, #ef4444);
        }
        
        .nav-item:nth-child(6) .nav-item-bg {
            background: linear-gradient(to right, #6366f1, #8b5cf6);
        }
        
        .nav-item.active {
            background: linear-gradient(to right, #10b981, #10b981);
            color: white;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transform: scale(1.05);
        }
        
        .nav-item.active span {
            color: white;
        }
        
        .nav-item.active .nav-item-bg {
            background: white;
        }
        
        /* Mobile menu button */
        .mobile-menu-btn {
            display: block;
            position: relative;
            z-index: 50;
        }
        
        @media (min-width: 1024px) {
            .mobile-menu-btn {
                display: none;
            }
        }
        
        .menu-btn {
            width: 3rem;
            height: 3rem;
            background: linear-gradient(to bottom right, #10b981, #0d9488);
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transition: all 0.5s ease;
            cursor: pointer;
            position: relative;
            border: none;
        }
        
        .menu-btn:hover {
            transform: rotate(180deg) scale(1.1);
        }
        
        .menu-btn-bg {
            position: absolute;
            inset: 0;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 0.75rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .menu-btn:hover .menu-btn-bg {
            opacity: 1;
        }
        
        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            transition: all 0.5s ease;
        }
        
        .hamburger-line {
            width: 1.25rem;
            height: 0.125rem;
            background-color: white;
            border-radius: 0.125rem;
            transition: all 0.5s ease;
        }
        
        /* Mobile navigation */
        .mobile-nav {
            position: absolute;
            top: 1rem;
            right: 1rem;
            height: 3rem;
            overflow: hidden;
            transition: all 0.6s ease-in-out;
            z-index: 40;
            width: 0;
        }
        
        @media (min-width: 1024px) {
            .mobile-nav {
                display: none;
            }
        }
        
        .mobile-nav-inner {
            display: flex;
            align-items: center;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(4px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
            border-radius: 0.75rem;
        }
        
        .mobile-nav-items {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0 1rem;
            opacity: 0;
            transition: all 0.4s ease;
            transition-delay: 0.2s;
        }
        
        .mobile-nav-item {
            position: relative;
            cursor: pointer;
        }
        
        .mobile-nav-icon {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.875rem;
            color: white;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }
        
        .mobile-nav-item:hover .mobile-nav-icon {
            transform: scale(1.1);
        }
        
        .mobile-nav-item:nth-child(1) .mobile-nav-icon {
            background: linear-gradient(to bottom right, #34d399, #10b981);
        }
        
        .mobile-nav-item:nth-child(2) .mobile-nav-icon {
            background: linear-gradient(to bottom right, #60a5fa, #06b6d4);
        }
        
        .mobile-nav-item:nth-child(3) .mobile-nav-icon {
            background: linear-gradient(to bottom right, #a855f7, #ec4899);
        }
        
        .mobile-nav-item:nth-child(4) .mobile-nav-icon {
            background: linear-gradient(to bottom right, #f97316, #ef4444);
        }
        .mobile-nav-item:nth-child(5) .mobile-nav-icon {
            background: linear-gradient(to bottom right, #34d399, #10b981);
        }
        .mobile-nav-item:nth-child(6) .mobile-nav-icon {
            background: linear-gradient(to bottom right, #6366f1, #8b5cf6);
        }
        
        .mobile-nav-tooltip {
            position: absolute;
            bottom: -1.5rem;
            left: 50%;
            transform: translateX(-50%);
            background-color: #1f2937;
            color: white;
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            white-space: nowrap;
        }
        
        .mobile-nav-item:hover .mobile-nav-tooltip {
            opacity: 1;
        }
        
        .mobile-nav-item.active .mobile-nav-icon {
            background: linear-gradient(to bottom right, #10b981, #10b981);
            box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.5);
        }
        
        .mobile-nav-item.active .mobile-nav-tooltip {
            background-color: #059669;
            opacity: 1;
        }
        
        /* Animations */
        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }
        
        @keyframes bounce {
            0%, 100% {
                transform: translateY(0) translateX(-50%);
            }
            50% {
                transform: translateY(-25%) translateX(-50%);
            }
        }


/* ===== SHARED FOOTER ===== */
.footer {
  background: var(--green-500);
  color: var(--white);
  padding: 60px 0 30px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
}

.social-links a {
  color: var(--white);
  font-size: 1.4rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--mint-600);
  transform: translateY(-3px);
}

.copyright {
  opacity: 0.8;
  font-size: 0.9rem;
  color: var(--gray-100);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  nav ul {
    gap: 15px;
  }
  
  nav {
    padding: 0 4%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  nav a {
    font-size: 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  nav {
    padding: 0 2%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .logo img {
    height: 45px;
    width: auto; 
    max-width: 120px;
  }

  nav a {
    font-size: 0.8rem; 
  }
}

/* Hero Section Gradient (as requested) */
.fullscreen-hero {
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  position: relative;
  overflow: hidden;
}

.fullscreen-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 3px);
  background-size: 30px 30px;
  animation: float 25s infinite linear;
  z-index: 0;
}

@keyframes float {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes shine {
  0% { opacity: 0.2; }
  50% { opacity: 0.4; }
  100% { opacity: 0.2; }
}

.fullscreen-hero > * {
  position: relative;
  z-index: 2;
}