:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --bg-color: #f9fafb;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --error-color: #ef4444;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1,
h2,
h3 {
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  width: 100%;
}

header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 300px;
  height: 80px;
  object-fit: contain;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card-bg);
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-menu a:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-menu a:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.dropdown-menu a:hover {
  background: var(--primary-color);
  color: white;
}

main {
  flex: 1;
  padding: 2rem 0;
}

/* Cards & Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 0.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tool-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Tool Sections */
.tool-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tool-container h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.upload-area {
  border: 2px dashed var(--primary-color);
  background: #eef2ff;
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 1.5rem;
}

.upload-area:hover {
  background: #e0e7ff;
}

.file-input {
  display: none;
}

.controls {
  margin: 2rem 0;
  padding: 1rem;
  background: var(--bg-color);
  border-radius: var(--radius);
  display: none;
  /* Hidden until image loaded */
}

.controls.active {
  display: block;
}

.control-group {
  margin-bottom: 1rem;
}

.control-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.preview-container {
  margin-top: 2rem;
  text-align: center;
  display: none;
}

.preview-container.active {
  display: block;
}

.preview-image {
  max-width: 100%;
  max-height: 500px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

/* Buttons & Inputs */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: #e5e7eb;
  color: var(--text-main);
}

.btn-secondary:hover {
  background: #d1d5db;
}

input[type="number"],
select {
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: 100px;
  font-family: inherit;
}

input[type="range"] {
  width: 100%;
  max-width: 300px;
}

/* Simple Tools Section */
.simple-tools-section {
  text-align: center;
  padding: 4rem 0;
  background: #f8fafc;
}

.simple-tools-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  font-weight: 700;
}

.simple-tools-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: #2d3748;
  color: #e2e8f0;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #cbd5e0;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.7rem;
}

.footer-column a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-apps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-badge {
  display: block;
}

.app-badge img {
  width: 135px;
  height: auto;
  border-radius: 5px;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #a0aec0;
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
  flex: 1;
}

.footer-bottom-center {
  display: flex;
  justify-content: center;
}

.footer-bottom-right {
  text-align: right;
}

.language-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

.language-selector select {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

.language-selector select option {
  background: #2d3748;
  color: #e2e8f0;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.social-icons a {
  color: #e2e8f0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.social-icons a:hover {
  color: #ffffff;
}

.footer-bottom-right p {
  margin: 0;
  font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-apps {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom-right {
    text-align: center;
  }
}

/* Utility */
.hidden {
  display: none !important;
}

/* Why Use Section */
.why-use-section {
  text-align: center;
  padding: 4rem 0;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.why-use-section h2 {
  font-size: 2.25rem;
  margin-bottom: 3rem;
  color: var(--text-main);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  background: #eef2ff;
  border-radius: 12px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  font-weight: 700;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Main Background */
main.main-bg {
  background-image: url('../img/Hero_BG.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========================================
   RESPONSIVE STYLES - Mobile & Tablet
   ======================================== */

/* Tablet Breakpoint (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  /* Navigation */
  .logo img {
    width: 200px;
    height: auto;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  /* Hero Section */
  h1 {
    font-size: 1.75rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  /* Grid Layouts */
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .footer-apps {
    grid-column: span 3;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
}

/* Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {

  /* Typography */
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Header & Navigation */
  header {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  /* Logo - Perfectly Centered */
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
  }

  .logo img {
    width: 200px;
    height: auto;
    display: block;
  }

  /* Hamburger Menu Button */
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    z-index: 10000;
    position: relative;
  }

  /* Mobile Menu Overlay - Full Screen Modal */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    display: none;
    z-index: 9999;
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  /* Logo inside mobile menu */
  .nav-links::before {
    content: '';
    display: block;
    height: 80px;
    background: url('../img/logo.svg') no-repeat center;
    background-size: 180px auto;
    margin: 1.5rem 0 1rem;
    flex-shrink: 0;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  .nav-links a,
  .dropdown {
    width: 100%;
  }

  .nav-links>a {
    padding: 1.25rem 2rem;
    font-size: 1.05rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s;
    flex-shrink: 0;
  }

  .nav-links>a:hover {
    background: rgba(79, 70, 229, 0.05);
  }

  .nav-links>a:first-child {
    border-top: 1px solid #e5e7eb;
  }

  /* Mobile Dropdown */
  .dropdown {
    position: relative;
    flex-shrink: 0;
  }

  .dropdown-toggle {
    padding: 1.25rem 2rem;
    font-size: 1.05rem;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: #f9fafb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0;
  }

  .dropdown.active .dropdown-menu {
    max-height: 300px;
  }

  .dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    padding: 1rem 3rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  }

  .dropdown-menu a:hover {
    background: var(--primary-color);
    color: white;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.5rem 0 !important;
  }

  .hero-section h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .hero-section p {
    font-size: 1rem !important;
    padding: 0 1rem;
  }

  /* Main */
  main {
    padding: 2rem 0;
  }

  /* Grid Layouts */
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Cards */
  .card {
    padding: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .tool-icon {
    font-size: 2.5rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
  }

  /* Why Use Section */
  .why-use-section {
    padding: 3rem 0;
    margin: 1.5rem 0;
  }

  .why-use-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  /* Simple Tools Section */
  .simple-tools-section {
    padding: 3rem 1rem;
  }

  .simple-tools-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .simple-tools-section p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* Tool Container (Tool Pages) */
  .tool-container {
    padding: 1.25rem;
    margin: 1rem 0;
  }

  .tool-container h1 {
    font-size: 1.4rem;
  }

  .upload-area {
    padding: 1.5rem 0.75rem;
    margin-bottom: 1.25rem;
  }

  .controls {
    padding: 0.75rem;
  }

  /* Buttons */
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .footer-column {
    text-align: center;
  }

  .footer-apps {
    grid-column: 1;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-bottom-left,
  .footer-bottom-center,
  .footer-bottom-right {
    width: 100%;
    text-align: center;
  }

  .language-selector {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Small Mobile Breakpoint (max-width: 480px) */
@media (max-width: 480px) {

  /* Typography */
  h1 {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  /* Container */
  .container {
    padding: 0 0.75rem;
  }

  /* Logo */
  .logo img {
    width: 200px;
    height: auto;
    align-items: center;

  }

  /* Hero Section */
  .hero-section {
    padding: 2rem 0 !important;
  }

  .hero-section h1 {
    font-size: 1.3rem;
  }

  .hero-section p {
    font-size: 0.9rem !important;
  }

  /* Cards */
  .card,
  .feature-card {
    padding: 1.25rem;
  }

  /* Why Use Section */
  .why-use-section h2 {
    font-size: 1.4rem;
  }

  /* Simple Tools Section */
  .simple-tools-section {
    padding: 2.5rem 0.75rem;
  }

  .simple-tools-section h2 {
    font-size: 1.3rem;
  }

  .simple-tools-section p {
    font-size: 0.95rem;
  }

  /* Tool Container */
  .tool-container {
    padding: 1rem;
  }

  /* Buttons */
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 250px;
  }

  /* Footer */
  footer {
    padding: 2rem 0 1rem;
  }

  .footer-column h4 {
    font-size: 0.7rem;
  }

  .footer-column a {
    font-size: 0.85rem;
  }

  .app-badge img {
    width: 120px;
  }

  .social-icons {
    gap: 1rem;
  }

  .social-icons a svg {
    width: 18px;
    height: 18px;
  }
}

/* Landscape Mobile Optimization */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    padding: 1.5rem 0 !important;
  }

  .why-use-section,
  .simple-tools-section {
    padding: 2rem 0;
  }

  header {
    padding: 0.5rem 0;
  }
}

/* Blog Page Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;

}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin: 0.75rem 0;
  color: var(--text-main);
  line-height: 1.4;
}

.blog-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Responsive Blog Grid */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ========================================
   MODERN FOOTER STYLES
   ======================================== */
.site-footer {
  background: #1e293b;
  color: #e2e8f0;
  padding: 3.5rem 0 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

/* Footer Brand Section */
.footer-brand {
  max-width: 320px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* Footer Links Grid */
.footer-links-grid {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

/* Footer Responsive */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-brand {
    max-width: 100%;
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto 1rem;
    display: block;
  }

  .footer-links-grid {
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .footer-col {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 2.5rem 0 0;
  }

  .footer-links-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-col {
    text-align: center;
  }

  .footer-bottom {
    padding: 1.25rem 0;
  }
}

/* ========================================
   ENHANCED SVG ICON STYLING
   Modern, Soft SaaS-style Icons
   ======================================== */

/* Tool Icons - Main Cards */
.tool-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(99, 102, 241, 0.12));
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
}

.tool-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(99, 102, 241, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.card:hover .tool-icon::before {
  opacity: 1;
}

.tool-icon img {
  width: 48px;
  height: 48px;
  display: block;
  filter: brightness(0) saturate(100%) invert(36%) sepia(85%) saturate(3026%) hue-rotate(235deg) brightness(95%) contrast(92%);
  transition: transform 0.3s ease;
}

.card:hover .tool-icon img {
  transform: scale(1.1);
}

/* Feature Icons - Why Use Section */
.feature-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(139, 92, 246, 0.08));
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

.feature-icon img {
  width: 44px;
  height: 44px;
  display: block;
  filter: brightness(0) saturate(100%) invert(36%) sepia(85%) saturate(3026%) hue-rotate(235deg) brightness(95%) contrast(92%);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
}

.feature-card:hover .feature-icon img {
  transform: scale(1.08);
}

/* Ensure icons scale properly */
.tool-icon img,
.feature-icon img {
  object-fit: contain;
}

/* Responsive icon sizing */
@media (max-width: 768px) {
  .tool-icon {
    width: 85px;
    height: 85px;
  }

  .tool-icon img {
    width: 42px;
    height: 42px;
  }

  .feature-icon {
    width: 80px;
    height: 80px;
  }

  .feature-icon img {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   ABOUT PAGE STYLING
   Clean, Modern, Minimal Design
   ======================================== */

.about-page {
  background: #fafafa;
  padding: 4rem 0;
  min-height: calc(100vh - 80px - 400px);
}

.about-section {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  padding: 4rem 3.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.about-section h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.about-content {
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: left;
}

.about-content p {
  margin-bottom: 1.75rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Responsive About Page */
@media (max-width: 900px) {
  .about-section {
    padding: 3rem 2.5rem;
  }

  .about-section h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .about-page {
    padding: 2.5rem 0;
  }

  .about-section {
    padding: 2.5rem 2rem;
    border-radius: 0;
    box-shadow: none;
  }

  .about-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .about-content {
    font-size: 1rem;
    line-height: 1.75;
  }

  .about-content p {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 2rem 1.5rem;
  }

  .about-section h1 {
    font-size: 1.75rem;
  }

  .about-content {
    font-size: 0.95rem;
  }
}

/* ========================================
   BLOG POST PAGE STYLING
   Clean Article Layout
   ======================================== */

.blog-post-page {
  background: #fafafa;
  padding: 3rem 0;
  min-height: calc(100vh - 80px - 400px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #4338ca;
}

.back-link.bottom {
  margin-top: 3rem;
  margin-bottom: 0;
}

/* Blog Post Article */
.blog-post {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3.5rem 4rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Post Header */
.post-header {
  margin-bottom: 2.5rem;
}

.post-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #6b7280;
  font-size: 0.9rem;
}

.post-date,
.post-category,
.post-read-time {
  display: inline-block;
}

.post-category {
  color: #4f46e5;
  font-weight: 600;
}

/* Featured Image */
.featured-image {
  margin-bottom: 3rem;
  border-radius: 8px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Post Content */
.post-content {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.8;
}

.post-content .lead {
  font-size: 1.2rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.post-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.post-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.post-content ul li {
  list-style-type: disc;
}

.post-content ol li {
  list-style-type: decimal;
}

.post-content strong {
  font-weight: 600;
  color: #1f2937;
}

.post-content .inline-link {
  color: #4f46e5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.post-content .inline-link:hover {
  color: #4338ca;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-left: 4px solid #4f46e5;
  padding: 2rem 2.5rem;
  margin: 3rem 0;
  border-radius: 8px;
}

.cta-box h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.cta-box p {
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.cta-box .btn {
  display: inline-block;
  background: #4f46e5;
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.cta-box .btn:hover {
  background: #4338ca;
}

/* Post Footer */
.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.post-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-buttons span {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  transition: all 0.2s;
}

.share-btn:hover {
  background: #4f46e5;
  color: white;
}

/* Responsive Blog Post */
@media (max-width: 900px) {
  .blog-post {
    padding: 3rem 3rem;
  }

  .post-header h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .blog-post-page {
    padding: 2rem 0;
  }

  .blog-post {
    padding: 2.5rem 2rem;
    border-radius: 0;
    box-shadow: none;
  }

  .post-header h1 {
    font-size: 2rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-content .lead {
    font-size: 1.1rem;
  }

  .post-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
  }

  .post-content h3 {
    font-size: 1.25rem;
  }

  .cta-box {
    padding: 1.75rem 1.5rem;
  }

  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .blog-post {
    padding: 2rem 1.5rem;
  }

  .post-header h1 {
    font-size: 1.75rem;
  }

  .post-content {
    font-size: 0.95rem;
  }

  .post-meta {
    gap: 1rem;
  }
}

/* Hide main content when mobile menu is open */
@media (max-width: 768px) {

  body.menu-open main,
  body.menu-open .hero-section,
  body.menu-open .why-use-section,
  body.menu-open .simple-tools-section {
    visibility: hidden;
  }

  body.menu-open header {
    visibility: visible;
  }
}

/* ========================================
   FAQ PAGE STYLING
   Clean Accordion Design
   ======================================== */

.faq-page {
  background: #fafafa;
  padding: 4rem 0;
  min-height: calc(100vh - 80px - 400px);
}

.faq-section {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 4rem 3.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.faq-section h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.faq-intro {
  text-align: center;
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 3rem;

}

/* FAQ Container */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* FAQ Item */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #4f46e5;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1);
}

.faq-item.active {
  border-color: #4f46e5;
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-item.active .faq-question {
  background: #f9fafb;
}

.faq-question h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  padding-right: 1rem;
  line-height: 1.5;
}

/* FAQ Icon */
.faq-icon {
  font-size: 1.5rem;
  color: #4f46e5;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #ffffff;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Responsive FAQ Page */
@media (max-width: 900px) {
  .faq-section {
    padding: 3rem 2.5rem;
  }

  .faq-section h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .faq-page {
    padding: 2.5rem 0;
  }

  .faq-section {
    padding: 2.5rem 2rem;
    border-radius: 0;
    box-shadow: none;
  }

  .faq-section h1 {
    font-size: 2rem;
  }

  .faq-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .faq-question {
    padding: 1.25rem 1.5rem;
  }

  .faq-question h2 {
    font-size: 1.05rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 2rem 1.5rem;
  }

  .faq-section h1 {
    font-size: 1.75rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
  }

  .faq-question h2 {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }
}
/* ========================================
   GOOGLE ADSENSE STYLING
   Policy-Safe Ad Placements
   ======================================== */

/* Ad Container */
.ad-container {
  width: 100%;
  max-width: 100%;
  margin: 3rem auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90px;
  background: transparent;
}

/* Ad Label */
.ad-label {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Blog Post Ad Placements */
.post-content .ad-container {
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

/* Tool Page Ad Placement */
.tool-ad-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.tool-ad-container .ad-label {
  margin-bottom: 1rem;
}

/* FAQ Page Ad Placement */
.faq-ad-container {
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

/* Blog Listing Ad */
.blog-grid-ad {
  grid-column: 1 / -1;
  margin: 1rem 0;
}

/* Responsive Ad Adjustments */
@media (max-width: 768px) {
  .ad-container {
    margin: 2rem auto;
    padding: 1rem 0;
  }
  
  .post-content .ad-container {
    margin: 2rem 0;
    padding: 1.5rem 0;
  }
  
  .tool-ad-container {
    margin: 1.5rem auto;
    padding: 1.5rem 1rem;
  }
  
  .faq-ad-container {
    margin: 2rem 0;
    padding: 1.5rem 0;
  }
}

/* Prevent Layout Shift */
.ad-container ins {
  display: block;
  min-height: 90px;
}

/* Clear Separation from Interactive Elements */
.tool-ad-container + .upload-area,
.tool-ad-container + .tool-controls {
  margin-top: 3rem;
}

/* ========================================
   PRIVACY POLICY PAGE STYLING
   Clean & Professional Design
   ======================================== */

.privacy-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
  min-height: calc(100vh - 80px - 400px);
}

.privacy-section {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 4rem 4rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.privacy-section h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-updated {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f3f4f6;
}

.privacy-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4b5563;
  text-align: center;
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
  border-left: 4px solid #4f46e5;
  border-radius: 8px;
}

/* Privacy Content Sections */
.privacy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.privacy-content h2::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-radius: 50%;
  flex-shrink: 0;
}

.privacy-content p {
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.privacy-content strong {
  color: #1f2937;
  font-weight: 600;
}

/* Privacy Lists */
.privacy-content ul {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.privacy-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.7;
}

.privacy-content ul li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: #4f46e5;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Privacy Links */
.privacy-content a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.privacy-content a:hover {
  border-bottom-color: #4f46e5;
}

/* Contact Section Highlight */
.privacy-contact {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.privacy-contact p {
  margin-bottom: 0.5rem;
}

.privacy-contact strong {
  color: #4f46e5;
}

/* Responsive Privacy Page */
@media (max-width: 900px) {
  .privacy-section {
    padding: 3rem 2.5rem;
  }
  
  .privacy-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .privacy-page {
    padding: 2.5rem 0;
  }
  
  .privacy-section {
    padding: 2.5rem 2rem;
    border-radius: 0;
    box-shadow: none;
  }
  
  .privacy-section h1 {
    font-size: 2.25rem;
  }
  
  .privacy-intro {
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
  }
  
  .privacy-content h2 {
    font-size: 1.35rem;
    margin-top: 2.5rem;
  }
  
  .privacy-content p,
  .privacy-content ul li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .privacy-section {
    padding: 2rem 1.5rem;
  }
  
  .privacy-section h1 {
    font-size: 2rem;
  }
  
  .privacy-intro {
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }
  
  .privacy-content h2 {
    font-size: 1.25rem;
  }
  
  .privacy-content ul li {
    padding-left: 1.75rem;
  }
}

/* ========================================
   TERMS & CONDITIONS PAGE STYLING
   Clean & Professional Design
   ======================================== */

.terms-page {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 4rem 0;
  min-height: calc(100vh - 80px - 400px);
}

.terms-section {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 4rem 4rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.terms-section h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.terms-updated {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #fef3c7;
}

.terms-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4b5563;
  text-align: center;
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.05));
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
}

/* Terms Content Sections */
.terms-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #fef3c7;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.terms-content h2::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 50%;
  flex-shrink: 0;
}

.terms-content p {
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.terms-content strong {
  color: #1f2937;
  font-weight: 600;
}

/* Terms Lists */
.terms-content ul {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.terms-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.7;
}

.terms-content ul li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Terms Links */
.terms-content a {
  color: #f59e0b;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.terms-content a:hover {
  border-bottom-color: #f59e0b;
}

/* Contact Section Highlight */
.terms-contact {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 8px;
  border: 1px solid #fbbf24;
}

.terms-contact p {
  margin-bottom: 0.5rem;
}

.terms-contact strong {
  color: #d97706;
}

/* Responsive Terms Page */
@media (max-width: 900px) {
  .terms-section {
    padding: 3rem 2.5rem;
  }
  
  .terms-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .terms-page {
    padding: 2.5rem 0;
  }
  
  .terms-section {
    padding: 2.5rem 2rem;
    border-radius: 0;
    box-shadow: none;
  }
  
  .terms-section h1 {
    font-size: 2.25rem;
  }
  
  .terms-intro {
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
  }
  
  .terms-content h2 {
    font-size: 1.35rem;
    margin-top: 2.5rem;
  }
  
  .terms-content p,
  .terms-content ul li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .terms-section {
    padding: 2rem 1.5rem;
  }
  
  .terms-section h1 {
    font-size: 2rem;
  }
  
  .terms-intro {
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }
  
  .terms-content h2 {
    font-size: 1.25rem;
  }
  
  .terms-content ul li {
    padding-left: 1.75rem;
  }
}
