/*
Theme Name: V.S. INFRATECH (INDIA)
Theme URI: https://ngodarpan.gov.in/
Author: V.S. INFRATECH (INDIA)
Description: Custom WordPress theme for V.S. INFRATECH (INDIA) Registered Charitable Trust, Palwal, Haryana. Version 1.1.0 ensures default 6 navigation menus always appear alongside custom WordPress pages, and includes WordPress native wp_mail() + Form Entries dashboard + FormSubmit backup.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vs-infratech
*/

/* Subtle geometric pattern for hero & banner backgrounds */
.hero-pattern {
  background-color: #064e46;
  background-image:
    radial-gradient(at 85% 15%, rgba(16, 185, 129, 0.28) 0px, transparent 50%),
    radial-gradient(at 10% 85%, rgba(13, 122, 111, 0.45) 0px, transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e6fbf6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Smooth page transition animation */
.page-section {
  display: none;
  animation: fadeSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-section.active {
  display: block;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0d7a6f;
}

/* WordPress Admin Bar offset for sticky header */
body.admin-bar #main-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar #main-header {
    top: 46px;
  }
}

/* WordPress Page & Post Content Typography */
.wp-content-area h1,
.wp-content-area h2,
.wp-content-area h3,
.wp-content-area h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: #064e46;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.wp-content-area h2 { font-size: 1.875rem; }
.wp-content-area h3 { font-size: 1.375rem; }
.wp-content-area p {
  margin-bottom: 1.15rem;
  line-height: 1.75;
  color: #334155;
}
.wp-content-area ul,
.wp-content-area ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: #334155;
}
.wp-content-area ul { list-style-type: disc; }
.wp-content-area ol { list-style-type: decimal; }
.wp-content-area li { margin-bottom: 0.4rem; }
.wp-content-area a {
  color: #0d7a6f;
  text-decoration: underline;
  font-weight: 600;
}
.wp-content-area a:hover { color: #064e46; }
.wp-content-area img {
  border-radius: 1rem;
  max-width: 100%;
  height: auto;
  margin: 1.25rem 0;
}
.wp-content-area blockquote {
  border-left: 4px solid #10b981;
  background: #e6fbf6;
  padding: 1rem 1.25rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.5rem 0;
  color: #064e46;
}
