/* =========================================
   1. GLOBAL SETTINGS
========================================= */

:root {
  --primary: #142b49;
  --primary-dark: #0d1d32;
  --secondary: #d9a441;
  --secondary-light: #e8b957;

  --white: #ffffff;
  --light: #f5f7fa;
  --dark: #202936;
  --muted: #687385;

  --container: 1150px;
  --header-height: 88px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(90%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 42px);
  color: var(--primary);
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--muted);
}

/* =========================================
   2. HEADER AND NAVIGATION
========================================= */

.header {
  height: var(--header-height);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 60px;
  height: 54px;
  background: var(--primary);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  border-radius: 10px;
}

.brand-text h2 {
  color: var(--primary);
  font-size: 17px;
  line-height: 1.3;
}

.brand-text span {
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  padding: 10px 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.25s ease;
}

/* Active navigation indication */

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary);
  border-radius: 5px;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 5px;
  transition: 0.25s;
}

/* =========================================
   3. HERO SECTION
========================================= */

.hero {
  min-height: 665px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;

  background: url("../assets/images/hero.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 27, 47, 0.94) 0%,
    rgba(9, 27, 47, 0.75) 48%,
    rgba(9, 27, 47, 0.45) 100%
  );
  z-index: -1;
}

.hero-content {
  color: var(--white);
  padding-top: 20px;
  padding-bottom: 20px;
}

.hero-tag {
  color: var(--secondary);
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.08;
  margin-bottom: 30px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--secondary);
}

.hero-content > p {
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 36px;
  color: #f0f2f5;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================
   4. BUTTONS
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 27px;
  border-radius: 5px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-3px);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* =========================================
   5. ABOUT SECTION
========================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.about-image {
  position: relative;
  min-height: 390px;
}

.about-image img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.image-accent {
  position: absolute;
  width: 75%;
  height: 75%;
  bottom: -18px;
  left: -18px;
  background: var(--secondary);
  border-radius: 10px;
}

.about-content h2 {
  color: var(--primary);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 22px;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 17px;
}

.text-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  margin-top: 15px;
}

.text-link span {
  color: var(--secondary);
  margin-left: 7px;
}

/* =========================================
   6. SERVICES
========================================= */

.services {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--white);
  padding: 35px 28px;
  border-radius: 10px;
  border-bottom: 4px solid transparent;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--secondary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

.service-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 10px;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 25px;
}

.service-card h3 {
  color: var(--primary);
  font-size: 21px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
}

/* =========================================
   7. WHY CHOOSE US
========================================= */

.why-us {
  background: var(--primary);
  color: var(--white);
}

.why-us .section-heading h2 {
  color: var(--white);
}

.why-us .section-heading p {
  color: #d5dce5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.feature {
  text-align: center;
  padding: 25px;
}

.feature-icon {
  width: 55px;
  height: 55px;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.feature h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.feature p {
  color: #d5dce5;
}

/* =========================================
   8. PROJECT GALLERY
========================================= */

.projects {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 65px 20px;
  background: var(--light);
  border-radius: 12px;
}

.empty-icon {
  font-size: 45px;
  color: var(--secondary);
  margin-bottom: 15px;
}

.gallery-empty h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.gallery-empty p {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

.project-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 22px;
}

.project-info h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.project-info p {
  color: var(--muted);
}

/* =========================================
   9. CONTACT
========================================= */

.contact {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.contact-content h2 {
  color: var(--primary);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-content > p {
  color: var(--muted);
  margin-bottom: 30px;
}

.contact-details {
  display: grid;
  gap: 22px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 17px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: var(--secondary);
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 21px;
}

.contact-item h4 {
  color: var(--primary);
}

.contact-item p {
  color: var(--muted);
  font-size: 14px;
}

.contact-panel {
  background: var(--primary);
  color: var(--white);
  padding: 45px 35px;
  border-radius: 12px;
}

.contact-panel h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

.contact-panel p {
  color: #d5dce5;
  margin-bottom: 28px;
}

.contact-panel .btn {
  width: 100%;
}

.contact-note {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #d5dce5;
  margin-top: 18px;
}

/* =========================================
   10. FOOTER
========================================= */

.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 55px 0 20px;
}

.footer-content {
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 20px;
}

.footer-brand .brand-text h2,
.footer-brand .brand-text span {
  color: var(--white);
}

.footer-content > p {
  color: #d5dce5;
  margin-bottom: 35px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #d5dce5;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--secondary);
  font-weight: 700;
}

/* =========================================
   11. TABLET RESPONSIVENESS
========================================= */

@media (max-width: 900px) {
  .nav-links {
    gap: 20px;
  }

  .about-grid,
  .contact-grid {
    gap: 40px;
  }

  .hero {
    min-height: 600px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   12. MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 700px) {
  :root {
    --header-height: 75px;
  }

  .section {
    padding: 75px 0;
  }

  .brand-logo {
    width: 50px;
    height: 45px;
    font-size: 17px;
  }

  .brand-text h2 {
    font-size: 14px;
  }

  .brand-text span {
    font-size: 9px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--white);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5% 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 13px 5px;
    border-bottom: 1px solid #eef0f3;
  }

  .nav-link::after {
    bottom: 5px;
  }

  .hero {
    min-height: 570px;
    background-position: 60% center;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 60px);
  }

  .hero-content > p {
    font-size: 16px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 280px;
    margin-bottom: 10px;
  }

  .about-image img {
    height: 280px;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .contact-panel {
    padding: 35px 25px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================
   13. SMALL MOBILE SCREENS
========================================= */

@media (max-width: 380px) {
  .brand {
    gap: 8px;
  }

  .brand-text h2 {
    font-size: 12px;
  }

  .brand-text span {
    font-size: 8px;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
.admin-login {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #f5f7fa;
}

.admin-login-form {
  width: 100%;
  max-width: 420px;
  padding: 35px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.admin-login-form h1 {
  color: #142b49;
  margin-bottom: 10px;
}

.admin-login-form p {
  color: #666;
  margin-bottom: 25px;
}

.admin-login-form label {
  display: block;
  margin: 15px 0 8px;
  font-weight: 600;
}

.admin-login-form input {
  width: 100%;
  padding: 13px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

.admin-login-form button {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: #142b49;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#loginMessage {
  color: #d93025;
  font-size: 14px;
}


/* ==================================
   ADMIN DASHBOARD
================================== */

.dashboard-page {
  margin: 0;
  background: #f4f6fa;
  color: #263449;
  font-family: Arial, sans-serif;
}

.dashboard-page * {
  box-sizing: border-box;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  background: #142b49;
  color: white;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.sidebar-nav a.active {
    background: #D9A441;
    color: #142B49;
    font-weight: 700;
    border-radius: 8px;
}

.sidebar-nav a.active i {
    color: #142B49;
}
/* Active Admin Navigation */

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease,
                color 0.25s ease;
}

.admin-nav-link.active {
    background: #D9A441;
    color: #142B49;
    font-weight: 700;
}

.admin-nav-link.active span {
    color: #142B49;
}

.admin-nav-link:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 35px;
}

.admin-brand-logo {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #d9a441;
  color: #142b49;
  font-weight: 800;
  border-radius: 9px;
}

.admin-brand h2 {
  font-size: 15px;
  margin: 0 0 5px;
}

.admin-brand span {
  font-size: 11px;
  color: #cbd5e1;
}

.admin-navigation {
  display: grid;
  gap: 8px;
}

.admin-nav-link {
  padding: 13px;
  color: #dbe3ed;
  text-decoration: none;
  border-radius: 7px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  background: #263f60;
  color: #fff;
}

.sidebar-bottom {
  margin-top: auto;
}

.sidebar-bottom p {
  color: #cbd5e1;
  font-size: 12px;
}

.logout-button {
  width: 100%;
  padding: 12px;
  text-align: left;
  color: white;
  background: #263f60;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.admin-main {
  margin-left: 250px;
  padding: 30px 4%;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.admin-topbar h1 {
  margin: 0 0 8px;
  color: #142b49;
}

.admin-topbar p,
.section-heading p,
.panel-heading p {
  color: #778397;
  margin: 0;
  font-size: 14px;
}

.admin-account {
  background: white;
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 13px;
}

.dashboard-section {
  margin-bottom: 40px;
  scroll-margin-top: 25px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  color: #142b49;
  margin: 0 0 7px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card,
.admin-panel {
  background: white;
  border: 1px solid #e9edf3;
  border-radius: 11px;
  padding: 22px;
}

.stat-card span {
  font-size: 13px;
  color: #778397;
}

.stat-card h3 {
  font-size: 32px;
  color: #142b49;
  margin: 12px 0 5px;
}

.stat-card small {
  color: #778397;
}

.admin-panel {
  margin-bottom: 25px;
}

.panel-heading {
  margin-bottom: 25px;
}

.panel-heading h3 {
  color: #142b49;
  margin: 0 0 7px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-field {
  margin-bottom: 20px;
}

.admin-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 9px;
}

.admin-field input,
.admin-field select,
.admin-field textarea,
.project-toolbar input,
.project-toolbar select {
  width: 100%;
  padding: 12px;
  border: 1px solid #dce2eb;
  border-radius: 7px;
  background: white;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus,
.project-toolbar input:focus,
.project-toolbar select:focus {
  border-color: #d9a441;
}

.admin-field textarea {
  resize: vertical;
}

.admin-field small {
  display: block;
  color: #778397;
  margin-top: 7px;
}

.image-preview-wrapper {
  background: #f4f6fa;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.image-preview-wrapper p {
  font-size: 13px;
  font-weight: 600;
}

.image-preview-wrapper img {
  display: block;
  width: 100%;
  max-width: 350px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 7px;
}

.image-preview-wrapper img[hidden] {
  display: none;
}

.image-preview-wrapper span {
  color: #778397;
  font-size: 13px;
}

.publish-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 22px;
  font-size: 14px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-actions button {
  padding: 12px 20px;
  background: #142b49;
  color: white;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.form-actions button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#cancelEditButton {
  background: #68778b;
}

#projectMessage {
  margin-top: 15px;
  font-size: 14px;
}

.project-toolbar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.projects-list {
  display: grid;
  gap: 15px;
}

.admin-project-card {
  display: grid;
  grid-template-columns: 125px 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #e9edf3;
  border-radius: 9px;
  padding: 15px;
}

.project-card-image {
  width: 125px;
  height: 105px;
  object-fit: cover;
  border-radius: 7px;
  background: #edf0f5;
}

.project-card-image.image-unavailable {
  visibility: hidden;
}

.project-card-details h3 {
  color: #142b49;
  margin: 0 0 8px;
}

.project-card-details p {
  font-size: 13px;
  line-height: 1.6;
  color: #778397;
  margin: 10px 0;
}

.project-category,
.project-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 11px;
  margin-right: 5px;
}

.project-category {
  background: #edf2f8;
  color: #34506f;
}

.project-status.published {
  background: #e5f6eb;
  color: #16803c;
}

.project-status.draft {
  background: #fff3d9;
  color: #946200;
}

.project-card-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.project-card-actions button {
  border: 0;
  border-radius: 5px;
  padding: 8px 12px;
  background: #142b49;
  color: white;
  cursor: pointer;
  font-size: 12px;
}

.project-card-actions .delete-project-button {
  background: #b42318;
}

.admin-footer {
  padding: 25px 0;
  color: #778397;
  font-size: 12px;
  border-top: 1px solid #e2e7ee;
}

/* RESPONSIVE DESIGN */

@media (max-width: 1000px) {
  .admin-sidebar {
    width: 210px;
  }

  .admin-main {
    margin-left: 210px;
  }

  .admin-project-card {
    grid-template-columns: 100px 1fr;
  }

  .project-card-image {
    width: 100px;
    height: 100px;
  }

  .project-card-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .admin-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 15px;
  }

  .admin-brand {
    padding-bottom: 15px;
  }

  .admin-navigation {
    display: flex;
    flex-wrap: wrap;
  }

  .sidebar-bottom {
    margin-top: 15px;
  }

  .admin-main {
    margin-left: 0;
    padding: 22px 15px;
  }

  .admin-topbar {
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-project-card {
    grid-template-columns: 1fr;
  }

  .project-card-image {
    width: 100%;
    height: 190px;
  }

  .project-card-actions {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .admin-topbar {
    flex-direction: column;
  }

  .admin-panel {
    padding: 15px;
  }

  .project-card-actions button {
    flex: 1;
  }
}
/* Public Projects Gallery */

#projectGallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.public-project-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.public-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.public-project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.public-project-content {
  padding: 20px;
}

.public-project-category {
  color: #d9a441;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.public-project-content h3 {
  color: #142b49;
  font-size: 20px;
  margin-bottom: 10px;
}

.public-project-content p:last-child {
  color: #666666;
  line-height: 1.6;
}

.no-projects,
.project-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 15px;
  color: #666666;
}

@media (max-width: 900px) {
  #projectGallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #projectGallery {
    grid-template-columns: 1fr;
  }

  .public-project-card img {
    height: 210px;
  }
}

/* PASSWORD VISIBILITY */
.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 45px;
}

.admin-login-form .password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);

  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  color: #142b49;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.admin-login-form .password-toggle:hover {
  background: #f0f2f5;
}

.password-toggle i {
  width: 18px;
  height: 18px;
}
/* PROJECT IMAGE UPLOAD */

#projectImage {
    display: block;
    width: 100%;
    padding: 14px;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease,
                background 0.3s ease;
}

#projectImage:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

#projectImage:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* CHOOSE FILE BUTTON */

#projectImage::file-selector-button {
    padding: 10px 16px;
    margin-right: 12px;
    border: none;
    border-radius: 7px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

#projectImage::file-selector-button:hover {
    background: #1d4ed8;
}
