/* General Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #f4f4f4;
    overflow-x: hidden;
  }
  
  /* Navbar Styles */
  .navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .navbar .nav-link {
    color: #555;
    transition: color 0.3s;
  }
  .navbar .nav-link:hover {
    color: #007bff;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: -1;
  }
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
    animation: slideInFromLeft 1s ease-out;
  }
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 1em;
    animation: fadeIn 2s ease-out;
  }
  .hero a {
    background: #007bff;
    color: white;
    padding: 10px 30px;
    transition: background-color 0.3s;
    animation: popIn 0.6s ease-out;
  }
  .hero a:hover {
    background-color: #0056b3;
  }
  
  /* About Section */
  .about {
    padding: 50px 0;
  }
  .about img {
    max-width: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: rotateIn 1s;
  }
  .about h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  /* Services Section */
  .services {
    background-color: #f9f9f9;
    padding: 50px 0;
  }
  .services .card {
    transition: transform 0.3s ease-in-out;
  }
  .services .card:hover {
    transform: translateY(-10px);
  }
  
  /* Portfolio Section */
  .portfolio {
    padding: 50px 0;
  }
  .portfolio img {
    transition: transform 0.3s ease-in-out;
  }
  .portfolio img:hover {
    transform: scale(1.1);
  }
  
  /* Testimonials Section */
  .testimonials {
    padding: 50px 0;
    background-color: #eee;
  }
  .testimonials blockquote {
    font-style: italic;
  }
  
  /* Contact Section */
  .contact {
    padding: 50px 0;
    background-color: #007bff;
    color: white;
  }
  
  /* Footer */
  .footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
  }
  
  /* Animations */
  @keyframes slideInFromLeft {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
  }
  @keyframes popIn {
    0% {transform: scale(0);}
    100% {transform: scale(1);}
  }
  @keyframes rotateIn {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .navbar-nav {
      text-align: center;
    }
    .hero h1 {
      font-size: 1.75rem;
    }
    .hero p {
      font-size: 1rem;
    }
  }
  

  /* Portfolio Section Enhancements */
.portfolio {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    padding: 50px 0;
  }
  .portfolio h2 {
    text-align: center;
    margin-bottom: 30px;
  }
  .portfolio .img-fluid {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  .portfolio .img-fluid:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  
  /* Schedule a Meeting Section Improvements */
  .contact {
    background-color: #fff;
    padding: 50px 0;
    color: #333;
  }
  .contact .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .contact .meeting-info {
    flex: 1;
    padding: 20px;
    min-width: 300px;
  }
  .contact .meeting-info h2 {
    color: #007bff;
    margin-bottom: 15px;
  }
  .contact .calendly-inline-widget {
    flex: 2;
    min-width: 300px;
    border: none;
    overflow: hidden;
  }
  
  /* Responsive tweaks for better mobile experience */
  @media (max-width: 768px) {
    .contact .container {
      flex-direction: column;
    }
  }
  
  /* Portfolio Logos */
.portfolio .img-container {
    display: inline-block;
    width: 100%; /* ensures container fills the column */
    text-align: center; /* centers the image within the column */
    padding: 10px; /* adds some space around the image */
    transition: transform 0.3s ease-in-out; /* smooth transition for hover effect */
  }
  
  .portfolio img {
    width: 100px; /* sets a standard width for all logos */
    height: 100px; /* sets a standard height for all logos */
    object-fit: contain; /* ensures the image aspect ratio is maintained without cropping */
    transition: opacity 0.3s ease-in-out; /* smooth transition for hover effect */
  }
  
  .portfolio img:hover {
    opacity: 0.8; /* slightly dims the image on hover for a subtle interaction cue */
  }
  

  /* Portfolio Section Enhancements */
.portfolio {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    padding: 50px 0;
  }
  .portfolio h2 {
    text-align: center;
    margin-bottom: 30px;
  }
  .portfolio .img-container {
    text-align: center;
    margin-bottom: 20px;
  }
  .portfolio img {
    width: 100px;  /* Ensures all logos are the same size */
    height: 100px; /* Ensures all logos are the same size */
    object-fit: contain;
    margin-bottom: 10px;
  }
  .portfolio p {
    font-size: 0.9rem;
    color: #fff;
    margin: 0 10px; /* Adds horizontal padding for better readability */
  }
  

  

  .timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.timeline-content {
    margin-left: 10px;
    text-align: left;
}
.parallax-background {
    background-image: url('background.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #eeeeee;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-inverted {
    right: 0;
}

.timeline-badge {
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -12px;
    background-color: #6f42c1;
    z-index: 100;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #fff;
}

.timeline-panel {
    position: relative;
    background: #fff;
    border: 1px solid #d4d4d4;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.175);
    
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p, .timeline-body > ul {
    margin-bottom: 0;
}

.timeline-panel:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 15px 0;
    border-color: transparent #f7f7f7 transparent transparent;
    left: -15px;
    top: 20px;
}

.timeline-panel:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent #d4d4d4;
    left: -15px;
    top: 20px;
}



.timeline {
    list-style: none;
    padding: 20px 0;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eee;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 50px;
    position: relative;
    width: 50%;
    padding-right: 70px;
    text-align: right;
}

.timeline > li.timeline-inverted {
    padding-right: 0;
    padding-left: 70px;
    text-align: left;
}

.timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #6f42c1;
    border-radius: 50%;
    z-index: 100;
}

.timeline-panel {
    position: relative;
    padding: 20px;
    
    border: 1px solid #d4d4d4;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.timeline-panel:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-panel:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 14px 14px 0;
    border-color: transparent #fff transparent transparent;
    left: -14px;
    top: 28px;
}

.timeline-panel:before {
    content: '';
    position:absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 15px 0;
    border-color: transparent #d4d4d4 transparent transparent;
    left: -15px;
    top: 27px;
}



.animated-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.portfolio img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 20px;
}

.services .card {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.services .card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.footer {
    background-color: #212529; /* Darker shade for footer */
}

@media (max-width: 768px) {
    .hero h1, .hero p {
        text-align: center;
    }
}


.services {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.services h2 {
    color: #333;
    margin-bottom: 30px;
}

.services .card {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: none; /* Removes the default card border */
}

.services .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.services .card-body {
    padding: 20px;
}

.services .card-title {
    color: #007bff; /* Themed color for titles */
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.services .card-text {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services .card {
        margin-bottom: 20px; /* Adds spacing between cards on smaller screens */
    }
}
