/* ===============================
   GLOBAL RESET
   =============================== */
   /* ===============================
   PAGE SCOPE SAFETY (NON-BREAKING)
   =============================== */

/* Ensure every page uses a page class on <body>
   Example:
   <body class="home-page">
   <body class="about-page">
   <body class="contact-page">
   <body class="gallery-page">
   <body class="admin-page">
*/

/* Prevent page-specific styles from leaking */
.home-page .testimonials,
.home-page .process-card,
.home-page .cta-card,
.home-page .capabilities {
  /* no visual change, just scope ownership */
}

/* About page ownership */
.about-page .about-hero,
.about-page .about-sections,
.about-page .about-grid,
.about-page .about-block,
.about-page .about-content,
.about-page .about-media {}

/* Contact page ownership */
.contact-page .contact-section,
.contact-page .contact-grid,
.contact-page .contact-text,
.contact-page .contact-form-wrap,
.contact-page .contact-form,
.contact-page .contact-cards,
.contact-page .contact-card {}

/* Gallery page ownership */
.gallery-page .ic-gallery-wrap,
.gallery-page .ic-gallery-grid,
.gallery-page .ic-gallery-item,
.gallery-page .ic-lightbox,
.gallery-page .ic-lightbox-inner,
.gallery-page .ic-lightbox-prev,
.gallery-page .ic-lightbox-next,
.gallery-page .ic-lightbox-close {}

/* Admin page ownership */
.admin-page .admin-card,
.admin-page .admin-table,
.admin-page .admin-gallery-grid,
.admin-page .admin-gallery-card,
.admin-page .ic-modal-overlay,
.admin-page .ic-modal {}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family:'Inter',sans-serif;
  background:#020617;
  color:#e5e7eb;
  line-height:1.7;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: url('images/home-bg.png') center / cover no-repeat;
  overflow: hidden;
}

/* ===============================
   HERO BACKGROUND ANIMATION
   =============================== */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: inherit;

  filter: blur(14px) saturate(110%);
  transform: scale(1.08); /* prevents edge blur cut-off */

  opacity: 0.9;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  /* Theme blend + glow combined */
  background:
    linear-gradient(
      180deg,
      rgba(2, 6, 23, 0.55),
      rgba(2, 6, 23, 0.75)
    ),
    radial-gradient(
      900px 450px at 25% 40%,
      rgba(56, 189, 248, 0.16),
      transparent 60%
    ),
    radial-gradient(
      700px 350px at 75% 65%,
      rgba(99, 102, 241, 0.12),
      transparent 60%
    );

  animation: heroGlow 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}


@keyframes heroGlow {
  0% {
    opacity: 0.6;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(-12px);
  }
}
.hero-title {
  animation: slideUp 1.2s ease forwards;
}

.hero-sub {
  max-width: 620px;
  margin-top: 18px;
  animation: slideUp 1.4s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.35);
  z-index: 1;
}



/* ===============================
   TYPOGRAPHY
   =============================== */
h1,h2{
  font-family:'Playfair Display',serif;
  margin-bottom:16px;
}

/* ===============================
   LAYOUT
   =============================== */
.container{
  max-width:1200px;
  margin:auto;
  padding:40px 20px;
}

/* ===============================
   HEADER / NAV
   =============================== */
.header {
  border-bottom: 1px solid #1e293b;
  background: #020617;
  position: relative;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Keep your container padding consistent */
}


.links a {
  margin-left: 20px;
  color: #94a3b8;
  text-decoration: none;
  transition: 0.3s;
}

/* NEW: Hide the checkbox/toggle by default */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle .bar {
  width: 25px;
  height: 2px;
  background: #38bdf8;
  transition: 0.3s;
}

/* ================= LOGO BREATHING GLOW ================= */

.logo {
  position: relative;
  display: inline-flex;
  z-index: 2;
}

/* Always-on blue glow + breathing animation */
.logo::after {
  content: "";
  position: absolute;
  inset: -18px;
  background: radial-gradient(
    circle,
    rgba(56,189,248,0.35),
    rgba(56,189,248,0.18),
    transparent 70%
  );
  filter: blur(24px);
  opacity: 0.45;
  transform: scale(1);
  z-index: -1;

  /* Smooth breathing animation */
  animation: logoGlowPulse 4s ease-in-out infinite;

  /* Smooth hover transition */
  transition:
    background 0.4s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* Gold authority glow on hover */
.logo:hover::after {
  background: radial-gradient(
    circle,
    rgba(201,162,39,0.45),
    rgba(201,162,39,0.22),
    transparent 70%
  );
  opacity: 0.7;
  transform: scale(1.08);
}

/* Breathing keyframes */
@keyframes logoGlowPulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.03);
  }
}



.links a{
  margin-left:20px;
  color:#94a3b8;
  text-decoration:none;
}

.menu{
  display:none;
  background:none;
  border:none;
  color:#fff;
  font-size:22px;
}

/* ===============================
   CAPABILITIES PAGE
   =============================== */
.capabilities{
  padding:100px 0;
}

.page-title{
  font-size:42px;
  text-align:center;
  margin-bottom:60px;
}

/* Grid: 3 → 2 → 1 */
.capability-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  perspective:1200px;
}

@media(max-width:1100px){
  .capability-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:700px){
  .capability-grid{
    grid-template-columns:1fr;
  }
}

/* Cards */
.capability-card{
  background:#020617;
  border:1px solid #1e293b;
  border-radius:14px;
  overflow:hidden;
  transform-style:preserve-3d;
  will-change:transform;
  transition:
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.45s ease;
}

.capability-card:hover{
  transform:
    translateY(-10px)
    rotateX(6deg)
    rotateY(-6deg);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.55),
    0 10px 20px rgba(0,0,0,0.3);
}

.capability-card img{
  width:100%;
  height:210px;
  object-fit:cover;
  display:block;
  transform:translateZ(30px);
  transition:transform 0.45s ease;
}

.capability-card:hover img{
  transform:translateZ(45px) scale(1.02);
}

.card-body{
  padding:26px;
  transform:translateZ(20px);
}

.tagline{
  color:#38bdf8;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.6px;
  margin-bottom:18px;
}

.card-body ul{
  list-style:none;
  margin-bottom:20px;
}

.card-body ul li{
  margin-bottom:10px;
  padding-left:18px;
  position:relative;
}

.card-body ul li::before{
  content:"–";
  position:absolute;
  left:0;
  color:#38bdf8;
}

.outcome{
  font-size:14px;
  color:#94a3b8;
  border-top:1px solid #1e293b;
  padding-top:14px;
}

/* ===============================
   FOOTER
   =============================== */
.footer{
  text-align:center;
  padding:40px;
  color:#64748b;
}

/* ===============================
   ANIMATIONS (GLOBAL – SAFE)
   =============================== */
.fade{
  opacity:0;
  transform:translateY(30px);
  transition:.8s ease;
}

.fade.visible{
  opacity:1;
  transform:none;
}

/* ===============================
   MOBILE NAV
   =============================== */
  @media (max-width: 768px) {
  .menu-toggle {
    display: flex !important; /* Show the hamburger */
  }

  .links {
    display: none !important; /* FORCES it to hide by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #020617;
    border-bottom: 1px solid #1e293b;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 1000;
  }

  /* Show only when the JavaScript adds the .show class */
  .links.show {
    display: flex !important;
  }

  .links a {
    margin: 15px 0 !important;
    font-size: 18px;
    width: 100%;
    margin-left: 0 !important; /* Resets desktop margin */
  }
}

/* Hamburger Animation */
.menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Animation for Hamburger to X */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===============================
   ABOUT PAGE (SCOPED ONLY)
   =============================== */
.about-page .about-hero{
  position:relative;
  min-height:90vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.about-page .about-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:blur(4px);
  z-index:0;
}

.about-page .about-overlay{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,0.78);
  z-index:1;
}

.about-page .about-content{
  position:relative;
  z-index:2;
  max-width:780px;
}

.about-page .about-content h1{
  font-size:46px;
  margin-bottom:28px;
}

.about-page .about-philosophy{
  font-size:14px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:#38bdf8;
  margin-bottom:26px;
}

.about-page .about-content p{
  font-size:17px;
  color:#cbd5f5;
  margin-bottom:22px;
}

.about-page .about-lead{
  font-size:18px;
  color:#e5e7eb;
}

/* About mobile */
@media(max-width:768px){
  .about-page .about-content h1{
    font-size:36px;
  }

  .about-page .about-content p{
    font-size:16px;
  }
}
/* ===============================
   ABOUT – MISSION & STORY
   (INSPIRED LAYOUT, SCOPED)
   =============================== */

.about-page .about-sections {
  padding: 80px 0 40px;
}

.about-page .about-block {
  margin-bottom: 100px;
}

.about-page .about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-page .about-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.about-page .about-text h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about-page .about-text p {
  font-size: 17px;
  color: #cbd5f5;
  margin-bottom: 18px;
}

.about-page .about-text .about-lead {
  font-size: 18px;
  color: #e5e7eb;
  margin-bottom: 22px;
}

.about-page .about-media img {
  width: 100%;
  border-radius: 48% 52% 60% 40% / 42% 38% 62% 58%;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 900px) {
  .about-page .about-grid,
  .about-page .about-grid.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-page .about-block {
    margin-bottom: 70px;
  }
}
/* ===============================
   TESTIMONIALS (HOME)
   =============================== */

.testimonials {
  background: #020617;
}

.testimonial-wrapper {
  position: relative;
  max-width: 720px;
  margin: 60px auto 30px;
}

.testimonial-wrapper {
  position: relative;
  max-width: 720px;
  margin: 60px auto 30px;
  min-height: 260px; /* keeps layout stable */
}

.testimonial-card {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);

  position: absolute;
  inset: 0;

  opacity: 0;
  transform: translateY(20px) scale(.97);
  transition: opacity .5s ease, transform .5s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 2;
  position: relative;
}

.testimonial-card .quote {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-card .author {
  font-size: 14px;
  color: #94a3b8;
}

/* Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonial-dots .dot {
  width: 8px;
  height: 8px;
  background: #334155;
  border-radius: 50%;
  cursor: pointer;
}

.testimonial-dots .dot.active {
  background: #38bdf8;
}
  
/* ===============================
   CTA – Engage With Clarity
   =============================== */

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.7),
      rgba(2, 6, 23, 0.9)
    );

  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 60px 70px;

  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45);

  position: relative;
  overflow: hidden;
}

/* subtle inner glow */
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      600px 300px at 20% 30%,
      rgba(56, 189, 248, 0.12),
      transparent 60%
    );
  pointer-events: none;
}

.cta-text h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-text p {
  font-size: 18px;
  color: #cbd5f5;
  max-width: 520px;
}

/* Button */
.cta-action {
  flex-shrink: 0;
}

.cta-button {
  display: inline-block;
  padding: 16px 32px;

  border-radius: 999px;
  border: 1px solid #38bdf8;

  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-button:hover {
  background: #38bdf8;
  color: #020617;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56,189,248,0.35);
}

/* Mobile */
@media (max-width: 900px) {
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
  }

  .cta-text p {
    max-width: 100%;
  }
}
/* ===============================
   HOW WE WORK – Modern UI
   =============================== */

.process-card {
  width: 80vw;              
  max-width: 1200px;        /* prevents over-stretch on very large screens */
  margin: 0 auto;

  padding: 60px 70px;

  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.6),
      rgba(2, 6, 23, 0.9)
    );

  border: 1px solid #1e293b;
  border-radius: 24px;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45);

  position: relative;
  overflow: hidden;
}


/* Accent line */
.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ffb500,
    #fffdd7,
    transparent
  );
}


/* Typography */
.process-card h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.process-lead {
  font-size: 18px;
  color: #e5e7eb;
  margin-bottom: 24px;
}

.process-card p {
  font-size: 17px;
  color: #cbd5f5;
  margin-bottom: 18px;
  line-height: 1.75;
}

/* Mobile */
@media (max-width: 900px) {
  .process-card {
    padding: 45px 30px;
  }

  .process-card h2 {
    font-size: 30px;
  }

  .process-card p {
    font-size: 16px;
  }
}
/* ===============================
   CONTACT PAGE – MODERN LAYOUT
   =============================== */

.contact-page .contact-section {
  padding: 120px 0;
}

.contact-page .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT */
.contact-page .contact-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.contact-page .contact-lead {
  font-size: 18px;
  color: #38bdf8;
  margin-bottom: 22px;
}

.contact-page .contact-text p {
  font-size: 17px;
  color: #cbd5f5;
  max-width: 480px;
  line-height: 1.75;
}

/* RIGHT */
.contact-page .contact-form-wrap {
  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.6),
      rgba(2, 6, 23, 0.9)
    );

  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 83px 50px;
  overflow:hidden;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.45);
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 6px;

  padding: 14px 16px;
  margin-bottom: 18px;

  color: #e5e7eb;
  font-size: 15px;
}

.contact-page .contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-page .contact-form input::placeholder,
.contact-page .contact-form textarea::placeholder {
  color: #94a3b8;
}

/* Button */
.contact-page .contact-form button {
  margin-top: 10px;

  padding: 14px 26px;
  border-radius: 999px;

  background: transparent;
  border: 1px solid #38bdf8;

  color: #38bdf8;
  font-weight: 500;
  cursor: pointer;

  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.contact-page .contact-form button:hover {
  background: #38bdf8;
  color: #020617;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56,189,248,0.35);
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-page .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-page .contact-text p {
    max-width: 100%;
  }

  .contact-page .contact-form-wrap {
    padding: 40px 30px;
  }
}
/* ===============================
   FOOTER (GLOBAL)
   =============================== */

.site-footer {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #010314 100%
  );
  border-top: 1px solid #1e293b;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 18px;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 18px;
}

.footer-desc {
  color: #cbd5f5;
  font-size: 15px;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  color: #cbd5f5;
  font-size: 14px;
}

.footer-col a {
  color: #6c8cf3;
  text-decoration: none;
  transition: color .3s ease;
}

.footer-col a:hover {
  color: #38bdf8;
}

/* Bottom bar */
.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Mobile */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-desc {
    max-width: 100%;
  }
}



.logo img{height:48px;width:auto;display:block;}

/* ===============================
   SAFE INTELLIGENCE GLOW FOR CARDS
   (NON-DESTRUCTIVE)
   =============================== */

/* Cards that should glow */
.process-card,
.testimonial-card,
.capability-card,
.cta-card,
.contact-form-wrap {
  position: relative; /* already true, but safe */
  z-index: 1;
}


  /* Gold accent line on top */
  .contact-form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffb500, #fffdd7, transparent);
  }

  /* Breathing glow */
  .contact-form-wrap::after {
    content: "";
    position: absolute;
    inset: -28px;
    background: radial-gradient(
      circle,
      rgba(56,189,248,0.22),
      rgba(56,189,248,0.10),
      transparent 70%
    );
    filter: blur(28px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
    animation: cardGlowBreath 6s ease-in-out infinite;
  }

/* Glow layer – completely separate */
.process-card::after,
.testimonial-card::after,
.capability-card::after,
.cta-card::after{
  content: "";
  position: absolute;
  inset: -22px;

  background: radial-gradient(
    circle,
    rgba(56,189,248,0.22),
    rgba(56,189,248,0.10),
    transparent 70%
  );

  filter: blur(28px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;

  animation: cardGlowBreath 6s ease-in-out infinite;

  transition:
    background 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Gold glow on hover */
.process-card:hover::after,
.testimonial-card:hover::after,
.capability-card:hover::after,
.cta-card:hover::after,
.contact-form-wrap:hover::after {
  background: radial-gradient(
    circle,
    rgba(201,162,39,0.30),
    rgba(201,162,39,0.15),
    transparent 70%
  );
  opacity: 0.55;
  transform: scale(1.04);
}

/* Breathing animation */
@keyframes cardGlowBreath {
  0%, 100% {
    opacity: 0.32;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.02);
  }
}
.process-section,
.testimonials,
.capabilities,
.cta-section,
.contact-section {
  overflow: visible;
}
/* RESTORE TESTIMONIAL SLIDER BEHAVIOR */
.testimonial-wrapper {
  position: relative;
}

.testimonial-card {
  position: absolute;
  inset: 0;
}

.testimonial-card.active {
  position: relative;
}
/* ===============================
   BLOG POST CONTENT
   =============================== */

.post-image {
  width: 100%;
  border-radius: 16px;
  margin: 30px 0;
}

.post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #cbd5f5;
}

.post-content h2,
.post-content h3 {
  margin: 36px 0 16px;
  font-family: 'Playfair Display', serif;
}

.post-content ul {
  margin: 20px 0 20px 20px;
}

.post-content a {
  color: #38bdf8;
  text-decoration: underline;
}

/* ===============================
   ADMIN UI (ON-BRAND)
   =============================== */

.admin-page {
  background: #020617;
}

.admin-card {
  max-width: 900px;
  margin: 60px auto;
}

.admin-page input,
.admin-page textarea,
.admin-page select {
  width: 100%;
  background: #020617;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 14px;
  color: #e5e7eb;
  margin-bottom: 18px;
}

.admin-page table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.admin-page th,
.admin-page td {
  border-bottom: 1px solid #1e293b;
  padding: 14px;
  text-align: left;
}


.admin-page button {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
}

.admin-page button:hover {
  background: #38bdf8;
  color: #020617;
}
/* ===============================
   TINYMCE SAFETY OVERRIDES
   =============================== */

.tox-tinymce {
  border-radius: 14px !important;
  border: 1px solid #1e293b !important;
  overflow: hidden;
}

.tox .tox-toolbar,
.tox .tox-toolbar__primary {
  background: #020617 !important;
}

.tox .tox-edit-area__iframe {
  background: #020617 !important;
}

.tox .tox-statusbar {
  display: none;
}

/* ===============================
   ADMIN TABLE (BLOG LIST)
   =============================== */

.admin-table-wrap {
  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.65),
      rgba(2, 6, 23, 0.9)
    );
  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead th {
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  padding-bottom: 14px;
  border-bottom: 1px solid #1e293b;
}

.admin-table tbody tr {
  border-bottom: 1px solid #1e293b;
}

.admin-table tbody tr:last-child {
  border-bottom: none;
}

.admin-table td {
  padding: 16px 0;
  color: #e5e7eb;
  font-size: 15px;
}

/* Status badge */
.admin-table td:nth-child(2) {
  font-weight: 500;
}

.admin-table td:nth-child(2)::before {
  content: "● ";
  color: #38bdf8;
}

/* Actions */
.admin-table td:last-child {
  text-align: right;
}

.admin-table a {
  color: #38bdf8;
  text-decoration: none;
  font-size: 14px;
  margin-left: 12px;
}

.admin-table a:first-child {
  margin-left: 0;
}

.admin-table a:hover {
  text-decoration: underline;
}
/* ===============================
   ADMIN BLOG LIST – VISUAL POLISH
   =============================== */

/* Blog title emphasis */
.admin-table td:first-child {
  font-weight: 500;
  color: #e5e7eb;
}

/* Status alignment */
.admin-table td:nth-child(2) {
  text-transform: capitalize;
  font-size: 14px;
}

/* Actions group */
.admin-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

/* Action links spacing */
.admin-table td:last-child a {
  margin-left: 14px;
}

/* First action no margin */
.admin-table td:last-child a:first-child {
  margin-left: 0;
}

/* Hover row highlight (very subtle) */
.admin-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.04);
}


.logout-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid #38bdf8;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13px;
}

.logout-btn:hover {
  background: #38bdf8;
  color: #020617;
}
/* ===============================
   ADMIN HEADER FIX (FINAL)
   =============================== */

/* 1. MOBILE ONLY (Stacked layout) */
@media (max-width: 768px) {
    .header .admin-user {
        margin: 20px auto 0 !important;
        padding-top: 20px;
        border-top: 1px solid #1e293b;
        display: flex !important;
        flex-direction: column !important; /* Stack on mobile */
        align-items: center;
        gap: 10px;
        width: 80%;
    }
}

/* 2. DESKTOP ONLY (Side-by-side layout) */
@media (min-width: 769px) {
    .header .nav {
        display: flex;
        justify-content: space-between; /* Pushes Logo left, Nav/Admin right */
        align-items: center;
        width: 100%;
    }

    /* Keeps Blog links and Admin info in a single row */
    .header .links {
        display: flex;
        align-items: center;
    }

    .header .admin-user {
        margin-left: 30px !important; /* Space after the Blog link */
        display: flex !important;
        flex-direction: row !important; /* FORCE horizontal on desktop */
        align-items: center;
        gap: 15px;
        padding: 0;
        border: none;
        width: auto;
    }

    .admin-user span {
        white-space: nowrap; /* Prevent name from wrapping */
        font-size: 14px;
    }
}

/* ===============================
   ADMIN PAGINATION
   =============================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.pagination a {
  color: #94a3b8;
  text-decoration: none;
}

.pagination a.active {
  color: #38bdf8;
  font-weight: 500;
}
/* ===============================
   ADMIN USER ICON
   =============================== */

.admin-user-icon {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  opacity: 0.9;
  margin-left: 50px;
  margin-right: 5px;
}
/* ===============================
   ADMIN DROPDOWN
   =============================== */

.admin-dropdown {
  position: relative;
}

.admin-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: #cbd5f5;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
}

.admin-trigger:hover {
  background: rgba(56, 189, 248, 0.08);
}

.admin-caret {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* Dropdown panel */
.admin-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;

  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.9),
      rgba(2, 6, 23, 0.95)
    );

  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 12px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.45);

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;

  transition: opacity .2s ease, transform .2s ease;
}
/* ===============================
   GLOBAL BUTTON GOLD HOVER THEME
   (NON-DESTRUCTIVE OVERRIDE)
   =============================== */

/* Shared hover behavior for all buttons */
button:hover,
.cta-button:hover,
.contact-page .contact-form button:hover,
.admin-page button:hover,
.logout-btn:hover {

  background: #c9a227 !important; /* gold */
  border-color: #c9a227 !important;
  color: #020617 !important;

  box-shadow:
    0 0 0 1px rgba(201,162,39,0.6),
    0 10px 30px rgba(201,162,39,0.45),
    0 0 60px rgba(201,162,39,0.35);

  transform: translateY(-2px);
}

/* Gold glow OUTSIDE buttons (matches card glow style) */
button::after,
.cta-button::after,
.contact-page .contact-form button::after,
.admin-page button::after,
.logout-btn::after {

  content: "";
  position: absolute;
  inset: -16px;

  background: radial-gradient(
    circle,
    rgba(201,162,39,0.35),
    rgba(201,162,39,0.18),
    transparent 70%
  );

  filter: blur(22px);
  opacity: 0;
  z-index: -1;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Activate glow on hover */
button:hover::after,
.cta-button:hover::after,
.contact-page .contact-form button:hover::after,
.admin-page button:hover::after,
.logout-btn:hover::after {
  opacity: 1;
  transform: scale(1.05);
}

/* Ensure buttons can host glow */
button,
.cta-button,
.contact-page .contact-form button,
.admin-page button,
.logout-btn {
  position: relative;
}
/* ===============================
   GLOBAL LINK GOLD HOVER THEME
   (NON-DESTRUCTIVE OVERRIDE)
   =============================== */

/* Ensure links can host glow */
a {
  position: relative;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

/* Gold hover for ALL links */
a:hover {
  color: #c9a227 !important;
  text-shadow:
    0 0 12px rgba(201,162,39,0.45),
    0 0 24px rgba(201,162,39,0.35);
}

/* Outer glow (same visual language as buttons & cards) */
a::after {
  content: "";
  position: absolute;
  inset: -12px;

  background: radial-gradient(
    circle,
    rgba(201,162,39,0.30),
    rgba(201,162,39,0.15),
    transparent 70%
  );

  filter: blur(20px);
  opacity: 0;
  z-index: -1;
  pointer-events: none;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Activate glow on hover */
a:hover::after {
  opacity: 1;
  transform: scale(1.05);
}
/* ===============================
   ADMIN – SECONDARY BUTTON
   =============================== */

.contact-btn-secondary {
  padding: 14px 26px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
  font-weight: 500;
  cursor: pointer;

  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.contact-btn-secondary:hover {
  background: rgba(148,163,184,0.1);
  color: #e5e7eb;
  transform: translateY(-2px);
}

/* ===============================
   Upload Modal (Admin / Gallery)
   Scoped so it won't affect frontend
   =============================== */
.ic-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ic-modal-overlay[hidden] {
  display: none;
}

.ic-modal {
  background: #0f172a;
  border-radius: 18px;
  padding: 24px 26px 28px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.ic-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ic-modal-close {
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

#galleryUploadForm input[type="text"],
#galleryUploadForm input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0 14px;
  border-radius: 10px;
  border: none;
}

.ic-upload-msg {
  margin-top: 10px;
  font-size: 14px;
}

/* ===============================
   ADMIN GALLERY – COMPACT TILES (Option B)
   Scoped override – safe for rest of site
   =============================== */

.admin-page .admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.admin-page .admin-gallery-card {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}

.admin-page .admin-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;   /* maintains consistent tile size */
  height: auto;         /* override any fixed height */
  object-fit: cover;    /* crop nicely */
  display: block;
}

.admin-page .admin-gallery-info {
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.admin-page .admin-gallery-info strong {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-page .admin-gallery-actions a {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(248,113,113,0.12);
  color: #f87171 !important;
  text-decoration: none;
}

.admin-page .admin-gallery-actions a:hover {
  background: rgba(248,113,113,0.2);
}
.admin-page .admin-gallery-card img {
  transition: transform .25s ease;
}

.admin-page .admin-gallery-card:hover img {
  transform: scale(1.05);
}

  /* ===============================
       SCOPED GALLERY STYLES (SAFE)
       =============================== */
    .ic-gallery-wrap {
      max-width:1200px;
      margin:120px auto 80px;
      padding:0 20px;
    }

    .ic-gallery-title {
      font-size:36px;
      margin-bottom:10px;
    }

    .ic-gallery-filters {
      display:flex;
      gap:14px;
      margin-bottom:30px;
      flex-wrap:wrap;
    }

    .ic-gallery-filters button {
      background:transparent;
      border:1px solid #334155;
      color:#94a3b8;
      padding:8px 16px;
      border-radius:999px;
      cursor:pointer;
      font-size:13px;
    }

    .ic-gallery-filters button.active {
      border-color:#38bdf8;
      color:#38bdf8;
    }

    .ic-gallery-grid {
      display:grid;
      grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
      gap:20px;
    }

    .ic-gallery-card {
      background:#0f172a;
      border-radius:16px;
      overflow:hidden;
      box-shadow:0 10px 30px rgba(0,0,0,.35);
      cursor:pointer;
      transition:.25s ease;
    }

    .ic-gallery-card:hover {
      transform:translateY(-6px);
    }

    .ic-gallery-card img {
      width:100%;
      aspect-ratio:4/3;
      object-fit:cover;
      display:block;
      transition:transform .3s ease;
    }

    .ic-gallery-card:hover img {
      transform:scale(1.05);
    }

    .ic-gallery-card h4 {
      padding:12px 14px;
      font-size:14px;
      color:#e5e7eb;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    /* ===============================
       LIGHTBOX
       =============================== */
    .ic-lightbox {
      position:fixed;
      inset:0;
      background:rgba(2,6,23,0.85);
      backdrop-filter:blur(6px);
      display:flex;
      align-items:center;
      justify-content:center;
      z-index:9999;
    }

    .ic-lightbox[hidden] { display:none; }

    .ic-lightbox-inner {
      position:relative;
      max-width:90vw;
      max-height:85vh;
      text-align:center;
    }

    .ic-lightbox-inner img {
      max-width:100%;
      max-height:75vh;
      border-radius:14px;
      box-shadow:0 20px 60px rgba(0,0,0,.5);
    }

    .ic-lightbox-caption {
      margin-top:14px;
      color:#cbd5f5;
      font-size:14px;
    }

    .ic-lightbox-close,
    .ic-lightbox-prev,
    .ic-lightbox-next {
      position:absolute;
      top:50%;
      transform:translateY(-50%);
      background:rgba(2,6,23,.7);
      border:1px solid #334155;
      color:#e5e7eb;
      border-radius:999px;
      width:42px;
      height:42px;
      cursor:pointer;
      font-size:20px;
    }

    .ic-lightbox-close {
      top:-50px;
      right:0;
      transform:none;
    }

    .ic-lightbox-prev { left:-60px; }
    .ic-lightbox-next { right:-60px; }

    @media(max-width:700px){
      .ic-lightbox-prev { left:10px; }
      .ic-lightbox-next { right:10px; }
      .ic-lightbox-close { top:-40px; right:10px; }
    }

    .gallery-load-more {
    margin: 40px auto 0;
    display: block;
    padding: 14px 28px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid #38bdf8;
    color: #38bdf8;
    cursor: pointer;
  }

  .ic-lightbox-inner img {
    cursor: zoom-in;
    transition: transform .3s ease;
  }

  .ic-gallery-card {
    position: relative;
    background:
      linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.65),
        rgba(2, 6, 23, 0.95)
      );
    border: 1px solid #1e293b;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 40px 90px rgba(0,0,0,0.45);
    overflow: hidden;
  }

  /* Gold accent line on top */
  .ic-gallery-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffb500, #fffdd7, transparent);
  }

  /* Breathing glow */
  .ic-gallery-card::after {
    content: "";
    position: absolute;
    inset: -28px;
    background: radial-gradient(
      circle,
      rgba(56,189,248,0.22),
      rgba(56,189,248,0.10),
      transparent 70%
    );
    filter: blur(28px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
    animation: cardGlowBreath 6s ease-in-out infinite;
  }

  /* Grid inside the card */
  .ic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }

  /* Individual image tiles (no card frame) */
  .ic-gallery-item {
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
  }

  .ic-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
  }

  .ic-gallery-item:hover img {
    transform: scale(1.06);
  }

  /* Delete icon overlay (Admin Gallery) */
.admin-gallery-card {
  position: relative;
}

.admin-gallery-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #890000;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(0,0,0,.45);
  opacity: 0.9;
}

.admin-gallery-delete:hover {
  background: #d42929 ;
  color: #fff;
}

.material-symbols-outlined {
  color: white;
  font-size: 19px !important;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

/* ===============================
   LIGHTBOX CONTROLS – SOLID YELLOW HOVER (NO JUMP)
   =============================== */

.ic-lightbox-prev,
.ic-lightbox-next,
.ic-lightbox-close {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(2,6,23,0.7);
  border: 1px solid #c9a227;
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Lock positions */
.ic-lightbox-prev,
.ic-lightbox-next {
  top: 50%;
  transform: translateY(-50%) !important;
}

.ic-lightbox-close {
  transform: none !important;
}

/* NO JUMP */
.ic-lightbox-prev:hover,
.ic-lightbox-next:hover {
  transform: translateY(-50%) !important;
}

.ic-lightbox-close:hover {
  transform: none !important;
}

/* Hover = solid yellow like your screenshot */
.ic-lightbox-prev:hover,
.ic-lightbox-next:hover,
.ic-lightbox-close:hover {
  background: #c9a227 !important;
  color: #020617 !important;
  box-shadow: 0 0 0 2px rgba(201,162,39,0.7);
}

/* Disable global button hover effects for lightbox */
.ic-lightbox-prev::after,
.ic-lightbox-next::after,
.ic-lightbox-close::after {
  display: none !important;
}
/* ===============================
   ADMIN USER – MOBILE ALIGN FIX
   =============================== */

.admin-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* On mobile menu (links stack), keep icon + name in a row */
@media (max-width: 768px) {
  .links .admin-user {
    justify-content: center;
    margin-top: 10px;
  }

  .links .logout-btn {
    margin-top: 14px;
  }
}
/* ===============================
   CONTACT PAGE – CARDS (CONSISTENT WITH SITE CARDS)
   =============================== */

.contact-page .contact-cards {
  margin-top: 36px;
  display: grid;
  gap: 18px;
  max-width: 480px;
}

.contact-page .contact-card {
  position: relative;
  padding: 22px 24px;

  background:
    linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.65),
      rgba(2, 6, 23, 0.95)
    );

  border: 1px solid #1e293b;
  border-radius: 20px;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45);

  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Gold accent line (same as other cards) */
.contact-page .contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffb500, #fffdd7, transparent);
}

/* Soft breathing glow */
.contact-page .contact-card::after {
  content: "";
  position: absolute;
  inset: -28px;
  background: radial-gradient(
    circle,
    rgba(56,189,248,0.22),
    rgba(56,189,248,0.10),
    transparent 70%
  );
  filter: blur(28px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
  animation: cardGlowBreath 6s ease-in-out infinite;
}

.contact-page .contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}

/* Text */
.contact-page .contact-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #e5e7eb;
}

.contact-page .contact-card p {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.contact-page .contact-card a {
  font-size: 14px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-page .contact-card a:hover {
  color: #c9a227;
}
/* ===============================
   CONTACT PAGE – EQUAL HEIGHT WITHOUT CARD (SAFE)
   =============================== */

.contact-page .contact-grid {
  align-items: stretch; /* make both columns same height */
}

.contact-page .contact-text {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-page .contact-left {
  flex: 1; /* fills height equal to form */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pushes contact cards toward bottom */
}

/* Optional fine-tune spacing */
.contact-page .contact-left > p:last-of-type {
  margin-bottom: 24px;
}

/* Mobile – natural stacking */
@media (max-width: 900px) {
  .contact-page .contact-left {
    justify-content: flex-start;
  }
}
