@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Syriac:wght@400;600;700&display=swap');

:root{
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --shadow-soft: 0 18px 45px rgba(0,0,0,.08);
  --shadow-hover: 0 24px 70px rgba(0,0,0,.12);
  --text: #000000;
  --muted: #333333;
}

body {
  color: #000000 !important;
}

p, h1, h2, h3, h4, h5, h6, li, td, th, label, span, div, a, input, textarea, select {
  color: #000000 !important;
}

.footer, .footer * {
  color: rgba(255, 255, 255, 0.95) !important;
}

.btn-primary, .btn-success, .btn-danger, .btn-warning, .btn-info, .btn-dark,
.btn[style*="background"]:not([style*="color"]), 
.hero, .hero * {
  color: #fff !important;
}

.hero .card-soft,
.hero .card-soft * {
  color: #000 !important;
}

.text-muted, .text-secondary, small, .small {
  color: #333333 !important;
}

a:not(.footer *):not(.btn):hover {
  color: var(--brand, #2563eb) !important;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.social-icon:hover {
  background: var(--brand-gradient);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  border-color: transparent;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

html { scroll-behavior: smooth; }

body{
  animation: pageIn .45s var(--ease-out) both;
}
@keyframes pageIn{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}

:focus-visible{
  outline: 3px solid rgba(184,155,94,.35);
  outline-offset: 2px;
  border-radius: 10px;
}

[data-reveal]{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="fade"]{ transform: none; }
[data-reveal="fade"].is-visible{ transform: none; }
[data-reveal="left"]{ transform: translateX(-18px); }
[data-reveal="right"]{ transform: translateX(18px); }
[data-reveal="zoom"]{ transform: scale(.98); }
[data-reveal="zoom"].is-visible{ transform: scale(1); }

[data-reveal-stagger] > *{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
[data-reveal-stagger].is-visible > *{
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger].is-visible > *:nth-child(1){ transition-delay: .00s; }
[data-reveal-stagger].is-visible > *:nth-child(2){ transition-delay: .06s; }
[data-reveal-stagger].is-visible > *:nth-child(3){ transition-delay: .12s; }
[data-reveal-stagger].is-visible > *:nth-child(4){ transition-delay: .18s; }
[data-reveal-stagger].is-visible > *:nth-child(5){ transition-delay: .24s; }
[data-reveal-stagger].is-visible > *:nth-child(6){ transition-delay: .30s; }

.card-soft{
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}
.card-soft:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(0,0,0,.12);
}
.card-soft:active{
  transform: translateY(-2px);
}

.btn{
  transition: transform .2s var(--ease-out), box-shadow .3s var(--ease-out), background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}
.btn:active{
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

.navbar[data-nav="site"]{
  transition: background-color .25s var(--ease-out), box-shadow .25s var(--ease-out), padding .25s var(--ease-out);
}
.navbar.is-scrolled{
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

.navbar[data-nav="site"] {
  overflow: visible;
}
.navbar[data-nav="site"] .navbar-brand {
  flex-shrink: 0;
}
.navbar[data-nav="site"] .navbar-nav {
  flex-wrap: nowrap;
}
.navbar[data-nav="site"] .navbar-nav .nav-link {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.9rem;
}
.navbar[data-nav="site"] .navbar-nav .nav-item:last-child {
  flex-shrink: 0;
  flex-grow: 0;
}
.navbar[data-nav="site"] .navbar-nav .nav-item:last-child .btn {
  white-space: nowrap;
  width: max-content;
  min-width: 0;
  flex-grow: 0;
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
}
@media (min-width: 992px) {
  .navbar[data-nav="site"] .navbar-collapse {
    overflow: visible;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.float-animation {
  animation: float 6s ease-in-out infinite;
}
.float-animation-delay-1 {
  animation-delay: 0.5s;
}
.float-animation-delay-2 {
  animation-delay: 1s;
}
.float-animation-delay-3 {
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
.pulse-animation {
  animation: pulse 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(184,155,94,.1));
  pointer-events: none;
  z-index: 0;
}
.decorative-circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  opacity: 0.3;
}
.decorative-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
}

.pattern-bg {
  position: relative;
  overflow: hidden;
}
.pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(37,99,235,.05) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

.glow-effect {
  position: relative;
}
.glow-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(37,99,235,.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}
.glow-effect:hover::after {
  opacity: 1;
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}
.ripple-effect {
  position: relative;
  overflow: hidden;
}
.ripple-effect::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.ripple-effect:hover::before {
  width: 300px;
  height: 300px;
}

.border-gradient {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
}
.border-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.border-gradient:hover::before {
  opacity: 1;
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.text-reveal {
  animation: textReveal 0.8s ease-out forwards;
}

@media (max-width: 991.98px) {
  .navbar-brand {
    font-size: 1rem;
  }
  .navbar-nav {
    padding-top: 1rem;
  }
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1.5rem;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .card-soft {
    margin-bottom: 1rem;
  }
  .table-responsive {
    font-size: 0.875rem;
  }
  .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  h1.display-1, h1.display-2, h1.display-3 {
    font-size: 2rem;
  }
  h1.display-4, h1.display-5, h1.display-6 {
    font-size: 1.75rem;
  }
  .hero {
    padding: 2rem 0 !important;
  }
  .hero h1 {
    font-size: 1.75rem !important;
  }
  .row.g-4 > * {
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 0.9rem;
  }
  .navbar-brand img {
    height: 40px !important;
    max-width: 150px !important;
  }
  .brand-badge {
    width: 36px !important;
    height: 36px !important;
  }
  .navbar-nav .nav-link {
    padding: 0.625rem 0.75rem !important;
    font-size: 0.9rem;
  }
  .dropdown-menu {
    padding-left: 1rem;
  }
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .card-soft {
    padding: 1rem !important;
    border-radius: 12px;
  }
  .btn {
    font-size: 0.8125rem;
    padding: 0.45rem 0.875rem;
  }
  .btn-sm {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  h1, .h1 {
    font-size: 1.5rem;
  }
  h2, .h2 {
    font-size: 1.25rem;
  }
  h3, .h3 {
    font-size: 1.125rem;
  }
  h4, .h4 {
    font-size: 1rem;
  }
  .lead {
    font-size: 1rem;
  }
  .hero {
    padding: 1.5rem 0 !important;
  }
  .hero h1 {
    font-size: 1.5rem !important;
  }
  .hero .lead {
    font-size: 0.9375rem;
  }
  .table {
    font-size: 0.8125rem;
  }
  .table th,
  .table td {
    padding: 0.5rem 0.375rem;
  }
  .form-control,
  .form-select {
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
  }
  .form-label {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
  }
  .vstack.gap-4 {
    gap: 1.5rem !important;
  }
  .vstack.gap-3 {
    gap: 1rem !important;
  }
  .row.g-4 {
    --bs-gutter-y: 1rem;
    --bs-gutter-x: 1rem;
  }
  .row.g-3 {
    --bs-gutter-y: 0.75rem;
    --bs-gutter-x: 0.75rem;
  }
  .decorative-circle-1,
  .decorative-circle-2 {
    display: none;
  }
  .social-icon {
    width: 36px;
    height: 36px;
  }
  .social-icon svg {
    width: 18px;
    height: 18px;
  }
}

html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
  width: 100%;
}
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  body{ animation: none; }
  [data-reveal], [data-reveal-stagger] > *{ transition: none !important; transform: none !important; opacity: 1 !important; }
  .btn, .card-soft{ transition: none !important; }
  .float-animation, .pulse-animation, .shimmer { animation: none !important; }
}

.footer {
  position: relative !important;
  background-image: url('/index.php/assets/img/footer-bg.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: var(--surface, #f8f9fa) !important;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8) !important;
  z-index: 0;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer .col-lg-3:first-child {
  position: relative;
  z-index: 2;
}

.footer,
.footer * {
  color: rgba(255, 255, 255, 0.95) !important;
}

.footer .fw-semibold,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
  color: #fff !important;
}

.footer a {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #fff !important;
}

.footer .footer-links a,
.footer .footer-links a:link,
.footer .footer-links a:visited {
  color: #fff !important;
}

.footer .footer-links a:hover {
  color: rgba(255, 255, 255, 0.95) !important;
}

.footer .text-secondary {
  color: rgba(255, 255, 255, 0.85) !important;
}

.footer img {
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}


