/* Base styling and fixes */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Base utility classes that extend Bootstrap */
.py-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-7 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.rounded-4 {
  border-radius: 1rem;
}

/* Gradient background */
.bg-gradient-primary {
  background: linear-gradient(to bottom, #323232 0%, #3F3F3F 40%, #1C1C1C 150%), linear-gradient(to top, rgba(255,255,255,0.40) 0%, rgba(0,0,0,0.25) 200%);
 background-blend-mode: multiply;
}

/* Custom background colors */
.bg-purple {
  background-color: rgba(111, 66, 193, 0.2);
}

/* Animation effects */
.animated-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.animated-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Profile image animation */
.profile-image {
  transition: transform 0.5s ease;
  max-width: 100%;
  height: auto;
}

.profile-image:hover {
  transform: scale(1.03) rotate(2deg);
}

/* Service icon animation */
.service-icon {
  transition: transform 0.5s ease;
}

.card:hover .service-icon {
  transform: rotateY(180deg);
}

/* Floating shapes for visual interest */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 70px;
  height: 70px;
  top: -20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  animation-delay: 0s;
}

.shape-2 {
  width: 50px;
  height: 50px;
  bottom: 30px;
  right: -20px;
  background-color: rgba(255, 255, 255, 0.15);
  animation-delay: 2s;
}

.shape-3 {
  width: 40px;
  height: 40px;
  bottom: -10px;
  left: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  animation-delay: 4s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Section title animation */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background-color: #0d6efd;
  transition: all 0.5s ease;
}

.section-title.aos-animate:after {
  width: 70%;
  left: 15%;
}

/* Typing animation styles */
.typing-container {
  display: inline-block;
}

.typed-text {
  font-weight: 500;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: #fff;
  margin-left: 2px;
  animation: blink 1s infinite;
}

.cursor.typing {
  animation: none;
}

@keyframes blink {
  0% { background-color: #fff; }
  49% { background-color: #fff; }
  50% { background-color: transparent; }
  99% { background-color: transparent; }
  100% { background-color: #fff; }
}

/* Expandable content styling */
.expand-btn {
  cursor: pointer;
  transition: all 0.3s ease;
}

.expand-btn:hover {
  color: #0b5ed7;
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.expandable-content.show {
  max-height: 500px;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.expand-btn:hover .toggle-icon {
  transform: translateY(2px);
}

/* Mobile view specific fixes */
@media (max-width: 767px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }
  
  .row {
    margin-left: -15px;
    margin-right: -15px;
  }
  
  .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, 
  .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, 
  .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, 
  .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, 
  .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, 
  .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, 
  .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, 
  .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, 
  .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, 
  .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, 
  .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, 
  .col-xl-auto {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  section {
    overflow-x: hidden;
  }
  
  .typed-text {
    font-size: 1.2rem;
  }
}

footer a {
  text-decoration: none!important;
}

.logo-height {
    height: 50px; /* Increased from 100px to 150px */
}

.logo-img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}
