/* ===========================================
   SMARTWAYZE — LIGHT SKY BLUE FRESHNESS THEME
   Palette:
   #05668D (Deep Ocean Blue)
   #427AA1 (Sky Steel Blue)
   #EBF2FA (Soft Cloud)
   #679436 (Fresh Green)
   #A5BE00 (Lime Accent)
=========================================== */

:root {
    --ocean: #05668d;
    --sky: #427aa1;
    --cloud: #ebf2fa;
    --fresh: #679436;
    --lime: #a5be00;

    --text-dark: #1a1a1a;
    --text-light: #ffffff;

    --radius: 10px;
    --shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* GLOBAL */
body {
    margin: 0;
    font-family: "Inter", system-ui, Arial, sans-serif;
    background: var(--cloud);
    color: var(--text-dark);
    overflow: hidden;
}

/* MAIN LAYOUT */
.layout {
    display: flex;
    height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    background: var(--sky);
    color: var(--text-light);
    padding-top: 20px;
    overflow-y: auto;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

/* LOGO */
.sidebar .logo {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    padding: 20px 0;
    color: var(--cloud);
    letter-spacing: 1px;
}

/* NAVIGATION */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 16px 22px;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.sidebar li:hover {
    background: var(--ocean);
    color: var(--text-dark);
    padding-left: 30px;
}

/* CONTENT AREA */
.content {
    flex: 1;
    background: var(--cloud);
    padding: 40px;
    overflow-y: auto;
}

.content h1, .content h2 {
    color: var(--ocean);
}

.content p, .content li {
    color: var(--text-dark);
}

/* MOBILE */
@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: absolute;
        transform: translateX(-100%);
        z-index: 50;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    /* Mobile menu button */
    .mobile-toggle {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 30px;
        cursor: pointer;
        color: var(--ocean);
        z-index: 100;
    }
}


/* Tile container */
#tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  padding: 20px;
}

/* Each tile */
.tile {
  display: flex;
  flex-direction: row;          /* image left, text right */
  align-items: center;
  gap: 14px;                    /* spacing between image + text */

  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;

  padding: 14px 18px;
  text-decoration: none;
  color: #f1f5f9;

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

/* Hover effect */
.tile:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* Image styling */
.tile img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;               /* prevents image from shrinking */
}

/* Title styling */
.tile-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  text-align: left;
  color: #e2e8f0;
}


/* Table */
table, th {
  border: 1px solid black;
  border-radius: 10px;
 
}  

tr, td {
  border: 2px solid black;
  border-style:solid;  
  border-color: #96D4D4;  
}


/* Video */
.help-video-section h1 {
  margin: 0 0 8px 0;
  font-size: 22px;
}

.help-video-section video {
  margin: 0;
  display: block;
}

.tool-hero img {
  width: 200px;              /* or auto-fit your layout */
  height: 200px;
  object-fit: cover;         /* ensures clean circular crop */
}

/* Hover Glow */
.tool-hero img:hover {
  box-shadow: 0 0 12px rgba(0,153,255,0.6);
}

/* Glow Pulse Animation */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0px rgba(0, 153, 255, 0.0);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 0px rgba(0, 153, 255, 0.0);
  }
}

.glow-toggle {
  border-radius: 50%;        /* ← circle */
  animation: glowPulse 2s infinite;
}