/* Professional Instagram Reels Styles */
.instagram-reels-section-pro {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  position: relative;
  overflow: hidden;
}

.instagram-reels-section-pro::before {
  content: '';
  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="instagram-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23instagram-grain)"/></svg>');
  pointer-events: none;
}

.instagram-reels-container-pro {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Instagram Reels Header */
.instagram-reels-header-pro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: center;
  /* Add more space below header */
  margin-bottom: 2.5rem;
}

.instagram-reels-icon-wrapper-pro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-reels-icon-pro {
  font-size: 3rem;
  color: #e91e63;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-radius: 50%;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(233,30,99,0.2);
  position: relative;
  z-index: 2;
  animation: instagramIconFloat 3s ease-in-out infinite;
}

.instagram-icon-ripple-pro {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  opacity: 0.2;
  animation: instagramRipple 2s ease-in-out infinite;
}

@keyframes instagramIconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes instagramRipple {
  0% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.3); opacity: 0.1; }
  100% { transform: scale(1); opacity: 0.2; }
}

.instagram-reels-title-pro {
  position: relative;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  color: #e91e63;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(233,30,99,0.1);
  padding-bottom: 28px; /* More space for underline and header */
  line-height: 1.2;
  min-height: 48px; /* Ensure enough height for header */
}

.instagram-title-text-pro {
  position: relative;
  z-index: 2;
  animation: instagramTitleSlideIn 1.5s ease-out;
}

.instagram-title-underline-pro {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #e91e63 0%, #9c27b0 100%);
  border-radius: 2px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
  animation: instagramUnderlineExpand 1.5s ease-out 0.5s forwards;
}

@keyframes instagramTitleSlideIn {
  0% { transform: translateX(-30px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes instagramUnderlineExpand {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Instagram Reels Grid */
.instagram-reels-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

/* Instagram Reel Card */
.instagram-reel-card-pro {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(233,30,99,0.10);
  padding: 0; /* No padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
  min-height: 420px;
  animation: instagramCardEntrance 0.8s ease-out;
  overflow: visible; /* No overflow hidden */
}
.instagram-reel-card-pro blockquote.instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
  background: #fff;
  padding: 0 !important;
}

.instagram-reel-card-pro:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(233,30,99,0.2);
}

@keyframes instagramCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Instagram Reel Container */
.instagram-reel-container-pro {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
}

.instagram-media-pro {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1rem 1rem 0 0;
  transition: transform 0.4s ease;
  min-height: 400px;
}

.instagram-reel-card-pro:hover .instagram-media-pro {
  transform: scale(1.05);
}

/* Instagram Reel Overlay */
.instagram-reel-overlay-pro {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(233,30,99,0.8) 0%, rgba(156,39,176,0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem 1rem 0 0;
}

.instagram-reel-card-pro:hover .instagram-reel-overlay-pro {
  opacity: 1;
}

.instagram-play-button-pro {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.instagram-play-button-pro i {
  font-size: 2rem;
  color: #e91e63;
  margin-left: 4px;
}

.instagram-play-button-pro:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Instagram Reel Info */
.instagram-reel-info-pro {
  padding: 1.5rem;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.instagram-reel-title-pro {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e91e63;
  margin: 0 0 0.5rem 0;
  letter-spacing: 1px;
}

.instagram-reel-description-pro {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .instagram-reels-section-pro {
    padding: 2rem 1rem;
  }
  
  .instagram-reels-header-pro {
    flex-direction: column;
    gap: 1rem;
  }
  
  .instagram-reels-icon-pro {
    font-size: 2.5rem;
    padding: 1rem;
  }
  
  .instagram-reels-title-pro {
    font-size: 2rem;
  }
  
  .instagram-reels-grid-pro {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .instagram-reel-container-pro {
    min-height: 350px;
  }
  
  .instagram-media-pro {
    min-height: 350px;
  }
  
  .instagram-play-button-pro {
    width: 60px;
    height: 60px;
  }
  
  .instagram-play-button-pro i {
    font-size: 1.5rem;
  }
  
  .instagram-reel-info-pro {
    padding: 1rem;
  }
  
  .instagram-reel-title-pro {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .instagram-reels-grid-pro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .instagram-reels-title-pro {
    font-size: 1.8rem;
  }
  
  .instagram-reel-container-pro {
    min-height: 300px;
  }
  
  .instagram-media-pro {
    min-height: 300px;
  }
  
  .instagram-play-button-pro {
    width: 50px;
    height: 50px;
  }
  
  .instagram-play-button-pro i {
    font-size: 1.2rem;
  }
}

/* Loading Animation */
.instagram-reel-card-pro:nth-child(1) { animation-delay: 0.1s; }
.instagram-reel-card-pro:nth-child(2) { animation-delay: 0.2s; }
.instagram-reel-card-pro:nth-child(3) { animation-delay: 0.3s; }
.instagram-reel-card-pro:nth-child(4) { animation-delay: 0.4s; }
.instagram-reel-card-pro:nth-child(5) { animation-delay: 0.5s; }

/* Hover Effects */
.instagram-reel-card-pro:hover .instagram-reels-icon-pro {
  animation: instagramIconPulse 0.3s ease-out;
}

@keyframes instagramIconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Instagram Embed Wrapper */
.instagram-embed-wrapper-pro {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.instagram-media-pro {
  width: 100% !important;
  max-width: 540px !important;
  min-width: 326px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  box-shadow: 0 0 1px 0 rgba(0,0,0,0.5), 0 1px 10px 0 rgba(0,0,0,0.15) !important;
  padding: 0 !important;
  background: #FFF !important;
  pointer-events: auto !important; /* Allow interaction with Instagram embed */
}

.instagram-view-link-pro {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.instagram-view-link-pro:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(233,30,99,0.3);
  color: white;
  text-decoration: none;
}

/* Instagram Embed Loading Animation */
.instagram-embed-wrapper-pro::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #e91e63;
  border-radius: 50%;
  animation: instagramSpin 1s linear infinite;
  z-index: 1;
}

.instagram-embed-wrapper-pro.loaded::before {
  display: none;
}

@keyframes instagramSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Instagram Embeds */
@media (max-width: 768px) {
  .instagram-embed-wrapper-pro {
    min-height: 350px;
  }
  
  .instagram-media-pro {
    min-width: 280px !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .instagram-embed-wrapper-pro {
    min-height: 300px;
  }
  
  .instagram-media-pro {
    min-width: 250px !important;
  }
}
/* ---------- IMAGE GALLERY ---------- */
.gallery-img {
  min-width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Stop scroll bounce */
.media-scroll {
  scroll-snap-type: x mandatory;
}

.gallery-img {
  scroll-snap-align: start;
}
/* ------------------------------------------- */
* {margin: 0; padding: 0; box-sizing: border-box;}
body {font-family: 'Segoe UI', sans-serif; background: #eef2f7;}

/* ---------- FULL SCREEN HEADER (MOBILE FIXED) ---------- */
.header {
    width: 100%;
    min-height: 20svh;          /* Correct viewport on mobile */
    min-height: 20dvh;          /* Dynamic viewport height */
    background: linear-gradient(to right, #f09a7fff, #f3b75dff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

/* ---------- PROFILE IMAGE ---------- */
.header .profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ---------- TEXT ---------- */
.header h1 {
    font-size: clamp(28px, 6vw, 48px);
    margin-bottom: 8px;
}

.header h3 {
    font-size: clamp(18px, 4.5vw, 24px);
    margin-bottom: 6px;
    font-weight: 400;
}

.header p.party {
    font-size: clamp(14px, 3.8vw, 18px);
    font-weight: bold;
    color: #ffffffcc;
}

.header p.about {
    max-width: 800px;
    margin-top: 14px;
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: 1.5;
    color: #ffffffcc;
}

/* ---------- SECTION CARDS ---------- */
.section {
    width: 100%;
    padding: 40px 50px;
    background: #fefefe;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ff5722;
    border-left: 6px solid #ff9800;
    padding-left: 10px;
}

/* ---------- HORIZONTAL SCROLL ---------- */
.scroll-container { position: relative; margin-top: 15px; }
.media-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}
.media-scroll::-webkit-scrollbar { height: 8px; }
.media-scroll::-webkit-scrollbar-thumb { background: #ff5722; border-radius: 10px; }
.media-scroll iframe {
    min-width: 400px;
    height: 450px;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    cursor: pointer;
}
.media-scroll iframe:hover { transform: scale(1.05); }

/* ---------- SCROLL BUTTONS ---------- */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background:  rgba(217, 174, 188, 0.85);
    color: #fff;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    font-size: 20px;
    transition: 0.3s;
}
.scroll-left { left: -30px; }
.scroll-right { right: -30px; }
.scroll-btn:hover { background: #faccdbff; }

/* ---------- MODAL ---------- */
.modal {
    display: none; /* hidden by default */
    position: fixed;
    z-index: 100;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 80%;
    max-width: 900px;
    background: #000;
    border-radius: 15px;
    position: relative;
}

.modal-content iframe {
    width: 100%;
    height: 500px;
    border-radius: 15px;
}

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ff5722;
    color: white;
    font-size: 28px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 101;
    transition: 0.3s;
}
.close-btn:hover { background: #ff9800; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .header h1 { font-size: 36px; }
    .header h3 { font-size: 20px; }
    .header p.about { max-width: 90%; font-size: 15px; }
    .media-scroll iframe { min-width: 280px; height: 350px; }
    .modal-content iframe { height: 300px; }
    .scroll-left { left: 0; }
    .scroll-right { right: 0; }
}