html,
button,
input,
select,
textarea {
  color: #222;
}
body {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #f2c2c9;
  color: #a4003a;
  text-shadow: none;
}
::selection {
  background: #16a085;
  color: #a4003a;
  text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 3px;
  border: 0;
  margin: 3em 0;
  padding: 0;
  background-image: -webkit-linear-gradient(left, #fff, #e6e6e6, #fff);
  background-image: -moz-linear-gradient(left, #fff, #e6e6e6, #fff);
  background-image: -ms-linear-gradient(left, #fff, #e6e6e6, #fff);
  background-image: -o-linear-gradient(left, #fff, #e6e6e6, #fff);
  width: 50%;
  left: 25%;
  position: relative;
  border: none;
}

img {
  vertical-align: middle;
}
/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}
/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
  height: 100%;
}
body {
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #555;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}
.col-md-4 {
  padding-bottom: 30px;
}
.row {
  margin-right: 0px;
  margin-left: -15px;
}
.modal-header {
  background: #0a4a7e;
}
.modal-header h4 {
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
}
.modal-footer {
  background: #0a4a7e;
}
.navbar-default .navbar-nav > li > a {
  color: #555;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #0a4a7e;
  background-color: #fff;
}
.navbar-default {
  background-color: #fff;
  padding: 12px 0;
  box-shadow: 0 0 3px #ccc;
  font-weight: 500;
}
.navbar-default .navbar-brand {
  font-weight: 700;
  font-size: 26px;
  color: #666;
}
.navbar-brand .fa {
  color: #0a4a7e;
}
.navbar-toggle {
  border-color: transparent;
  border: 0px solid transparent;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #0a4a7e;
}

#navbar-logo {
  height: 50px; /* Default size */
  max-width: 100%;
  object-fit: contain;
}

/* Style the navbar toggle (hamburger) icon */
.navbar-toggle {
  border-color: transparent;
}

.navbar-toggle .icon-bar {
  background-color: black; /* Black hamburger icon */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  #navbar-logo {
    height: 40px; /* Slightly smaller for tablets */
  }
}

@media (max-width: 768px) {
  .navbar-header {
    display: flex;
    align-items: center;
    justify-content: center; /* Center logo */
    width: 100%;
    position: relative;
  }

  #navbar-logo {
    height: 35px; /* Adjusted for smaller screens */
  }

  .navbar-toggle {
    position: absolute;
    right: 15px; /* Align toggle button to the right */
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar-collapse {
    background: white; /* Ensure dropdown menu visibility */
    width: 100%;
    text-align: center;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav > li {
    display: block;
    width: 100%;
  }
}
.navbar-toggle {
  border: none;
  background: transparent;
  padding: 0px;
  margin: 2.5px 0 0 0;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: black; /* Black icon */
  padding: 0px;
  margin: 0px;
  transition: 0.3s;
}

/* Optional: Animated effect on click */
.navbar-toggle:focus,
.navbar-toggle:hover {
  background: transparent;
}
a img {
  background: white;
}
.odd a img {
  background: #f5f5f5;
}
/* Titles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 200;
  color: #555;
}
h2 {
  font-size: 34px;
  color: #666;
  font-weight: 500;
}
h3 {
  font-size: 24px;
  font-weight: 500;
}
/* Paragraph & Typographic */
p {
  line-height: 26px;
  margin-bottom: 20px;
}
p.large {
  font-size: 18px;
  margin-bottom: 50px;
}
.centered {
  text-align: center;
}
strong {
  font-weight: 700;
}
em {
  font-weight: 300;
}
pre {
  background: #ebebeb;
  border: none;
  font-family: "Monaco";
  font-size: 16px;
  color: #666;
  padding: 20px;
  line-height: 28px;
}
small {
  font-size: 12px;
}
blockquote,
blockquote p {
  line-height: 28px;
  color: #999;
  font-weight: 300;
  font-style: italic;
}
blockquote {
  position: relative;
  margin: 0 0 40px -30px;
  padding-left: 30px;
  border-left: 5px solid #3498db;
}
blockquote cite {
  position: absolute;
  bottom: -25px;
  right: 0;
  font-size: 12px;
  font-style: italic;
  color: #333;
  font-weight: 300;
}
blockquote cite:before {
  content: "-- ";
}
/* Images */
.overflow-image {
  margin-top: -65px;
}
/* Links */
a {
  color: #082a4a;
  word-wrap: break-word;
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}
a:hover,
a:focus {
  color: #c0392b;
  text-decoration: none;
  outline: 0;
}
a:before,
a:after {
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}
/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#headerwrap {
  background: url(../img/bg3.jpg) no-repeat center top;
  padding-top: 200px;
  text-align: center;
  background-attachment: relative;
  background-position: center center;
  min-height: 650px;
  width: 100%;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding-bottom: 100px;
  margin-top: 70px;
}
#headerwrap h1 {
  color: #fff;
  font-size: 50px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 2px;
  padding-bottom: 10px;
}
#headerwrap p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  text-align: center;
  letter-spacing: 1px;
}
#headerwrap .btn {
  font-weight: 500;
  font-size: 17px;
  margin: 20px 0;
  background-color: rgba(255, 255, 255, 0);
  color: #fff;
  border: 1px solid #fff;
}
#headerwrap .btn:hover,
#headerwrap .btn:focus {
  color: #555;
  background-color: #fff;
  outline: 0px;
  border: 1px solid #fff;
}
#about {
  background: #fff;
  padding: 80px 0 60px;
}

#about-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

#about-row {
  display: flex;
  align-items: center; /* Vertically center */
  justify-content: space-between; /* Equal spacing */
  gap: 20px; /* Space between image and text */
}

/* Image Column */
#about-image-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#about-img {
  max-width: 100%;
  padding-right: 80px;
}

/* Text Column */
#about-text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  #about-row {
    flex-direction: column;
    text-align: center;
  }

  /* Center image horizontally */
  #about-image-column {
    justify-content: center;
    width: 100%;
  }

  #about-img {
    padding-right: 0; /* Remove right padding */
    max-width: 80%; /* Adjust width for better mobile fit */
  }
}

#services {
  background: url(../img/bg3.jpg) no-repeat center center fixed;
  padding: 60px 0;
  text-align: center;
  background-size: cover;
}
#services .fa {
  color: #49bfff;
}
#services hr {
  display: block;
  height: 3px;
  border: 0;
  margin: 3em 0;
  padding: 0;
  background-image: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #0a4a7e,
    rgba(255, 255, 255, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #0a4a7e,
    rgba(255, 255, 255, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #0a4a7e,
    rgba(255, 255, 255, 0)
  );
  background-image: -o-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #0a4a7e,
    rgba(255, 255, 255, 0)
  );
  width: 50%;
  left: 25%;
  position: relative;
  border: none;
}
#services p {
  text-align: center;
  color: #fff;
}
#services H2 {
  color: #fff;
}
#services H3 {
  color: #fff;
}
#team {
  background: url(../img/bg3.jpg) no-repeat center center fixed;
  padding: 60px 0;
  text-align: center;
  background-size: cover;
}
#team hr {
  display: block;
  height: 3px;
  border: 0;
  margin: 3em 0;
  padding: 0;
  background-image: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #0a4a7e,
    rgba(255, 255, 255, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #0a4a7e,
    rgba(255, 255, 255, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #0a4a7e,
    rgba(255, 255, 255, 0)
  );
  background-image: -o-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #0a4a7e,
    rgba(255, 255, 255, 0)
  );
  width: 50%;
  left: 25%;
  position: relative;
  border: none;
}
#products hr {
  padding: 0px;
  margin: 25px;
}

#team H2 {
  color: #fff;
}
#team p {
  color: #fff;
}
#team H4 {
  padding-top: 10px;
  color: #fff;
  font-weight: bold;
}
#team p.large {
  margin-top: 60px;
  margin-bottom: 30px;
}
#team .fa {
  width: 30px;
  height: 30px;
  margin: 0 3px;
  border-radius: 100%;
  font-size: 15px;
  line-height: 30px;
  outline: 0;
  color: #fff;
  background-color: #0a4a7e;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
#team .fa:hover {
  background-color: #2ea0b1;
}
#products {
  background-color: #fff;
  padding: 60px 0;
}
#products .btn-default {
  border: 0;
}
#contact {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}
#contact .form {
  padding: 30px 0;
}
#contact .fa {
  color: #0a4a7e;
  margin-bottom: 10px;
}
.copyrights {
  text-indent: -9999px;
  height: 0;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}
#contact .btn {
  font-weight: 500;
  font-size: 18px;
  margin-top: 50px;
  background-color: #0a4a7e;
  color: #fff;
  border: 0;
}
#contact .btn:hover,
#contact .btn:focus {
  background-color: #082a4a;
  outline: 0px;
}
#greywrap {
  background: #f5f5f5;
  margin-top: 0px;
  padding: 50px 0;
  border-bottom: 1px solid #eee;
  text-align: center;
}
#greywrap .btn {
  font-family: "Raleway";
  font-weight: 300;
  font-size: 20px;
  margin: 0 25px;
  background-color: #fff;
  border-color: #e2e2e2;
  color: #888;
  border-bottom: 0;
  letter-spacing: 1px;
}
#greywrap .btn:hover,
#greywrap .btn:focus {
  margin: 0 25px;
  background-color: #fff;
  border-color: #a5cdd5;
  border-bottom: 0;
  outline: 0px;
  color: #a5cdd5;
}
#greywrap h2 {
  font-size: 30px;
}
#greywrap .callout {
  margin-bottom: 20px;
}
#greywrap p {
  font-size: 30px;
}
#greywrap .fa {
  font-size: 18px;
  margin-right: 4px;
}
/* General footer styles */
.footer {
  background-color: #2d2d2d;
  color: #fff;
  padding: 40px 0;
  font-family: "Arial", sans-serif;
  text-align: center; /* Center-align content for small screens */
}

.footer h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  color: #f39c12;
}

.footer .social-media,
.footer .quick-links,
.footer .contact-info {
  margin-bottom: 20px; /* Add spacing between sections */
}

/* Ensure content stays aligned */
.footer .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px; /* Prevent content from sticking to the edges */
}

/* Social Icons */
.footer .social-icons {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  justify-content: center;
  gap: 15px; /* Spacing between icons */
}

.footer .social-icons li {
  display: inline-block;
}

.footer .social-icons li a {
  font-size: 24px;
  transition: color 0.3s ease;
}

.footer .social-icons li a:hover {
  color: #f39c12;
}

/* Links & Contact Details */
.footer .links,
.footer .contact-details {
  list-style-type: none;
  padding-left: 0;
}

.footer .links li,
.footer .contact-details li {
  margin-bottom: 10px;
}

/* Footer note */
.footer .footer-note {
  margin-top: 30px;
  font-size: 14px;
  color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer .row {
    flex-direction: column;
    text-align: center;
  }

  .footer .col-md-4 {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Center social icons */
  .footer .social-icons {
    justify-content: center;
  }

  /* Center quick links */
  .footer .quick-links ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Center contact info */
  .footer .contact-info {
    text-align: center;
  }

  /* Ensure footer padding on small screens */
  .footer .container {
    padding: 0 15px;
  }
}

ul.social-buttons {
  margin: 0;
}
ul.social-buttons li a {
  font-size: 24px;
  outline: 0;
  color: #999;
}
ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
  color: #0a4a7e;
}
/* ==========================================================================
   Box Sections
   ========================================================================== */

.white h1 {
  color: #999;
}
.white p {
  padding-top: 25px;
}

/* ==========================================================================
   Image Mask
   ========================================================================== */

.grid figure {
  margin: 0;
  position: relative;
  border: 1px solid #ddd;
}
.grid figure img {
  width: 100%;
  display: block;
  position: relative;
}

/* Caption Style */
/* .mask figure {
	overflow: hidden;
}
.mask figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}
.no-touch .mask figure:hover img, .mask figure.cs-hover img {
	-webkit-transform: translateY(-30px);
	-moz-transform: translateY(-30px);
	-ms-transform: translateY(-30px);
	transform: translateY(-30px);
} */
.mask {
  position: relative;
  text-align: center; /* Center the text */
}

.mask img {
  display: block;
  width: 100%; /* Ensure the image is responsive */
  height: auto;
}

.mask figcaption {
  width: 100%;
  margin-top: 10px; /* Space between image and text */
  text-align: center; /* Center text */
  font-size: 20px; /* Increase font size */
  font-weight: 800; /* Make text bolder */
  color: #fff; /* White text for contrast */
  text-transform: uppercase; /* Uppercase for emphasis */
  letter-spacing: 1.5px; /* Improve readability */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for better visibility */
  background: transparent; /* No background */
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media screen and (max-width: 1050px), screen and (max-device-width: 1050px) {
  body .header {
    background-attachment: scroll;
  }
}

/*ipad portrait*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .header {
    background-attachment: scroll;
  }
}

@media screen and (max-width: 769px) {
  #headerwrap h1 {
    font-size: 40px;
  }
  #headerwrap p {
    font-size: 20px;
  }
}

#partners {
  background: url(../img/bg3.jpg) no-repeat center center fixed;
  padding: 60px 0;
  text-align: center;
  background-size: cover;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 80%;
  margin: auto;
  overflow: hidden;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  flex: 0 0 25%; /* 4 images at a time on larger screens */
  text-align: center;
}

.partner-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.partner-img:hover {
  transform: scale(1.05);
}

#partners h5 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

#partners h2 {
  color: #fff;
}

/* Navigation Arrows */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  padding: 10px;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-control-prev {
  left: 10px; /* Adjusted for small screens */
}

.carousel-control-next {
  right: 10px; /* Adjusted for small screens */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 1);
}

.carousel-control-prev span,
.carousel-control-next span {
  display: block;
  width: 30px;
  height: 30px;
}

/* 🔹 Responsive Adjustments */
@media (max-width: 992px) {
  /* Tablets */
  .carousel-item {
    flex: 0 0 33.33%; /* Show 3 images at a time */
  }
}

@media (max-width: 768px) {
  /* Mobile */
  .carousel-item {
    flex: 0 0 50%; /* Show 2 images at a time */
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: 50%;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  /* Small Mobile Screens */
  .carousel-item {
    flex: 0 0 100%; /* Show 1 image at a time */
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: 50%;
    width: 35px;
    height: 35px;
  }
}

/* Popup Styling */
.popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  text-align: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
}

.close-popup {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
}

.hidden {
  display: none;
}
