/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-weight: 700;
    margin-bottom: 5px;
}

header p {
    font-size: 1rem;
    margin: 0;
}

/* Main App Grid */
main {
    padding: 30px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* App Card */
.app-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s, border-top 0.2s, color 0.2s;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    border-top: 3px solid #007bff;
}

.app-card:hover h2,
.app-card:hover p {
    color: #007bff;
}

/* App Card Content */
.icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #f1f1f1;
    text-align: center;
    padding: 20px 15px;
    font-size: 0.9rem;
    color: #333;
}

footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

footer .footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    margin: 0;
}

footer .footer-links li a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.2s;
}

footer .footer-links li a:hover {
    color: #0056b3;
}

/* Responsive */
@media (max-width: 480px) {
    main {
        padding: 15px;
    }
    .icon {
        font-size: 2.5rem;
    }
    .app-card h2 {
        font-size: 1.1rem;
    }
    .app-card p {
        font-size: 0.9rem;
    }
    footer .footer-links {
        flex-direction: column;
        gap: 5px;
    }
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #007bff;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.navbar .nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
}

.navbar .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar .nav-links li a:hover {
    color: #ffdd57;
}

/* Header text below navbar */
.header-text {
    text-align: center;
    color: white;
    padding: 15px 20px;
}

.header-text h1 {
    margin-bottom: 5px;
}

.header-text p {
    margin: 0;
}

/* Responsive Navbar */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 10px;
    }
}

.file-icon {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Search Bar */
.search-bar {
  text-align: center;
  margin: 20px auto;
}

.search-bar input {
  width: 90%;
  max-width: 400px;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.search-bar input:focus {
  border-color: #666;
}

/* Social Icons */
.social-icons {
  margin-top: 12px;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.social-icons a svg {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover svg {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Header Social Icons */
.header-social {
  margin-top: 15px;
}

.header-social a svg {
  fill: #ffffff; /* White icons for header */
}

.header-social a:hover svg {
  transform: scale(1.2);
  opacity: 0.9;
}

/* Full-width SEO card that matches app grid style */
.homepage-seo-card {
  width: 100%;
  box-sizing: border-box;

  margin: 48px 0 32px;
  padding: 28px 32px;

  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Keep readable max-width inside */
.homepage-seo-card > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Title style aligned with cards */
.homepage-seo-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #111827;
}

/* Paragraph style aligned with card text */
.homepage-seo-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 12px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .homepage-seo-card {
    padding: 22px 16px;
    margin: 32px 0;
  }

  .homepage-seo-card h2 {
    font-size: 1.3rem;
  }
}





