/* ===================================
   Pride Projects - Custom Styles
   Dark, Light & Gold Theme
   =================================== */

/* CSS Variables for Theme Colors */
:root {
  --color-dark: #0a0a0a;
  --color-dark-secondary: #1a1a1a;
  --color-dark-tertiary: #2a2a2a;
  --color-gold: #d4af37;
  --color-gold-light: #f4d03f;
  --color-gold-dark: #b8941f;
  --color-light: #ffffff;
  --color-light-secondary: #f8f9fa;
  --color-gray: #6c757d;
  --color-gray-light: #adb5bd;
  --transition-smooth: all 0.3s ease;
  --transition-slow: all 0.6s ease;
  --shadow-sm: 0 2px 10px rgba(212, 175, 55, 0.1);
  --shadow-md: 0 5px 20px rgba(212, 175, 55, 0.2);
  --shadow-lg: 0 10px 40px rgba(212, 175, 55, 0.3);
  --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-dark);
  color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-container {
  text-align: center;
  position: relative;
  z-index: 2;
}

.logo-animation {
  animation: fadeInUp 1s ease;
}

.loading-logo {
  max-width: 400px;
  width: 90%;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  animation: logoFadeIn 1.5s ease, logoPulse 2s ease-in-out 1.5s infinite;
  filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.3));
}

.loading-tagline {
  color: var(--color-gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease 1.5s both;
}

.loading-bar {
  width: 300px;
  height: 6px;
  background-color: var(--color-dark-tertiary);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 1rem;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  background-size: 200% 100%;
  animation: loading 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--color-gold);
}

.loading-text {
  color: var(--color-gray-light);
  font-size: 0.9rem;
  letter-spacing: 1px;
  animation: fadeIn 1s ease 1.5s both;
}

.dots::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}

.loading-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 6s;
}
.particle:nth-child(2) {
  left: 30%;
  animation-delay: 1s;
  animation-duration: 8s;
}
.particle:nth-child(3) {
  left: 50%;
  animation-delay: 2s;
  animation-duration: 7s;
}
.particle:nth-child(4) {
  left: 70%;
  animation-delay: 1.5s;
  animation-duration: 9s;
}
.particle:nth-child(5) {
  left: 90%;
  animation-delay: 0.5s;
  animation-duration: 7.5s;
}

/* Navigation */
.navbar {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.98);
  box-shadow: 0 2px 20px rgba(212, 175, 55, 0.2);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-light) !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  padding: 5px;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.brand-text {
  letter-spacing: 2px;
}

.nav-link {
  color: var(--color-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
}

.nav-link i {
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold) !important;
  background-color: rgba(212, 175, 55, 0.1);
}

.nav-link:hover i {
  transform: scale(1.2);
}

/* Home Section */
.home-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
}

.home-section .container {
  position: relative;
  z-index: 1;
}

.geometric-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 2px solid rgba(212, 175, 55, 0.2);
  animation: shapeFloat 20s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}
.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  left: 5%;
  animation-delay: 5s;
  animation-duration: 25s;
}
.shape-3 {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  bottom: 15%;
  right: 20%;
  animation-delay: 10s;
  animation-duration: 30s;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.hero-content .lead {
  font-size: 1.25rem;
  color: var(--color-gray-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 1px solid var(--color-gold);
  margin-bottom: 1.5rem;
  animation: badgePulse 2s ease-in-out infinite;
}

.hero-badge i {
  color: var(--color-gold);
  font-size: 1.2rem;
}

.hero-badge span {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-gray-light);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-dark);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--color-dark);
}

.btn-outline-light {
  border: 2px solid var(--color-light);
  color: var(--color-light);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-light:hover {
  background-color: var(--color-light);
  color: var(--color-dark);
  transform: translateY(-3px);
}

/* Project Slider */
.project-slider {
  animation: fadeInLeft 1s ease;
}

.carousel-inner {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.carousel-item img {
  height: 500px;
  object-fit: cover;
}

.carousel-caption {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.carousel-indicators button {
  background-color: var(--color-gold);
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* About Section */
.about-section {
  background-color: var(--color-dark-secondary);
  position: relative;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border: 3px solid var(--color-gold);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

.badge-content {
  text-align: center;
  color: var(--color-dark);
}

.badge-content h3 {
  font-weight: 800;
}

.badge-content p {
  font-size: 0.9rem;
  font-weight: 600;
}

.section-header span {
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.feature-box {
  background-color: var(--color-dark-tertiary);
  padding: 1.5rem;
  border-radius: 10px;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.feature-box:hover {
  border-color: var(--color-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

/* Executive Section */
.executive-section {
  background-color: var(--color-dark);
}

.executive-image-wrapper {
  position: relative;
}

.executive-image-wrapper img {
  border: 3px solid var(--color-gold);
}

.executive-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-dark);
  box-shadow: var(--shadow-lg);
}

.message-box {
  background-color: var(--color-dark-secondary);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--color-gold);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 3rem;
  color: var(--color-gold);
  opacity: 0.3;
}

.signature-img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--color-dark-secondary);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Projects Section */
.projects-section {
  background-color: var(--color-dark-secondary);
}

.project-card {
  background-color: var(--color-dark-tertiary);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 1.5rem;
}

.project-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-dark);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 600;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-gray-light);
}

/* Contact Section */
.contact-section {
  background-color: var(--color-dark);
}

.contact-info {
  background-color: var(--color-dark-secondary);
  padding: 2rem;
  border-radius: 15px;
  height: 100%;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-dark);
  flex-shrink: 0;
}

.info-content h6 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  background-color: var(--color-dark-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-light);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-dark);
  transform: translateY(-3px);
}

.contact-form-wrapper {
  background-color: var(--color-dark-secondary);
  padding: 2rem;
  border-radius: 15px;
}

.form-control,
.form-select {
  background-color: var(--color-dark-tertiary);
  border: 1px solid var(--color-dark-tertiary);
  color: var(--color-light);
  padding: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus {
  background-color: var(--color-dark-tertiary);
  border-color: var(--color-gold);
  color: var(--color-light);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.form-floating > label {
  color: var(--color-gray-light);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  color: var(--color-gold);
}

/* Footer */
.footer {
  background-color: var(--color-dark-secondary);
  border-top: 1px solid var(--color-dark-tertiary);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-light);
  display: flex;
  align-items: center;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-link {
  color: var(--color-gray-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.newsletter-form .form-control {
  border-radius: 50px 0 0 50px;
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Floating Action Buttons - Golden Theme with Enhanced Animations */
.floating-action-buttons {
  position: fixed;
  bottom: 100px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.fab-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-dark);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  animation: fabFloat 3s ease-in-out infinite, fabPulse 2s ease-in-out infinite;
  cursor: pointer;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.fab-call {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  animation-delay: 0s;
}

.fab-call:hover {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  transform: scale(1.15) rotate(15deg);
  box-shadow: var(--shadow-glow);
  color: var(--color-dark);
  border-color: var(--color-gold-light);
}

.fab-whatsapp {
  background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 100%);
  animation-delay: 0.5s;
}

.fab-whatsapp:hover {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  transform: scale(1.15) rotate(-15deg);
  box-shadow: var(--shadow-glow);
  color: var(--color-dark);
  border-color: var(--color-gold-light);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

@keyframes shapeFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(0, -40px) rotate(180deg);
  }
  75% {
    transform: translate(-20px, -20px) rotate(270deg);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fabPulse {
  0%,
  100% {
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 5px 30px rgba(212, 175, 55, 0.6);
  }
}

@keyframes fabFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Enhanced Responsive Design for Tablets and Mobile */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .carousel-item img {
    height: 400px;
  }

  .project-image {
    height: 280px;
  }
}

/* Tablet Portrait (991px and below) */
@media (max-width: 991px) {
  /* Navigation improvements */
  .navbar-collapse {
    background-color: var(--color-dark-secondary);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-link {
    margin: 0.5rem 0;
    padding: 0.75rem 1rem !important;
  }

  /* Hero section */
  .home-section {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-content .lead {
    font-size: 1.1rem;
  }

  .hero-badge {
    padding: 0.4rem 1.2rem;
    margin-bottom: 1rem;
  }

  .hero-badge span {
    font-size: 0.85rem;
  }

  .hero-stats {
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Buttons */
  .btn-gold,
  .btn-outline-light {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Carousel */
  .carousel-item img {
    height: 350px;
  }

  .carousel-caption {
    padding: 1.5rem;
  }

  /* Sections spacing */
  .about-section,
  .executive-section,
  .projects-section,
  .contact-section {
    padding: 3rem 0 !important;
  }

  /* Experience badge */
  .experience-badge {
    width: 120px;
    height: 120px;
    bottom: -20px;
    right: -20px;
  }

  .badge-content h3 {
    font-size: 2rem;
  }

  .badge-content p {
    font-size: 0.8rem;
  }

  /* Executive badge */
  .executive-badge {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }

  /* Message box */
  .message-box {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .quote-icon {
    font-size: 2.5rem;
  }

  /* Project cards */
  .project-image {
    height: 260px;
  }

  .project-content {
    padding: 1.25rem;
  }

  /* Contact section */
  .contact-info {
    margin-bottom: 2rem;
  }

  .info-item {
    margin-bottom: 1.5rem;
  }

  .info-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  /* Geometric shapes - hide on tablet */
  .geometric-shapes {
    display: none;
  }

  /* Floating buttons */
  .floating-action-buttons {
    bottom: 80px;
    right: 20px;
  }

  .fab-button {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }

  .scroll-top {
    width: 45px;
    height: 45px;
    bottom: 25px;
    right: 20px;
  }
}

/* Mobile Landscape (767px and below) */
@media (max-width: 767px) {
  /* Typography */
  .display-3 {
    font-size: 2rem !important;
  }

  .display-5 {
    font-size: 1.75rem !important;
  }

  .display-6 {
    font-size: 1.5rem !important;
  }

  /* Navigation */
  .navbar-brand {
    font-size: 1.25rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  /* Hero section */
  .home-section {
    padding: 100px 0 40px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .hero-content .lead {
    font-size: 1rem;
    margin-bottom: 1.5rem !important;
  }

  .hero-badge {
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
  }

  .hero-badge i {
    font-size: 1rem;
  }

  .hero-badge span {
    font-size: 0.75rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
    padding: 1rem 0;
  }

  .stat-item {
    flex: 0 0 30%;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* Buttons */
  .btn-gold,
  .btn-outline-light {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .btn-gold.me-3 {
    margin-right: 0 !important;
  }

  /* Carousel */
  .carousel-item img {
    height: 250px;
  }

  .carousel-caption {
    padding: 1rem;
  }

  .carousel-caption h5 {
    font-size: 1rem;
  }

  /* Sections */
  .about-section,
  .executive-section,
  .projects-section,
  .contact-section {
    padding: 2.5rem 0 !important;
  }

  .section-header {
    margin-bottom: 2rem !important;
  }

  .section-header span {
    font-size: 0.8rem;
  }

  .section-header h2 {
    font-size: 1.75rem !important;
  }

  .section-header .lead {
    font-size: 0.95rem;
  }

  /* Experience badge */
  .experience-badge {
    position: static;
    margin: 2rem auto 0;
    width: 110px;
    height: 110px;
  }

  .badge-content h3 {
    font-size: 1.75rem;
  }

  .badge-content p {
    font-size: 0.75rem;
  }

  /* Feature boxes */
  .feature-box {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .feature-box h5 {
    font-size: 1rem;
  }

  .feature-box p {
    font-size: 0.9rem;
  }

  /* Executive section */
  .executive-badge {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    top: 15px;
    right: 15px;
  }

  .executive-content h3 {
    font-size: 1.5rem !important;
  }

  .executive-content .text-gold {
    font-size: 1.1rem !important;
  }

  .message-box {
    padding: 1.25rem;
    margin-top: 1.5rem;
  }

  .message-box .lead {
    font-size: 1rem !important;
  }

  .message-box p {
    font-size: 0.9rem;
  }

  .quote-icon {
    font-size: 2rem;
    top: -15px;
    left: 15px;
  }

  .signature-img {
    max-width: 150px;
  }

  .stat-box {
    padding: 1rem;
  }

  .stat-box h4 {
    font-size: 1.75rem !important;
  }

  /* Project cards */
  .project-image {
    height: 220px;
  }

  .project-content {
    padding: 1rem;
  }

  .project-content h4 {
    font-size: 1.1rem;
  }

  .project-content p {
    font-size: 0.9rem;
  }

  .project-category {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
  }

  .project-meta {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Contact section */
  .contact-info {
    padding: 1.5rem;
  }

  .contact-info h4 {
    font-size: 1.25rem;
  }

  .info-item {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .info-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .info-content h6 {
    font-size: 0.95rem;
  }

  .info-content p {
    font-size: 0.85rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .form-control,
  .form-select {
    padding: 0.85rem;
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 0 !important;
  }

  .footer-brand {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .footer-brand img {
    height: 35px !important;
  }

  .footer h5 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }

  .footer-links a,
  .footer-link {
    font-size: 0.9rem;
  }

  /* Loading screen */
  .loading-logo {
    max-width: 280px;
  }

  .loading-tagline {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .loading-bar {
    width: 250px;
  }

  .loading-text {
    font-size: 0.8rem;
  }

  /* Floating buttons */
  .floating-action-buttons {
    bottom: 70px;
    right: 15px;
    gap: 12px;
  }

  .fab-button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .scroll-top {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    bottom: 20px;
    right: 15px;
  }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-stats {
    gap: 0.75rem;
  }

  .stat-item {
    flex: 0 0 28%;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .carousel-item img {
    height: 200px;
  }

  .project-image {
    height: 200px;
  }

  .btn-gold,
  .btn-outline-light {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }

  .experience-badge {
    width: 100px;
    height: 100px;
  }

  .badge-content h3 {
    font-size: 1.5rem;
  }

  .loading-logo {
    max-width: 240px;
  }

  .loading-bar {
    width: 200px;
  }
}

/* AOS Animation Styles */
[data-aos] {
  pointer-events: auto;
}
[data-aos="fade-up"] {
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}
[data-aos="fade-right"] {
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}
[data-aos="fade-left"] {
  transform: translateX(50px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

/* Career Modal Styles */
.career-modal .modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid #d4af37;
  border-radius: 15px;
  color: #ffffff;
}

.career-modal .modal-header {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  color: #1a1a1a;
  border-radius: 13px 13px 0 0;
  padding: 1.5rem;
}

.career-modal .modal-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.career-modal .btn-close-white {
  filter: brightness(0);
}

.career-modal .modal-body {
  padding: 2rem;
}

.career-content .lead {
  color: #f0f0f0;
  font-size: 1.1rem;
}

.email-box {
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid #d4af37;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.email-box i {
  font-size: 2rem;
  color: #d4af37;
}

.email-address {
  color: #d4af37;
  font-size: 1.2rem;
  word-break: break-all;
}

.career-info h6 {
  color: #d4af37;
  font-weight: 600;
}

.career-list {
  list-style: none;
  padding-left: 0;
}

.career-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #e0e0e0;
}

.career-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #d4af37;
  font-weight: bold;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  color: #1a1a1a;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
  color: #1a1a1a;
}

/* Responsive */
@media (max-width: 576px) {
  .career-modal .modal-body {
    padding: 1.5rem;
  }
  
  .email-address {
    font-size: 1rem;
  }
  
  .career-modal .modal-title {
    font-size: 1.2rem;
  }
}