/* Global Styles */
:root {
  --primary-color: #ff6b9d;
  --secondary-color: #8b5cf6;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #fffafc;
  --bg-white: #ffffff;
  --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient-primary: linear-gradient(135deg, #ff6b9d 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding-right: 1rem; /* Previously 1rem 0, this allows breathing room without overflow */
  width: 100%;       /* Ensures full viewport width */
  overflow-x: hidden; /* Prevents unintended scroll */
  box-sizing: border-box;
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-light);
}

.nav-logo {
  max-height: 150px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

nav div.container{
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

/* Hero Section */body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #fffafc;
      color: #333;
    }
    header {
      text-align: center;
      padding: 40px 20px;
    }
    .logo img {
      max-width: 250px;
    }
    .tagline {
      font-size: 1.2rem;
      margin-top: 15px;
      color: #6c757d;
    }
    .gallery {
      padding: 40px 15px;
    }
    .gallery img {
      width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      margin-bottom: 30px;
    }
    .social-icons {
      text-align: center;
      padding: 20px 0;
    }
    .social-icons a {
      color: #333;
      margin: 0 10px;
      font-size: 24px;
      transition: color 0.3s;
    }
    .social-icons a:hover {
      color: #ff69b4;
    }
    footer {
      text-align: center;
      padding: 20px;
      background-color: #f8f9fa;
      font-size: 0.9rem;
      color: #777;
    }
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
   background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.hero-content {
  color: white;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.feature-item i {
  font-size: 1.2rem;
  color: var(--accent-color);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


.btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--bg-white);
  color: var(--primary-color);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-outline-primary {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

.btn-outline-primary:hover {
  background: var(--bg-white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-logo-wrapper {
  position: relative;
  display: inline-block;
  animation: float 6s ease-in-out infinite;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.lanyard-image-wrapper {
  position: absolute;
  top: 72%; /* places it just below the logo */
  left: 40%;
  transform: translate(-50%, -5px); /* adjusts slight overlap upward */
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.lanyard-image-wrapper::before {
  content: '';
  display: block;
  width: 2px;
  height: 20px;
  background-color: #999;
  margin-bottom: -5px; /* slight overlap */
}

.hanging-lanyard {
  height: 150px;
  width: auto;
  animation: swing 2s ease-in-out infinite;
  transform-origin: top center;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
}

.hero-section,
.hero-image,
.hero-logo-wrapper {
  position: relative;
  overflow: visible !important;
  z-index: 2;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-20px); }
}

@keyframes swing {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}


/* About Section */
.about-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

/*.about-content {*/
/*  padding-right: 2rem;*/
/*}*/

.about-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-light);
  font-weight: 500;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.image-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-light);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.image-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.image-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.image-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.image-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.face-behind img {
  max-width: 320px;
  margin-bottom: 1rem;
}

.face-behind h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.feature-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

.gallery-grid {
  margin-top: 3rem;
}

.gallery-item {
  margin-bottom: 2rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  width: 216px;
  height: 250px;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-heavy);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  background: var(--gradient-secondary);
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
}

.gallery-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.gallery-placeholder p {
  font-weight: 600;
  font-size: 1.1rem;
}

.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.contact-toggle {
  background: var(--primary-color, #ff69b4);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.contact-toggle:hover {
  transform: scale(1.05);
}

.contact-bubble {
  position: absolute;
  right: 70px;
  bottom: 0;
  background: white;
  color: #333;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 20rem;
  max-width: 220px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.contact-bubble p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.bubble-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--primary-color, #ff69b4);
  font-weight: 600;
  text-decoration: underline;
}

.gallery-description {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
}

.gallery-description p{
        font-size; 2rem;
}

.gallery-description a {
    color: var(--primary-color, #ff69b4);
    font-weight: 600;
}

#contactToggle:checked + .contact-toggle + .contact-bubble {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Contact Section */
.contact-section {
  padding: 6rem 1rem;
  background: var(--bg-light);
}

.contact-content {
  padding-right: 2rem;
}

.contact-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.contact-item p {
  color: var(--text-light);
  margin: 0;
}

.contact-form {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #9ca3af;
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
    justify-content: center;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
  .floating-cta {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-logo {
    max-width: 250px;
  }
  
  .feature-card {
    padding: 2rem 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}