/* Additional Visual Enhancements for Professional Appeal */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Enhanced Hero Section */
.hero {
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 2;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 5px solid var(--secondary-color);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 30s linear infinite;
}

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

/* Enhanced Section Transitions */
.section {
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  z-index: 2;
}

/* Professional Card Hover Effects */
.service-card,
.expertise-card,
.network-item,
.speaking-card,
.linkedin-card,
.hni-network-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.service-card:hover,
.expertise-card:hover,
.network-item:hover,
.speaking-card:hover,
.linkedin-card:hover,
.hni-network-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced Button Styles */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::after {
  left: 0;
}

.btn-primary,
.btn-secondary {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover,
.btn-secondary:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

/* Professional Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.5px;
}

.section-title {
  position: relative;
  padding-bottom: 20px;
}

.section-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

/* Enhanced Image Styles */
img {
  transition: all 0.5s ease;
}

.about-img img,
.speaking-img img,
.linkedin-img img {
  filter: brightness(1.05) contrast(1.05);
  transition: all 0.5s ease, filter 0.5s ease;
}

.about-img:hover img,
.speaking-img:hover img,
.linkedin-img:hover img {
  filter: brightness(1.1) contrast(1.1);
}

/* Professional Form Styling */
.form-control {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background-color: #f8f9fa;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
  background-color: #fff;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-label {
  position: absolute;
  top: 18px;
  left: 20px;
  color: #6c757d;
  transition: all 0.3s ease;
  pointer-events: none;
  background-color: transparent;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: -12px;
  left: 10px;
  font-size: 12px;
  padding: 0 5px;
  background-color: #fff;
  color: var(--primary-color);
}

/* Enhanced Footer */
.footer {
  position: relative;
  overflow: hidden;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-secondary);
}

.footer-about h3,
.footer-links h4 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.footer-about h3::after,
.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

/* Professional Animations */
@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);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease forwards;
}

/* Floating Elements */
.floating {
  animation: floating 3s ease-in-out infinite;
}

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

/* Professional Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Enhanced Mobile Menu */
.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px 0;
  transition: all 0.3s ease;
  background-color: var(--text-light);
}

.header.scrolled .hamburger span {
  background-color: var(--primary-color);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Enhanced Topmate Badge */
.topmate-badge {
  position: relative;
  overflow: hidden;
}

.topmate-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    top: -100%;
    left: -100%;
  }
  100% {
    top: 100%;
    left: 100%;
  }
}

/* Professional Stats Counter */
.stat-number {
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '+';
  position: absolute;
  top: 0;
  right: -15px;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Enhanced CTA Section */
.cta {
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1557683316-973673baf926?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  filter: blur(5px);
}

/* Enhanced Expertise Cards */
.expertise-card {
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.2;
  transition: all 0.3s ease;
}

.expertise-card:hover::before {
  transform: scale(10);
  opacity: 0.05;
}

/* Professional Testimonial Section */
.testimonial-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--secondary-color);
  opacity: 0.2;
  line-height: 1;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 5px;
  font-size: 18px;
}

.testimonial-info p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 14px;
}

/* Enhanced Responsive Design */
@media screen and (max-width: 992px) {
  .hero-image::before {
    display: none;
  }
  
  .section-title {
    font-size: 3.8rem;
  }
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 3.2rem;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .section-title {
    font-size: 2.8rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
}
