/* ==========================================================================
   ABOUT-US.CSS - selectors used exclusively on this page.
   ========================================================================== */

.about-us-dev-btn {
    background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
}

.am-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-main);
}

.am-hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.am-hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.am-shape-1 {
  width: 500px;
  height: 500px;
  background: var(--gradient-primary);
  top: -120px;
  right: -100px;
}

.am-shape-2 {
  width: 380px;
  height: 380px;
  background: var(--gradient-warm);
  bottom: -80px;
  left: -80px;
}

.am-hero .container { position: relative; z-index: 1; }

.am-profile-wrapper {
  position: relative;
  display: inline-block;
}

.am-profile-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px dashed rgba(108, 99, 255, 0.35);
  animation: amSpin 18s linear infinite;
}

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

.am-profile-img-box {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--bg-card);
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--bg-section);
}

.am-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.am-profile-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.am-float-bubble {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 90px;
}

.am-bubble-1 { top: 20px; left: -20px; }

.am-bubble-2 { top: 20px; right: -20px; }

.am-bubble-num {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.am-bubble-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

.am-hero-name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 6px;
  line-height: 1.1;
}

.am-hero-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.am-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 560px;
}

.am-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.am-yt-btn {
  border-color: #ff0000;
  color: #ff0000;
}

.am-yt-btn:hover {
  background: #ff0000;
  color: white;
  border-color: #ff0000;
}

.am-mission-section { background: var(--bg-main); }

.am-mission-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 8px;
}

.am-mission-intro strong { color: var(--text-primary); }

.am-mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.am-mission-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.am-mc-icon {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.am-mc-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.am-mc-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.am-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.am-why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.am-why-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--border-color);
  line-height: 1;
}

.am-why-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 14px;
  transition: var(--transition);
}

.am-why-card:hover .am-why-icon {
  background: var(--gradient-primary);
  color: white;
}

.am-why-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.am-why-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.am-cta-section { background: var(--bg-section); }

.am-cta-box {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.am-cta-bg-shape {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -100px;
  right: -80px;
  pointer-events: none;
}

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

.am-cta-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}

.am-cta-highlight {
  background: linear-gradient(135deg, #FFD93D, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.am-cta-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

.am-cta-btn-primary {
  background: white;
  color: var(--primary);
  border: 2px solid white;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.am-cta-btn-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.am-cta-btn-yt {
  background: #ff0000;
  color: white;
  border: 2px solid #ff0000;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.am-cta-btn-yt:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,0,0.35);
}

.am-cta-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.am-cta-btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .am-profile-img-box { width: 220px; height: 220px; }

  .am-cta-box { padding: 50px 28px; }
}

@media (max-width: 767px) {
  .am-profile-img-box { width: 180px; height: 180px; }

  .am-bubble-1 { left: -10px; }

  .am-bubble-2 { right: -10px; }

  .am-hero-name { font-size: 2rem; }

  .am-cta-box { padding: 40px 20px; }

  .am-cta-title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .am-float-bubble { display: none; }

  .am-profile-ring { display: none; }

  .am-hero-desc { font-size: 0.92rem; }
}

.am-hero-social-row {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.am-hero-social-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  white-space: nowrap;
}

.am-hero-social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.am-si {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-secondary);
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
}

.am-si:hover { transform: translateY(-3px); color: white; border-color: transparent; }

.am-si-yt:hover { background: #ff0000; }

.am-si-ig:hover { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); }

.am-si-wa:hover { background: #25D366; }

.am-si-tg:hover { background: #2AABEE; }

.am-si-li:hover { background: #0077B5; }

.am-si-gh:hover { background: #333; }

.am-si-dc:hover { background: #5865F2; }

.am-tech-section { background: var(--bg-section); }

.am-tech-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.am-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.am-tb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: default;
  transition: var(--transition);
  overflow: hidden;
}

.am-tb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.am-tb-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.am-tb-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.am-tb-java .am-tb-icon { background: linear-gradient(135deg, #e55d2b, #f7a44b); }

.am-tb-dsa .am-tb-icon { background: var(--gradient-primary); }

.am-tb-spring .am-tb-icon { background: linear-gradient(135deg, #56ab2f, #a8e063); }

.am-tb-hibernate .am-tb-icon { background: linear-gradient(135deg, #667eea, #764ba2); }

.am-tb-jdbc .am-tb-icon { background: linear-gradient(135deg, #0f0c29, #302b63); }

.am-tb-fullstack .am-tb-icon { background: linear-gradient(135deg, #4facfe, #00f2fe); }

.am-tb-mern .am-tb-icon { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.am-tb-python .am-tb-icon { background: linear-gradient(135deg, #3776ab, #ffd343); }

.am-tb-ai .am-tb-icon { background: linear-gradient(135deg, #f093fb, #f5576c); }

.am-tb-sql .am-tb-icon { background: linear-gradient(135deg, #0078d4, #005a9e); }

.am-tb-webdev .am-tb-icon { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }

.am-tb-ml .am-tb-icon { background: linear-gradient(135deg, #f6d365, #fda085); }

@media (max-width: 767px) {
  .am-tech-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .am-tb { padding: 9px 10px; gap: 7px; }

  .am-tb-name { font-size: 0.74rem; }
}

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


/* ==========================================================================
   SECTION BACKGROUNDS (alternating)
   1 Hero (main) · 2 Technologies (section) · 3 Mission & Vision (main)
   4 Why Join (section) · 5 Gallery (main) · 6 CTA (section) · 7 Founder (main)
   ========================================================================== */
.am-why-section     { background: var(--bg-section); }
.am-gallery-section { background: var(--bg-main); }
.am-founder-section { background: var(--bg-main); }

/* ==========================================================================
   HERO – ROUND COMPANY LOGO WITH ANIMATION
   ========================================================================== */
.am-logo-visual {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.am-logo-core {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 6px solid var(--bg-card);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: amLogoFloat 4s ease-in-out infinite;
}

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

.am-logo-pulse {
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: amLogoPulse 3s ease-out infinite;
}

.am-logo-pulse-2 { animation-delay: 1.5s; }

@keyframes amLogoPulse {
  0%   { transform: scale(1);   opacity: 0.45; }
  100% { transform: scale(2.1); opacity: 0; }
}

.am-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px dashed rgba(108, 99, 255, 0.35);
  animation: amSpin 18s linear infinite;
}

.am-logo-dot {
  position: absolute;
  top: -9px;
  left: 50%;
  margin-left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-warm);
  box-shadow: var(--shadow-sm);
}

.am-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.15;
}

.am-hero-desc + .am-hero-desc { margin-top: -6px; }

/* ==========================================================================
   TECHNOLOGIES – LEFT ORBIT ANIMATION
   ========================================================================== */
.am-tech-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.am-tv-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.am-tv-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px dashed var(--border-color);
}

.am-tv-orbit-1 { width: 62%; height: 62%; margin: -31% 0 0 -31%; animation: amSpin 20s linear infinite; }

.am-tv-orbit-2 { width: 92%; height: 92%; margin: -46% 0 0 -46%; animation: amSpinRev 30s linear infinite; }

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

.am-tv-dot {
  position: absolute;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* keep icons upright while their orbit rotates */
.am-tv-orbit-1 .am-tv-dot { animation: amSpinRev 20s linear infinite; }

.am-tv-orbit-2 .am-tv-dot { animation: amSpin 30s linear infinite; }

.am-tv-d-java   { top: 0;    left: 50%; }
.am-tv-d-spring { top: 50%;  left: 100%; }
.am-tv-d-db     { top: 0;    left: 50%; }
.am-tv-d-web    { top: 78%;  left: 90%; }
.am-tv-d-ai     { top: 78%;  left: 10%; }

.am-tv-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  animation: amLogoFloat 4s ease-in-out infinite;
}

.am-tv-badge i { color: var(--primary); }

.am-tvb-1 { top: 4%;    left: 0; }
.am-tvb-2 { top: 10%;   right: 0;  animation-delay: 1s; }
.am-tvb-3 { bottom: 8%; left: 2%;  animation-delay: 2s; }
.am-tvb-4 { bottom: 4%; right: 2%; animation-delay: 3s; }

/* ==========================================================================
   GALLERY (real photos from assets/images/gallery/)
   ========================================================================== */
.am-gallery-card {
  position: relative;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}

.am-gallery-tall { height: 416px; }

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

.am-gallery-card:hover .am-gallery-img { transform: scale(1.06); }

.am-gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 16px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.am-gallery-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.am-gallery-caption {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .am-logo-visual { width: 240px; height: 240px; }
  .am-logo-core { width: 120px; height: 120px; font-size: 2.8rem; }
  .am-logo-pulse { inset: 55px; }
  .am-gallery-tall { height: 260px; }
  .am-gallery-card { height: 180px; }
}

@media (max-width: 480px) {
  .am-tv-badge { font-size: 0.68rem; padding: 4px 10px; }
}
