:root {
  --primary-color: #1a3a5c;
  --primary-dark: #0f2234;
  --primary-light: #2a5a8c;
  --accent-color: #d4a574;
  --accent-dark: #b8915c;
  --dark-bg: #0f1419;
  --light-bg: #f8f9fa;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #666666;
  --border-color: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
/* ===== Fix for white line on mobile ===== */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Fix for hero section on mobile */
@media (max-width: 575px) {
    /* Remove white line on right side */
    .hero-cinematic {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .hero-cinematic .container {
        overflow-x: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .hero-cinematic .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    .hero-cinematic .col-lg-7,
    .hero-cinematic .col-lg-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Fix for any overflowing elements */
    .hero-cinematic .reveal-text,
    .hero-cinematic .hero-actions,
    .hero-cinematic .hero-socials {
        overflow-x: hidden !important;
    }
    
    /* Ensure text doesn't overflow */
    .hero-cinematic h1,
    .hero-cinematic p,
    .hero-cinematic .hero-actions span {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    /* Fix for portrait container */
    
    
    
    /* Fix for any margin/padding causing white line */
    * {
        max-width: 100% !important;
    }
}

/* Also fix for all sections on small screens */
@media (max-width: 575px) {
    section, .container, .row {
        overflow-x: hidden !important;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/* ===== Navigation ===== */
.nav-animated {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nav-animated.scrolled {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.brand-animated {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.brand-animated:hover {
  color: var(--accent-color) !important;
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  margin-left: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}
.nav-link-convo {
  font-weight: 500;
  margin-left: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--accent-color);
  color: var(--primary-dark) !important;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;  
  justify-content: center;
}
.nav-link-convo:hover {
  background: var(--accent-dark);
  color: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}
/* ===== Fixed Navigation Bar ===== */
.nav-animated {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem !important; /* Added padding */
}

.navbar-container {
    max-width: 1200px; /* Add max width if needed */
    margin: 0 auto;
}

.navbar-brand {
    padding: 0.5rem 0; /* Add padding to brand */
}

.nav-link {
    font-weight: 500;
    margin-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important; /* Add padding to links */
}

/* Fix for mobile navigation background */
@media (max-width: 992px) {
    .nav-cinematic {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    }
    
    .navbar-collapse {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        margin-top: 0.5rem;
    }
    
    /* Ensure the navbar stays dark when expanded */
    .nav-cinematic:not(.collapsed) {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    }
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active-link::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

.nav-link.active-link {
  color: var(--accent-color) !important;
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 0px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light);
}

.animated-bg {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.5;
  animation: float 6s ease-in-out infinite;
}


.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 5.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.hero-cinematic {
    padding-top: 100px !important; /* Adds space between nav and hero */
}

.page-header{
  padding-top: 150px !important;
}

.fade-in-down {
  animation: fadeInDown 1s ease-out 0.2s both;
}

.fade-in-up {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.fade-in-up-delayed {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.fade-in-left {
  animation: fadeInLeft 1s ease-out both;
}


@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-animated {
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary.btn-animated {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: var(--primary-dark);
}

.btn-primary.btn-animated:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

.btn-outline-light.btn-animated {
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn-outline-light.btn-animated:hover {
  background: var(--text-light);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icon:hover {
  background: var(--accent-color);
  color: var(--primary-dark);
  transform: translateY(-5px) scale(1.1);
}

.hero-image-container {
  position: relative;
  z-index: 2;
}

.floating-card {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--accent-color);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  color: var(--accent-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--accent-color);
  border-radius: 13px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ===== Featured Section ===== */
.featured-section {
  background: var(--light-bg);
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}
.section-trusted {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border-color);
  margin-bottom: 1.5rem;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 0 auto;
  border-radius: 2px;
}

.card-hover {
  perspective: 1000px;
}

.featured-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.featured-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .card-img-top {
  transform: scale(1.1);
}

.overlay-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-dark);
  opacity: 0;
  transition: all 0.3s ease;
}

.featured-card:hover .overlay-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-tags {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== Stats Section ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  padding: 5rem 0;
}

.stat-item {
  padding: 2rem;
}

.stat-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
  color: var(--primary-dark);
  padding: 5rem 0;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-light.btn-animated {
  background: var(--text-light);
  border: 2px solid var(--text-light);
  color: var(--primary-dark);
}

.btn-light.btn-animated:hover {
  background: transparent;
  color: var(--text-light);
  transform: translateY(-3px);
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  padding: 8rem 0 4rem;
  text-align: center;
  margin-top: 0px;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===== About Section ===== */
.about-section {
  padding: 5rem 0;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--accent-color);
}

.image-frame {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent-color);
  border-radius: 15px;
  pointer-events: none;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ===== Skills Section ===== */
.skills-section {
  background: var(--light-bg);
  padding: 3rem;
  border-radius: 15px;
}

.skill-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.skill-header h5 {
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.skill-header i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.skill-level {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.9rem;
}

.progress-bar-custom {
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 3px;
  animation: fillProgress 1.5s ease-out;
}

@keyframes fillProgress {
  from {
    width: 0 !important;
  }
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  margin-right: 50%;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 3rem;
}

.timeline-date {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-muted);
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--accent-color);
  border: 3px solid var(--text-light);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--light-bg);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 15px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item::before {
    left: 0;
  }
}

/* ===== Portfolio Section ===== */
.portfolio-filters {
  text-align: center;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--text-light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  overflow: hidden;
}

.portfolio-card {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.15) rotate(2deg);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 58, 92, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: var(--text-light);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.portfolio-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.overlay-content p {
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--primary-dark);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.view-btn:hover {
  background: var(--text-light);
  transform: scale(1.1);
}

/* ===== Services Section ===== */
.services-section {
  padding: 5rem 0;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-top-color: var(--accent-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.service-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-list {
  list-style: none;
  text-align: left;
}

.service-list li {
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.service-list i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  font-weight: 700;
}

/* ===== Process Section ===== */
.process-section {
  background: var(--light-bg);
  padding: 5rem 0;
}

.process-step {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: block;
}

.process-step h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 5rem 0;
}

.contact-form {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-label {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--text-muted);
  margin: 0;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent-color);
}

.social-links-large {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
  font-size: 1.2rem;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-5px) scale(1.1);
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  margin-top: 0rem;
}

.footer h5 {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer ul li a:hover {
  color: var(--accent-color);
  padding-left: 0.5rem;
}

.social-links-footer {
  display: flex;
  gap: 1.5rem;
}

.social-links-footer a {
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links-footer a:hover {
  background: var(--accent-color);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}


/* Enhanced Footer Styles */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 1rem;
}

.brand-dot {
    color: var(--accent-color);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-heading {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links i {
    color: var(--accent-color);
    font-size: 0.7rem;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-connect-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-outline-light.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline-light.btn-sm:hover {
    background: white;
    color: var(--primary-dark);
    border-color: white;
}

.footer-social {
    margin-top: 1.5rem;
}

.social-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-title {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    background: transparent;
    color: white;
    box-shadow: none;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--primary-dark);
    border: none;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background: var(--accent-dark);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--accent-color);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-logo {
        font-size: 1.3rem;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
    
    .newsletter-section {
        padding: 1rem;
    }
    
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-heading {
        margin-top: 1.5rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        background: none;
        border: none;
    }
    
    .newsletter-form .form-control {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form .btn {
        border-radius: 50px;
        width: 100%;
    }
    
    .footer-legal {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
    
    .footer-bottom .text-md-end {
        text-align: left !important;
    }
}
/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-link {
    margin-left: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn-animated {
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    text-align: center;
  }

  .contact-form {
    margin-bottom: 2rem;
  }
  .floating-badge{
      width: auto;
    }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .btn-animated {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .scroll-indicator {
    display: none;
  }

  .page-header {
    padding: 6rem 0 2rem;
  }
  .floating-badge{
      width: auto;
    }
}

/* ===== Improved Hero Image ===== */
.hero-image-container {
    position: relative;
    z-index: 2;
}

.floating-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding-top: 1px;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 15px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(26, 58, 92, 0.3) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

@keyframes subtleGlow {
    0% {
        box-shadow: 0 20px 60px rgba(212, 165, 116, 0.3);
    }
    100% {
        box-shadow: 0 20px 80px rgba(212, 165, 116, 0.5);
    }
}

.frame-border {
    position: absolute;
    background: var(--accent-color);
    z-index: 1;
}

.frame-border-1 {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    animation: borderTop 3s ease-in-out infinite;
}

.frame-border-2 {
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    animation: borderRight 3s ease-in-out infinite 0.5s;
}

.frame-border-3 {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    animation: borderBottom 3s ease-in-out infinite 1s;
}

.frame-border-4 {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 100%;
    animation: borderLeft 3s ease-in-out infinite 1.5s;
}

@keyframes borderTop {
    0%, 100% { width: 0; left: 50%; }
    50% { width: 100%; left: 0; }
}

@keyframes borderRight {
    0%, 100% { height: 0; top: 50%; }
    50% { height: 100%; top: 0; }
}

@keyframes borderBottom {
    0%, 100% { width: 0; right: 50%; }
    50% { width: 100%; right: 0; }
}

@keyframes borderLeft {
    0%, 100% { height: 0; bottom: 50%; }
    50% { height: 100%; bottom: 0; }
}

.hero-image {
    width: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.floating-element {
    position: absolute;
    height: 40px;
    width: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 3;
    animation: floatAround 10s ease-in-out infinite;
}

.floating-element-1 {
    top: 15%;
    left: -15px;
    animation-delay: 0s;
}

.floating-element-2 {
    top: 50%;
    right: -15px;
    animation-delay: 2s;
}

.floating-element-3 {
    bottom: 25%;
    left: -15px;
    animation-delay: 4s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(0) translateX(20px);
    }
    75% {
        transform: translateY(20px) translateX(10px);
    }
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: white;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.client-image {
    margin-right: 1rem;
}

.client-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.client-info h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.client-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.quote-icon {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--accent-color);
    opacity: 0.3;
    font-size: 2rem;
}

.testimonial-body p {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.rating {
    color: var(--accent-color);
}

.rating i {
    margin-right: 2px;
}

/* ===== Articles Section ===== */
.articles-section {
    padding: 5rem 0;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.category {
    background: var(--primary-light);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
}

.read-time {
    color: var(--text-muted);
}

.article-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.article-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: var(--primary-color);
    gap: 1rem;
}

/* ===== Featured Clients Section ===== */
.clients-section {
    background: var(--light-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.client-logo-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left-color: var(--accent-color);
}

.client-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.client-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: rgba(26, 58, 92, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.client-info h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

.client-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.client-project {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-style: italic;
}

.client-stats {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.client-stat {
    padding: 1rem;
}

.client-stat h4 {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.client-stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Animation for client stat numbers */
.client-stat h4 {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.col-lg-6.d-none.d-lg-flex {
    justify-content: center;
    align-items: center;
    padding: 50px !important; /* Reduced from p-100px */
}

/* Updated color variables and typography for a cinematic look */
:root {
  --primary-color: #0a0a0a; /* Pure deep black */
  --accent-color: #d4a574;
  --accent-soft: rgba(212, 165, 116, 0.15);
  --text-muted: #888888;
  --white: #ffffff;
  --font-display: "Playfair Display", serif;
  --font-sans: "Inter", -apple-system, sans-serif;
}

/* Cinematic Navigation */
.nav-cinematic {
  background: transparent;
  padding: 1.5rem 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-cinematic.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
}

.brand-refined {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--white) !important;
}

.brand-dot {
  color: var(--accent-color);
}

/* Hero Cinematic Layout */
.hero-cinematic {
  height: 100vh;
  min-height: 800px;
   background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.ambient-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInDown 0.8s forwards 0.2s;
}

.hero-display {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: fadeInLeft 1s forwards 0.4s;
}

.text-accent {
  color: var(--accent-color);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 550px;
  margin-bottom: 3rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.6s;
}

/* Editorial Button Style */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.8s;
}

.btn-editorial {
  padding: 1.25rem 2.5rem;
  background: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.btn-editorial:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
}

.v-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-socials {
  display: flex;
  gap: 1.5rem;
}

.hero-socials a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.hero-socials a:hover {
  color: var(--accent-color);
}

/* Portrait Styling */
.portrait-container {
  position: relative;
  z-index: 2;
  padding-left: 2rem;
}

.portrait-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  animation: portraitEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-img {
  filter: grayscale(20%) contrast(1.1);
  transition: transform 1s ease;
}

.portrait-reveal:hover .portrait-img {
  transform: scale(1.05);
}

.portrait-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--primary-color) 0%, transparent 40%);
  z-index: 1;
}

.floating-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 1rem 2rem;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-color), transparent);
  animation: scrollLine 2s infinite;
}

.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

/* Animations */
@keyframes portraitEntrance {
  from {
    transform: scale(0.9) translateY(40px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}


/* Horizontal Partners Carousel */
.partners-horizontal {
    background: #0f1419;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.partners-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.partners-wrapper {
    width: 100%;
    overflow: visible;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 4rem;
    animation: scrollHorizontal 30s linear infinite;
    padding: 0 2rem;
    width: max-content;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    flex-shrink: 0;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.05);
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    background: rgba(255, 255, 255, 0.1);
    border-color: #d4a574;
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.partner-desc {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
}

/* Horizontal Scroll Animation */
@keyframes scrollHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 6 - 4rem * 6));
    }
}

/* Pause animation on hover */
.partners-track:hover {
    animation-play-state: paused;
}

/* Gradient fade on edges */
.partners-container::before,
.partners-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-container::before {
    left: 0;
    background: linear-gradient(to right, #0f1419, transparent);
}

.partners-container::after {
    right: 0;
    background: linear-gradient(to left, #0f1419, transparent);
}

/* Controls */
.carousel-controls {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.control-hint {
    opacity: 0.7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .partners-track {
        gap: 2rem;
        animation: scrollHorizontal 20s linear infinite;
    }
    
    .partner-item {
        min-width: 150px;
    }
    
    .partner-logo {
        width: 140px;
        height: 80px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    @keyframes scrollHorizontal {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 6 - 2rem * 6));
        }
    }
    
    .partners-container::before,
    .partners-container::after {
        width: 50px;
    }
}

/* Partners Carousel Clean Version */
.partners-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 3rem 0;
}

.partners-wrapper {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 4rem;
    animation: scrollHorizontal 40s linear infinite;
    padding: 0 2rem;
    width: max-content;
}

.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 1rem;
}

.logo-wrapper:hover {
    transform: scale(1.05);
}

.logo-wrapper img {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-wrapper:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Animation */
@keyframes scrollHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 10 - 4rem * 10));
    }
}

/* Pause animation on hover */
.partners-track:hover {
    animation-play-state: paused;
}

/* Gradient fade on edges */
.partners-container::before,
.partners-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-container::before {
    left: 0;
    /*background: linear-gradient(to right, var(--light-bg), transparent);*/
}

.partners-container::after {
    right: 0;
    /*background: linear-gradient(to left, var(--light-bg), transparent);**/
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .partners-track {
        gap: 3rem;
        animation: scrollHorizontalMobile 30s linear infinite;
    }
    
    .logo-wrapper img {
        max-width: 180px;
        max-height: 70px;
    }
    
    @keyframes scrollHorizontalMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 10 - 3rem * 10));
        }
    }
    
    .partners-container::before,
    .partners-container::after {
        width: 60px;
    }
}

@media (max-width: 768px) {
    .partners-track {
        gap: 2rem;
    }
    
    .logo-wrapper img {
        max-width: 150px;
        max-height: 60px;
    }
    
    @keyframes scrollHorizontalMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 10 - 2rem * 10));
        }
    }
}

@media (max-width: 576px) {
    .partners-track {
        gap: 1.5rem;
    }
    
    .logo-wrapper img {
        max-width: 130px;
        max-height: 50px;
    }
    
    .partners-container::before,
    .partners-container::after {
        width: 40px;
    }
}
/* Additional Styles for New Sections */

/* About Me Section */
.about-section.bg-dark {
    background: var(--primary-dark) !important;
}

.qualification-grid {
    display: grid;
    gap: 1.5rem;
}

.qualification-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.qualification-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.qualification-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(212, 165, 116, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qualification-content h5 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.qualification-content ul {
    margin-top: 0.5rem;
}

.qualification-content li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.3rem;
}

/* Competencies Section */
.competency-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid transparent;
}

.competency-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--accent-color);
}

.competency-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.competency-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.competency-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Experience Timeline */
.experience-section {
    background: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid white;
    box-shadow: 0 0 0 4px var(--light-bg);
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    text-align: right;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.company {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Current Show Section */
.current-show-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.show-poster {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.show-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.show-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.show-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.show-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.show-stat {
    text-align: center;
}

.show-stat h4 {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.show-stat p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.show-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(212, 165, 116, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* YouTube Embed Responsive */
.youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-item::before {
        left: 9px;
    }
    
    .timeline-date {
        width: 50px;
        font-size: 0.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .v-divider {
        display: none;
    }
    
    .show-stats {
        justify-content: center;
    }
}

/* Button Styles */
.btn-outline-editorial {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-editorial:hover {
    background: var(--white);
    color: var(--primary-color);
}


/* Redesigned Experience Timeline */
.experience-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--accent-color) 10%, 
        var(--accent-color) 90%, 
        transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content-wrapper {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.timeline-item.left .timeline-content-wrapper {
    flex-direction: row;
    padding-right: calc(50% + 2rem);
}

.timeline-item.right .timeline-content-wrapper {
    flex-direction: row-reverse;
    padding-left: calc(50% + 2rem);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-dark);
    border: 3px solid var(--accent-color);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.timeline-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
}

.timeline-item.left .timeline-card {
    margin-left: auto;
}

.timeline-item.right .timeline-card {
    margin-right: auto;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-date {
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.timeline-duration {
    background: rgba(212, 165, 116, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
}

.timeline-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.timeline-company {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.timeline-company i {
    font-size: 0.9rem;
}

.timeline-description {
    margin-bottom: 1.5rem;
}

.timeline-description p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-tasks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-tasks li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.timeline-tasks li i {
    color: var(--accent-color);
    margin-right: 0.7rem;
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.tag {
    background: rgba(26, 58, 92, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item.left .timeline-content-wrapper,
    .timeline-item.right .timeline-content-wrapper {
        padding: 0 0 0 4rem;
        flex-direction: row;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-card {
        width: 100%;
        margin: 0 !important;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .timeline-tags {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .timeline-item {
        margin-bottom: 3rem;
    }
    
    .timeline-card {
        padding: 1.5rem;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
    
    .timeline-tags {
        gap: 0.4rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Animation for timeline items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

/* Updated Hero Section Styles */

/* Experience Button Styling */
.experience-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--primary-dark);
    border: none;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.experience-btn:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

/* CV Button Styling */
.cv-btn {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cv-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Updated Floating Badge */
.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-badge:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Updated Hero Actions Layout */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-actions {
        gap: 1rem;
    }
    
    .experience-btn,
    .cv-btn {
        padding: 1rem 2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .v-divider {
        display: none;
    }
    
    .experience-btn,
    .cv-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .hero-socials {
        margin-top: 1rem;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .experience-btn,
    .cv-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .floating-badge {
        left: 10px;
        bottom: 20px;
        padding: 0.8rem 1.5rem;
        font-size: 0.7rem;
    }
}

/* Animation for the floating badge */
@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-badge {
    animation: badgeFloat 3s ease-in-out infinite;
}

/* Icon styling */
.btn-editorial i {
    font-size: 0.9rem;
}

/* Compact Education Section */
.education-compact {
    margin-top: 1rem;
}

.education-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.education-item-compact:hover {
    background: rgba(255, 255, 255, 0.05);
}

.education-icon-compact {
    width: 36px;
    height: 36px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--accent-color);
}

.education-icon-compact i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.education-text-compact {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
}

.education-text-compact strong {
    color: white;
    font-weight: 600;
}

/* Make the qualification card more compact */
.qualification-card {
    padding: 1rem !important;
}

.qualification-content h5 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
}

.mikitaye{
    color: #5890da;
    text-decoration: none;
    transform: translateY(-5px);
}
.mikitaye:hover {
    color: #c4bcb4;

}

.gmail{
  text-decoration: none;
  color: inherit;
}
.gmail:hover{
  color: var(--accent-color);
}

.phonefooter{
  text-decoration: none;
  color: inherit;
}

.phonefooter:hover{
  color: var(--accent-color);  
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .education-item-compact {
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .education-icon-compact {
        width: 32px;
        height: 32px;
    }
    
    .education-icon-compact i {
        font-size: 0.8rem;
    }
    
    .education-text-compact {
        font-size: 0.8rem;
    }
}


/* Fade In Animations with paused state */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-play-state: paused;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards;
    animation-play-state: paused;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
    animation-play-state: paused;
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease forwards;
    animation-play-state: paused;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
.delay-6 { animation-delay: 1.2s; }

/* Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Force image to show on mobile */
@media (max-width: 991px) {
    .hero-cinematic {
        min-height: auto !important;
        height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }
    
    .portrait-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 30px 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .portrait-reveal {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 4px;
    }
    
    .portrait-img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 100% !important;
        max-height: 400px !important;
        width: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }
    
    .floating-badge {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        bottom: -15px !important;
        left: 20px !important;
        z-index: 100 !important;
    }
}

@media (max-width: 576px) {
    .portrait-img {
        max-height: 350px !important;
    }
    
    .floating-badge {
        left: 10px !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.7rem !important;
    }
}

/* Mobile spacing fix */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 0 !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .hero-section .container {
        padding-top: 80px !important; /* This keeps content below navbar */
    }
}



/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 320px;
    max-width: 450px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 6px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    overflow: hidden;
    animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid;
}

.toast-notification.success {
    border-left-color: #1a3a5c
}

.toast-notification.error {
    border-left-color: #d4a574;
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.toast-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    font-size: 24px;
}

.success .toast-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
}

.error .toast-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.3);
}

.toast-text {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 5px 0;
    color: #1f2937;
    letter-spacing: -0.02em;
}

.toast-message {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.toast-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 20px;
    padding: 0 0 0 15px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #4b5563;
}

.toast-progress {
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
    animation: progress 5s linear forwards;
}

.toast-progress.error {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Modal Overlay (for option 2) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* Large Desktop */
@media (min-width: 1400px) {
    .about-hero.hero-cinematic {
        min-height: 50vh;
        padding-top: 180px !important;
        padding-bottom: 80px;
    }
    
    .about-hero h1 {
        font-size: 4rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .about-hero.hero-cinematic {
        min-height: 55vh;
        padding-top: 140px !important;
        padding-bottom: 60px;
    }
    
    .about-hero h1 {
        font-size: 3.5rem;
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    .about-hero.hero-cinematic {
        min-height: 50vh;
        padding-top: 140px !important;
        padding-bottom: 50px;
        text-align: center;
    }
    
    .about-hero .col-lg-8 {
        width: 100%;
        margin: 0 auto;
    }
    
    .about-hero h1 {
        font-size: 3rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-hero .mt-4 {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .about-hero.hero-cinematic {
        min-height: 45vh;
        padding-top: 130px !important;
        padding-bottom: 40px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero h1 br {
        display: none; /* Remove line break on mobile */
    }
    
    .about-hero p {
        font-size: 1rem;
        max-width: 600px;
        padding: 0 15px;
    }
    
    .about-hero .mt-4 {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .about-hero .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 !important;
        text-align: center;
    }
    
    .about-hero .btn-animated {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile Landscape */
@media (max-width: 576px) {
    .about-hero.hero-cinematic {
        min-height: 40vh;
        padding-top: 120px !important;
        padding-bottom: 30px;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 0.95rem;
        padding: 0 10px;
        line-height: 1.5;
    }
    
    .about-hero .btn {
        max-width: 240px;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .about-hero .btn i {
        font-size: 0.8rem;
    }
}

/* Mobile Portrait */
@media (max-width: 400px) {
    .about-hero.hero-cinematic {
        padding-top: 110px !important;
    }
    
    .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .about-hero p {
        font-size: 0.9rem;
    }
    
    .about-hero .btn {
        max-width: 220px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Ensure buttons look good on all devices */
.about-hero .btn-animated {
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.about-hero .btn-light {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.about-hero .btn-light:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

.about-hero .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Animation for fade-in on mobile */
@media (max-width: 768px) {
    .fade-in {
        animation-duration: 0.6s;
    }
    
    .delay-1, .delay-2 {
        animation-delay: 0.1s;
    }
}


/* ===== Auto-Scrolling Blog Section ===== */
.blog-section {
    background: var(--light-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Carousel Styling - Shared */
#linkedinCarousel,
#youtubeCarousel {
    position: relative;
    padding: 0 50px;
}

.carousel-indicators {
    position: relative;
    margin-top: 2rem;
    gap: 8px;
}

.carousel-indicators button {
    width: 40px !important;
    height: 6px !important;
    border-radius: 3px !important;
    border: none !important;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    width: 60px !important;
    opacity: 1;
}

#linkedinCarousel .carousel-indicators button.active {
    background: var(--accent-color) !important;
}

#youtubeCarousel .carousel-indicators button.active {
    background: #ff0000 !important;
}

/* Post Card Styling */
.post-card {
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.post-card:hover {
    transform: translateY(-5px);
}

.highlight-box {
    border-left-width: 6px !important;
}

/* Video Card Styling */
.video-card {
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.video-thumbnail:hover .play-overlay i {
    transform: scale(1.1);
    color: #ff0000 !important;
}

.play-overlay {
    transition: all 0.3s ease;
}

.play-overlay i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

/* Carousel Controls - Shared */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#linkedinCarousel .carousel-control-prev,
#linkedinCarousel .carousel-control-next {
    background: var(--primary-color);
}

#youtubeCarousel .carousel-control-prev,
#youtubeCarousel .carousel-control-next {
    background: #ff0000;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    transform: translateY(-50%) scale(1.1);
}

#linkedinCarousel .carousel-control-prev:hover,
#linkedinCarousel .carousel-control-next:hover {
    background: var(--accent-color);
}

#youtubeCarousel .carousel-control-prev:hover,
#youtubeCarousel .carousel-control-next:hover {
    background: #cc0000;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    #linkedinCarousel,
    #youtubeCarousel {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .post-card,
    .video-card {
        padding: 2rem !important;
    }
    
    .carousel-indicators button {
        width: 30px !important;
    }
    
    .carousel-indicators button.active {
        width: 45px !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    #linkedinCarousel,
    #youtubeCarousel {
        padding: 0 35px;
    }
    
    .post-card,
    .video-card {
        padding: 1.5rem !important;
    }
    
    .post-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start !important;
    }
    
    .post-stats .btn {
        width: 100%;
    }
    
    .carousel-indicators button {
        width: 25px !important;
        height: 4px !important;
    }
    
    .carousel-indicators button.active {
        width: 35px !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .video-card .row {
        flex-direction: column;
    }
    
    .video-thumbnail {
        margin-bottom: 1rem;
    }
}



/* Portfolio Grid - Fixed Square Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== ENHANCED RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1400px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1320px;
        margin: 0 auto;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 1.5rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr); /* Still 2 columns on smaller tablets */
        gap: 1rem;
    }
}

/* Mobile Large - THIS IS WHERE IT BECOMES 1 COLUMN */
@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* SINGLE COLUMN on mobile */
        max-width: 400px;
        margin: 0 auto;
        gap: 1.5rem;
    }
    
    .portfolio-header h1 {
        font-size: 1.8rem;
    }
    
    .portfolio-header p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    /* Make cards slightly larger on mobile */
    .portfolio-card {
        width: 100%;
    }
    
    .card-image-wrapper {
        aspect-ratio: 16 / 9;
    }
    
    .card-body {
        padding: 1.2rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-text {
        font-size: 0.95rem;
    }
}

/* Mobile Small */
@media (max-width: 375px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Still 1 column */
        max-width: 320px;
    }
    
    .portfolio-header h1 {
        font-size: 1.6rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

/* Fix for card image wrapper and thumbnail */
.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-embed {
    position: relative;
    width: 100%;
    height: 140%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

/* Fix for ChinAfrica image */
.youtube-embed img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Ensure overlay badge stays on top */
.overlay-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-dark);
    z-index: 10;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Mobile fixes for thumbnails */
@media (max-width: 768px) {
    .card-image-wrapper {
        aspect-ratio: 16 / 9;
    }
    
    .youtube-embed iframe,
    .youtube-embed img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .card-image-wrapper {
        aspect-ratio: 16 / 9;
        max-height: 220px;
    }
    
    .overlay-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 375px) {
    .card-image-wrapper {
        max-height: 200px;
    }
}


/* YouTube Cards - Image on Top, Details Below */
.video-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    transition: all 0.3s ease;
    opacity: 0.9;
}

.play-overlay i {
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.video-card:hover .play-overlay i {
    transform: scale(1.1);
    color: var(--accent-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-card .p-4 {
        padding: 1.5rem !important;
    }
    
    .play-overlay i {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .video-card .p-4 {
        padding: 1.2rem !important;
    }
    
    .play-overlay i {
        font-size: 3rem;
    }
    
    .video-card h4 {
        font-size: 1.2rem;
    }
    
    .video-card p {
        font-size: 0.9rem;
    }
}
/* LinkedIn Cards - Image at Top Style */
.linkedin-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.linkedin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

.linkedin-cover {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
}

.linkedin-card .rounded-circle {
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.linkedin-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.linkedin-card p {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.7;
}

.linkedin-card .btn-outline-primary {
    border: 2px solid #0077b5;
    color: #0077b5;
    border-radius: 12px;
    font-weight: 700;
    padding: 1rem;
    transition: all 0.3s ease;
}

.linkedin-card .btn-outline-primary:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,119,181,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .linkedin-card h3 {
        font-size: 1.3rem;
    }
    
    .linkedin-card p {
        font-size: 0.95rem;
    }
    
    .linkedin-cover {
        height: 100px;
    }
    
    .linkedin-card .rounded-circle {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .linkedin-card h3 {
        font-size: 1.2rem;
    }
    
    .linkedin-card p {
        font-size: 0.9rem;
    }
    
    .linkedin-cover {
        height: 80px;
    }
    
    .linkedin-card .rounded-circle {
        width: 60px;
        height: 60px;
    }
    
    .linkedin-card .btn-outline-primary {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}


/* LinkedIn Card Styles */
.linkedin-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Image Container - Makes image clearly visible */
.post-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Profile section */
.linkedin-card .rounded-circle {
    border: 2px solid #0077b5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Button */
.linkedin-card .btn {
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.linkedin-card .btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,119,181,0.3);
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 45px;
    height: 45px;
    background-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .post-image-container {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .post-image-container {
        height: 200px;
    }
    
    .linkedin-card .p-4 {
        padding: 1.2rem !important;
    }
}

.arrival-section {
    padding: 80px 0;
    background: #f8f5f0; /* light beige like image */
}

.arrival-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* LEFT SIDE */
.arrival-content {
    flex: 1;
    max-width: 500px;
}

.arrival-title {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #111;
}

.arrival-desc {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* BUTTON */
.arrival-btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s ease;
}

.arrival-btn i {
    margin-right: 8px;
}

/* RIGHT SIDE */
.arrival-media {
    flex: 1;
    text-align: center;
}

.arrival-media img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* LINKEDIN THEME */
.linkedin-theme .arrival-btn {
    background: #0077b5;
}

.linkedin-theme .arrival-btn:hover {
    background: #005f8d;
}

/* YOUTUBE THEME */
.youtube-theme .arrival-btn {
    background: #ff0000;
}

.youtube-theme .arrival-btn:hover {
    background: #cc0000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .arrival-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .arrival-title {
        font-size: 40px;
    }
}


.arrival-section {
    padding: 80px 0;
    background: #f5f1ea;
}

.arrival-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.arrival-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.arrival-content {
    flex: 1;
    max-width: 500px;
}

.arrival-title {
    font-size: 48px;
    font-weight: 900;
    color: #111;
    margin-bottom: 20px;
}

.arrival-desc {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.arrival-btn {
    background: #0077b5;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.arrival-btn:hover {
    background: #005f8d;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

    .arrival-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .arrival-title {
        font-size: 28px;
    }

    .arrival-desc {
        font-size: 15px;
    }

    .image-placeholder {
        height: 220px;
        max-width: 100%;
    }

    .arrival-box {
        padding: 20px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

    .arrival-title {
        font-size: 24px;
    }

    .image-placeholder {
        height: 200px;
    }
}

/* IMAGE PLACEHOLDER */
.image-placeholder {
    width: 380px;
    height: 300px;
    border-radius: 12px;
    /*overflow: hidden;  IMPORTANT */
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGE FIX */
.image-placeholder img {
    width: 100%;
    object-fit: cover;   /* makes it fill perfectly */
    border-radius: 12px;
}

/* ARROWS */
.custom-arrow {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.arrow-icon {
    font-size: 24px;
    color: #0077b5;
    font-weight: bold;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

/* DOTS */
.carousel-indicators button {
    background-color: #0077b5;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.yt-arrow-icon {
    font-size: 24px;
    color: rgb(248, 30, 30);
    font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .arrival-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .arrival-title {
        font-size: 32px;
    }
}

.youtube-hero {
  padding: 40px 0;
}

.hero-slide {
  position: relative;
  height: 420px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 500px;
  padding: 40px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-watch {
  display: inline-block;
  background: #e63946;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-watch:hover {
  background: #c71f2d;
}

/* OPTIONAL: space on right for future image */
.hero-slide::after {
  content: "";
  position: absolute;
  right: 0;
  width: 35%;
  height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    max-width: 100%;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}

/* Fix for LinkedIn Carousel on Mobile - Add at the end of your CSS */
@media (max-width: 768px) {
    /* Prevent overflow */
    .arrival-section {
        overflow-x: hidden;
    }
    
    .arrival-box {
        margin: 0 15px;
        padding: 25px 20px;
        width: auto;
        overflow: hidden;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 220px;
        overflow: hidden;
    }
    
    .image-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-height: 280px;
    }
    
    .arrival-wrapper {
        gap: 20px;
    }
    
    .arrival-content {
        padding: 0 5px;
    }
    
    .arrival-title {
        font-size: 28px;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .arrival-desc {
        font-size: 14px;
        word-wrap: break-word;
    }
    
    /* Fix carousel container */
    #linkedinArrivalCarousel {
        overflow: visible;
    }
    
    .carousel-inner {
        overflow: visible;
    }
}

/* Fix YouTube Carousel Buttons */
.youtube-hero {
    padding: 40px 0;
    position: relative;
}

#youtubeHeroCarousel {
    position: relative;
}

#youtubeHeroCarousel .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Ensure buttons are clickable */
#youtubeHeroCarousel .carousel-control-prev,
#youtubeHeroCarousel .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

/* Fix arrow icons */
#youtubeHeroCarousel .yt-arrow-icon {
    font-size: 24px;
    color: #ff0000;
    font-weight: bold;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#youtubeHeroCarousel .custom-arrow:hover .yt-arrow-icon {
    background: #ff0000;
    color: white;
    transform: scale(1.1);
}

/* Mobile responsive for YouTube buttons */
@media (max-width: 768px) {
    #youtubeHeroCarousel .yt-arrow-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    #youtubeHeroCarousel .yt-arrow-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* Fix View All Buttons Alignment */
.text-center.mt-5 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.text-center.mt-5 .btn {
    margin: 0 !important;
    padding: 12px 28px;
    font-size: 16px;
    white-space: nowrap;
}

/* Responsive for buttons */
@media (max-width: 576px) {
    .text-center.mt-5 {
        flex-direction: column;
        gap: 12px;
    }
    
    .text-center.mt-5 .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .text-center.mt-5 .btn i {
        margin-right: 8px;
    }
}