/* Global Styles */
:root {
  --primary-color: #000000;
  --secondary-color: #f5f5dc;
  --background-color: #ffffff;
  --text-color: #333333;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --container-width: 1200px;
  --beige-light: #f8f5f0;
  --beige-medium: #e9e2d5;
  --beige-dark: #e8e6d9;
  --beige-accent-1: #d8cdb3;
  --beige-accent-2: #c9bc96;
  --beige-accent-3: #b79f71;
  --gold-accent: #d5b96a;
  --beige-accent-1-rgb: 216, 205, 179;
  --beige-accent-3-rgb: 183, 159, 113;
  --gold-accent-rgb: 213, 185, 106;
  --modal-background: rgba(255, 255, 255, 0.97);
  --modal-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Reset all cursor styles to browser defaults */
* {
  cursor: auto !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px; /* Add padding for fixed navbar */
  background: linear-gradient(135deg, var(--beige-light) 0%, var(--background-color) 50%, var(--beige-medium) 100%);
  background-attachment: fixed;
  background-size: 200% 200%;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  /* margin: 0 auto;
  padding: 0 20px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
}

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

/* Updated Navbar Styles */
.navbar {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 200px;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* New Navbar Styles Based on Reference */
.navbar-new {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }
  
  .navbar-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-new {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    font-weight: normal;
    position: relative;
    display: inline-block;
    transition: all 0.5s ease;
    background: linear-gradient(to right, var(--primary-color), #444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.1);
    overflow: hidden;
  }
  
  .logo-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      120deg,
      transparent,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0),
      transparent
    );
    background-size: 200% 100%;
    animation: shine 5s linear infinite;
    transform: skewX(-25deg);
    transition: all 0.5s ease;
  }
  
  @keyframes shine {
    0% {
      left: -150%;
    }
    50% {
      left: 150%;
    }
    100% {
      left: 150%;
    }
  }
  
  .logo-new:hover {
    transform: translateY(-2px);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  }
  
  .logo-new::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--beige-medium) 50%, transparent);
    transform: scaleX(0.7);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.7;
  }
  
  .logo-new:hover::after {
    transform: scaleX(1);
    opacity: 1;
  }
  
  .nav-links-new {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  .nav-link-new {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.5px;
    padding: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
  }

.nav-links a {
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
  transform: translateY(-2px);
}

.nav-links li {
  margin-left: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease;
}

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

.registration-link {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    margin: 1rem 0;
  }
  
  .nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

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

.logo-animation {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

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

/* Original Navbar - Keeping for reference */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-color);
  padding: 20px 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.logo span {
  margin-right: 5px;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-link {
  margin: 0 15px;
  position: relative;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
}

.nav-btn {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 500;
  margin-left: 15px;
  transition: var(--transition);
}

.nav-btn:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f5ed 0%, #e9e2d5 50%, #d5b96a30 100%);
  box-shadow: 0 5px 25px rgba(213, 185, 106, 0.15);
  z-index: 2;
  height: 80vh;
}

/* Hero section doodles */
.hero-section .business-doodles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-section .doodle {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.8;
  animation: floatDoodle 15s infinite ease-in-out;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.hero-section .doodle.dollar {
  top: 15%;
  left: 10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d5b96a'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16z'/%3E%3C/svg%3E");
}

.hero-section .doodle.chart {
  top: 25%;
  right: 15%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b79f71'%3E%3Cpath d='M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z'/%3E%3C/svg%3E");
}

.hero-section .doodle.lightbulb {
  top: 60%;
  left: 20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d5b96a'%3E%3Cpath d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z'/%3E%3C/svg%3E");
}

.hero-section .doodle.briefcase {
  bottom: 20%;
  right: 25%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9bc96'%3E%3Cpath d='M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z'/%3E%3C/svg%3E");
}

.hero-section .doodle.handshake {
  top: 40%;
  left: 30%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b79f71'%3E%3Cpath d='M6.58 19h8v3h-8v-3zm13.16-7.4c-.19-.2-.45-.33-.73-.33-.25 0-.52.11-.7.29l-1.76 1.76c-.34.34-.87.39-1.25.11l-2.3-1.7 3.28-3.28 2.78 2.78c.19.2.51.21.7.01.19-.19.18-.5-.01-.7l-3.13-3.13c-.39-.39-1.03-.39-1.42 0l-5.8 5.8-2.78-2.8c-.2-.19-.51-.19-.71 0-.19.2-.19.51 0 .71l3.13 3.13c.39.39 1.03.39 1.42 0l5.8-5.8 2.28 2.28c.47.47 1.21.54 1.78.19l2.52-1.62c.29-.19.48-.53.47-.89 0-.34-.18-.66-.47-.86L18.5 5.5l2.8-2.8c.19-.19.2-.5.01-.7-.19-.19-.5-.19-.7 0l-4.72 4.72c-.39.39-.39 1.02 0 1.41l3.13 3.13c.2.2.21.51.01.71z'/%3E%3C/svg%3E");
}

.hero-section .doodle.coin {
  bottom: 30%;
  left: 15%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d5b96a'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5H10.9v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.6 0-2.23-.72-2.32-1.64H8.04c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42z'/%3E%3C/svg%3E");
}

.hero-section .doodle.document {
  top: 70%;
  right: 20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9bc96'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

.hero-section .doodle.trophy {
  bottom: 15%;
  left: 40%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d5b96a'%3E%3Cpath d='M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2zM7 10.82C5.84 10.4 5 9.3 5 8V7h2v3.82zM19 8c0 1.3-.84 2.4-2 2.82V7h2v1z'/%3E%3C/svg%3E");
}

/* New doodles */
.hero-section .doodle.graph {
  top: 10%;
  right: 30%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b79f71'%3E%3Cpath d='M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z'/%3E%3C/svg%3E");
}

.hero-section .doodle.target {
  top: 30%;
  left: 5%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d5b96a'%3E%3Cpath d='M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-3-8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z'/%3E%3C/svg%3E");
}

.hero-section .doodle.idea {
  bottom: 40%;
  right: 5%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d5b96a'%3E%3Cpath d='M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm0 16c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7zm1-11h-2v6h2V8zm0 8h-2v2h2v-2z'/%3E%3C/svg%3E");
}

.hero-section .doodle.rocket {
  top: 50%;
  right: 10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9bc96'%3E%3Cpath d='M12 2.02c-5.51 0-9.98 4.47-9.98 9.98s4.47 9.98 9.98 9.98 9.98-4.47 9.98-9.98S17.51 2.02 12 2.02zM11.48 20v-6.26H8L13 4v6.26h3.35L11.48 20z'/%3E%3C/svg%3E");
}

.hero-section .doodle.calendar {
  bottom: 10%;
  right: 45%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b79f71'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7v-5z'/%3E%3C/svg%3E");
}

.hero-section .doodle.growth {
  top: 15%;
  left: 45%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d5b96a'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z'/%3E%3C/svg%3E");
}

.hero-section .doodle.medal {
  bottom: 25%;
  left: 25%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d5b96a'%3E%3Cpath d='M20 2H4v2h16V2zM17.5 9c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-11 0c.83 0 1.5.67 1.5 1.5S7.33 12 6.5 12 5 11.33 5 10.5 5.67 9 6.5 9zM12 6c2.97 0 5.45 2.18 5.92 5.02L12 16l-5.92-4.98C6.55 8.18 9.03 6 12 6z'/%3E%3C/svg%3E");
}

.hero-section .doodle.megaphone {
  top: 35%;
  right: 35%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b79f71'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E");
}

@keyframes floatDoodle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
    opacity: 0.9;
  }
  50% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  75% {
    transform: translateY(15px) rotate(-5deg);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
}

/* Doodle animation variation */
.hero-section .doodle:nth-child(odd) {
  animation-duration: 12s;
}

.hero-section .doodle:nth-child(3n) {
  animation-duration: 18s;
  animation-delay: 2s;
}

.hero-section .doodle:nth-child(5n) {
  animation-duration: 15s;
  animation-delay: 1s;
}

@media (max-width: 768px) {
  .hero-section .doodle {
    width: 40px;
    height: 40px;
  }
  
  .hero-section .business-doodles {
    opacity: 0.85;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(2px);
}

/* Create a smooth transition between content and image */
.hero-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 250px;
  height: 100%;
  background: linear-gradient(90deg, #f8f5ed, rgba(232, 226, 213, 0.8), rgba(213, 185, 106, 0));
  z-index: 1;
  pointer-events: none;
}

/* Add a subtle overlay to the image to blend with background */
.showcase-item:first-child::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
                rgba(248, 245, 237, 0.2), 
                rgba(233, 226, 213, 0.1), 
                rgba(213, 185, 106, 0.05));
  z-index: 2;
  pointer-events: none;
  border-radius: 0 0 0 60px;
  box-shadow: inset 0 0 30px rgba(213, 185, 106, 0.2);
}

/* Adjust the image container for better blending */
.showcase-item:first-child {
  border-radius: 0 0 0 60px;
  overflow: hidden;
  border-left: 4px solid rgba(213, 185, 106, 0.3);
  border-bottom: 4px solid rgba(213, 185, 106, 0.3);
}

/* Add subtle shadow to create depth and blend */
.hero-container {
  position: relative;
}

.hero-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 40%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(213, 185, 106, 0.15) 0%, rgba(213, 185, 106, 0) 70%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero-content .headline-main {
  color: #111;
  background: linear-gradient(90deg, #222, #5a4712);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  animation: fadeUp 1.2s cubic-bezier(.6,.2,.1,1) 0.2s both;
  text-shadow: 1px 1px 1px rgba(213, 185, 106, 0.05);
}

.hero-content .headline-main::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #b79f71, #d5b96a, #e9e2d5, transparent);
  border-radius: 2px;
  margin-top: 10px;
  animation: underlineGrow 1.2s cubic-bezier(.6,.2,.1,1) 0.6s both;
  box-shadow: 0 2px 8px rgba(213, 185, 106, 0.3);
}

@keyframes underlineGrow {
  from { width: 0; opacity: 0; }
  to { width: 60px; opacity: 1; }
}

.hero-content .headline-intro,
.hero-content .headline-outro,
.hero-description {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(.6,.2,.1,1) 0.4s both;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-cta .primary-btn {
  background: linear-gradient(90deg, #b79f71, #ede7f6 60%, #d5b96a 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 24px #b79f7133, 0 0px 16px #ede7f6a0;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
  animation: fadeUp 1.2s cubic-bezier(.6,.2,.1,1) 0.7s both;
}

.hero-cta .primary-btn:hover {
  transform: scale(1.06);
  background: linear-gradient(90deg, #ede7f6, #b79f71 60%, #d5b96a 100%);
  box-shadow: 0 8px 32px #ede7f6a0, 0 8px 32px #b79f71a0;
}

.hero-showcase .showcase-item {
  height: 350px;
  width: 450px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(183, 159, 113, 0.10), 0 1.5px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  background: #fff;
  transform: translateY(40px) scale(0.98);
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(.6,.2,.1,1) both;
}

.hero-showcase .showcase-item:nth-child(1) { animation-delay: 0.8s; }
.hero-showcase .showcase-item:nth-child(2) { animation-delay: 1.0s; }
.hero-showcase .showcase-item:nth-child(3) { animation-delay: 1.2s; }

.hero-showcase .showcase-item:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 16px 48px rgba(183, 159, 113, 0.18), 0 2px 12px rgba(0,0,0,0.08);
  border: 2px solid #ede7f6;
}

.showcase-image {
 
  transition: transform 0.4s cubic-bezier(.6,.2,.1,1);
}

.hero-showcase .showcase-item:hover .showcase-image {
  transform: scale(1.07);
  filter: brightness(1.08) saturate(1.1) drop-shadow(0 0 12px #ede7f6aa);
}

/* Floating gold dots for luxury */
.hero-section::before {
  content: '';
  position: absolute;
  top: 10%; left: 5%;
  width: 100px; height: 100px;
  background: radial-gradient(circle, #d5b96a 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  animation: floatDot 8s ease-in-out infinite alternate;
  z-index: 0;
  filter: blur(2px);
}
@keyframes floatDot {
  0% { transform: translateY(0) scale(1);}
  100% { transform: translateY(30px) scale(1.1);}
}

/* Add a floating beige dot for extra color depth */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 12%; right: 8%;
  width: 70px; height: 70px;
  background: radial-gradient(circle, #e9e2d5 0%, transparent 70%);
  opacity: 0.25;
  border-radius: 50%;
  animation: floatDot2 10s ease-in-out infinite alternate;
  z-index: 0;
  filter: blur(1px);
}
@keyframes floatDot2 {
  0% { transform: translateY(0) scale(1);}
  100% { transform: translateY(-30px) scale(1.1);}
}

/* Responsive tweaks for luxury look */
@media (max-width: 992px) {
  .hero-content .headline-main { font-size: 2.5rem; }
  .hero-showcase .showcase-item { margin-bottom: 18px; }
}

.hero-container {
  position: relative;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 120px 0 60px;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: minmax(400px, 1fr) minmax(500px, 1.2fr);
    gap: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-profile {
  max-width: 600px;
}

.profile-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.profile-badge {
  
  font-size: 0.9rem;
  font-weight: 500;
  color: #111;
  background-color: #f0f0f0;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  display: inline-block;
  margin-top: 50px; /* Add top margin to move it down */
}

.profile-socials {
  display: flex;
  gap: 1rem;
}

.profile-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.profile-socials a:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-3px);
}

.hero-headline {
  margin-bottom: 1.5rem;
}

.headline-intro {
  font-size: 1.5rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 0.5rem;
}

.headline-main {
  font-size: 3.05rem;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
  width: 100%;
  display: block;
  overflow: hidden;
  max-width: none;
}

@media (max-width: 768px) {
  .headline-main {
    font-size: 0.85rem;
  }
}

.headline-accent {
  position: relative;
  display: inline-block;
  margin-left: 15px;
}

.accent-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #000;
  right: -20px;
  top: 15px;
  animation: pulse-dot 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

.headline-accent::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  right: -15px;
  top: 0;
  z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.3;
  }
}

.headline-outro {
  font-size: 1.5rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .headline-outro {
    font-size: 1.8rem;
  }
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-cta {
  margin-bottom: 2rem;
}

.hero-cta .primary-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #000;
}

.hero-cta .primary-btn:hover {
  background-color: transparent;
  color: #000;
}

/* Project showcase styles */
.hero-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .showcase-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  aspect-ratio: 4/3;
  background-color: #fff;
}

.showcase-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.showcase-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-image {
  transform: scale(1.05);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
  transform: translateY(0);
}

.showcase-overlay h3 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.showcase-tech {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Decorative elements */
.hero-decoration {
  position: absolute;
  z-index: 1;
}

.dot-grid {
  width: 100px;
  height: 100px;
  background-image: radial-gradient(#dedede 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.6;
}

.top-left {
  top: 5%;
  left: 2%;
}

.bottom-right {
  bottom: 5%;
  right: 2%;
}

.circle-outline {
  width: 200px;
  height: 200px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  bottom: -100px;
  left: 2%;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 40px;
    min-height: auto;
  }
  
  .hero-profile {
    margin-bottom: 2rem;
  }
  
  .dot-grid {
    width: 60px;
    height: 60px;
    z-index: 0;
  }
  
  .circle-outline {
    width: 120px;
    height: 120px;
    bottom: -60px;
    left: 2%;
    z-index: 0;
  }
}

/* Add your custom styles here */

.simple-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
  justify-items: center;
}

.simple-gallery-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  object-fit: cover;
}

/* Remove previous gallery/card/category styles */
.gallery-controls, .gallery-bg-elements, .gallery-masonry, .gallery-card, .gallery-filter, .gallery-view-toggle, .card-inner, .card-front, .card-back, .card-image, .card-overlay, .card-actions, .card-badge, .card-content, .back-to-front, .featured, .gallery-container {
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* About Section Styles */
.about-section {
  position: relative;
  padding: 120px 0;
  background-color: #fafafa;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(243, 226, 199, 0.1) 0%, rgba(223, 190, 140, 0.1) 100%);
  z-index: 0;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.about-column {
  position: relative;
}

/* Profile image styling */
.profile-frame {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.profile-image-rotate {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(-5deg);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
  background-color: #fff;
  padding: 10px;
}

.profile-image-rotate::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px dashed rgba(223, 190, 140, 0.6);
  border-radius: 12px;
  z-index: 0;
}

.profile-image-rotate:hover {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}

.profile-badge {
  position: absolute;
  right: -20px;
  bottom: 30px;
  background: linear-gradient(135deg, #e8d5b5 0%, #dfbe8c 100%);
  color: #333;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 100px;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.profile-badge span {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.profile-badge small {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Bio section styling */
.about-bio {
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.bio-highlight {
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #dfbe8c;
  margin-bottom: 8px;
  padding-left: 40px;
}

.bio-highlight::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: #dfbe8c;
}

.bio-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.bio-description {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

.bio-stats {
  display: flex;
  margin-bottom: 25px;
  gap: 30px;
}

.bio-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #dfbe8c;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.bio-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.bio-detail {
  display: flex;
  align-items: center;
}

.detail-label {
  font-weight: 600;
  color: #333;
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.detail-label i {
  color: #dfbe8c;
  margin-right: 8px;
  font-size: 14px;
}

.detail-value {
  color: #555;
}

.bio-cta {
  display: flex;
  gap: 15px;
}

.about-cta {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #e8d5b5 0%, #dfbe8c 100%);
  color: #333;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(223, 190, 140, 0.3);
}

.about-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(223, 190, 140, 0.4);
}

.download-cv {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: transparent;
  color: #333;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #dfbe8c;
}

.download-cv i {
  margin-right: 8px;
}

.download-cv:hover {
  background-color: rgba(223, 190, 140, 0.1);
  transform: translateY(-3px);
}

/* Skills section styling */
.skills-section, 
.experience-section {
  margin-bottom: 50px;
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 5px rgba(var(--beige-accent-3-rgb), 0); }
  50% { text-shadow: 0 0 15px rgba(var(--beige-accent-3-rgb), 0.5); }
  100% { text-shadow: 0 0 5px rgba(var(--beige-accent-3-rgb), 0); }
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  animation: titleGlow 3s ease-in-out infinite;
}

.details-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  padding-right: 15px;
}

.details-title::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #dfbe8c, transparent);
  border-radius: 3px;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: translateX(10px);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  font-weight: 600;
  color: #333;
}

.skill-percentage {
  color: #dfbe8c;
  font-weight: 700;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #dfbe8c, #e8d5b5);
  width: 0;
  animation: progressAnimation 1.5s cubic-bezier(0.17, 0.67, 0.83, 0.67) forwards;
  position: relative;
  box-shadow: 0 2px 5px rgba(223, 190, 140, 0.3);
}

@keyframes progressAnimation {
  from {
    width: 0;
  }
  to {
    width: var(--width);
  }
}

/* Timeline styling */
.timeline {
  position: relative;
  padding-left: 30px;
  margin-left: 10px;
  margin-top: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  height: calc(100% - 20px);
  width: 4px;
  background: linear-gradient(to bottom, #dfbe8c 0%, rgba(223, 190, 140, 0.3) 100%);
  border-radius: 4px;
}

.timeline-progress {
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #dfbe8c, #e8d5b5);
  z-index: 2;
  border-radius: 4px;
  transition: height 0.6s ease-out;
  box-shadow: 0 0 10px rgba(223, 190, 140, 0.5);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s ease;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 5px;
  width: 14px;
  height: 14px;
  background-color: #fff;
  border: 3px solid #dfbe8c;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(223, 190, 140, 0.2);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(223, 190, 140, 0.3);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(223, 190, 140, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(223, 190, 140, 0);
    transform: scale(1.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(223, 190, 140, 0);
    transform: scale(1);
  }
}

.timeline-date {
  font-size: 14px;
  font-weight: 600;
  color: #dfbe8c;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-right: 10px;
  transition: all 0.3s ease;
}

.timeline-date::before {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  width: 10px;
  height: 1px;
  background-color: #dfbe8c;
  transform: translateY(-50%);
}

.timeline-content {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
  border-left: 3px solid #dfbe8c;
  transform: perspective(1000px) rotateY(0deg);
}

.timeline-content::before {
  content: '';
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, transparent 70%, #f6f6f6 70%);
  z-index: 0;
  transition: all 0.3s ease;
}

.timeline-content:hover::before {
  background: linear-gradient(135deg, transparent 70%, #dfbe8c 70%);
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.timeline-content:hover h4 {
  letter-spacing: 1px;
}

.timeline-content h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #dfbe8c;
  transition: width 0.3s ease;
}

.timeline-content:hover h4::after {
  width: 100%;
}

.timeline-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 10px;
}

.timeline-content p:first-of-type {
  color: #888;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 12px;
  font-style: italic;
}

.timeline-content .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.timeline-content .tech-tag {
  background-color: #f5f5f5;
  color: #666;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item.animated .tech-tag {
  animation: slideUp 0.5s ease forwards;
}

.timeline-item.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Timeline decoration */
.timeline-decoration {
  position: absolute;
  z-index: 0;
  opacity: 0.6;
}

.timeline-deco-1 {
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  border: 3px dotted rgba(223, 190, 140, 0.3);
  border-radius: 50%;
}

.timeline-deco-2 {
  bottom: 40px;
  right: 40%;
  width: 60px;
  height: 60px;
  background-color: rgba(223, 190, 140, 0.1);
  border-radius: 50%;
}

.timeline-deco-3 {
  top: 40%;
  left: 5%;
  width: 40px;
  height: 40px;
  background: rgba(223, 190, 140, 0.2);
  transform: rotate(45deg);
}

/* Add a label to the most recent position */
.timeline-item:first-child .timeline-content::after {
  content: 'Current';
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(90deg, #dfbe8c, #e8d5b5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 20px 20px 20px 0;
  box-shadow: 0 5px 10px rgba(223, 190, 140, 0.3);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.timeline-item:first-child:hover .timeline-content::after {
  transform: translateY(-5px);
}

/* Interest section styling */
.interests-section {
  margin-top: 60px;
}

.interests-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.interest-item {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.interest-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.interest-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 213, 181, 0.2) 0%, rgba(223, 190, 140, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.interest-icon i {
  font-size: 28px;
  color: #dfbe8c;
}

.interest-item:hover .interest-icon {
  background: linear-gradient(135deg, #e8d5b5 0%, #dfbe8c 100%);
  transform: scale(1.1);
}

.interest-item:hover .interest-icon i {
  color: #fff;
}

.interest-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.interest-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .interests-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bio-details {
    grid-template-columns: 1fr;
  }
  
  .timeline-item {
    padding-left: 10px;
  }
  
  .profile-image-rotate {
    width: 280px;
    height: 280px;
  }
  
  .profile-badge {
    right: 0;
  }
}

@media (max-width: 576px) {
  .interests-container {
    grid-template-columns: 1fr;
  }
  
  .profile-image-rotate {
    width: 240px;
    height: 240px;
  }
  
  .bio-title {
    font-size: 22px;
  }
  
  .bio-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .bio-cta {
    flex-direction: column;
  }
}

/* Projects Section */
.projects-section {
  background: linear-gradient(135deg, #f9f7f0, #f3f0e8);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(var(--beige-accent-1-rgb), 0.15) 0%, transparent 70%);
  transform: rotate(-20deg);
  z-index: 0;
}

.project-decor {
  position: absolute;
  opacity: 0.2;
  z-index: 0;
}

.project-decor-1 {
  bottom: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
  border: 3px solid var(--beige-accent-3);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: floatAnimation 15s ease-in-out infinite;
}

.project-decor-2 {
  top: 15%;
  right: 8%;
  width: 100px;
  height: 100px;
  background-color: rgba(var(--gold-accent-rgb), 0.1);
  border-radius: 62% 38% 46% 54% / 60% 58% 42% 40%;
  animation: floatAnimation 12s ease-in-out infinite reverse;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  transform: translateY(0);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.project-card.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: calc(var(--item-index, 0) * 0.2s);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(var(--beige-accent-3-rgb), 0.2);
}

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

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-links {
  display: flex;
  gap: 20px;
}

.project-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-card:hover .project-link {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover .project-link:nth-child(1) {
  transition-delay: 0.1s;
}

.project-card:hover .project-link:nth-child(2) {
  transition-delay: 0.2s;
}

.project-link:hover {
  background: var(--beige-accent-3);
  color: white;
  transform: translateY(-5px);
}

.project-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 12px;
}

.project-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--beige-accent-3), var(--gold-accent));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.project-card:hover .project-title::after {
  width: 75px;
}

.project-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.project-tech .tech-tag {
  font-size: 0.8rem;
  padding: 5px 10px;
  background: var(--beige-light);
  color: var(--beige-accent-3);
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-tech .tech-tag:hover {
  background: var(--beige-accent-3);
  color: white;
  transform: translateY(-3px);
}

.view-more-container {
  text-align: center;
  margin-top: 60px;
}

.view-more-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--beige-accent-3), var(--gold-accent));
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(var(--beige-accent-3-rgb), 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.view-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-accent), var(--beige-accent-3));
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.view-more-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(var(--beige-accent-3-rgb), 0.4);
}

.view-more-btn:hover::before {
  opacity: 1;
}

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

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .project-image {
    height: 200px;
  }
}

/* Skills Section */
.skills {
  padding: 100px 0;
  background-color: #fafafa;
}

/* Images Section - Polaroid Style */
.images-section {
  padding: 100px 0;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
}

.images-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(245, 245, 220, 0.15), transparent 50%),
              radial-gradient(circle at bottom left, rgba(245, 245, 220, 0.15), transparent 50%);
  z-index: 1;
}

.images-section .section-container {
  position: relative;
  z-index: 2;
}

.images-section .section-title,
.images-section .section-subtitle {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.polaroid-container {
  margin-top: 50px;
  perspective: 2000px;
}

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
  margin: 0 auto;
  max-width: 1200px;
}

/* Polaroid Stack Effect */
.polaroid-card {
  perspective: 1500px;
  height: 370px;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.polaroid-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  transform-origin: center center;
}

.polaroid-card:nth-child(1) .polaroid-inner {
  transform: translateZ(0) rotateY(0) translateX(0);
}

.polaroid-card:nth-child(2) .polaroid-inner {
  transform: translateZ(-10px) rotateY(-2deg) translateX(-5px);
}

.polaroid-card:nth-child(3) .polaroid-inner {
  transform: translateZ(-20px) rotateY(2deg) translateX(5px);
}

.polaroid-card:nth-child(4) .polaroid-inner {
  transform: translateZ(-30px) rotateY(-1deg) translateX(-3px);
}

.polaroid-card:nth-child(5) .polaroid-inner {
  transform: translateZ(-40px) rotateY(1deg) translateX(3px);
}

.polaroid-card:nth-child(6) .polaroid-inner {
  transform: translateZ(-50px) rotateY(-1.5deg) translateX(-6px);
}

.polaroid-card:hover .polaroid-inner,
.polaroid-card.active .polaroid-inner {
  transform: rotateY(180deg) translateZ(0) !important;
}

.polaroid-front, .polaroid-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.polaroid-back {
  transform: rotateY(180deg);
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.polaroid-frame {
  background-color: white;
  padding: 15px 15px 40px 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.polaroid-card:nth-child(odd) .polaroid-frame {
  --rotation: -3deg;
}

.polaroid-card:nth-child(even) .polaroid-frame {
  --rotation: 3deg;
}

.polaroid-card:hover .polaroid-frame {
  transform: rotate(0);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.polaroid-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  margin-bottom: 15px;
  background-color: #333;
  position: relative;
}

.polaroid-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.polaroid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: saturate(0.8);
}

.polaroid-card:hover .polaroid-image img {
  transform: scale(1.05);
  filter: saturate(1.2);
}

.polaroid-caption {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  position: relative;
}

.polaroid-caption::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 40px;
  height: 1px;
  background-color: rgba(0,0,0,0.2);
  transform: translateX(-50%);
}

.polaroid-back-content {
  text-align: center;
  padding: 20px;
}

.polaroid-back-content h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #333;
  position: relative;
  display: inline-block;
}

.polaroid-back-content h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.polaroid-back-content p {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .polaroid-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
  }
  
  .polaroid-card {
    height: 320px;
  }
  
  .polaroid-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .polaroid-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  
  .polaroid-card {
    height: 280px;
  }
  
  .polaroid-image {
    height: 170px;
  }
  
  .polaroid-caption {
    font-size: 0.9rem;
  }
  
  .polaroid-frame {
    padding: 10px 10px 30px 10px;
  }
}

.skills-wrapper {
  margin-top: 40px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background-color: #fafafa;
}

.testimonials-container {
  max-width: 800px;
  margin: 40px auto 0;
}

.testimonial {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
  padding: 0 20px;
}

.testimonial-content p {
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: #666;
}

/* Contact & Registration Combined Section */
.contact-register-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--beige-light), #ffffff, var(--beige-medium));
    padding: 80px 0;
}

.contact-register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-register-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.contact-column, .register-column {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.contact-column {
    background: linear-gradient(145deg, var(--beige-light), var(--beige-medium));
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.register-column {
    background: linear-gradient(145deg, var(--beige-accent-1), var(--beige-accent-2));
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-divider {
    position: relative;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--beige-accent-3), transparent);
    margin: 0 15px;
}

.column-header {
    text-align: center;
    margin-bottom: 30px;
}

.column-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 3px;
}

.column-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 90%;
    margin: 0 auto;
}

/* Modified Contact Form - For Side by Side */
.contact-form {
    background: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.contact-form.submitted {
    opacity: 0.7;
    transform: translateY(-10px);
    pointer-events: none;
}

.success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    padding: 30px;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
}

/* Register Form - For Side by Side */
.register-form {
    background: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

/* Enhanced Form Inputs for Both Contact & Register */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #555;
}

.form-input-container {
    position: relative;
}

.form-input-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: all 0.3s ease;
    z-index: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 15px 15px 55px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--beige-accent-3);
    box-shadow: 0 0 0 2px rgba(196, 178, 142, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 15px;
}

.form-group textarea ~ i {
    top: 20px;
    transform: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--beige-accent-3), var(--gold-accent));
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Vector Icons Positioning for Combined Section */
.contact-vector-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-register-container {
        flex-direction: column;
    }
    
    .section-divider {
        width: 100%;
        height: 2px;
        margin: 15px 0;
        background: linear-gradient(to right, transparent, var(--beige-accent-3), transparent);
    }
    
    .contact-column, .register-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .column-title {
        font-size: 1.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 12px 12px 40px;
    }
    
    .submit-btn {
        padding: 12px 24px;
        width: 100%;
        justify-content: center;
    }
}

/* Other styles remain the same */

/* Footer */
.footer {
  background: linear-gradient(to bottom, var(--background-color), var(--beige-light));
  padding-top: 60px;
  position: relative;
}

.footer-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.footer-logo span {
  margin-right: 5px;
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.footer-divider {
  height: 1px;
  background-color: #eee;
  margin: 20px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.go-top {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.go-top:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

/* Resume Modal */
.resume-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: var(--background-color);
  width: 90%;
  max-width: 900px;
  height: 90%;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.modal-body {
  flex: 1;
  overflow: auto;
  padding: 20px;
}

.resume-options {
  display: flex;
  height: 100%;
  gap: 20px;
}

.resume-preview {
  flex: 2;
  height: 100%;
  min-height: 500px;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.resume-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.resume-actions {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resume-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.resume-btn:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.resume-share {
  margin-top: 30px;
}

.resume-share p {
  margin-bottom: 10px;
  font-weight: 500;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
}

.share-btn:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-title.animate-on-scroll {
  transform: translateY(30px);
  transition-delay: 0.1s;
}

.section-subtitle.animate-on-scroll {
  transform: translateY(30px);
  transition-delay: 0.2s;
}

.polaroid-card.animate-on-scroll {
  transition-delay: calc(0.1s * var(--index, 0));
}

.polaroid-card:nth-child(1) { --index: 1; }
.polaroid-card:nth-child(2) { --index: 2; }
.polaroid-card:nth-child(3) { --index: 3; }
.polaroid-card:nth-child(4) { --index: 4; }
.polaroid-card:nth-child(5) { --index: 5; }
.polaroid-card:nth-child(6) { --index: 6; }

/* Selection styles */
::selection {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Hover effects for buttons and interactive elements */
.social-icons a {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

/* Improved form styles */
.form-group input,
.form-group textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  padding: 15px;
  border-radius: 8px;
}

.form-group textarea {
  min-height: 150px;
}

/* Final polaroid card adjustments */
.polaroid-inner {
  will-change: transform;
}

.polaroid-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.polaroid-card:hover {
  transform: translateY(-10px);
}

/* Registration Section */
.register-section {
  padding: 100px 0;
  background: linear-gradient(to top, var(--beige-light), var(--background-color));
  position: relative;
}

.register-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, var(--beige-medium) 0%, transparent 70%);
  opacity: 0.2;
  z-index: 0;
}

/* Remove the floating animation */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.navbar-container .logo-new {
  animation: none;
}

.form-input-container.focused i {
    color: var(--beige-accent-3);
}

.form-group.focused label {
    color: var(--beige-accent-3);
    font-weight: 600;
}

.form-group.error .form-input-container i {
    color: #ff5555;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ff5555;
    box-shadow: 0 0 0 2px rgba(255, 85, 85, 0.1);
}

.form-group.error label {
    color: #ff5555;
}

.form-group.filled .form-input-container i {
    color: #48a049;
}

.error-message {
    font-size: 0.8rem;
    color: #ff5555;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section Animations */
.profile-image-rotate,
.timeline-item,
.skill-item,
.interest-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.profile-image-rotate.animated {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.animated {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--item-index, 0) * 0.2s);
}

.skill-item.animated {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--item-index, 0) * 0.15s);
}

.interest-item.animated {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--item-index, 0) * 0.1s);
}

/* About Section Title Enhancement */
.about-section .section-title {
  position: relative;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.05);
}

.about-section .section-title .highlight {
  position: relative;
  display: inline-block;
}

.about-section .section-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--beige-accent-3), var(--gold-accent), var(--beige-accent-3));
  background-size: 200% 100%;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Timeline progress indicator */
.timeline-progress {
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #dfbe8c, #e8d5b5);
  z-index: 2;
  border-radius: 4px;
  transition: height 0.6s ease-out;
  box-shadow: 0 0 10px rgba(223, 190, 140, 0.5);
}

/* Pulse animation for timeline dots */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(223, 190, 140, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(223, 190, 140, 0);
    transform: scale(1.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(223, 190, 140, 0);
    transform: scale(1);
  }
}

/* Tech tag reveal animation */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial state for tech tags */
.timeline-content .tech-tag {
  opacity: 0;
  transform: translateY(20px);
}

/* Animate tech tags when timeline items become visible */
.timeline-item.animated .tech-tag {
  animation: slideUp 0.5s ease forwards;
}

/* Animate title bottom border on hover */
.timeline-content:hover h4::after {
  width: 100%;
}

/* Enhance timeline line gradient */
.timeline::before {
  background: linear-gradient(to bottom, #dfbe8c 0%, rgba(223, 190, 140, 0.3) 100%);
}

/* Add a "Current" indicator ribbon to the most recent position */
.timeline-item:first-child .timeline-content::after {
  content: 'Current';
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(90deg, #dfbe8c, #e8d5b5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 20px 20px 20px 0;
  box-shadow: 0 5px 10px rgba(223, 190, 140, 0.3);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.timeline-item:first-child:hover .timeline-content::after {
  transform: translateY(-5px);
}

/* Letter spacing animation for titles */
.timeline-content h4 {
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.timeline-content:hover h4 {
  letter-spacing: 1px;
}

/* Float animation for decorative elements */
@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Initial states for animated elements */
.headline-main {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.showcase-item {
  opacity: 0;
  transform: translateY(30px);
}

.hero-decoration {
  opacity: 0;
  transition: opacity 1s ease;
}

.showcase-inner {
  transition: transform 0.3s ease;
}

/* Improved typography styling */
.headline-intro, .headline-outro {
  color: #333;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

.headline-main {
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  color: #111;
}

/* Text selection styling */
::selection {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000;
}

/* Custom scrollbar for modern browsers */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Enhanced mobile adjustments */
@media (max-width: 576px) {
  .hero-container {
    padding: 100px 0 40px;
  }
  
  .headline-intro, .headline-outro {
    font-size: 1.3rem;
  }
  
  .headline-main {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .profile-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .showcase-row {
    grid-template-columns: 1fr;
  }
  
  .showcase-item {
    aspect-ratio: 3/2;
  }
}

/* Expertise Section Styles */
.expertise-section {
  margin-bottom: 2rem;
}

.expertise-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .expertise-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.expertise-item {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.expertise-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold-color), var(--accent-color));
  transition: all 0.3s ease;
}

.expertise-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.expertise-item:hover::before {
  width: 8px;
}

.expertise-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--accent-color);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.expertise-item:hover .expertise-icon {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1);
}

.expertise-content {
  flex-grow: 1;
}

.expertise-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.expertise-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Update Bio Styles for Business Focus */
.bio-title {
  color: var(--text-dark);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  position: relative;
}

.bio-highlight::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--gold-color), var(--accent-color));
  bottom: -8px;
  left: 0;
}

/* Achievements Section (former timeline) adjustments */
.achievements-section .timeline-item .timeline-content h4 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  position: relative;
  letter-spacing: 0.5px;
}

.achievements-section .timeline-item .timeline-content p {
  line-height: 1.5;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.achievements-section .timeline-item:first-child .timeline-content::after {
  content: 'Latest';
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  border-radius: 3px;
  transform: rotate(12deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 1;
}

/* Make the timeline more elegant for business achievements */
.timeline-dot {
  width: 18px;
  height: 18px;
  background: linear-gradient(to bottom right, var(--gold-color), var(--accent-color));
  border: 3px solid var(--bg-light);
  box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.1);
}

.timeline::before {
  background: linear-gradient(to bottom, var(--gold-color), var(--accent-color), rgba(var(--accent-color-rgb), 0.2));
}

.timeline-item:hover .timeline-dot {
  animation: pulse 1.5s ease-in-out infinite;
  background: var(--gold-color);
}

/* Interest section updates for a more professional look */
.interests-section {
  margin-top: 3rem;
}

.interest-item {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.interest-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.interest-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--accent-color);
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.interest-item:hover .interest-icon {
  background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
  color: white;
  transform: scale(1.1) rotate(10deg);
}

/* Update CTA button for business context */
.about-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(to right, var(--accent-color), var(--gold-color));
  color: white;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--gold-color), var(--accent-color));
  transition: transform 0.5s ease;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
}

.about-cta:hover {
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

.about-cta:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .expertise-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bio-title {
    font-size: 1.5rem;
  }
  
  .expertise-item {
    padding: 1.25rem;
  }
  
  .expertise-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .interest-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .interest-item h4 {
    font-size: 1rem;
  }
}

/* Add styling for select elements in forms */
.form-input-container select {
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.form-input-container select:focus {
  color: var(--accent-color);
}

.form-input-container select option {
  background: white;
  color: var(--text-dark);
  padding: 10px;
}

/* Add dropdown arrow indicator for select elements */
.form-input-container:has(select)::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  font-size: 0.7rem;
  pointer-events: none;
}

/* Promotional Modal Styles */
.promo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
}

.promo-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.promo-modal {
  width: 92%;
  max-width: 420px;
  background: var(--modal-background);
  border-radius: 12px;
  box-shadow: var(--modal-shadow);
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid rgba(var(--beige-accent-3-rgb), 0.2);
  position: relative;
}

.promo-modal-overlay.active .promo-modal {
  transform: scale(1) translateY(0);
}

.promo-modal-content {
  padding: 35px 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--beige-accent-3), var(--gold-accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
  box-shadow: 0 10px 20px rgba(var(--beige-accent-3-rgb), 0.3);
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.promo-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.promo-message {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #444;
  padding: 0 5px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.promo-description {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #666;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

.promo-highlight {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  padding: 2px 6px;
  background: linear-gradient(to right, var(--beige-accent-1), var(--beige-light));
  border-radius: 4px;
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.promo-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  position: relative;
  z-index: 2;
}

.promo-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.promo-btn.primary-action {
  background: linear-gradient(to right, var(--primary-color), #333);
  color: white;
  border: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.promo-btn.close-modal {
  background: transparent;
  color: #555;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.promo-btn.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.promo-btn.close-modal:hover {
  background: rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .promo-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .promo-btn {
    min-width: 130px;
  }
}

/* Sparkle Effect */
.sparkle-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.7;
}

.sparkle-effect::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.2) 100%);
  animation: sparkleRotate 15s linear infinite;
}

.sparkle-effect::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 3%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 2%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 3%),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 2%),
    radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 2%);
}

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

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

/* Redesigned Connect With Me Section */
.connect-section {
  position: relative;
  padding: 6rem 0;
  background-color: var(--beige-light);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, var(--beige-light) 100%);
  overflow: hidden;
}

/* Background elements styling */
.connect-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.connect-shape {
  position: absolute;
  opacity: 0.05;
}

.shape-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--beige-accent-3);
  top: -150px;
  right: -100px;
}

.shape-dots {
  width: 200px;
  height: 200px;
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
  background-size: 20px 20px;
  bottom: 50px;
  left: -50px;
}

.shape-line {
  width: 100px;
  height: 3px;
  background: var(--primary-color);
  bottom: 120px;
  right: 15%;
  transform: rotate(-45deg);
}

.shape-wave {
  width: 400px;
  height: 100px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    var(--beige-accent-2) 10px,
    var(--beige-accent-2) 20px
  );
  top: 100px;
  left: 10%;
  opacity: 0.03;
  transform: rotate(15deg);
}

/* Main container for the connect cards */
.connect-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

/* Connect Card Styling */
.connect-card {
  grid-column: span 6;
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.connect-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.connect-card-header {
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  padding: 30px 25px;
  color: white;
  text-align: center;
  position: relative;
}

.connect-card-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 30px;
  height: 30px;
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  transform: translateX(-50%) rotate(45deg);
  z-index: 0;
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.connect-card:hover .card-icon {
  transform: scale(1.1) translateY(-5px);
}

.connect-card-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.connect-card-header p {
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 300px;
  margin: 0 auto;
}

/* Connect Form Styling */
.connect-form {
  padding: 40px 25px 30px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #f7f7f7;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.input-with-icon:focus-within {
  border-color: var(--beige-accent-3);
  box-shadow: 0 0 0 3px rgba(var(--beige-accent-3-rgb), 0.1);
  background-color: white;
}

.input-with-icon i {
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  color: #777;
  transition: color 0.3s ease;
}

.input-with-icon:focus-within i {
  color: var(--beige-accent-3);
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 0.95rem;
  background: transparent;
  color: #333;
  width: 100%;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
  outline: none;
}

.textarea-container {
  min-height: 120px;
}

.textarea-container i {
  align-self: flex-start;
  padding-top: 15px;
}

.textarea-container textarea {
  height: 120px;
  resize: none;
}

/* Connect Button Styling */
.connect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.connect-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--gold-accent), var(--beige-accent-3));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 15px rgba(var(--beige-accent-3-rgb), 0.3);
}

.connect-btn:hover::before {
  opacity: 1;
}

.connect-btn span {
  margin-right: 10px;
}

/* Connect Perks Styling */
.connect-perks {
  display: flex;
  flex-wrap: wrap;
  margin: 15px 0 20px;
  gap: 10px;
}

.perk-item {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  margin-right: 15px;
  color: #666;
}

.perk-item i {
  color: var(--beige-accent-3);
  margin-right: 5px;
  font-size: 0.9rem;
}

/* Success Message Styling */
.success-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  border-radius: 16px;
}

.success-message.show {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 32px;
  color: white;
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-30px);}
  60% {transform: translateY(-15px);}
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.success-message p {
  color: #666;
  margin-bottom: 25px;
  max-width: 80%;
  line-height: 1.6;
}

.back-btn {
  background: transparent;
  border: 2px solid var(--beige-accent-3);
  color: var(--beige-accent-3);
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: var(--beige-accent-3);
  color: white;
}

/* ===== Gallery Section Styles ===== */
/* Enhanced Gallery Section */
@keyframes gradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gallery-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(247,247,247,1) 35%, rgba(240,240,240,1) 100%);
  background-size: 400% 400%;
  animation: gradientBg 15s ease infinite;
  perspective: 1000px;
}

/* Gallery Background Elements */
.gallery-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.7;
}

.gallery-shape {
  position: absolute;
  opacity: 0.4;
}

.gallery-shape.shape-circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--beige-accent-3-rgb), 0.2) 0%, rgba(var(--beige-accent-3-rgb), 0) 70%);
  top: 10%;
  right: 5%;
  animation: float 8s ease-in-out infinite, pulse 5s ease-in-out infinite alternate;
  filter: blur(2px);
}

@keyframes pulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.4; }
  50% { transform: scale(1.1) rotate(5deg); opacity: 0.7; }
  100% { transform: scale(1) rotate(0deg); opacity: 0.4; }
}

.gallery-shape.shape-dots {
  width: 180px;
  height: 180px;
  background-image: radial-gradient(var(--gold-accent) 1px, transparent 1px);
  background-size: 20px 20px;
  top: 60%;
  left: 5%;
  animation: float 10s ease-in-out infinite alternate;
}

.gallery-shape.shape-square {
  width: 120px;
  height: 120px;
  background: rgba(var(--beige-accent-3-rgb), 0.1);
  border: 2px solid rgba(var(--beige-accent-3-rgb), 0.2);
  bottom: 15%;
  right: 15%;
  transform: rotate(25deg);
  animation: rotate 20s linear infinite;
}

.gallery-shape.shape-triangle {
  width: 0;
  height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 120px solid rgba(var(--gold-accent-rgb), 0.1);
  top: 20%;
  left: 15%;
  animation: float 12s ease-in-out infinite;
}

/* Simple Image Containers Styling */
.image-containers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
  perspective: 1000px;
}

.image-container {
  height: 280px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  background: white;
  overflow: hidden;
  position: relative;
}

.image-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Paranoid (perspective) animation for containers */
@keyframes paranoidFloat {
  0% { transform: translateZ(0) rotateX(0) rotateY(0); }
  25% { transform: translateZ(10px) rotateX(2deg) rotateY(-2deg); }
  50% { transform: translateZ(5px) rotateX(-1deg) rotateY(1deg); }
  75% { transform: translateZ(15px) rotateX(2deg) rotateY(2deg); }
  100% { transform: translateZ(0) rotateX(0) rotateY(0); }
}

.image-frame {
  width: 100%;
  height: 85%;
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0 0;
  transform-style: preserve-3d;
}

.gallery-card:hover .card-inner {
  animation-play-state: paused;
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.card-front {
  background-color: var(--beige-light);
  color: var(--text-color);
}

.card-back {
  background-color: white;
  color: var(--text-color);
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.image-container:hover .image-frame img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  padding: 20px;
  color: white;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.card-title {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.gallery-card:hover .card-title {
  transform: translateY(-5px);
}

.card-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.card-action-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-action-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.flip-btn:focus {
  outline: none;
}

.flip-btn:focus + .card-inner {
  transform: rotateY(180deg);
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-meta {
  font-size: 12px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.card-description {
  font-size: 14px;
  line-height: 1.4;
  margin-top: 10px;
}

.flip-back-btn {
  margin-top: 15px;
  padding: 8px 15px;
  background: var(--beige-accent-1);
  color: var(--text-color);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  align-self: center;
}

.flip-back-btn:hover {
  background: var(--beige-accent-3);
  color: white;
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, var(--gold-accent), var(--beige-accent-3));
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* JavaScript-like functionality with CSS */
.gallery-card:focus-within .card-inner {
  transform: rotateY(180deg);
}

/* Gallery Lightbox/Image Container Styles */
.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

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

.lightbox-content {
  position: relative;
  width: 80%;
  max-width: 1200px;
  height: 80%;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  border: 5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
  transition: transform 0.3s ease;
}

.lightbox-image.zoomed {
  transform: scale(1.5);
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
  color: white;
  font-size: 18px;
  padding: 15px 0;
  text-align: center;
  width: 100%;
  animation: slideUp 0.3s ease;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  position: absolute;
  bottom: 0;
  left: 0;
}

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

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 10px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
}

.lightbox-close:hover {
  color: var(--gold-accent);
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.gallery-lightbox.active {
  display: block;
}

/* When lightbox is open, prevent scrolling */
body.lightbox-open {
  overflow: hidden;
}

/* Image container caption */
.image-caption {
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
  background: white;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all 0.3s ease;
}

.image-container:hover .image-caption {
  background: var(--beige-accent-1);
  color: var(--text-color);
  transform: translateY(-5px);
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .image-containers-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
  }
  
  .image-container {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .gallery-cards-container {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Gallery Controls */
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--beige-accent-3-rgb), 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(var(--beige-accent-3-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--beige-accent-3-rgb), 0); }
}

.filter-btn {
  padding: 10px 22px;
  background: white;
  border: 1px solid #eee;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(var(--beige-accent-3-rgb), 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  z-index: -1;
}

.filter-btn:hover::before {
  width: 300%;
  height: 300%;
}

.filter-btn.active {
  animation: btnPulse 2s infinite;
}

.filter-btn:hover {
  background: rgba(var(--beige-accent-3-rgb), 0.1);
  border-color: rgba(var(--beige-accent-3-rgb), 0.3);
  color: var(--beige-accent-3);
}

.filter-btn.active {
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(var(--beige-accent-3-rgb), 0.3);
}

.gallery-view-toggle {
  display: flex;
  gap: 10px;
}

.view-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  background: white;
  color: #777;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.view-btn:hover {
  color: var(--beige-accent-3);
  border-color: rgba(var(--beige-accent-3-rgb), 0.3);
}

.view-btn.active {
  background: var(--beige-accent-3);
  color: white;
  border-color: transparent;
}

/* Gallery Container */
.gallery-container {
  position: relative;
  margin: 20px 0;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

/* Ensure grid layout maintains rectangular consistency */
.gallery-masonry.grid-view {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Gallery Card Styles */
@keyframes cardEntrance {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes cardGlow {
  0% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 15px 40px rgba(var(--beige-accent-3-rgb), 0.3); }
  100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
}

.gallery-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 450px;
  perspective: 1000px;
  transform-style: preserve-3d;
  width: 100%;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  display: flex;
}

.gallery-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, rgba(var(--beige-accent-3-rgb), 0), rgba(var(--beige-accent-3-rgb), 0.3), rgba(var(--gold-accent-rgb), 0.3), rgba(var(--gold-accent-rgb), 0));
  z-index: -1;
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-card:hover::before {
  opacity: 1;
  animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

.gallery-card.featured {
  grid-column: span 2;
}

/* Ensure featured cards maintain the same aspect ratio */
.gallery-card.featured .card-image {
  padding-bottom: 133.33%; /* Consistent 3:4 aspect ratio */
  height: 0;
  width: 100%;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  flex: 1;
  display: flex;
}

@keyframes flipEffect {
  0% { transform: rotateY(0); }
  100% { transform: rotateY(180deg); }
}

.gallery-card:hover .card-inner,
.gallery-card.flipped .card-inner {
  transform: rotateY(180deg);
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: flipEffect 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.card-front, 
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-front::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
}

.gallery-card:hover .card-front::after {
  transform: translateX(100%);
  transition: transform 0.8s ease;
}

.card-front {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-back {
  background: white;
  transform: rotateY(180deg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  flex: 1;
}

.card-back::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23dddddd' fill-opacity='0.2' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.2;
  z-index: 0;
}

.card-content {
  position: relative;
  z-index: 1;
}

.card-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5; /* Background color while image loads */
}

.card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--beige-accent-3-rgb), 0.2) 0%, rgba(var(--gold-accent-rgb), 0.2) 100%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
  mix-blend-mode: overlay;
}

.gallery-card:hover .card-image::before {
  opacity: 1;
}

.card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: all 0.5s ease;
  filter: saturate(1.1);
}

.gallery-card:hover .card-image img {
  transform: scale(1.1);
  filter: saturate(1.3) brightness(1.05) contrast(1.05);
  animation: kenBurns 10s ease infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0) rotate(0deg); }
  33% { transform: scale(1.1) translate(-1%, -1%) rotate(0.5deg); }
  66% { transform: scale(1.08) translate(1%, -1%) rotate(-0.5deg); }
  100% { transform: scale(1) translate(0, 0) rotate(0deg); }
}

@keyframes imageZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.gallery-card:hover .card-image img {
  animation: kenBurns 10s ease infinite alternate;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.card-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-card:hover .card-overlay::before {
  opacity: 1;
}

.gallery-card:hover .card-overlay {
  opacity: 1;
  backdrop-filter: blur(2px);
}

@keyframes overlayReveal {
  0% { opacity: 0; backdrop-filter: blur(0); }
  100% { opacity: 1; backdrop-filter: blur(2px); }
}

.gallery-card:hover .card-overlay {
  opacity: 1;
  animation: overlayReveal 0.3s ease forwards;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
}

@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--beige-accent-3-rgb), 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(var(--beige-accent-3-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--beige-accent-3-rgb), 0); }
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  animation: badgePulse 2s infinite;
  transform: translateZ(50px);
  z-index: 10;
  backdrop-filter: blur(4px);
}

.card-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

@keyframes buttonPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes floatButton {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.card-action-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
}

.gallery-card:hover .card-action-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--btn-index, 0) * 0.1s);
}

.gallery-card:hover .card-action-btn:nth-child(1) {
  --btn-index: 1;
}

.gallery-card:hover .card-action-btn:nth-child(2) {
  --btn-index: 2;
}

.card-action-btn:hover {
  animation: floatButton 2s ease infinite;
  background: linear-gradient(135deg, var(--beige-accent-3), var(--gold-accent));
  color: white;
  box-shadow: 0 8px 20px rgba(var(--beige-accent-3-rgb), 0.4);
}

.gallery-card:hover .card-action-btn:nth-child(1) {
  --btn-index: 1;
}

.gallery-card:hover .card-action-btn:nth-child(2) {
  --btn-index: 2;
}

.card-action-btn:hover {
  background: var(--beige-accent-3);
  color: white;
  transform: translateY(-3px);
}

/* Card Back Content */
.card-content {
  text-align: left;
}

.card-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  background: linear-gradient(to right, #333, #000);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.gallery-card:hover .card-content h3 {
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transform: translateY(-2px);
}

.card-content h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
}

.card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #777;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 4px 0;
  border-radius: 4px;
}

.card-meta:hover {
  transform: translateX(5px);
  color: var(--beige-accent-3);
  background: rgba(var(--beige-accent-3-rgb), 0.05);
  padding-left: 8px;
}

.card-meta i {
  transition: transform 0.3s ease;
}

.card-meta:hover i {
  transform: scale(1.2);
}

.card-meta i {
  color: var(--beige-accent-3);
  margin-right: 8px;
  font-size: 0.95rem;
}

.card-description {
  margin: 15px 0;
  line-height: 1.6;
  color: #555;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  perspective: 100px;
}

@keyframes tagFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.card-tags span {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-tags span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.card-tags span:hover {
  color: white;
  transform: translateY(-2px);
  animation: tagFloat 2s ease infinite;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.card-tags span:hover::before {
  opacity: 1;
}

.card-tags span {
  font-size: 0.8rem;
  padding: 5px 12px;
  background: #f7f7f7;
  border-radius: 5px;
  color: #666;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.back-to-front {
  margin-top: 20px;
  align-self: flex-start;
  padding: 10px 18px;
  border: none;
  background: rgba(var(--beige-accent-3-rgb), 0.1);
  color: var(--beige-accent-3);
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.back-to-front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.back-to-front:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--beige-accent-3-rgb), 0.3);
}

.back-to-front:hover::before {
  opacity: 1;
}

.back-to-front i {
  transition: transform 0.3s ease;
}

.back-to-front:hover i {
  transform: translateX(-3px);
}

.back-to-front:hover {
  background: rgba(var(--beige-accent-3-rgb), 0.2);
}

/* Lightbox Styling */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

@keyframes lightboxReveal {
  0% { opacity: 0; visibility: visible; backdrop-filter: blur(0); }
  100% { opacity: 1; visibility: visible; backdrop-filter: blur(5px); }
}

.gallery-lightbox.active {
  animation: lightboxReveal 0.5s forwards;
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  color: var(--beige-accent-3);
  transform: scale(1.1);
}

.lightbox-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.lightbox-caption {
  color: white;
  margin-top: 20px;
  font-size: 1.1rem;
  text-align: center;
  width: 100%;
}

.lightbox-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(var(--beige-accent-3-rgb), 0.8);
  transform: scale(1.1);
}

/* Gallery Footer */
.gallery-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.gallery-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: white;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  color: var(--beige-accent-3);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.gallery-cta:hover {
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(var(--beige-accent-3-rgb), 0.3);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .gallery-masonry {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .gallery-card.featured {
    grid-column: auto;
  }
  
  .gallery-card {
    height: 400px;
  }
  
  /* Maintain aspect ratio on smaller screens */
  .card-image,
  .gallery-card.featured .card-image {
    height: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .gallery-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .gallery-filter {
    width: 100%;
    justify-content: center;
  }
  
  .gallery-view-toggle {
    align-self: center;
  }
  
  .gallery-masonry {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .gallery-card {
    height: 350px;
  }
  
  /* Ensure images display correctly on mobile */
  .card-image img {
    object-position: center;
  }
}

@media screen and (max-width: 576px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
  
  .lightbox-content {
    width: 95%;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Connect Info Card Styling */
.connect-info-card {
  grid-column: span 12;
  background: linear-gradient(135deg, #fff 0%, var(--beige-light) 100%);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  padding: 40px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.connect-info-header {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 20px;
}

.connect-info-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: 600;
}

.connect-info-header p {
  color: #666;
  font-size: 1rem;
}

.connect-info-content {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.connect-info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--beige-accent-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  flex-shrink: 0;
}

.info-details h4 {
  font-weight: 600;
  margin-bottom: 5px;
  color: #444;
}

.info-details p, .info-details a {
  color: #666;
  transition: color 0.3s ease;
}

.info-details a:hover {
  color: var(--beige-accent-3);
}

.connect-social {
  grid-column: 3;
}

.connect-social h4 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #444;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--beige-accent-3);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.connect-cta {
  grid-column: 1 / -1;
  margin-top: 20px;
  text-align: center;
}

.connect-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  background: linear-gradient(to right, var(--beige-accent-3), var(--gold-accent));
  border-radius: 8px;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.connect-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.connect-cta-btn span {
  margin-right: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .connect-container {
    display: flex;
    flex-direction: column;
  }
  
  .connect-card, .connect-info-card {
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .connect-info-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  
  .connect-info-content {
    grid-column: 1;
  }
  
  .connect-social {
    grid-column: 1;
    margin-top: 20px;
  }
}

.info-details a.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.info-details a.contact-link:hover {
  color: var(--beige-accent-3);
}

.info-details a.contact-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--beige-accent-3);
  transition: width 0.3s ease;
}

.info-details a.contact-link:hover::after {
  width: 100%;
}

/* Add touch-friendly styles for mobile */
@media (max-width: 768px) {
  .info-details a.contact-link {
    padding: 8px 0;
    display: inline-block;
  }
  
  .info-details a.contact-link:active {
    color: var(--beige-accent-3);
  }
}

#typewriter::after {
  content: '|';
  animation: blink 1s infinite;
  color: #111;
  font-weight: bold;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
} 

/* Blend hero and about sections with a soft wave divider */
.section-divider-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  width: 100%;
  z-index: 2;
  background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 1440 60" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0H1440V60C960 40 480 40 0 60V0Z" fill="%23ede7f6"/></svg>') no-repeat center bottom/cover;
  pointer-events: none;
}

.hero-section {
  position: relative;
  z-index: 2;
}

.about-section {
  background: linear-gradient(180deg, #ede7f6 0%, #f8f5f0 100%);
  position: relative;
  z-index: 1;
}

/* Add styles at the end of the file */

/* Enhanced Connect Section Styles */
.connect-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--beige-accent-3-rgb), 0.2), rgba(var(--gold-accent-rgb), 0.1));
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 15px rgba(var(--beige-accent-rgb), 0.15);
  animation: float-bubble 20s linear infinite;
  z-index: -1;
}

.bubble-1 {
  width: 120px;
  height: 120px;
  left: 5%;
  top: 10%;
  animation-duration: 25s;
  animation-delay: 0s;
  opacity: 0.5;
}

.bubble-2 {
  width: 80px;
  height: 80px;
  left: 15%;
  top: 40%;
  animation-duration: 18s;
  animation-delay: 1s;
  opacity: 0.6;
}

.bubble-3 {
  width: 60px;
  height: 60px;
  right: 20%;
  top: 15%;
  animation-duration: 22s;
  animation-delay: 2s;
  opacity: 0.4;
}

.bubble-4 {
  width: 100px;
  height: 100px;
  right: 10%;
  top: 30%;
  animation-duration: 16s;
  animation-delay: 3s;
  opacity: 0.5;
}

.bubble-5 {
  width: 70px;
  height: 70px;
  left: 30%;
  bottom: 15%;
  animation-duration: 20s;
  animation-delay: 4s;
  opacity: 0.7;
}

.bubble-6 {
  width: 50px;
  height: 50px;
  right: 25%;
  bottom: 25%;
  animation-duration: 15s;
  animation-delay: 5s;
  opacity: 0.6;
}

.bubble-7 {
  width: 90px;
  height: 90px;
  left: 40%;
  top: 60%;
  animation-duration: 23s;
  animation-delay: 1.5s;
  opacity: 0.4;
}

.bubble-8 {
  width: 65px;
  height: 65px;
  right: 35%;
  top: 70%;
  animation-duration: 19s;
  animation-delay: 2.5s;
  opacity: 0.5;
}

@keyframes float-bubble {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(5px, -15px) rotate(5deg);
  }
  50% {
    transform: translate(-5px, -25px) rotate(-5deg);
  }
  75% {
    transform: translate(10px, -10px) rotate(3deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Update for centered and enhanced form */
.connect-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.connect-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.section-form-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.section-form-header h3 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.section-form-header h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  animation: glitter 3s infinite;
}

.section-form-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
}

.connect-card {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.connect-card::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
  background: linear-gradient(45deg, #ffd700, #f8f9fa, #ffd700);
  border-radius: 20px;
  opacity: 0.5;
  filter: blur(10px);
  animation: glitter 5s infinite;
}

@keyframes glitter {
  0% {
    opacity: 0.5;
    filter: blur(10px) brightness(1);
  }
  50% {
    opacity: 0.7;
    filter: blur(8px) brightness(1.2);
  }
  100% {
    opacity: 0.5;
    filter: blur(10px) brightness(1);
  }
}

.connect-card-header.enhanced {
  text-align: center;
  padding: 25px 20px;
  position: relative;
  overflow: hidden;
}

.connect-card-header.enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50px;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: sparkle 8s infinite linear;
  transform: skewX(-25deg);
}

@keyframes sparkle {
  0% {
    left: -100%;
  }
  20%, 100% {
    left: 100%;
  }
}

.connect-form.enhanced-form {
  background: #fff;
  padding: 30px 30px 40px;
  border-radius: 0 0 15px 15px;
}

.connect-form.enhanced-form .form-group {
  margin-bottom: 25px;
}

.connect-form.enhanced-form .input-with-icon {
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
}

.connect-form.enhanced-form .input-with-icon:focus-within {
  border-bottom-color: var(--gold-accent);
  box-shadow: 0 5px 15px rgba(var(--gold-accent-rgb), 0.1);
}

.connect-btn.submit-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, var(--gold-accent), var(--beige-accent-3), var(--gold-accent));
  background-size: 200% 200%;
  animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.connect-btn.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(var(--gold-accent-rgb), 0.3);
}

.connect-btn.submit-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.connect-btn.submit-btn:hover i {
  transform: translateX(5px);
}

/* Add this code at the end of the file */

/* Increased size for banner image */
.showcase-item:first-child .showcase-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 0.5s ease;
}

.showcase-item:first-child .showcase-inner {
  overflow: hidden;
  height: 350px; /* Increase this value to make the banner taller */
}

.showcase-item:first-child {
  width: 100%; /* Make it take the full width */
}

.showcase-row {
  flex-wrap: wrap;
  justify-content: center;
}

/* Modified banner image to cover right side */
.hero-showcase {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-item:first-child {
  left: 12%;
  position: absolute;
  right: 0;
  /* top: 0; */
  bottom: 0;
  width: 100%;
  height: 120%;
  margin: 0;
}

.showcase-item:first-child .showcase-inner {
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

.showcase-item:first-child .showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

@media (max-width: 992px) {
  .showcase-item:first-child {
    position: relative;
    width: 100%;
    height: 350px;
  }
}

.showcase-item:first-child {
  left: 12%;
  position: absolute;
  right: 0;
  /* top: 0; */
  bottom: -50px !important; /* Extend further below the container */
  width: 100%;
  height: 150% !important; /* Increase height even more */
  margin: 0;
}

.showcase-item:first-child .showcase-inner {
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

.showcase-item:first-child .showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

@media (max-width: 992px) {
  .showcase-item:first-child {
    position: relative;
    width: 100%;
    height: 350px;
  }
}

/* Add this code at the end of the file */

/* Mobile view fixes for profile banner */
@media (max-width: 768px) {
  .hero-showcase {
    position: relative;
    height: 280px; /* Control height in mobile */
    margin-top: 20px;
    overflow: hidden;
  }
  
  .showcase-item:first-child {
    position: relative;
    left: 0;
    width: 100%;
    height: 100% !important;
    bottom: auto !important;
    margin: 0;
  }
  
  .showcase-item:first-child .showcase-inner {
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
  }
  
  .showcase-item:first-child .showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Adjust vertical focus */
    transform: none; /* Remove transforms that might cause layout shifts */
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 80px 0 40px;
  }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {
  .hero-showcase {
    height: 240px; /* Smaller height for very small screens */
  }
  
  .showcase-item:first-child .showcase-inner {
    border-radius: 8px;
  }
  
  .showcase-item:first-child .showcase-image {
    object-position: center 25%;
  }
  
  /* Ensure the whole container doesn't move around */
  .hero-container {
    min-height: auto;
    margin-bottom: 0;
  }
}

/* Typewriter animation fix to prevent layout shifts */
.headline-main {
  min-height: 60px; /* Provide consistent height */
  display: block;
}

#typewriter {
  display: inline-block;
  min-width: 220px; /* Minimum width to prevent layout shifts */
  color: #111;
  background: linear-gradient(90deg, #222, #5a4712);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 600;
}

/* Mobile adjustments for typewriter to prevent layout shifts */
@media (max-width: 768px) {
  .headline-main {
    min-height: 80px; /* Increased min-height for mobile */
  }
  
  #typewriter {
    min-width: 200px; /* Adjusted for mobile */
    display: inline-block;
  }
  
  .hero-headline {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  
  /* Ensure no overflow causes layout shifts */
  .hero-content {
    overflow: hidden;
    width: 100%;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .headline-main {
    min-height: 100px; /* Further increased for very small screens */
  }
  
  #typewriter {
    min-width: 180px;
  }
}

/* Change to: */

#typewriter {
  position: relative;
}

#typewriter::after {
  content: '|';
  animation: blink 1s infinite;
  color: #111;
  font-weight: bold;
  position: absolute;
  right: -2px;
  top: 0;
  margin-left: 0;
  width: 2px; /* Fixed width */
  height: 100%; /* Match height of container */
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Stabilize mobile display to prevent fluctuations */
@media (max-width: 768px) {
  /* Simplify animations on mobile to prevent layout shifts */
  .headline-main, .headline-intro, .headline-outro, .hero-description {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Ensure content and layout doesn't shift during page load */
  .hero-section {
    min-height: auto;
    height: auto;
    overflow-x: hidden;
  }
  
  /* Ensure any parent containers don't resize unexpectedly */
  .hero-headline {
    overflow: hidden;
    height: auto;
    padding-bottom: 10px;
  }
  
  /* Ensure the profile banner image stays fixed */
  .showcase-image {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
  
  /* Force repaint to avoid flickering on some mobile browsers */
  .hero-showcase {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
}

/* Mobile text size adjustments */
@media (max-width: 768px) {
  .headline-main {
    font-size: 1.8rem !important; /* Smaller font size for mobile */
    line-height: 1.3 !important;
    min-height: 70px; /* Adjusted height */
  }

  .headline-intro,
  .headline-outro {
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }

  .hero-description p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  /* Ensure text container has proper spacing */
  .hero-headline {
    margin-bottom: 15px;
    padding: 0 10px;
  }
}

/* Even smaller screens */
@media (max-width: 480px) {
  .headline-main {
    font-size: 1.5rem !important; /* Further reduced for very small screens */
    line-height: 1.2 !important;
    min-height: 60px; /* Adjusted height */
  }

  .headline-intro,
  .headline-outro {
    font-size: 0.9rem !important;
  }

  .hero-description p {
    font-size: 0.9rem !important;
    padding: 0 5px;
  }
}

#typewriter {
  position: relative;
  display: inline-block;
}

/* Mobile adjustments for typewriter container */
@media (max-width: 768px) {
  #typewriter {
    max-width: 90vw; /* Prevent overflow on mobile */
    display: inline-block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0 auto;
  }

  /* Ensure cursor doesn't cause horizontal scroll */
  #typewriter::after {
    right: -1px;
    width: 1px;
  }

  /* Container adjustments */
  .hero-content {
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Enhanced mobile view fixes for profile banner */
@media (max-width: 768px) {
  .hero-section {
    background: linear-gradient(145deg, #f8f5ed 0%, #e9e2d5 60%, #d5b96a20 100%);
    padding-bottom: 20px;
  }
  
  .hero-showcase {
    position: relative;
    height: 300px; /* Increased height in mobile */
    margin-top: 20px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(213, 185, 106, 0.2);
  }
  
  .showcase-item:first-child {
    position: relative;
    left: 0;
    width: 100%;
    height: 100% !important;
    bottom: auto !important;
    margin: 0;
    border-radius: 15px;
    border: 3px solid rgba(213, 185, 106, 0.3);
  }
  
  .showcase-item:first-child .showcase-inner {
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
  }
  
  .showcase-item:first-child .showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* Adjusted vertical focus */
    transform: scale(1.05); /* Subtle zoom for better framing */
    transition: transform 1s ease-out;
  }
  
  .showcase-item:first-child::after {
    border-radius: 12px;
    background: linear-gradient(135deg, 
                rgba(248, 245, 237, 0.1), 
                rgba(213, 185, 106, 0.05),
                rgba(183, 159, 113, 0.1));
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 80px 0 20px;
  }
  
  .headline-main, .headline-intro, .headline-outro, .hero-description {
    text-align: center;
  }
  
  .hero-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {
  .hero-showcase {
    height: 240px;
    margin: 10px 5px;
  }
  
  .showcase-item:first-child {
    border-width: 2px;
  }
  
  .showcase-item:first-child .showcase-inner {
    border-radius: 8px;
  }
  
  .showcase-item:first-child .showcase-image {
    object-position: center 20%;
  }
  
  /* Ensure the whole container doesn't move around */
  .hero-container {
    min-height: auto;
    margin-bottom: 0;
    padding: 70px 0 15px;
  }
  
  .headline-main {
    font-size: 1.85rem !important;
    line-height: 1.2;
  }
  
  .headline-intro,
  .headline-outro {
    font-size: 0.9rem;
  }
  
  .hero-description p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* Image Cluster Styling */
.image-cluster-container {
  position: relative;
  width: 100%;
  height: 650px; /* Increased height for more spacing */
  max-width: 950px; /* Increased width for more spacing */
  margin: 0 auto;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.main-image-container {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 5;
  background-color: white;
  padding: 10px;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float-main 10s ease-in-out infinite;
}

.main-image-container:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

@keyframes float-main {
  0% {
    transform: translate(-50%, -50%) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
  100% {
    transform: translate(-50%, -50%) translateY(0px);
  }
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s ease-out;
}

.main-image-container:hover .main-image {
  transform: scale(1.05);
}

.satellite-image {
  position: absolute;
  width: 75px;
  height: 75px;
  border-radius: 16px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 8px;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.2, 0.85, 0.4, 1.275);
  animation-name: float;
  animation-duration: 9s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--delay) * 1s);
  transform-origin: center center;
}

.satellite-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease-out;
}

.satellite-image:hover {
  transform: scale(1.25);
  z-index: 10;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.satellite-image:hover img {
  transform: scale(1.05);
}

/* Collage-style layout - position images in a more cohesive arrangement */
.satellite-image:nth-child(1) {
  top: 5%;
  left: 18%;
  --delay: 0;
  transform: rotate(-5deg);
}

.satellite-image:nth-child(2) {
  top: 5%;
  right: 18%;
  --delay: 1.2;
  transform: rotate(4deg);
}

.satellite-image:nth-child(3) {
  top: 45%;
  left: 8%;
  --delay: 0.5;
  transform: rotate(-3deg);
}

.satellite-image:nth-child(4) {
  top: 45%;
  right: 8%;
  --delay: 0.8;
  transform: rotate(5deg);
}

.satellite-image:nth-child(5) {
  bottom: 15%;
  left: 18%;
  --delay: 1.4;
  transform: rotate(-4deg);
}

.satellite-image:nth-child(6) {
  top: 25%;
  left: 42%;
  --delay: 0.3;
  transform: rotate(3deg);
}

.satellite-image:nth-child(7) {
  bottom: 25%;
  left: 42%;
  --delay: 1;
  transform: rotate(-6deg);
}

.satellite-image:nth-child(8) {
  bottom: 15%;
  right: 18%;
  --delay: 0.6;
  transform: rotate(4deg);
}

.satellite-image:nth-child(9) {
  bottom: 25%;
  right: 42%;
  --delay: 1.6;
  transform: rotate(-2deg);
}

.satellite-image:nth-child(10) {
  top: 25%;
  right: 42%;
  --delay: 0.2;
  transform: rotate(5deg);
}

/* Adjust the float animations to include the initial rotation */
@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px) rotate(var(--rotation, 0deg));
  }
  25% {
    transform: translateY(-6px) translateX(3px) rotate(calc(var(--rotation, 0deg) + 1deg));
  }
  50% {
    transform: translateY(-10px) translateX(-2px) rotate(var(--rotation, 0deg));
  }
  75% {
    transform: translateY(-4px) translateX(-3px) rotate(calc(var(--rotation, 0deg) - 1deg));
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(var(--rotation, 0deg));
  }
}

/* Additional animation variants for more natural movement */
.satellite-image:nth-child(odd) {
  animation-name: float-alt-1;
  --rotation: -5deg;
}

.satellite-image:nth-child(3n) {
  animation-name: float-alt-2;
  --rotation: 4deg;
}

.satellite-image:nth-child(3n+1) {
  --rotation: -3deg;
}

.satellite-image:nth-child(2n) {
  --rotation: 5deg;
}

@keyframes float-alt-1 {
  0% {
    transform: translateY(0px) translateX(0px) rotate(var(--rotation, 0deg));
  }
  30% {
    transform: translateY(-8px) translateX(4px) rotate(calc(var(--rotation, 0deg) + 2deg));
  }
  60% {
    transform: translateY(-4px) translateX(-5px) rotate(calc(var(--rotation, 0deg) - 1deg));
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(var(--rotation, 0deg));
  }
}

@keyframes float-alt-2 {
  0% {
    transform: translateY(0px) translateX(0px) rotate(var(--rotation, 0deg));
  }
  40% {
    transform: translateY(-10px) translateX(-4px) rotate(calc(var(--rotation, 0deg) - 2deg));
  }
  80% {
    transform: translateY(-5px) translateX(5px) rotate(calc(var(--rotation, 0deg) + 1deg));
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(var(--rotation, 0deg));
  }
}

/* Create a collage-like feel with slightly improved aesthetics */
.satellite-image:nth-child(1),
.satellite-image:nth-child(3),
.satellite-image:nth-child(5),
.satellite-image:nth-child(7),
.satellite-image:nth-child(9) {
  padding: 7px 7px 14px 7px; /* Polaroid-like bottom padding */
}

.satellite-image:nth-child(2),
.satellite-image:nth-child(4),
.satellite-image:nth-child(6),
.satellite-image:nth-child(8),
.satellite-image:nth-child(10) {
  padding: 6px; /* Thinner border for some variety */
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Ensure the hero section keeps both doodles and image cluster */
.hero-section .business-doodles,
.hero-section .image-cluster-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Keep the doodles behind the cluster */
.hero-section .business-doodles {
  z-index: 1;
}

.hero-section .image-cluster-container {
  z-index: 2;
}

/* Media query to adjust for mobile */
@media (max-width: 768px) {
  .image-cluster-container {
    height: 500px;
    max-width: 100%;
  }
  
  .main-image-container {
    width: 160px;
    height: 160px;
  }
  
  .satellite-image {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 768px) {
  /* Remove extra space below hero section on mobile */
  .hero-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .hero-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
  }
  .showcase-item:first-child {
    bottom: 0 !important;
    height: 100% !important;
  }
}

@media (max-width: 768px) {
  .section-divider-wave {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #typewriter {
    min-width: 100vw !important;
    max-width: 100vw !important;
    width: 100vw !important;
    display: block !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  .headline-main {
    overflow: visible !important;
    white-space: normal !important;
  }
}

@media (max-width: 768px) {
  .headline-main {
    overflow: visible !important;
    white-space: normal !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }
  #typewriter {
    display: inline-block !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    width: auto !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
}

@media (max-width: 768px) {
  .image-cluster-container {
    position: relative !important;
    top: -30px !important;
    margin-top: 0 !important;
  }
}


/* ===== MILESTONE GALLERY ===== */
.gallery-section {
  background: linear-gradient(135deg, var(--beige-light) 0%, #fff 50%, var(--beige-medium) 100%) !important;
  animation: none !important;
}

.milestone-block {
  border-left: 4px solid var(--gold-accent);
  padding: 36px 0 36px 32px;
  margin-bottom: 0;
  position: relative;
}

.milestone-block + .milestone-block {
  border-top: 1px solid var(--beige-accent-1);
  margin-top: 0;
}

.milestone-block::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 40px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-accent), var(--beige-accent-3));
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--gold-accent);
}

.milestone-year-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.milestone-year {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--beige-accent-3), var(--gold-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  white-space: nowrap;
}

.present-badge {
  background: linear-gradient(135deg, #111, #555) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.milestone-dash {
  color: var(--gold-accent);
  font-size: 1.4rem;
  font-weight: 300;
  -webkit-text-fill-color: var(--gold-accent);
}

.milestone-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
  -webkit-text-fill-color: #333;
}

.milestone-desc {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 10px;
  max-width: 820px;
}

.milestone-quote {
  font-style: italic;
  color: var(--beige-accent-3);
  font-size: 0.95rem;
  margin-bottom: 22px;
  padding-left: 14px;
  border-left: 3px solid var(--gold-accent);
  max-width: 700px;
}

/* Milestone scroll-in animation */
.milestone-block {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.milestone-block.ms-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Photo grid */
.milestone-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.milestone-photo-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  background: #f5f5f5;
}

.milestone-photo-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 12px;
  cursor: default;
}

.milestone-photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Desktop hover zoom — only the image scales inside its container */
@media (hover: hover) {
  .milestone-photo-wrap:hover img {
    transform: scale(1.10);
  }
}

/* Mobile tap zoom */
.milestone-photo-wrap.zoomed img {
  transform: scale(1.10);
}

/* Remove overlay entirely */
.photo-zoom-overlay {
  display: none;
}

/* Present milestone accent */
.milestone-present {
  border-left-color: #333;
  background: linear-gradient(90deg, rgba(213,185,106,0.06) 0%, transparent 100%);
  border-radius: 0 12px 12px 0;
}

.milestone-present::before {
  background: linear-gradient(135deg, #333, #666);
  box-shadow: 0 0 0 3px #555;
}

/* lightbox removed */

/* Responsive */
@media (max-width: 768px) {
  .milestone-block {
    padding: 24px 0 24px 20px;
  }
  .milestone-year { font-size: 1.2rem; }
  .milestone-title { font-size: 1rem; }
  .milestone-photos {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  .milestone-photo-wrap {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .milestone-photos {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .milestone-photo-wrap {
    height: 160px;
  }
  .milestone-block::before { display: none; }
}

/* ===== IMPACT SECTION ===== */
.impact-section {
  margin-top: 10px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.impact-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  border-top: 3px solid var(--gold-accent);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.impact-card.ic-visible {
  opacity: 1;
  transform: translateY(0);
}

.impact-card:hover {
  box-shadow: 0 8px 28px rgba(var(--beige-accent-3-rgb), 0.22);
  transform: translateY(-4px);
}

.impact-card:nth-child(2) { transition-delay: 0.1s; }
.impact-card:nth-child(3) { transition-delay: 0.2s; }
.impact-card:nth-child(4) { transition-delay: 0.3s; }

.impact-icon {
  font-size: 1.5rem;
  color: var(--gold-accent);
  margin-bottom: 8px;
}

.impact-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  display: inline;
}

.impact-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--beige-accent-3);
  display: inline;
}

.impact-label {
  font-size: 0.78rem;
  color: #777;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* Vision cards */
.vision-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vision-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.05);
  border-left: 3px solid var(--beige-accent-1);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s ease;
}

.vision-card.vc-visible {
  opacity: 1;
  transform: translateX(0);
}

.vision-card:nth-child(2) { transition-delay: 0.1s; }
.vision-card:nth-child(3) { transition-delay: 0.2s; }
.vision-card:nth-child(4) { transition-delay: 0.3s; }

.vision-card:hover {
  border-left-color: var(--gold-accent);
}

.vision-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--beige-light), var(--beige-medium));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold-accent);
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.vision-card:hover .vision-card-icon {
  background: linear-gradient(135deg, var(--beige-accent-3), var(--gold-accent));
  color: #fff;
}

.vision-card-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 3px;
}

.vision-card-body p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 576px) {
  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .impact-number { font-size: 1.6rem; }
}

/* ===== MOBILE NAVBAR FIX ===== */
@media (max-width: 768px) {
  .logo-new {
    font-size: 2.2rem !important;
    white-space: nowrap;
  }

  .navbar-container {
    flex-wrap: nowrap;
    align-items: center;
  }
}

/* Mobile nav blur overlay */
.nav-blur-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99;
}

.nav-blur-overlay.active {
  display: block;
}
