/* General Styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: #fff;
}

.hero h1 {
    font-size: 2rem; /* Smaller font size for mobile */
    margin-bottom: 15px;
    font-weight: 700;
    word-wrap: break-word; /* Prevent text overflow */
}

.hero p {
    font-size: 0.9rem; /* Smaller font size for mobile */
    margin-bottom: 20px;
    color: #e0e0e0;
    word-wrap: break-word;
}

.cta-button {
    display: inline-block;
    padding: 10px 18px;
    background-color: #ff5722;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #e64a19;
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 48px 20px;
    background-color: #ffffff;
    color: #0f172a;
}

.about h2 {
    font-size: clamp(1.9rem, 3vw, 2.3rem);
    margin-bottom: 18px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.about p {
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.9;
    color: #111827;
}

/* Optional: card-style inner container for About content */
.about .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 20px;
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.25);
}
/* Services Section */
.services {
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.services h2 {
    font-size: 1.5rem; /* Smaller font size for mobile */
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    color: #1a73e8;
}

.services .row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.services .card {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%; /* Full width for mobile */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.services .card h3 {
    font-size: 1rem; /* Smaller font size for mobile */
    margin-bottom: 10px;
    color: #333;
}

.services .card p {
    font-size: 0.8rem; /* Smaller font size for mobile */
    color: #555;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 40px 20px;
    background-color: #fff;
}

.why-choose-us h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    color: #1a73e8;
}

.why-choose-us ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
}

.why-choose-us li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center;
}

.why-choose-us li::before {
    content: '✔';
    color: #1a73e8;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    color: #1a73e8;
}

.testimonials .row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.testimonials .card {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonials blockquote {
    font-style: italic;
    margin-bottom: 10px;
    color: #555;
}

.testimonials .author {
    font-weight: 600;
    color: #333;
}

/* Contact Section */
.contact {
    padding: 40px 20px;
    background-color: #fff;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    color: #1a73e8;
}

.contact form {
    max-width: 100%;
    margin: 0 auto;
}

.contact form div {
    margin-bottom: 10px;
}

.contact form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #333;
}

.contact form input:focus,
.contact form textarea:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 5px rgba(26, 115, 232, 0.5);
}

.contact form button {
    display: inline-block;
    padding: 10px 18px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact form button:hover {
    background-color: #005f8d;
    transform: scale(1.05);
}

/* filepath: d:\xamp\htdocs\geovanneDb\wordpress\wp-content\themes\automated-hacks-theme\assets\css\front-page.css */
/* General animation styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible state for elements */
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation classes */
.scale-up {
    transform: scale(1.2);
    transition: transform 0.8s ease-out;
}

.scale-down {
    transform: scale(0.8);
    transition: transform 0.8s ease-out;
}

.rotate {
    transform: rotate(360deg);
    transition: transform 0.8s ease-out;
}

.move-left {
    transform: translateX(-20px);
    transition: transform 0.8s ease-out;
}

.move-right {
    transform: translateX(20px);
    transition: transform 0.8s ease-out;
}

.move-up {
    transform: translateY(-20px);
    transition: transform 0.8s ease-out;
}

.move-down {
    transform: translateY(20px);
    transition: transform 0.8s ease-out;
}

/* Initial state for text-containing elements */
p, h1, h2, h3, h4, h5, h6, div, span, li {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible state for text-containing elements */
p.visible, h1.visible, h2.visible, h3.visible, h4.visible, h5.visible, h6.visible, div.visible, span.visible, li.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Enhancements for Tablets */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .services .card {
        width: 45%; /* Two cards per row */
    }

    .about h2, .services h2 {
        font-size: 2rem;
    }

    .testimonials .card {
        width: 45%;
    }

    .contact form {
        max-width: 600px;
    }
}

/* Responsive Enhancements for Desktops */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .services .card {
        width: 30%; /* Three cards per row */
    }

    .about h2, .services h2 {
        font-size: 2.5rem;
    }

    .testimonials .card {
        width: 30%;
    }
}


/* ===========================================================
   GN White Glass Modern Theme
   Version: v1.0.0
   UpdatedAt: 2025-12-29
   Notes: Non-destructive overrides (keeps layout/structure).
   =========================================================== */

:root {
  --gn-bg: #ffffff;
  --gn-bg-soft: #f1f5f9;
  --gn-text: #0f172a;
  --gn-text-strong: #111827;
  --gn-muted: #475569;
  --gn-muted-2: #64748b;
  --gn-border: rgba(15, 23, 42, 0.12);
  --gn-border-strong: rgba(15, 23, 42, 0.18);

  --gn-glass: rgba(255, 255, 255, 0.72);
  --gn-glass-strong: rgba(255, 255, 255, 0.86);
  --gn-glass-weak: rgba(255, 255, 255, 0.56);
  --gn-blur: 16px;

  --gn-radius-sm: 12px;
  --gn-radius-md: 18px;
  --gn-radius-lg: 26px;

  --gn-shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.10);
  --gn-shadow-md: 0 22px 60px rgba(15, 23, 42, 0.14);
  --gn-shadow-lg: 0 34px 100px rgba(15, 23, 42, 0.18);

  --gn-accent: #2563eb;
  --gn-accent-2: #06b6d4;
  --gn-success: #16a34a;
  --gn-danger: #ef4444;
  --gn-focus: 0 0 0 3px rgba(37, 99, 235, 0.24);

  --gn-ease: cubic-bezier(.2,.8,.2,1);
}

html {
  color-scheme: light;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--gn-text);
  background:
    radial-gradient(1000px circle at 12% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(950px circle at 88% 10%, rgba(6, 182, 212, 0.14), transparent 55%),
    radial-gradient(900px circle at 50% 120%, rgba(34, 197, 94, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 60%, #ffffff 100%);
}

a {
  color: var(--gn-accent);
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

:where(button, .button, input[type="submit"], input[type="button"], .wp-block-button__link) {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(6, 182, 212, 0.12));
  color: var(--gn-text);
  border: 1px solid var(--gn-border);
  border-radius: 999px;
  box-shadow: var(--gn-shadow-sm);
  backdrop-filter: blur(var(--gn-blur));
  -webkit-backdrop-filter: blur(var(--gn-blur));
  transition:
    transform 0.16s var(--gn-ease),
    box-shadow 0.16s var(--gn-ease),
    border-color 0.16s var(--gn-ease),
    filter 0.16s var(--gn-ease);
}

:where(button, .button, input[type="submit"], input[type="button"], .wp-block-button__link):hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--gn-shadow-md);
  filter: saturate(1.05);
}

:where(button, .button, input[type="submit"], input[type="button"], .wp-block-button__link):focus-visible {
  outline: none;
  box-shadow: var(--gn-shadow-sm), var(--gn-focus);
}

:where(input, select, textarea) {
  background: var(--gn-glass-strong);
  color: var(--gn-text);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-sm);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: border-color 0.16s var(--gn-ease), box-shadow 0.16s var(--gn-ease);
}

:where(input, select, textarea):focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), 0 10px 25px rgba(15, 23, 42, 0.08);
}

:where(.card, .pages-container, .page-card, .search-post, .about-page .page-content, .text-speech-container .container) {
  background: var(--gn-glass);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-md);
  box-shadow: var(--gn-shadow-sm);
  backdrop-filter: blur(var(--gn-blur));
  -webkit-backdrop-filter: blur(var(--gn-blur));
}

:where(.card, .page-card, .search-post):hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--gn-shadow-md);
}

::selection {
  background: rgba(37, 99, 235, 0.20);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes gn-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  :where(.about-page .page-content, .page-card, .search-post, .card, .text-speech-container .container) {
    animation: gn-fade-up 0.42s var(--gn-ease) both;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :where(.card, .pages-container, .page-card, .search-post, .about-page .page-content, .text-speech-container .container) {
    background: #ffffff;
  }
  :where(button, .button, input[type="submit"], input[type="button"], .wp-block-button__link) {
    background: #ffffff;
  }
}

/* --- GN White Glass Overrides: Front Page --- */
.hero {
  background:
    radial-gradient(900px circle at 20% 0%, rgba(37,99,235,0.18), transparent 55%),
    radial-gradient(900px circle at 85% 20%, rgba(6,182,212,0.16), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(241,245,249,0.88));
  color: var(--gn-text);
  border-bottom: 1px solid var(--gn-border);
}

.hero h1,
.hero p {
  color: var(--gn-text);
  text-shadow: none;
}

.cta-button {
  background: linear-gradient(135deg, rgba(37,99,235,0.20), rgba(6,182,212,0.18));
  color: var(--gn-text);
  border: 1px solid var(--gn-border);
  border-radius: 999px;
  box-shadow: var(--gn-shadow-sm);
  backdrop-filter: blur(var(--gn-blur));
  -webkit-backdrop-filter: blur(var(--gn-blur));
}

.cta-button:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--gn-shadow-md);
}

.about, .services, .why-choose-us, .testimonials, .contact {
  background: transparent;
}

.services .card,
.testimonials .card,
.card {
  background: var(--gn-glass);
  border: 1px solid var(--gn-border);
  border-radius: var(--gn-radius-md);
}

.services .card:hover,
.testimonials .card:hover,
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--gn-shadow-md);
  border-color: rgba(37,99,235,0.28);
}

@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll.visible {
    animation: gn-fade-up 0.55s var(--gn-ease) both;
  }
}

/* ===========================================================
   GN White Glass Modern Theme (STRONG FIX)
   Version: v1.0.1
   UpdatedAt: 2025-12-30
   Notes:
   - Higher specificity + !important for critical visuals.
   - Adds aliases expected by auditors (ah-bg/ah-surface/gn-* vars).
   =========================================================== */

:root {
  /* --- Base palette (light) --- */
  --ah-color-bg-shell: #f6f8fb;
  --ah-color-bg-card: #ffffff;
  --ah-color-bg-muted: #f9fafb;

  --ah-color-text-main: #0f172a;
  --ah-color-text-muted: #64748b;

  --ah-color-border-subtle: rgba(15, 23, 42, 0.12);
  --ah-color-border-strong: rgba(15, 23, 42, 0.18);

  /* --- Audit aliases --- */
  --ah-bg: var(--ah-color-bg-shell);
  --ah-surface: rgba(255, 255, 255, 0.72);
  --ah-border: var(--ah-color-border-subtle);
  --ah-radius: 18px;
  --ah-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);

  --ah-color-text: var(--ah-color-text-main);
  --ah-color-muted: var(--ah-color-text-muted);

  /* --- GN audit aliases --- */
  --gn-accent: var(--ah-color-primary, #2563eb);
  --gn-accent-2: #06b6d4;
  --gn-text: var(--ah-color-text-main);
  --gn-text-soft: var(--ah-color-text-muted);
  --gn-surface-1: rgba(255, 255, 255, 0.72);
  --gn-surface-2: rgba(255, 255, 255, 0.86);
  --gn-border: rgba(15, 23, 42, 0.12);
  --gn-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  --gn-glass-blur: 16px;
  --gn-glass-surface: rgba(255, 255, 255, 0.72);
  --gn-glass-border: rgba(15, 23, 42, 0.12);

  --gn-ease: cubic-bezier(.2, .8, .2, 1);
}

html {
  color-scheme: light;
}

body {
  color: var(--ah-color-text-main) !important;
  background:
    radial-gradient(1000px circle at 12% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(950px circle at 88% 10%, rgba(6, 182, 212, 0.14), transparent 55%),
    radial-gradient(900px circle at 50% 120%, rgba(34, 197, 94, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 60%, #ffffff 100%) !important;
  background-color: var(--ah-color-bg-shell) !important;
}

body :is(main, main.container, #content, .site-content, .content-area, .container) {
  border-radius: 18px;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body :is(main, main.container, #content, .site-content, .content-area, .container) {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    box-shadow:
      0 24px 55px rgba(15, 23, 42, 0.12),
      0 0 0 1px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: blur(18px) saturate(1.05) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.05) !important;
  }
}

body :is(.card, .col.card, .page-card, .search-post, .blog-sidebar section, .blog-sidebar div, .blog-sidebar > ul, .about-page .page-content, .text-speech-container .container) {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12) !important;
  transition:
    transform 160ms var(--gn-ease),
    box-shadow 160ms var(--gn-ease),
    border-color 160ms var(--gn-ease),
    filter 160ms var(--gn-ease) !important;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body :is(.card, .col.card, .page-card, .search-post, .blog-sidebar section, .blog-sidebar div, .blog-sidebar > ul, .about-page .page-content, .text-speech-container .container) {
    backdrop-filter: blur(16px) saturate(1.05) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.05) !important;
  }
}

body :is(.card, .col.card, .page-card, .search-post):hover {
  transform: translateY(-2px) !important;
  border-color: rgba(37, 99, 235, 0.26) !important;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16) !important;
}

body :is(button, .button, input[type="submit"], input[type="button"], .wp-block-button__link) {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.12)) !important;
  color: var(--ah-color-text-main) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;
  transition:
    transform 160ms var(--gn-ease),
    box-shadow 160ms var(--gn-ease),
    filter 160ms var(--gn-ease),
    border-color 160ms var(--gn-ease) !important;
}

body :is(button, .button, input[type="submit"], input[type="button"], .wp-block-button__link):hover {
  transform: translateY(-1px) !important;
  border-color: rgba(37, 99, 235, 0.30) !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18) !important;
  filter: saturate(1.06) !important;
}

body :is(button, .button, input[type="submit"], input[type="button"], .wp-block-button__link):focus-visible {
  outline: none !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16), 0 0 0 3px rgba(37, 99, 235, 0.22) !important;
}

body :is(header.site-header, .site-header, footer.site-footer, .site-footer) {
  background: rgba(255, 255, 255, 0.68) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body :is(header.site-header, .site-header, footer.site-footer, .site-footer) {
    backdrop-filter: blur(16px) saturate(1.05) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.05) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body :is(.card, .col.card, .page-card, .search-post, button, .button, input[type="submit"], input[type="button"], .wp-block-button__link) {
    transition: none !important;
    animation: none !important;
  }
}
