@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  /* Colors */
  --bg-dark: #1e293b;
  /* Medium-Dark Slate */
  /* Slightly darker */
  /* Slightly darker */
  --bg-card: rgba(255, 255, 255, 0.65);
  --bg-card-hover: rgba(255, 255, 255, 0.85);

  /* Brand Colors */
  --primary: #D6A559;
  /* Brand Gold */
  --primary-glow: rgba(214, 165, 89, 0.5);
  --secondary: #162377;
  /* Brand Deep Blue */
  --accent: #0ea5e9;
  /* Sky Blue for subtle highlights */

  --text-main: #f8fafc;
  /* White/Light Text for Dark BG */
  /* Dark Navy/Black Text */
  --text-muted: #cbd5e1;
  /* Light Slate for better contrast */
  --border-light: rgba(214, 165, 89, 0.3);
  /* Subtle Gold border */

  /* Gradients */
  --gradient-main: linear-gradient(135deg, #D6A559 0%, #FABE56 100%);
  /* Gold Gradient */
  --gradient-text: linear-gradient(to right, #D6A559, #B48E3D);
  /* Gold Text - Darker for visibility on light ?? No, gold text might be hard to read on light. 
     Let's keep it but maybe adjust if needed. For now, strictly gold/blue. */
  --gradient-dark: linear-gradient(to bottom, #F0F4FF, #E2E8F0);

  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: 1px solid rgba(214, 165, 89, 0.2);
  --backdrop-blur: blur(12px);
  --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(214, 165, 89, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
  transition: cursor 0.3s ease;
}

/* Smooth Cursor for Interactive Elements */
a,
button,
.btn,
input,
textarea,
select,
.nav-logo,
.hamburger,
.feature-card,
.project-card {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Cursor Smoothing */
* {
  cursor: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* ================= UTILITIES ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  color: #fff;
  /* Solid White for professional look */
  /* Remove gradient text effect as requested */
  background: none;
  -webkit-text-fill-color: initial;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.18s ease,
    box-shadow 0.22s ease;
  position: relative;
  overflow: visible;
  letter-spacing: 0.4px;
  background-clip: padding-box;
}

.btn-primary {
  background: var(--gradient-main);
  color: #000;
  border: none;
  outline: none;
  box-shadow: 0 6px 18px rgba(214, 165, 89, 0.08);
}

/* subtle pop on hover */
.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-glow:hover {
  transform: translateY(-5px) scale(1.05);
  filter: brightness(1.1);
  box-shadow: 0 15px 35px rgba(214, 165, 89, 0.2);
}

.btn:active,
.btn-primary:active,
.btn-outline:active,
.btn-glow:active {
  transform: translateY(0) scale(0.97);
}

.btn-outline {
  background: transparent;
  border: none;
  color: var(--primary);
}

.btn-glow {
  background: var(--gradient-main) !important;
  color: #000 !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(214, 165, 89, 0.08) !important;
  animation: none !important;
}

/* Remove strong glow keyframes if present */
@keyframes pulse-glow {
  from {
    box-shadow: none;
  }

  to {
    box-shadow: none;
  }
}

/* Contact Form Inputs */
input,
textarea,
select {
  width: 100%;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 12px;
  border: 1px solid rgba(214, 165, 89, 0.3) !important;
  background: #f8f8f8 !important;
  color: #000 !important;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #000;
  font-size: 1.1rem;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary) !important;
  background: #ffffff !important;
  outline: none;
  box-shadow: 0 0 15px rgba(214, 165, 89, 0.3), inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ================= NAVBAR ================= */
.navbar {
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  /* Set navbar color to pure white */
  border-bottom: var(--glass-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar:hover {
  box-shadow: 0 4px 30px rgba(214, 165, 89, 0.15);
}

.nav-container {
  width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 70px;
  /* Enlarge logo to match navbar height */
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: none;
}

.nav-logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  align-items: center;
}

.nav-links a,
.projects-link {
  font-weight: 700;
  /* Bold as requested */
  font-size: 15px;
  color: #000000;
  /* Black as requested */
  cursor: pointer;
  position: relative;
  padding-bottom: 5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Animated Underline Effect */
.nav-links a::after,
.projects-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #D6A559, #FABE56);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-links a:hover::after,
.projects-link:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.projects-link:hover,
.nav-links a.active {
  color: var(--primary);
  /* Gold on hover */
  text-shadow: 0 0 8px rgba(214, 165, 89, 0.3);
  transform: translateY(-2px);
  /* Animate tabs on hover */
}

/* Navbar Dropdown */
.projects-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.projects-menu {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid var(--border-light);
  min-width: 200px;
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.projects-dropdown:hover .projects-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.projects-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: #000;
  /* Black */
  font-weight: 700;
  /* Bold */
  transition: all 0.2s ease;
}

.projects-menu a:hover {
  background: rgba(214, 165, 89, 0.1);
  color: #000;
  text-decoration: underline;
  /* Underline on hover */
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
  }
}

/* ================= HERO SECTION ================= */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding-top: 80px;
  padding-left: 80px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Dark overlay for text readability */
  background: linear-gradient(to bottom, rgba(11, 17, 32, 0.7), rgba(11, 17, 32, 0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 900px;
  padding: 20px;
}

@media (max-width: 768px) {
  .hero {
    padding-left: 24px;
    justify-content: center;
  }

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

  .hero-video {
    object-position: right center;
  }

  .hero p {
    color: #ffffff;
    font-weight: 600;
  }
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
}

.hero-cta-wrapper {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

/* ================= CENTERED HERO ================= */
.hero-centered {
  padding-left: 24px !important;
  padding-right: 24px !important;
  justify-content: center !important;
  text-align: center !important;
}

.hero-content-centered {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  margin: 0 auto;
}

.hero-content-centered h1 {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-content-centered p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= SECTION COMMON ================= */
.section {
  padding: 100px 24px;
  position: relative;
}

/* ================= GOLDEN SECTION (New) ================= */
.section-gold {
  background: #f7efd7;
  /* Warmer Golden shade as requested */
  position: relative;
}

.section-gold h2,
.section-gold p,
.section-gold li {
  color: #000 !important;
  /* Force Black text for contrast */
}

.section-gold .section-subtitle {
  color: #334155 !important;
  /* Slightly distinct subtitle */
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  /* Slightly increased margin */
}

.section-title-left {
  text-align: left;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: #000 !important;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

/* ================= FEATURES (What We Build) ================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  color: #0f172a;
  /* Force Dark text inside light cards */
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  padding: 40px 30px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy animation */
  position: relative;
  overflow: hidden;
}

.feature-card h3,
.feature-card h4 {
  color: #000 !important;
  /* Force black titles inside cards */
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 30px var(--primary), 0 0 50px var(--primary-glow);
  filter: brightness(1.1);
  border-color: var(--primary);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-card ul li {
  color: #334155;
  /* Darker muted text for card lists */
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.feature-card ul li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
}

/* ================= FLAGSHIP PROJECTS ================= */
.flagship-white {
  background: linear-gradient(135deg, #e2d1c3 0%, #c5a36c 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.flagship-white h2,
.flagship-white p {
  color: #000000 !important;
}

.flagship-white .section-subtitle {
  color: #334155 !important;
}

/* ================= TRUST SECTION ================= */
.trust-section {
  border-top: 1px solid var(--border-light);
  background: linear-gradient(135deg, #fdfbf7 0%, #e2d1c3 100%);
  /* Gold/Beige Shade */
}

.trust-section h2,
.trust-section p {
  color: #000 !important;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1000px;
  justify-content: center;
}

@media (max-width: 600px) {
  .project-cards {
    grid-template-columns: 1fr;
  }

  .project-card {
    width: 100%;
  }
}

.project-card {
  color: #0f172a;
  /* Force Dark text inside light cards */
  background: #fdfbf7;
  /* Solid light beige for perfect blending */
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
  background: #ffffff;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 30px var(--primary), 0 0 50px var(--primary-glow);
  border-color: var(--primary);
}

.project-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  mix-blend-mode: multiply !important;
  background: transparent !important;
  margin: 0 auto 24px auto;
  display: block;
  /* Ensure it behaves as a block in the flex container */
}

/* Card animations handled by the card scale itself */
.project-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

/* ================= TEAM SECTION (New) ================= */
.team-card {
  color: #0f172a;
  /* Force Dark text */
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 30px var(--primary), 0 0 50px var(--primary-glow);
  border-color: var(--primary);
  filter: brightness(1.1);
}

.team-card h3 {
  color: #000 !important;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.team-card p {
  color: #334155;
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid rgba(214, 165, 89, 0.3);
}

/* Ensure all team member images are perfectly circular */
.feature-card img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ================= GLOBAL TRUST ================= */
.trust-section {
  border-top: 1px solid var(--border-light);
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #000000;
  font-weight: 500;
}

.trust-item span {
  font-size: 1.2rem;
  color: var(--accent);
}

/* ================= FOOTER ================= */
.footer {
  background: #0B1120;
  /* Keep footer dark for contrast, or make it light? 
                           Usually footers are distinct. Let's keep it dark but maybe slightly bluer/lighter 
                           to match the "light blue" theme request? 
                           User said "website me bhot dark clr use kiye h...". 
                           Let's try a dark blue footer. */
  background: #1e293b;
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeInUp 0.8s ease-out;
}

.footer p {
  color: var(--text-muted);
  margin-bottom: 24px;
  animation: fadeIn 2.5s ease-out 0.5s both;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  display: block;
  transition: transform 0.2s;
  animation: fadeIn 1s ease-out both;
}

.social-links a:nth-child(1) {
  animation-delay: 0.3s;
}

.social-links a:nth-child(2) {
  animation-delay: 0.4s;
}

.social-links a:nth-child(3) {
  animation-delay: 0.5s;
}

.social-links a:nth-child(4) {
  animation-delay: 0.6s;
}

.social-links a:nth-child(5) {
  animation-delay: 0.7s;
}

.social-links a:hover {
  transform: translateY(-3px);
  filter: brightness(1.2);
}

.social-links img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.social-links a:hover img {
  opacity: 1;
}

/* ================= MOBILE DRAWER ================= */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 30px;
  border-left: 1px solid rgba(214, 165, 89, 0.3);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.open {
  right: 0;
  animation: slideInBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInBounce {
  0% {
    right: -100%;
    opacity: 0;
  }

  60% {
    right: 5px;
  }

  100% {
    right: 0;
    opacity: 1;
  }
}

.mobile-drawer a {
  display: block;
  font-size: 1.2rem;
  color: #0B1120;
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
  padding-left: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-drawer.open a {
  animation: slideInLeft 0.4s ease-out forwards;
}

.mobile-drawer.open a:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-drawer.open a:nth-child(2) {
  animation-delay: 0.15s;
}

.mobile-drawer.open a:nth-child(3) {
  animation-delay: 0.2s;
}

.mobile-drawer.open a:nth-child(4) {
  animation-delay: 0.25s;
}

.mobile-drawer.open a:nth-child(5) {
  animation-delay: 0.3s;
}

.mobile-drawer a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #D6A559, #FABE56);
  transition: width 0.3s ease;
}

.mobile-drawer a:hover::before,
.mobile-drawer a:active::before {
  width: 12px;
}

.mobile-drawer a:hover,
.mobile-drawer a:active {
  color: #D6A559;
  transform: translateX(8px);
  text-shadow: 0 0 8px rgba(214, 165, 89, 0.3);
}

.mobile-projects-toggle {
  color: #0B1120;
  margin-bottom: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: rgba(214, 165, 89, 0.05);
}

.mobile-projects-toggle:hover,
.mobile-projects-toggle:active {
  background: rgba(214, 165, 89, 0.15);
  transform: translateX(5px);
}

.mobile-projects-toggle span {
  transition: transform 0.3s ease;
}

.mobile-projects.open~.mobile-projects-toggle span {
  transform: rotate(180deg);
}

.mobile-projects {
  padding-left: 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid #D6A559;
  margin-left: 20px;
}

.mobile-projects.open {
  max-height: 200px;
  margin-bottom: 24px;
  animation: fadeIn 0.4s ease-out;
}

.mobile-projects a {
  font-size: 1rem;
  color: #555;
  margin-bottom: 16px;
  font-weight: 500;
  padding-left: 15px;
}

.mobile-projects a::before {
  background: linear-gradient(to right, #D6A559, #FABE56);
}

/* Hamburger Icon Animation */
.hamburger {
  cursor: pointer;
  transition: all 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
  color: #D6A559;
}

.hamburger:active {
  transform: scale(0.95);
}

/* Overlay for mobile drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  animation: fadeIn 0.3s ease-out;
}

/* ================= ADVANCED ANIMATIONS ================= */

/* Floating Animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Slide In from Left */
@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Slide In from Right */
@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Scale Bounce */
@keyframes scaleBounce {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Rotate In */
@keyframes rotateIn {
  from {
    transform: rotate(-180deg) scale(0);
    opacity: 0;
  }

  to {
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

/* Fade In Up */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Down */
@keyframes fadeInDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Zoom In Smooth */
@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Glow Effect */
@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 5px var(--primary-glow);
  }

  50% {
    box-shadow: 0 0 30px var(--primary), 0 0 50px var(--primary-glow);
  }
}

/* Heart Beat */
@keyframes heartBeat {

  0%,
  100% {
    transform: scale(1);
  }

  10%,
  30% {
    transform: scale(1.1);
  }

  20%,
  40% {
    transform: scale(0.95);
  }
}

/* Shake */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Enhanced Navbar Animation */
.navbar {
  animation: fadeInDown 0.8s ease-out;
}

/* Logo Animation */
.nav-logo img {
  animation: none;
}

/* Nav Links Stagger */
.nav-links a:nth-child(1) {
  animation: fadeInDown 0.6s ease-out 0.1s both;
}

.nav-links a:nth-child(2) {
  animation: fadeInDown 0.6s ease-out 0.2s both;
}

.nav-links a:nth-child(4) {
  animation: fadeInDown 0.6s ease-out 0.3s both;
}

.nav-links a:nth-child(5) {
  animation: fadeInDown 0.6s ease-out 0.4s both;
}

.projects-dropdown {
  animation: fadeInDown 0.6s ease-out 0.25s both;
}

/* Hero Content Enhanced */
.hero-content h1 {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content p {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta-wrapper {
  animation: fadeInUp 1s ease-out 0.7s both;
}

/* Unified animation speed for all buttons and CTA links */
/* Unified hover state without heartBeat fallback */
.btn:hover,
.btn-primary:hover,
.btn-glow:hover,
button:hover,
a.btn:hover {
  animation: none !important;
}

.btn {
  animation: none !important;
}

/* Feature Cards Advanced Hover */
.feature-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(214, 165, 89, 0.1),
      transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.feature-card:hover::after {
  animation: shimmer 1.5s infinite;
  opacity: 1;
}

/* Project Card 3D Effect */
.project-card {
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-icon {
  animation: none !important;
  transform: none !important;
}

/* Footer Social Icons */
.social-links a {
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Section Title Animations */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-main);
  transition: width 0.6s ease;
}

.section-title:hover::after {
  width: 100%;
}

/* Input Focus Animation */
input:focus,
textarea:focus,
select:focus {
  animation: glowPulse 1.5s ease-in-out infinite;
}

/* Trust Items Animation on Scroll */
.trust-item {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.trust-item:nth-child(1) {
  animation-delay: 0.1s;
}

.trust-item:nth-child(2) {
  animation-delay: 0.2s;
}

.trust-item:nth-child(3) {
  animation-delay: 0.3s;
}

.trust-item:nth-child(4) {
  animation-delay: 0.4s;
}

/* Enhanced Mobile Drawer Animation */
.mobile-drawer {
  animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-drawer.open {
  animation: slideInRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* List Items Stagger Animation */
.feature-card ul li {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.feature-card:hover ul li:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:hover ul li:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:hover ul li:nth-child(3) {
  animation-delay: 0.3s;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 3rem;
    animation: fadeInUp 1s ease-out 0.3s both;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-card,
  .project-card {
    transition: all 0.3s ease;
  }

  .feature-card:active,
  .project-card:active {
    transform: scale(0.98);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-cta-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
  }

  .btn:active {
    transform: scale(0.97);
  }

  /* Mobile Touch Animations */
  .feature-card:active {
    transform: scale(0.98);
    box-shadow: 0 5px 20px rgba(214, 165, 89, 0.2);
  }

  .project-card:active {
    transform: scale(0.98);
  }

  input:focus,
  textarea:focus,
  select:focus {
    transform: scale(1.01);
  }

  /* Ensure animations work on mobile */
  [data-aos] {
    transition-duration: 600ms !important;
  }

  .flagship-white .features-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flagship-white .feature-card {
    margin-bottom: 20px;
  }

  .trust-section {
    display: none;
  }

  .section-gold {
    display: block;
    padding: 20px;
  }

  .section-gold .container {
    max-width: 100%;
    margin: 0 auto;
  }

  .section-gold h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .section-gold p {
    font-size: 1rem;
    text-align: center;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    display: block;
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
  }

  .contact-form label {
    font-size: 1rem;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 1rem;
    padding: 10px;
  }

  .contact-form button {
    font-size: 1rem;
    padding: 12px;
  }

  .footer {
    cursor: default;
  }
}

/* ================= BUTTON BORDER OVERRIDES ================= */
/* Remove borders/outlines from all buttons and CTA links globally */
.btn,
.btn-primary,
.btn-outline,
.btn-glow,
button,
a.btn,
.project-card a,
.feature-card a {
  border: none !important;
  outline: none !important;
}

/* Also remove any focus rings that appear as borders */
.btn:focus,
button:focus,
a.btn:focus {
  box-shadow: none !important;
}