body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}
/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  content: "";
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}
.section-title {
  margin-bottom: 70px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px; /* Initial width */
  bottom: 0;
  margin-left: -30px;
  left: 50%;
  animation: underline-animation 2s ease-in-out infinite; /* Add animation */
}

@keyframes underline-animation {
  0% {
    width: 60px; /* Starting width */
    margin-left: -30px; /* Starting position */
  }
  50% {
    width: 20%; /* Reduced width to 30% */
    margin-left: -10%; /* Adjust position to center the 30% width */
  }
  100% {
    width: 60px; /* Return to the initial width */
    margin-left: -30px; /* Return to the starting position */
  }
}

.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #5ca9fb;
  background-image: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #6372ff;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}
.intro {
  display: table;
  width: 100%;
  height: 100vh; /* Ensure it takes the full viewport height */
  padding: 0;
  margin: 0;
  background: url(../img/photoservices/bgimage.jpg) center center no-repeat;
  background-color: #e5e5e5;
  background-size: cover;
  overflow: hidden; /* Prevent overflowing content */
  box-sizing: border-box; /* Include padding and border in the width/height calculation */
  margin-left: 22px;
}

/* Ensure no horizontal scrolling */
body {
  margin: 0;
  overflow-x: hidden; /* Disable horizontal scrolling */
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
}
.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #e64949;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}
.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}
.intro p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}
header .intro-text {
  padding-top: 350px;
  padding-bottom: 200px;
  text-align: center;
}
/* Features Section */
#features {
  background: #f6f6f6;
}
#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s ease-in-out;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
  display: inline-block;
  text-align: center;
  line-height: 40px;
  animation: icon-animation 3s ease-in-out infinite; /* Automatically run animation */
}

@keyframes icon-animation {
  0% {
    transform: scale(1) rotate(0deg); /* Normal size and no rotation */
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1); /* Light shadow */
  }
  50% {
    transform: scale(1.2) rotate(15deg); /* Enlarge and rotate slightly */
    box-shadow: 15px 15px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow */
  }
  100% {
    transform: scale(1) rotate(0deg); /* Return to normal size and reset rotation */
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1); /* Light shadow */
  }
}

/* About Section */
#about {
  padding: 100px 0;
}
#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}
#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  color: #000000;
  font-size: 26px;
  display: inline-block;
}

#about h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30%; /* Set width to 100% to span the full width */
  height: 3px;
  background-color: #0ce0eb85;
  transform: translateX(-100%); /* Start from the left */
  animation: underline-back-and-forth 3s ease-in-out infinite;
  margin-left: 25%;
}

@keyframes underline-back-and-forth {
  0% {
    transform: translateX(-100%); /* Start from the left */
  }
  50% {
    transform: translateX(0); /* Move to the right */
  }
  100% {
    transform: translateX(100%); /* Move back to the left */
  }
}


#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
  color: #000000;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
  
  
}
#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
#about p {
  line-height: 24px;
  margin: 30px 0;
  color: #000000;

}
/* Services Section */
#services {
  padding: 100px 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  color: #fff;
}
#services .service-desc {
  margin: 10px 10px 20px;
}
#services h2 {
  color: #fff;
}
#services .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: #edeaea;
}
#services p {
  color: rgba(9, 1, 1, 0.75);
}
#services .service-desc {
  margin-bottom: 40px;
}
/* Portfolio Section */
#portfolio {
  padding: 100px 0;
}
.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}
.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}
.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(
    to right,
    rgba(99, 114, 255, 0.8) 0%,
    rgba(92, 169, 251, 0.8) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}
.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}
.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.hover-bg:hover .hover-text {
  opacity: 1;
}
/* Testimonials Section */


#testimonials i {
  color: #e6e6e6;
  font-size: 32px;

}
.testimonial {
  position: relative;
  padding: 20px;
}
.testimonial-image {
  margin-left: 30%;
  opacity: 0; /* Start as invisible */
  transform: translateY(20px); /* Start with the image slightly offset */
  animation: fadeInUp 1s ease-out forwards; /* Animation for fading and moving up */
  animation-delay: 0.5s; /* Delay the animation to ensure it starts after a short time */
}

.testimonial-image,
.testimonial-image img {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 2%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth hover transition */
}

/* Keyframe animation for fading and moving the image up */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Start from slightly lower */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Move to normal position */
  }
}

/* Optional hover effect to add interactivity */
.testimonial:hover .testimonial-image {
  transform: scale(1.1); /* Slightly increase size when hovered */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Larger shadow */
}

.testimonial-content {
  position: relative;
  overflow: hidden;
}
.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

.brandname{
  color: #e64949;
}


/* Team Section */
#team {
  padding: 100px 0;
  background-color: rgba(240, 223, 223, 0.75);;

}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 240px;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}

.teamdetails{}
/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  color: rgba(255, 255, 255, 0.75);
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
  animation: scale-in 0.3s ease-in-out; /* Initial animation when loaded */
}

#contact .social i.fa:hover {
  animation: scale-up 0.3s ease-in-out; /* Animation when hovered */
}

@keyframes scale-in {
  0% {
    transform: scale(0); /* Start small */
    opacity: 0;
  }
  100% {
    transform: scale(1); /* Scale to original size */
    opacity: 1;
  }
}

@keyframes scale-up {
  0% {
    transform: scale(1); /* Normal size */
    background-color: transparent;
  }
  50% {
    transform: scale(1.2); /* Slightly enlarge */
    background-color: rgba(255, 255, 255, 0.2); /* Slight background color */
  }
  100% {
    transform: scale(1.5); /* Larger size on hover */
    background-color: rgba(255, 255, 255, 0.4); /* Background color increases */
  }
}

#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
}
/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 30px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}


.contact-us{
  color: #c51212;
}




/* Card container */
.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
  width: 100%; /* Ensure the card takes full width of its container */
  box-sizing: border-box; /* Include padding and border in width calculation */
}

/* Title styles */
.card h3 {
  font-size: 1.5rem;
  color: #333;
  margin: 10px 0;
  font-weight: 600;
}

/* Paragraph text styles */
.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
}

/* Hover effect */
.card:hover {
  transform: translateY(-5px); /* Lift the card on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Bigger shadow on hover */
}

/* Media Queries for responsiveness */

/* For screens smaller than 768px (tablet and mobile) */
@media (max-width: 768px) {
  .card {
    margin: 10px; /* Reduce margin for smaller screens */
    max-width: 100%; /* Allow the card to take full width of its container */
  }

  /* Adjust card title font size */
  .card h3 {
    font-size: 1.25rem; /* Make title smaller for mobile */
  }

  /* Adjust paragraph text for readability on mobile */
  .card p {
    font-size: 0.9rem; /* Reduce font size for smaller screens */
  }
}

/* For screens smaller than 480px (very small screens) */
@media (max-width: 480px) {
  .card {
    margin: 5px; /* Further reduce margin */
  }

  /* Further adjust font sizes for very small screens */
  .card h3 {
    font-size: 1.1rem; /* Make title smaller */
  }

  .card p {
    font-size: 0.85rem; /* Further reduce paragraph font size */
  }
}




/* Scrollable container */
.scroll-container {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  white-space: nowrap; /* Prevent wrapping of child elements */
  padding: 10px;
  scrollbar-width: thin; /* For Firefox - makes scrollbar thin */
}

.scroll-container::-webkit-scrollbar {
  height: 8px; /* Scrollbar height */
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #ccc; /* Scrollbar color */
  border-radius: 4px; /* Rounded scrollbar */
}

.scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1; /* Track background */
}

/* Portfolio items styling */
.portfolio-items {
  display: inline-flex; /* Make children align horizontally */
  gap: 10px; /* Space between items */
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  flex-shrink: 0; /* Prevent shrinking */
  width: 300px; /* Adjust width as needed */
  border: 1px solid #ddd; /* Optional styling */
  border-radius: 10px; /* Rounded corners */
  overflow: hidden; /* Clip content */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional styling */
}


body, html {
  align-items: center;
  width: 100%;
}