html,
body {
  box-sizing: border-box;
  display: block;
  font-family: "Arimo", sans-serif; /* Centralize font choice */
  font-size: 16px; /* Default font size */
  height: 100%;
  width: 100%;
  text-size-adjust: 100%; /* For mobile readability */
  margin: 0;
  padding: 0;
  -webkit-locale: "en";
  -webkit-tap-highlight-color: rgba(243, 235, 235, 0.99);
}

@media (forced-colors: active) {
  body {
    color: CanvasText;
    background: Canvas;
  }
}
/* Body and Text Styling */
body {
  font-family: "Arimo", Helvetica Neue, Helvetica, Arial, sans-serif;
  line-height: 1.6; /* Improved readability for body text */
  margin: 0;
  padding: 0;
  font-size: 1rem; /* Relative unit for scalability */
}

/* Subheading Styles */
.sub-heading {
  text-align: center;
  padding: 20px;
}

.sub-heading h1,
.sub-heading h2,
.sub-heading p {
  margin: 0;
  line-height: 1.7;
}

.sub-heading h1 {
  color: #ffffff;
  font-size: 1.875rem; /* Increased for better visibility */
  font-weight: 300;
  margin-top: 50px;
  margin-bottom: 20px;
}

.sub-heading h2 {
  color: #004481;
  font-size: 2.75rem; /* Balanced size for headings */
  font-weight: 100;
  line-height: 1.2;
}

.sub-heading p {
  color: #010101;
  font-size: 1.25rem; /* Reduced to scale with headings */
  margin-top: 10px;
  margin-bottom: 30px;
}

/* Text Container */
.text-container {
  font-size: 1rem;
  text-align: left;
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.parent {
  font-size: 1.5rem;
  height: auto; /* Replace fixed height with auto */
}

.child {
  font-size: 2rem; /* Align with the parent size scaling */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  body {
    font-size: 1.2rem; /* Increase text size for tablets */
  }

  .sub-heading h1 {
    font-size: 2.25rem; /* Scale down slightly */
    margin-top: 0px;
  }

  .sub-heading h2 {
    font-size: 2.5rem;
  }

  .sub-heading p {
    font-size: 1.1rem; /* Keep paragraph text readable */
  }

  .text-container {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1.4rem; /* Larger text for mobile screens */
  }

  .sub-heading h1 {
    font-size: 2rem; /* Ensure headings don't overwhelm */
  }

  .sub-heading h2 {
    font-size: 2.25rem;
  }

  .sub-heading p {
    font-size: 1.5rem; /* Keep paragraphs legible */
  }

  .text-container {
    font-size: 1.2rem; /* Slight bump for readability */
  }
}

/* Navigation styles */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 10px 20px;
  transition: top 0.3s;
  z-index: 1000;
}

.navbar {
  border-radius: 0; /* Removes rounded corners */
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Space out logo, company name, and links */
  width: 100%;
  gap: 20px; /* Add space between items */
}

.company-name {
  flex: 1; /* Take available space to center the name */
  text-align: center; /* Align company name in the center */
  font-size: 22px;
  font-weight: bold;
}
.company-name:hover {
  color: #c55c5c;
}
/* Logo */
.logo {
  flex: 0 0 auto; /* Prevent resizing of the logo */
  margin-left: 60px; /* Add space to the left side of the logo */
}

.logo img {
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover img {
  transform: scale(1.1); /* Adds a zoom effect */
  opacity: 0; /* Fades out the default image */
}

/* Add a background hover image */
.logo:hover {
  background: url("../images/logo-2.png") no-repeat center;
  background-size: contain;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Change font size when screen is smaller */
  .company-name {
    font-size: 18px; /* Adjusted for small tablets */
    text-align: center; /* Centered for better presentation */
  }
}

@media (max-width: 480px) {
  .company-name {
    font-size: 14px; /* Further adjusted for mobile */
  }
}

.menu-toggle {
  display: none; /* Hidden in larger screens */
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #ffffff;
  margin: 3px 0;
}

.menu-toggle:hover {
  color: #ffffff;
}

.nav-links {
  flex: 0 0 auto; /* Prevent resizing */
  display: flex; /* Align links horizontally */
  gap: 1px; /* Add space between links */
  margin-right: 40px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px;
}

.nav-links a:hover {
  color: #ffff00;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Initially hide links */
    flex-direction: column;
    position: absolute;
    top: 60px; /* Below the navbar */
    right: 0;
    background-color: #333;
    width: 100%;
    text-align: center; /* Center align links */
  }

  .nav-links.active {
    display: flex; /* Show links when hamburger menu is active */
  }

  .menu-toggle {
    display: flex; /* Show hamburger menu */
  }

  /* Adjustments for mobile view */
  .company-name {
    font-size: 18px; /* Smaller font size for mobile */
    display: block; /* Show the company name */
    flex: 1; /* Allow it to take available space */
    text-align: center; /* Centered for better presentation */
  }
}

@media (max-width: 480px) {
  .company-name {
    font-size: 16px; /* Further adjusted for mobile */
  }
}

.content {
  padding-top: 40px; /* Space for fixed navbar >>>>>>>>>>>>Not Active<<<<<<<<*/
}

/* Image styles */
.img-styled {
  border: 2px solid #333;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px; /* Example width */
  height: auto; /* Maintain aspect ratio */
}

.img-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

.img-hover:hover {
  transform: scale(1.05); /* Slight zoom effect */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.img-effects {
  filter: grayscale(100%); /* Full grayscale effect */
}

.img-effects-sepia {
  filter: sepia(100%); /* Full sepia effect */
}

.img-responsive {
  width: 100%;
  height: auto;
  border-radius: 5%;
  max-width: 100%; /* Ensure images don't overflow their container */
}

.img-custom {
  border: 2px solid #333;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  filter: brightness(90%); /* Slightly darker */
  transition: transform 0.3s, box-shadow 0.3s;
}

.img-custom:hover {
  transform: rotate(5deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Header */
#header {
  background-color: rgba(0, 0, 0);
  padding: 40px 0;
}

/* Background Image */
.heading-section {
  background: rgba(0, 0, 0, 0.2) url("../images/header-bg.jpg") center center /
    cover fixed;
  padding: 100px 0;
  position: relative;
}

/* Header background Color Over Background Image */
.header-bg {
  background: rgba(0, 0, 0, 0.2) url("") center / cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.7;
}

/* Featured Item */
.featured {
  background-color: #004481;
}
.featured-item {
  margin-top: 60px;
  border-radius: 5px;
  background-color: #004481;
  border-bottom: 2px solid #ff0000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: all 0.5s ease-in-out;
  display: flex;
  flex-direction: column; /* Arrange children in a column */
  align-items: center; /* Center children horizontally */
  justify-content: center; /* Center children vertically */
}

.featured-item > p {
  color: #ededed;
  font-size: 20px;
  text-align: start;
}

.featured-item:hover p {
  color: #000000; /* Change text color on hover */
}

/* Featured item hover effects */
.featured-item:hover {
  border-color: #004481;
  background-color: #ffffff;
  transform: translateY(-25px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.featured-responsive {
  height: 40px; /* Adjust the height as needed */
  width: auto; /* This will maintain the aspect ratio */
  margin-top: 10px;
  margin-bottom: 15px;
  transition: filter 0.3s ease; /* Transition for smooth icon color change */
}

/* Change icon color on hover */
.featured-item:hover .featured-responsive {
  filter: invert(1); /* Invert colors to change white icon to black */
}

/* Button styles */
.read-more,
.button {
  background-color: #004481;
  width: 100%;
  color: rgb(255, 255, 0);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 30px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  display: block;
  margin: auto;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
}

/* .read-more:hover, */
.button:hover {
  background-color: #ffffff;
  color: rgb(255, 0, 0);
  /* border-color: #000000; Only change the border color, not its size */
  text-decoration: none;
}

/* About Us */
.about-us {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  background-color: #730808;
}

.container-about-us {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.about-text h2 {
  color: #fff;
}

.about-text p {
  font-size: 16px;
  color: #e8e4e4;
}

/* About image */
.about-image {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5%;
}

/* Spacer */

.spacer {
  height: 20px;
}

.spacer-1 {
  height: 90px;
}

.spacer-h2 {
  height: 30px;
}

/* Start Carousel Here */
html {
  scroll-behavior: smooth;
}
.carousel {
  background-color: #f8f8f8; /* Dark background */
}

.carousel-inner .item img {
  max-width: 600px; /* Adjust as needed */
  margin: 0 auto; /* Center the images */
}

.carousel-caption-container {
  text-align: center; /* Center the text */
  padding: 15px; /* Add some padding */
  color: #730808; /* Text color */
  margin-top: 1px; /* Space between image and text */
  max-width: 1200px; /* Restrict the width */
  margin-left: auto; /* Center horizontally */
  margin-right: auto; /* Center horizontally */
  height: 180px; /* Set a fixed height */
  overflow: hidden; /* Hide overflowing text */
}

.carousel-caption-container p {
  text-align: center; /* Center the text */
  max-width: 1200px; /* Restrict the width */
  text-overflow: ellipsis; /* Add ellipsis to clipped text */
  overflow: hidden; /* Ensure no overflow */
  display: -webkit-box; /* Support multi-line ellipsis */
  -webkit-line-clamp: 10; /* Limit number of lines */
  -webkit-box-orient: vertical; /* Required for webkit-line-clamp */
  font-size: 16px; /* Reduce the font size */
  line-height: 1.5; /* Adjust line spacing for readability */
}

.carousel-control.left,
.carousel-control.right {
  background-image: none;
}

.carousel-control {
  color: #020a5b; /* Sets the text color of arrows */
}

.carousel-control:hover {
  color: #ff0000; /* Sets the text color of arrows */
}

.carousel-caption-container {
  background-color: transparent !important;
}

.carousel-caption-container {
  -webkit-background-color: transparent; /* Safari-specific override */
  background-color: transparent;
}

.carousel-inner .carousel-caption-container {
  background-color: transparent;
  border: none; /* Reset any borders adding visual artifacts */
}

@media (max-width: 768px) {
  .carousel-caption {
    font-size: 0.9rem; /* Reduce text size */
    padding: 10px; /* Adjust spacing */
  }

  .carousel-caption button {
    font-size: 0.8rem; /* Scale down button text */
    padding: 8px 12px; /* Adjust button dimensions */
  }

  .carousel-caption p {
    font-size: 0.1rem; /* Shrink paragraph text */
  }

  .space-1 {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .carousel-caption {
    font-size: 0.8rem;
    text-align: center;
  }

  .carousel-caption button {
    font-size: 0.7rem;
    padding: 6px 10px;
  }
}

@supports (-webkit-touch-callout: none) {
  .carousel-caption-container {
    background-color: transparent;
  }
}

/* End Carousel Here */

/* Start Jumbotron & Isolated section styling*/
.jumbotron {
  background-color: #004481;
  font-weight: bolder;
  color: #95949b;
  padding: 20px; /* Ensures content inside has spacing */
  margin-bottom: 0px; /* Removes default margin */
  padding-top: 20px;
  border-bottom: 0px solid #730808; /* Adds a bottom border for emphasis */
}

.jumbotron-responsive {
  height: 40px; /* Adjust the height as needed */
  width: auto; /* This will maintain the aspect ratio */
  margin-top: 10px;
  margin-bottom: 15px;
}

.jumbotron h2 {
  color: #ffffff;
  text-align: center;
}

.jumbotron p {
  font-size: 20px;
  color: #cfcbcb;
  padding: 0 20px; /* Left and right padding */
  max-width: 1200px; /* Keeps text from being too wide */
  margin: 0 auto; /* Centers the paragraph */
}

.isolated-section {
  background: #004481; /* Light gray background to differentiate */
}

/* Container adjustments */
.isolated-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Row and column styling */
.isolated-section .row {
  display: flex;
  gap: 40px;
  padding-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.isolated-section .col-sm-4 {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: #730808;
  padding: 20px;
  border: 2px solid #ffffff;
  border-radius: 5%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.isolated-section .col-sm-4:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  filter: invert(1); /* Invert colors to change white icon to black */
}

/* Text styling */
.isolated-section h3 {
  color: #cbcad1;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.isolated-section p {
  text-align: center;
  color: #cfcbcb;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Force full width on smaller screens */
@media (max-width: 768px) {
  .isolated-section .row {
    flex-direction: column;
    align-items: center;
  }

  .isolated-section .col-sm-4 {
    max-width: 90%; /* Adjust for better fit */
    min-width: auto;
  }
}

/* End Jumbotron & Isolated section styling */

/* sectione-one */
#section-one {
  padding: 20px;
  background-color: #730808; /* Consistent background color */
  width: auto;
  margin-left: calc(-50vw + 50%); /* Center the section */
  box-sizing: border-box;
}

/* Section Heading */
#section-one h2 {
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  margin-top: 0px;
}

#section-one p {
  font-size: 16px;
  text-align: center;
}

/* Section-one-1 (Cards) */

/* sectione-one */
#section-one-1 {
  padding: 20px;
  width: auto;
  margin-left: calc(-50vw + 50%); /* Center the section */
  box-sizing: border-box;
}

/* Section Heading */
#section-one-1 h2 {
  font-size: 28px;
  color: #004481;
  text-align: center;
  margin-top: 0px;
}

#section-one-1 p {
  font-size: 18px;
  color: #000000;
}
/* Card Container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.card-container-2 {
  display: flex; /* Enables Flexbox for side-by-side layout */
  flex-wrap: wrap; /* Allows wrapping to a new row if needed */
  justify-content: center; /* Centers the cards horizontally */
  gap: 20px; /* Adds spacing between the cards */
  width: 100%; /* Ensures it spans the full width of the container */
}

.card {
  background-color: #004481;
  border: 2px solid #730808;
  border-radius: 5%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 10px;
  flex: 1;
  min-width: 250px;
  text-align: center;
  transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out; /* <- move here */
}

.card:hover {
  border-color: #ffffff;
  transform: translateY(-25px);
}

.rounded-section .card img {
  border-radius: 50%; /* Makes the image round */
  width: 100px; /* Adjust width to control the size of the image */
  height: 100px; /* Adjust height to maintain the round shape */
  object-fit: cover; /* Ensures the image scales properly within the round shape */
  margin: 0 auto; /* Centers the image horizontally within the card */
  display: block; /* Ensures consistent centering */
}

/* Center the icon --------------not active---*/
.center-icon {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 70px; /* Adjust the size of the icon */
  height: auto; /* Maintains the aspect ratio */
}

/* Card Headings and Text */
.card h3 {
  font-size: 20px;
  color: white;
}

.card h4 {
  font-size: 20px;
  color: #95949b;
}

.card p {
  font-size: 16px;
  color: #95949b;
}

@media (max-width: 768px) {
  .card-container-2 {
    flex-direction: column; /* Stacks cards vertically */
  }

  .card {
    flex: 1 1 100%; /* Cards take full width on small screens */
  }
}

/* Footer */
.site-footer {
  background-color: #101010;
  color: #ffffff;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  font-size: 0.8rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: normal;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffff00;
}

.footer-copy {
  margin-top: 5px; /* MUCH smaller spacing */
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer-copy:hover {
  color: #ffff00;
}

/* Print styles */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .sub-heading > h1 {
    font-size: 20px;
  }
  .sub-heading > h2 {
    font-size: 36px;
  }
  .sub-heading > p {
    font-size: 20px;
  }
  .button,
  .read-more {
    padding: 10px 20px;
    font-size: 14px;
  }
  .card {
    margin: 5px;
    padding: 15px;
  }
  .card h3,
  .card h4 {
    font-size: 18px;
  }
  .card p {
    font-size: 14px;
  }
}
/* 
Name: Metallic Sunburst
Hex: #A77C29
RGB: (167, 124, 41)
CMYK: (0, 26, 76, 35)
HSV: 40° 75% 65%
HSL: 40° 61% 41%
RAL: 8001
Pantone: 7557 C
Name: Dark Cerulean
Hex: #004481
RGB: (0, 68, 129)
CMYK: (100, 47, 0, 49)
HSV: 208° 100% 51%
HSL: 208° 100% 25%
RAL: 5010
Pantone: 2154 C
Name: Lava
Hex: #CC101F
RGB: (204, 16, 31)
CMYK: (0, 92, 85, 20)
HSV: 355° 92% 80%
HSL: 355° 85% 43%
RAL: 3020
Pantone: 3546 C
Name: Cyber Yellow
Hex: #FFD500
RGB: (255, 213, 0)
CMYK: (0, 17, 100, 0)
HSV: 50° 100% 100%
HSL: 50° 100% 50%
RAL: 2007
Pantone: Yellow 012 C
Name: Sonic Silver
Hex: #757575
RGB: (117, 117, 117)
CMYK: (0, 0, 0, 54)
HSV: 359° 0% 46%
HSL: 0° 0% 46%
RAL: 7037
Pantone: 424 C */
