/* Modern Hero Style - Inspired by Reference Design */

/* Import Serif Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --hero-bg-color: #ffffff;
  --hero-text-main: #1a1a1a;
  --hero-text-sub: #4a4a4a;
  --hero-accent: #1f4b43; /* Dark Teal from reference */
  --hero-circle-bg: #f0f0f0;
}

/* Hero Section Container */
.modern-hero {
  background-color: var(--hero-bg-color);
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* Typography */
.modern-hero h1 {
  font-family: 'Playfair Display', serif;
  color: var(--hero-text-main);
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.modern-hero p.lead {
  font-family: 'Open Sans', sans-serif;
  color: var(--hero-text-sub);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 450px;
}

/* Action Button */
.btn-modern-black {
  background-color: #1a1a1a;
  color: #ffffff;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-modern-black:hover {
  background-color: #333;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Right Side Composition */
.hero-composition {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

/* Circular Background Texture */
.hero-circle-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 30% 30%, #f8f8f8, #e0e0e0);
  border-radius: 50%;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Simulate marble-ish texture with multiple shadows/gradients */
  box-shadow: inset 0 0 50px rgba(255,255,255,0.8);
}

.hero-circle-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C92AC' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Main Image */
.hero-main-img {
  position: relative;
  z-index: 2;
  max-width: 90%;
  height: auto;
  border-radius: 20px; /* Slight rounding like reference */
  /* No strong shadow on the image itself in ref, mostly clean */
}


/* Identity Card (Top Left) */
  .hero-card-identity {
    position: absolute;
    top: 15%;
    left: 0;
    background: white;
    padding: 0.5rem 1.25rem 0.5rem 0.625rem;
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite;
    min-width: auto;
  }
  
  .identity-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .identity-info {
    display: flex;
    flex-direction: column;
  }
  
  .identity-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--hero-text-main);
    line-height: 1.2;
  }
  
  .identity-title {
    font-size: 0.9rem;
    color: var(--hero-accent);
    font-weight: 600;
  }

/* Professional Profile Card (Bottom Right) */
.hero-card-profile {
  position: absolute;
  bottom: 0%;
  right: -20px;
  background: transparent;
  backdrop-filter: none;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: none;
  z-index: 4;
  width: 320px;
  font-size: 0.9rem;
  animation: float-delayed 7s ease-in-out infinite;
  border: none;
}

.profile-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hero-accent);
  margin-bottom: 1.5rem;
  border-bottom: none;
  padding-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  position: relative;
}

/* Marquee Flow Separator */
.profile-highlight::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.5rem;
  /* Gradient: Transparent White -> Solid White -> Transparent White */
  background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, #ffffff 50%, rgba(255,255,255,0.3) 100%);
  background-size: 200% 100%;
  border-radius: 2px;
  /* Animation: 1s duration, linear, infinite loop */
  animation: marquee-flow 1s linear infinite;
}

.profile-highlight:hover::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, #ffffff 50%, rgba(255,255,255,0.5) 100%);
  background-size: 200% 100%;
}

/* Keyframes for Left-to-Right Flow */
@keyframes marquee-flow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.profile-section {
  margin-bottom: 1.5rem;
}

.profile-section:last-child {
  margin-bottom: 0;
}

/* Blinking Dot Animation */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.blinking-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.red-dot {
  background-color: #FF0000;
}

.white-dot {
  background-color: #ccc; /* Original color kept */
  width: 3.6px;
  height: 3.6px;
}

.profile-section-title {
  font-weight: 700;
  color: var(--hero-text-main);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

/* Removed ::before pseudo-element for title dot, using .blinking-dot instead */
.profile-section-title .blinking-dot {
  margin-right: 8px;
}

.profile-badges {
  margin-bottom: 0.3rem;
}

.badge-tag {
  display: inline-block;
  background-color: transparent;
  color: var(--hero-accent);
  font-size: 0.75rem;
  padding: 2px 0;
  border-radius: 0;
  font-weight: 700;
  text-decoration: none;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.6;
}

.profile-list li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 4px;
}

/* Removed ::before pseudo-element for list dot, using .blinking-dot instead */
.profile-list li .blinking-dot {
  position: absolute;
  left: 0;
  top: 9px; /* Centered vertically relative to line-height */
}

.profile-list li .white-dot {
  top: 10px; /* Adjusted for smaller size (3.6px) */
}

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

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

/* Responsive */
@media (max-width: 992px) {
  .modern-hero h1 {
    font-size: 2.5rem;
  }
  .hero-circle-bg {
    width: 350px;
    height: 350px;
  }
  
  /* Reset positions for mobile */
  .hero-card-identity {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 1rem;
    width: 100%;
    justify-content: center;
    min-width: auto;
  }
  
  .hero-card-profile {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-composition {
    justify-content: center;
    flex-direction: column;
  }
  
  .earth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}


/* Earth Container */
#earth-container {
  width: 600px;
  height: 600px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Smooth transition for hover effects */
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease-out;
  cursor: pointer;
}

#earth-container:hover {
  transform: scale(1.05);
  /* Soft blue glow effect matching the primary color */
  filter: drop-shadow(0 0 30px rgba(55, 125, 255, 0.6));
}

@media (max-width: 992px) {
  #earth-container {
    width: 350px;
    height: 350px;
  }
}
