/* ===== RESET & VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img,
picture,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  --deep-teal: #0B2A34;
  --dark-teal: #123C44;
  --gold: #D4AF37;
  --soft-gold: #E5C66B;
  --light-gold: #F5D97B;
  --glass-bg: rgba(18, 60, 68, 0.2);
  --card-bg: rgba(0, 0, 0, 0.7);
  --text-light: #EAEAEA;
  --text-dim: #B0C4C9;
  --text-muted: #8A9CA5;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.8);
  --border-glow: 0 0 0 1px rgba(212, 175, 55, 0.3);
  --font-main: 'Inter', sans-serif;
  --success: #4CAF50;
  --danger: #f44336;
  --warning: #ff9800;
  --info: #2196F3;
  --gradient-gold: linear-gradient(135deg, var(--gold), var(--light-gold));
  --gradient-dark: linear-gradient(135deg, #000000, #02293a, #013243);
  --gradient-gold-hover: linear-gradient(135deg, #c9a227, #e5c157);
  --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-default: all 0.3s ease;
}

/* ===== FIXED BACKGROUND FOR SMOOTH MOBILE SCROLLING ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  height: 100%;
  touch-action: pan-y pinch-zoom;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  background: #02293a;
  position: relative;
  overflow-x: hidden;
  touch-action: pan-y pinch-zoom;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Solid background gradient that doesn't move on scroll */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #000000, #02293a, #013243);
  z-index: -2;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

/* Optional: Add a subtle overlay for depth */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03), transparent 70%);
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

/* Ensure all content layers are hardware accelerated */
.container,
.hero,
.footer,
.navbar,
.project-dummy-card,
.about-card,
.team-card {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Improved smooth scrolling for mobile devices */
@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    touch-action: pan-y pinch-zoom;
    height: 100%;
  }
  
  body {
    touch-action: pan-y pinch-zoom;
    transform: translateZ(0);
    background: #02293a;
  }
  
  /* Fix for white flash on fast scroll */
  * {
    -webkit-tap-highlight-color: transparent;
  }
}

/* For browsers that support scroll-behavior */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===== LOADER ===== */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #071E24;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 70px;
  height: 70px;
  border: 5px solid rgba(212, 175, 55, 0.2);
  border-top: 5px solid var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ===== PROGRESS BAR ===== */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-gold);
  width: 0%;
  z-index: 9998;
  transition: width 0.1s;
  box-shadow: 0 0 12px var(--gold);
}

/* ===== PROFESSIONAL NAVBAR WITH PURE CSS MENU ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 30, 36, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.navbar.scrolled {
  padding: 0.75rem 5%;
  background: rgba(7, 30, 36, 0.99);
  border-bottom-color: var(--gold);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-logo-img {
  height: 70px;
  width: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.nav-logo-img:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
}

.logo-full {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff, var(--soft-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-full small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-top: 0.1rem;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== DESKTOP NAVIGATION (Visible on desktop, hidden on mobile) ===== */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-default);
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.3px;
}

.nav-links li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links li a:hover::before,
.nav-links li.active a::before {
  width: 100%;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: var(--gold);
}

/* ===== MOBILE MENU ELEMENTS (Hidden on desktop by default) ===== */
.menu-toggle,
.menu-icon,
.mobile-menu {
  display: none;
}

/* ===== PURE CSS MOBILE MENU (Only visible on mobile) ===== */
@media (max-width: 900px) {
  /* Hide desktop menu on mobile */
  .nav-links {
    display: none;
  }

  /* Navbar adjustments for mobile */
  .navbar {
    padding: 0.6rem 1rem;
  }

  .logo-block {
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
  }

  .nav-logo-img {
    height: 45px;
    width: 45px;
  }

  .logo-full {
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: normal;
  }

  .logo-full small {
    font-size: 0.55rem;
    white-space: normal;
    display: block;
  }

  /* Show mobile menu toggle button */
  .menu-toggle {
    display: none;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--gold);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    margin-left: 0.5rem;
  }

  .menu-icon:hover {
    background: var(--light-gold);
    transform: scale(1.05);
  }

  .menu-icon span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--deep-teal);
    margin: 3.5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  /* Mobile menu dropdown */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
    background: linear-gradient(145deg, #0A2F38, #052229);
    border-radius: 20px;
    border: 1px solid var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
  }

  /* Show menu when checkbox is checked */
  .menu-toggle:checked ~ .mobile-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Animate hamburger to X when checked */
  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
  }

  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Mobile menu links */
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu li {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .mobile-menu li:last-child {
    border-bottom: none;
  }

  .mobile-menu li a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
  }

  .mobile-menu li a:hover,
  .mobile-menu li.active a {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding-left: 2rem;
  }
}

/* Small screens adjustment */
@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem 0.8rem;
  }
  
  .logo-block {
    gap: 0.5rem;
  }
  
  .nav-logo-img {
    height: 40px;
    width: 40px;
  }
  
  .logo-full {
    font-size: 0.7rem;
  }
  
  .logo-full small {
    font-size: 0.5rem;
  }
  
  .menu-icon {
    width: 40px;
    height: 40px;
  }
  
  .menu-icon span {
    width: 20px;
    margin: 3px 0;
  }
  
  .mobile-menu {
    top: 65px;
    width: 92%;
  }
  
  .mobile-menu li a {
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
  }
}

/* ===== PROFESSIONAL FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #04181F 0%, #0A2F38 100%);
  border-top: 2px solid var(--gold);
  padding: 4rem 5% 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--light-gold), var(--gold), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-logo-block {
  text-align: left;
}

.footer-logo-img {
  height: 70px;
  width: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.footer-logo-img:hover {
  transform: scale(1.05) rotate(3deg);
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.footer-full {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--soft-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.footer-tagline-small {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.opacity-60 {
  opacity: 0.6;
}

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.block {
  display: block;
}

.text-dim {
  color: var(--text-dim);
}

.quote-icon {
  color: var(--gold);
  margin: 0 0.5rem;
}

.quote-left {
  margin-right: 0.5rem;
}

.quote-right {
  margin-left: 0.5rem;
}

.footer h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 3px;
}

.footer a {
  color: var(--text-dim);
  text-decoration: none;
  display: block;
  margin: 0.8rem 0;
  transition: var(--transition-default);
  cursor: pointer;
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--gold);
  transform: translateX(8px);
}

.footer a i {
  margin-right: 10px;
  width: 20px;
  color: var(--soft-gold);
  transition: var(--transition-default);
}

.footer a:hover i {
  transform: translateX(3px);
  color: var(--gold);
}

.footer p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.copyright {
  text-align: center;
  border-top: 1px dashed rgba(212, 175, 55, 0.2);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.copyright i {
  color: var(--gold);
  margin: 0 2px;
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-logo-img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer h4 {
    display: inline-block;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
  }

  .footer a {
    text-align: center;
    padding: 0.5rem 0;
  }

  .footer a:hover {
    transform: translateX(0);
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
  }

  .footer a i {
    margin-right: 8px;
  }

  .copyright {
    font-size: 0.75rem;
  }
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 5%;
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--soft-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #fff, var(--soft-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--gold);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  margin-top: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--gradient-gold);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn:hover {
  color: var(--deep-teal);
  border-color: var(--light-gold);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--deep-teal);
  border: none;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  color: var(--deep-teal);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
}

.btn-gradient {
  background: linear-gradient(145deg, var(--gold), #b38f2c);
  color: var(--deep-teal);
  border: none;
}

/* ===== GRIDS ===== */
.card-grid,
.projects-grid,
.features-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ===== SKELETON LOADERS ===== */
.project-skeleton {
  background: linear-gradient(90deg, #1a3a44 25%, #2a4a55 50%, #1a3a44 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 28px;
  height: 380px;
  box-shadow: var(--shadow-md);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 20% 30%, #1C4A58, #052229);
  overflow: hidden;
  border-radius: 0 0 60px 60px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-xl);
  transform: translateZ(0);
  backface-visibility: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  padding: 2rem 3rem;
  z-index: 2;
  width: 100%;
  animation: fadeInUp 1s ease;
}

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

.hero-logo-img {
  max-width: 100%;
  width: 220px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.7));
}

.hero .brand {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(145deg, #F5E7B2, var(--gold), #F5E7B2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.tagline {
  font-size: 1.8rem;
  color: #E0F0F5;
  margin: 0.3rem 0 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.hero-feature-item {
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 60px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-gold);
  transition: var(--transition-smooth);
}

.hero-feature-item:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.7);
}

/* ===== PROJECT CARDS ===== */
.project-dummy-card {
  background: linear-gradient(145deg, #0d2f3a, #062229);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 28px;
  padding: 2.2rem 1.8rem;
  transition: var(--transition-smooth);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.project-dummy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-dummy-card:hover::before {
  transform: scaleX(1);
}

.project-dummy-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 30px 45px -12px rgba(212, 175, 55, 0.4);
}

.project-logo {
  width: 85px;
  height: 85px;
  background: linear-gradient(145deg, #D4AF37, #b38f2c);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.project-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-abbr {
  font-size: 2rem;
  font-weight: 700;
  color: #0B2A34;
  text-transform: uppercase;
}

.project-dummy-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.project-dummy-card p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.7;
  flex-grow: 1;
}

.project-link {
  color: var(--soft-gold);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  transition: var(--transition-smooth);
  width: fit-content;
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.3);
}

.project-link:hover {
  color: var(--deep-teal);
  background: var(--gradient-gold);
  border-color: var(--gold);
  transform: translateX(5px);
}

.featured-project {
  border: 2px solid var(--gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.featured-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-gold);
  color: var(--deep-teal);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero .brand {
    font-size: 3.2rem;
  }
  
  .tagline {
    font-size: 1.5rem;
  }
  
  .hero-logo-img {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 2rem 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h2:after {
    width: 60px;
    bottom: -8px;
  }
  
  .hero {
    min-height: 70vh;
    border-radius: 0 0 30px 30px;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero .brand {
    font-size: 2.2rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .hero-logo-img {
    max-width: 100%;
    width: 150px;
    margin-bottom: 0.8rem;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin: 1.5rem 0 1rem;
  }
  
  .hero-feature-item {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-dummy-card {
    padding: 1.5rem;
  }
  
  .project-logo {
    width: 70px;
    height: 70px;
  }
  
  .logo-abbr {
    font-size: 1.5rem;
  }
  
  .project-dummy-card h3 {
    font-size: 1.4rem;
  }
  
  .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero .brand {
    font-size: 1.8rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .hero-logo-img {
    width: 130px;
  }
  
  .hero-feature-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .container {
    padding: 1.5rem 1rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== PROFESSIONAL NOTIFICATION TOAST ===== */
.notification-toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  background: linear-gradient(145deg, #0A2F38, #052229);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--gold);
  border-radius: 24px;
  padding: 1.2rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.2), 0 0 30px rgba(212, 175, 55, 0.15);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  max-width: 90%;
  width: auto;
  min-width: 320px;
  opacity: 0;
}

.notification-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.notification-toast.hide {
  transform: translateX(-50%) translateY(-120px);
  opacity: 0;
}

.notification-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--gold), var(--light-gold));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.notification-icon i {
  font-size: 1.6rem;
  color: var(--deep-teal);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.notification-content {
  flex: 1;
}

.notification-content h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.notification-content p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.notification-content strong {
  color: var(--light-gold);
  font-weight: 700;
}

.notification-close {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.notification-close:hover {
  background: rgba(212, 175, 55, 0.3);
  border-color: var(--gold);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.notification-close i {
  font-size: 1.1rem;
}

/* Responsive notification */
@media (max-width: 768px) {
  .notification-toast {
    top: 80px;
    padding: 1rem 1.5rem;
    gap: 1.2rem;
    min-width: 280px;
  }
  
  .notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  
  .notification-icon i {
    font-size: 1.4rem;
  }
  
  .notification-content h4 {
    font-size: 1rem;
  }
  
  .notification-content p {
    font-size: 0.8rem;
  }
  
  .notification-close {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .notification-toast {
    top: 70px;
    padding: 0.9rem 1.2rem;
    gap: 1rem;
    min-width: 260px;
  }
  
  .notification-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  
  .notification-icon i {
    font-size: 1.2rem;
  }
  
  .notification-content h4 {
    font-size: 0.9rem;
  }
  
  .notification-content p {
    font-size: 0.75rem;
  }
  
  .notification-close {
    width: 30px;
    height: 30px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== SEO ENHANCEMENT STYLES ===== */
.brand-alt {
  font-size: 1.2rem;
  color: var(--soft-gold);
  margin: 0.3rem 0 0.5rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: lowercase;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .brand-alt {
    font-size: 1rem;
  }
}

/* Hidden SEO text for screen readers and search engines */
.seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}