/* Full-screen hero section */
/* default style */

/* logo */
/* Custom font styles (optional, but good for design) */

/* html tags */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

p {
  max-width: 100%;
  line-height: 1.6;
}

.section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #0d6efd;
  border-radius: 2px;
}

body {
    font-family: Arial, sans-serif;
}

/* Custom styling for the header */
header {
    border-bottom: 1px solid #e0e0e0;
}


.hero {
  position: relative;
  height: 100vh;
 background: url('../images/mainI.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Base overlay */
.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}
.about-hero {
  background: url('../images/aboutImg2.jpeg') no-repeat center center/cover;
  height: 60vh;
}

.about-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}
.hero h1, .hero p {
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Gradient tint */
.hero .overlay-gradient {
  background: linear-gradient(
    rgba(7, 19, 61, 0.7),
    rgba(0, 0, 0, 0.7)
  );
}

/* Ensure content is above overlay */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 15px; /* small padding for mobile */
}

/* Responsive text sizes */
.hero-title {
  font-size: 2.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
}
.masthead {
  position: relative;
  overflow: hidden;
}

/* Hero text contrast */
.masthead-subheading {
    letter-spacing: 1px;
}

.masthead::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  transition: background 0.5s ease;
}

.masthead:hover::after {
  background: rgba(0,0,0,0.35); /* lighten when hovered */
}
/* logo */
.logo-style{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* about */
.about{
  
  margin-top: 40px;
  font-size: 1.1rem;
  color: #333;
}

.about-img{
  max-width: 600px;
 
}

/* products */

.products{
  margin-top: 40px;
  font-size: 1.1rem;
  color: #333;
}
#products{
  scroll-margin-top: 100px;
}
/* applying blue to the background */
.bg-blue{
  background-color: #afd5f6;
  padding: 20px;
}




/* Ensure the code image looks right on smaller screens */
.img-fluid-custom {
    width: 100%;
    height: 200px; /* adjust as you like */
    object-fit: cover; /* keeps aspect ratio, crops overflow */
    border-radius: 50%; /* makes it round */
}


/* Section heading styling */
.section-heading {
    font-size: 2rem;
    letter-spacing: 2px;
}

/* Card polish */
.card img {
    object-fit: cover;
    height: 220px;
}

/* Contact section custom styles */
#contact h2 {
    color: #07133d; /* matches your theme */
}

#contact a {
    text-decoration: none;
    color: #0d6efd;
}

#contact a:hover {
    text-decoration: underline;
}

/* outlining the form */
#contact form p {
    margin-bottom: 1rem;
}

#contact input,
#contact textarea,
#contact select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0a58ca; /* slightly darker */
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* feature images */
.img-contain {
  width: 100%;
  height: auto;
  object-fit: contain !important;  /* makes the whole image visible */
}




/* image */
.circle-img-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
}

.circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* slightly zoomed */
    transition: transform 0.3s ease; /* smooth zoom effect */
}

/* Optional hover effect */
.circle-img-container:hover .circle-img {
    transform: scale(1.1);
}



/*mobile view  */


@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .mobile-break {
    display: block;
    height: 1em; /* creates the line break effect */
  }
}

