/* Core Styling Variables matching the dark theme */
:root {
    --bg-color: #0b132b;
    --card-bg: #1c2541;
    --text-primary: #ffffff;
    --text-secondary: #a5a1b8;
    --accent-color: #ffcc00; /* Yellow matching your buttons */
    --icon-color: #3a86ff;   /* Soft blue for tech icons */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
}

/* Navbar Layout */

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--bg-dark);
}

.logo {
    font-weight: bold;
    letter-spacing: 1px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-right: 25px;
    font-size: 0.95rem;
}

.btn-buy {
    background-color: var(--accent-yellow);
    border: none;
    color: #000;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-buy:hover {
    opacity: 0.9;
}

/* Layout Containers */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 3x3 Small Card Grid Blueprint */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Smaller Feature Card Styling */
.feature-card-small {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.feature-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 1.8rem;
    color: var(--icon-color);
    margin-bottom: 15px;
}

.feature-card-small h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: 600;
}

.feature-card-small p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}




/* ==========================================================================
   1. GLOBAL / DESKTOP STYLES (Default State)
   ========================================================================== */

/* The hamburger button container - Hidden on desktop by default */
.menu-toggle {
  display: none; 
  background: transparent; /* Removes default HTML button background */
  border: none;
  cursor: pointer;
  padding: 5px;
  width: 30px;
  height: 24px;
  
  /* Flexbox settings to perfectly space your 3 lines vertically */
  flex-direction: column;
  justify-content: space-between; 
}

/* The three horizontal lines inside the button */
.bar {
  display: block;
  width: 100%;
  height: 3px;               /* Thickness of the lines */
  background-color: #ffffff; /* Crisp white lines to match your logo */
  border-radius: 2px;        /* Softens the edges of the bars */
  transition: all 0.3s ease; /* For smooth animations if you animate to an 'X' later */
}


/* ==========================================================================
   2. MOBILE STYLES (Triggers when screen is 768px wide or smaller)
   ========================================================================== */
@media (max-width: 992px) {
    .compact-grid {
        grid-template-columns: repeat(2, 1fr); /* Drop to 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .compact-grid {
        grid-template-columns: 1fr; /* Stack vertically on small screens/mobile */
    }
    
    .section-header h1 {
        font-size: 2rem;
    }
}




@media screen and (max-width: 768px) {
  
  /* Reveal the hamburger icon container on mobile */
  .menu-toggle {
    display: flex; 
  }
  
  /* Hide your desktop links header row until someone clicks the menu */
  .nav-menu {
    display: none; 
  }

  /* Target your active state (when JS toggles the menu open) */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Adjust based on your header's actual height */
    left: 0;
    width: 100%;
    background-color: #0b132b; /* Match your deep dark background */
    padding: 20px;
  }
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-title {
  display: inline-flex;
  align-items: center;
  gap: 1px; /* Adjusts the spacing between text and emoji */
}
