/* Table of content */

/* 1. Basic resets */

/* 2.General Styling */

/* 3.Index page */

/* 4. About us page */

/* Table of content ends */

/****************************************************************
*****************************************************************
******************************************************************/

/********************** 1. Basic resets starts *******************/

:root {
  --primary-color: #002147;
  --secondary-color: #5656f1;
  --accent-color: #214700;
  --plain-color: #eee3f8;
  --text-color: #000811;
  --bg-color: #ffffff;
  --accent-color2: #ffc93c;
}

:root.darkmode {
  --primary-color: #f3f3f3;
  --secondary-color: #8f8fec;
  --accent-color: #214700;
  --plain-color: #eee3f8;
  --text-color: #eeeeee;
  --bg-color: #002147;
  --accent-color2: #ffc93c;
}

:root {
  --h1font-size: 2.3rem;
  --h1font-weight: 700;
  --h2font-size: 1.7rem;
  --h2font-weight: 600;
  --h3font-size: 1.2rem;
  --h3font-weight: 500;
  --pfont-size: 1rem;
  --btnfont-weight: 600;
}

/* remove all browser defaults */
* {
  margin: 0;
  padding: 0;
  font: inherit;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-style: normal;
}

/* set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  position: relative;
  font-optical-sizing: auto;
  transition: all 5s ease;
  background-color: var(--bg-color);
}

/* remove border from all buttons and center the text within */
button,
button:is(:hover, :focus-visible) {
  line-height: 0;
  border: 0;
}

/* to remove all list decoration */
ul {
  list-style: none;
}

/* remove all underline decorations frm the anchor tags */
a {
  text-decoration: none;
}

/* makes images easier to work with */
img,
video,
picture,
svg {
  max-width: 100%;
  display: inline-block;
}

/********************** 1. Basic resets ends*******************/

/****************************************************************
*****************************************************************
******************************************************************/

/* 2.General Styling */

.two-cols-section {
  display: grid;
}

.section-padding {
  padding: 2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: no-wrap;
  border: 0;
}

/* 2.General Styling ends here*/

/* header starts here */
header {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: var(--bg-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

header img {
  width: 10rem;
}

.light-logo {
  display: block;
}

.dark-logo {
  display: none;
}

.darkmode .light-logo {
  display: none;
}

.darkmode .dark-logo {
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.cta-btn {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 10px 15px;
  border-radius: 50px;
  margin-right: 1rem;
}

.side-icons {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

.mode-toggle {
  font-size: 2rem;
  color: var(--primary-color);
  transition: color 1.5s ease;
  cursor: pointer;
}

.nav-links a:is(:hover, :focus-visible),
.mode-toggle:is(:hover, :focus-visible) {
  transition: color 5s ease;
  color: var(--secondary-color);
}

.nav-links a.active,
.nav-links li:hover a {
  color: var(--secondary-color);
}

.mode-toggle .sun {
  opacity: 0;
  transform: translateX(-20px) rotate(90deg);
}

.mode-toggle .moon {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}

.darkmode .mode-toggle .sun {
  opacity: 1;
  transform: translateX(-30px) rotate(0deg);
}

.darkmode .mode-toggle .moon {
  opacity: 0;
  transform: translateX(-20px) rotate(90deg);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  width: 300px;
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.dropdown-content a {
  color: #ffffff !important;
}

.dropdown-content li {
  padding: 0.5rem;
}

.dropdown-content li:hover,
.dropdown-content li:hover a {
  background-color: #002147;
  color: #ffc93c !important;
}
.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .service-icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* header ends here */

/********************/

/* hero section starts here */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-block-start: 5.1rem;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  padding: 3rem;
}

.hero.home {
  display: flex;
  background-image: url(/images/hero.png);
}

/* .hero::before {
  background-image: radial-gradient(
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.6)
  );
  content: "";
  inset: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 1;
} */

.hero-content {
  position: relative;
  z-index: 10;
  margin-block-start: 10rem;
  flex-basis: 50%;
}
.hero h1 {
  font-size: var(--h1font-size);
  font-weight: var(--h1font-weight);
  line-height: 4rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color2);
}

.hero p {
  font-size: var(--pfont-size);
  margin-bottom: 2rem;
  color: white;
}

/* CTA buttons */
.hero-cta,
.cta {
  display: flex;
  gap: 1.5rem;
}

.hero-cta a,
.cta a {
  background-color: var(--accent-color2);
  color: var(--primary-color);
  padding: 12px 18px;
  font-weight: var(--btnfont-weight);
  border-radius: 30px;
  transition: all 0.3s ease;
}

.hero-cta a:is(:hover, :focus-visible),
.cta a:is(:hover, :focus-visible) {
  background-color: var(--primary-color);
  color: var(--accent-color2);
}

/* Image area */
.hero-carousel {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-carousel img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 50rem 0 50rem 50rem;
  border: 4px solid #ffc93c;
  transform: translate(-2rem, 2rem);
  transition: transform 0.3s ease;
}

/* Dots bottom center */
.dots-div {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color); /* white */
  padding: 0.5rem 1rem; /* space around dots */
  border-radius: 2rem; /* pill shape */
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.dots {
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color2);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  width: 20px;
  border-radius: 10px;
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Navigation buttons */
.card-btn-div {
  position: absolute;
  right: 4.5rem;
  bottom: 5rem;
  z-index: 15;
  display: flex;
  gap: 1rem;
}

.card-btn span {
  cursor: pointer;
  background-color: var(--plain-color);
  color: var(--primary-color);
  padding: 3px 10px;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.card-btn span:is(:hover, :focus-visible) {
  background-color: #bdbdbd;
}
/* hero section ends here */

/****************************/

/*services section starts here*/

.services {
  padding: 4rem;
}

.services-text {
  display: flex;
  justify-content: space-between;
  color: var(--primary-color);
}

.services h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
  color: var(--primary-color);
}

.service-cards {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(3, 1fr);
  padding-block-start: 2rem;
}

.cards {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.5s ease;
}

.cards img {
  width: 100%;
  height: 23rem;
  object-fit: cover;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 4px 4px 20px 4px rgba(0, 0, 0, 0.2);
}

.card-text span i {
  background-color: var(--primary-color);
  font-size: 2.5rem;
  padding: 15px;
  border-radius: 50px;
  top: 2rem;
  position: relative;
}

.card-text div {
  background-color: var(--primary-color);
  border-radius: 15px;
  padding: 2rem 1rem 1rem 1rem;
  min-height: 9rem;
}

.card-text {
  align-self: center;
  position: absolute;
  display: block;
  bottom: 0.5rem;
  width: 95%;
  left: 0;
  right: 0; /* allows margin auto to center */
  margin: auto;
  /* background-color: var(--primary-color); */
  text-align: center;
}

.card-text a h3 {
  color: var(--accent-color2);
  font-size: var(--h3font-size);
  font-weight: var(--h3font-weight);
}

.card-text a h3:is(:hover, :focus-visible) {
  color: var(--bg-color);
}

.card-text p {
  font-size: 0.8rem;
}

.card-text span i,
.card-text p {
  color: var(--plain-color);
}

/*services section ends here*/

/****************************/

/*our-impact section starts here*/
.our-impact {
  padding: 4rem;
  position: relative;
}

.our-impact-text {
  background-color: var(--primary-color);
  padding: 2rem 2rem 5rem;
  text-align: center;
  border-radius: 20px;
}

.our-impact-text h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
  color: var(--accent-color2);
  padding-block-end: 1rem;
}

.our-impact-text p {
  font-size: var(--pfont-size);
  color: var(--plain-color);
}

.works-done {
  position: absolute;
  bottom: 0;
  right: 8rem;
  left: 8rem;
  margin: auto;
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.work-cards {
  width: 15%;
  background-color: var(--bg-color);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
  border: 1px solid #bdbdbd;
  border-radius: 15px;
  padding: 1rem;
  color: var(--primary-color);
}

.work-cards h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
}
/*our-impact section ends here*/

/* our partners starts here */

.our-partners {
  padding-block: 4rem;
  width: 70%;
  margin: auto;
}

.our-partners-text {
  color: var(--primary-color);
  text-align: center;
  padding-block-end: 2rem;
  line-height: 3rem;
}

.our-partners-text h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
}

.carousel {
  background: var(--bg-color);
  height: 50px;
}

.carousel-cell {
  width: 20%;
  height: 50px;
  margin-right: 10px;
  background: var(--bg-color);
  color: #bdbdbd;
  border-radius: 5px;
  counter-increment: gallery-cell;
}

.carousel-cell span {
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
  padding-block-start: 12px;
}

/* cell number */
.carousel-cell:before {
  display: block;
  text-align: center;
  color: white;
}

.flickity-button {
  background: transparent !important;
  border: none !important;
}

/* .flickity-button-icon {
  fill: #bdbdbd !important;  
} */

.flickity-prev-next-button.next {
  right: -2rem !important;
}

.flickity-prev-next-button.previous {
  left: -2rem !important;
}

/* our partners section ends here */

/**********************************/

/* testiomonial section starts here*/

.testimonials {
  width: 50%;
  height: 70vh;
  margin: auto;
}

.testimonial-head {
  text-align: center;
  padding-block-end: 2rem;
}

.testimonial-head h3 {
  font-weight: var(--h2font-weight);
  color: var(--accent-color2);
}

.testimonial-head h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
  color: var(--primary-color);
}

.carousel.two {
  background-color: red;
}

.carousel1 {
  background: var(--bg-color);
}

.carousel-cell.two {
  width: 100%;
  min-height: 50vh;
  margin-right: 10px;
  color: #bdbdbd;
  border-radius: 5px;
  counter-increment: carousel-cell;
}

/* cell number */
.carousel-cell.two:before {
  display: block;
  text-align: center;
  line-height: 300px;
  color: white;
}

.carousel-cell.two p {
  font-size: 0.8rem;
}

.carousel-cell.two p,
.carousel-cell.two .quote {
  color: grey;
}

.carousel-cell.two .user {
  font-size: 8rem;
  color: var(--primary-color);
  margin-block: 1rem;
}

.carousel-cell.two div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.carousel-cell.two div .quote {
  font-size: 2rem;
}

.carousel-cell.two h4 {
  font-weight: 600;
  color: var(--primary-color);
}

.carousel-cell.two p {
  display: none;
}

.carousel-cell.two.is-selected p {
  display: block;
}

.flickity-prev-next-button {
  display: none;
}

/* testiomonial section ends here*/

/*********************************/

/* get started section starts here */

.get-started {
  width: 80%;
  margin: auto;
  padding: 3rem 0 6rem;
}

.get-started-text {
  text-align: center;
  padding-block-end: 3rem;
}

.get-started-text p {
  font-size: var(--pfont-size);
  color: grey;
}

.get-started-text h3 {
  font-size: var(--h3font-size);
  font-weight: var(--h2font-weight);
  color: var(--primary-color);
}

.bottom-cta {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

/* get started section ends here */

/************************/

/* footer starts here */

footer {
  background-color: #002147;
  padding: 2rem 4rem;
}

.footer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  border: 1px solid var(--accent-color2);
  border-radius: 10px;
}

.footer-header h3 {
  font-size: var(--h2font-size);
  color: var(--plain-color);
  font-weight: var(--h2font-weight);
}

.footer-header h4 {
  font-size: 1rem;
  font-weight: var(--h3font-weight);
  color: var(--plain-color);
  display: inline;
}

.subscribe {
  width: 75%;
}

form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-header form input {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 7px;
  border-radius: 10px;
  width: 50%;
  border: none;
  outline: none;
  color: var(--plain-color);
}

input::placeholder {
  padding: 5px;
  color: #bdbdbd;
  opacity: 1;
}

.subscribe form button a {
  font-weight: 500;
  color: var(--primary-color);
  padding: 7px 20px;
  background-color: var(--accent-color2);
  border-radius: 10px;
}

.footer-content {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  line-height: 2rem;
}

.footer-content img {
  margin-block: 0.6rem;
  height: 4.5rem;
}

.footer-content h4 {
  font-weight: var(--h3font-weight);
  color: var(--accent-color2);
  padding-block-end: 0.6rem;
}

.about p,
.link-list a,
.hours li,
.contact li,
.footer-content span {
  color: var(--plain-color);
  font-size: 0.8rem;
}

.link-list a:is(:hover, :focus-visible) {
  color: var(--accent-color2);
}

.footer-content span {
  font-weight: 600;
}
.footer-content .hours {
  margin-block-start: 1rem;
}

.contact li i {
  color: var(--accent-color2);
}

.media-links {
  padding-block: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  border-block-end: 1px solid var(--accent-color2);
}

.media-links a {
  font-size: 1rem;
  color: var(--primary-color);
  background-color: var(--accent-color2);
  padding: 5px 10px;
  border-radius: 50%;
}

.footer-copyright {
  padding-block-start: 2rem;
  font-size: 0.7rem;
  color: var(--plain-color);
  text-align: center;
}
/* footer ends here */

/*******************************
********************************
********************************
*********************************/

/* About us page starts here  */

/* hero section starts here */
.hero.aboutus {
  padding: 4rem;
  height: 80vh;
}

.hero.aboutus div,
.hero.cctv div,
.hero.solar div,
.hero.procure div,
.hero.contactus div {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero.aboutus h1,
.hero.cctv h1,
.hero.solar h1,
.hero.procure h1,
.hero.contactus h1 {
  color: var(--accent-color2);
  font-size: var(--h1font-size);
  font-weight: var(--h1font-weight);
}

.hero.aboutus,
.hero.cctv,
.hero.solar,
.hero.procure,
.hero.aboutus span a {
  color: var(--plain-color);
  font-size: 1.2rem;
}

.hero.aboutus span a:is(:visited) {
  color: rgba(255, 221, 135, 0);
}

/* hero section starts here */

/* who we are section starts here */
.who-we-are {
  padding: 3rem;
  display: flex;
  gap: 3rem;
}

.who-we-are img {
  width: 40%;
  object-fit: cover;
  height: 60vh;
  border: 10px solid var(--accent-color2);
  border-radius: 10px;
  border-bottom-right-radius: 60%;
}

.who-we-are-text .intro-text {
  color: var(--accent-color2);
}

.who-we-are-text h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
  color: var(--primary-color);
}

.who-we-are-text div {
  display: flex;
  gap: 2rem;
  padding-block: 2rem;
}

/* who we are section ends here */

/**********************************/

/* Our mission and vision starts here */

.mission-vision {
  padding: 4rem;
  background-color: var(--primary-color);
}

.mission-vision .our {
  color: var(--plain-color);
  font-size: 2rem;
  font-weight: 500;
  margin-block-end: -1.2rem;
}

.mission-vision h2 {
  font-size: 5rem;
  font-weight: 600;
  color: var(--accent-color2);
}

.our-mission,
.our-vision {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.our-vision {
  flex-direction: row-reverse;
  padding-block-start: 2rem;
}

.mission-vision .our-text {
  color: var(--plain-color);
}
/* Our mission and vision ends here */

/************************************/

/* what we do starts here */
.what-we-do {
  margin-block-start: 3rem;
  padding: 6rem 4rem;
  background-image: url(/images/whatbg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
  position: relative;
}

.what-we-do::before {
  position: absolute;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.5)
  );
  inset: 0;
  content: "";
}

.what-header {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--primary-color);
}

.what-header h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
  padding-block-end: 1rem;
}

.what-cards {
  position: relative;
  z-index: 10;
  padding-block: 2rem;
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.what-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 15px;
  background-color: rgba(211, 208, 255, 0.3);
  padding: 2rem 1rem;
  transition: transform 0.5s ease;
}

.what-card span i {
  font-size: 5rem;
  color: var(--primary-color);
  padding-block-end: 1rem;
}

.what-card a {
  color: black;
  font-size: 1.2rem;
}
/* what we do ends here */

/************************/

/*Our approach section starts here*/
.our-approach {
  padding: 4rem;
  background-color: var(--primary-color);
}

.our-approach p {
  color: var(--plain-color);
}

.approach-head,
.security-services h2,
.camera-types h2 {
  text-align: center;
}

.approach-head h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
  color: var(--accent-color2);
  padding-block-end: 1.5rem;
}

.approach-cards {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 3rem 0;
  text-align: center;
}

.icon-card .icon {
  position: relative;
  font-size: 3rem;
  background-color: var(--bg-color);
  color: var(--primary-color);
  padding: 2rem 2.7rem;
  margin-block-end: 2rem;
  border-radius: 50%;
}

.icon-card .number {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-color);
  background-color: var(--accent-color2);
  padding: 5px 15px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
}

.icon-card div {
  padding-block-end: 2.5rem;
  position: relative;
}

.icon-card div .number {
  position: absolute;
  right: -1rem;
}

/*Our approach section ends here*/

/* bigger vision section starts here */
.bigger-vision,
.work-with-us {
  padding: 3rem 4rem;
}

.bigger-vision h2,
.work-with-us h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
}

.vision-content {
  padding: 2rem;
  width: 80%;
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: auto;
}

.vision-content img {
  height: 7rem;
}
/* bigger vision section ends here */

/* Work with us section starts here */
.work-with-us {
  background-color: #eeeeee;
}

.work-with-cards {
  padding-block: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.work-with-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 90%;
  background-color: #d4d4d4;
  border-radius: 10rem;
}

.work-with-card i {
  font-size: 2rem;
  border: 3px solid #002147;
  padding: 12px 15px;
  border-radius: 50%;
}

.work-with-card p {
  padding-inline-end: 15px;
  font-size: 1rem;
}
/* Work with us section starts here */

/* About us page ends here */

/***************************/

/* CCTV services page starts here */
.hero.cctv {
  background-image: url(/images/cctvbg.jpg);
}

/* keep an eye section starts here */
.keep-eye {
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 5rem;
  justify-content: space-between;
}

.keep-img img {
  width: 60%;
  border: 5px solid var(--bg-color);
  border-radius: 20px;
}

.keep-img {
  position: relative;
  width: 100%;
  padding-block-end: 4rem;
}

.keep-img .second-img {
  position: absolute;
  top: 20%;
  right: -5%;
}

.keep-container h2,
.security-services h2,
.camera-types h2 {
  color: var(--primary-color);
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
  padding-block-end: 2.5rem;
}
/* keep an eye section starts here */

/* security services section starts here */
.security-services {
  padding: 3rem;
  background-color: var(--plain-color);
}

.ss-container {
  padding-block-start: 7rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  row-gap: 9rem;
  align-items: center;
}

.icon-img {
  width: 40%;
  margin: auto;
  position: absolute;
  top: -4rem;
  right: 30%;
  margin: auto;
  border-radius: 50%;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.1);
}

.ss-content {
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.2);
  background-color: var(--bg-color);
  padding: 1.5rem;
  text-align: center;
  border-radius: 20px;
  padding-block-start: 7rem;
  min-height: 30vh;
}

.ss-content h3 {
  font-size: var(--h3font-size);
  font-weight: var(--h3font-weight);
  color: var(--primary-color);
  padding-block-end: 0.5rem;
}

.ss-card {
  position: relative;
  transition: transform 0.5s ease;
}
/* security services section starts here */

/* camera types section starts here */
.camera-types {
  background-color: #f3f3f3;
  padding: 3rem;
}

.camera-card .camera-img {
  width: 35%;
}

.camera-img img {
  border-radius: 20px;
  border: 5px solid #ffc93c;
}

.camera-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.camera-card {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #002147;
  border-radius: 20px;
  min-height: 20vh;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.camera-content h3 {
  font-size: var(--h3font-size);
  font-weight: var(--h3font-weight);
  color: var(--accent-color2);
  padding-block-end: 1rem;
}

.camera-content p {
  color: var(--plain-color);
}

.end-p p {
  color: var(--primary-color);
  font-style: italic;
}
/* camera types section starts here */

/* who we install for section starts here */
.install,
.sample-packages {
  padding: 3rem;
  background-color: #002147;
}

.install h2,
.sample-packages h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
  color: var(--accent-color2);
  text-align: center;
  padding-block-end: 1.5rem;
}

.install-container {
  color: var(--plain-color);
  display: flex;
  gap: 2rem;
  align-items: center;
}

.install-cards {
  width: 15%;
  margin: auto;
  text-align: center;
}

.install-cards span i {
  padding-block-end: 1.5rem;
  font-size: 4rem;
}
/* who we install for section starts here */

.what-we-do.why-coast {
  padding: 2rem;
}

/* sample packages section starts here */
.sample-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.sample-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #9291912f;
  padding: 2rem;
  box-shadow: 4px 4px 4px #ffc83c73;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.sample-card:is(:hover, :focus-visible),
.what-card:is(:hover, :focus-visible),
.camera-card:is(:hover, :focus-visible),
.ss-card:is(:hover, :focus-visible) {
  transform: translateY(-5px);
  cursor: pointer;
}

.sample-card span i {
  font-size: 6rem;
  color: var(--accent-color2);
  padding-block-end: 2rem;
  text-align: center;
}

.sample-card a h3 {
  position: absolute;
  background-color: var(--primary-color);
  color: var(--accent-color2);
  font-size: var(--h3font-size);
  font-weight: var(--h3font-weight);
  padding: 1rem 2rem;
  left: 0;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  top: 40%;
}

.sample-card a h3:is(:hover, :focus-visible) {
  background-color: var(--accent-color2);
  color: var(--primary-color);
}

.sample-card p {
  padding-block-start: 5rem;
  text-align: center;
  color: var(--plain-color);
}

/* sample packages section ends here */

/* CCTV services page ends here */

/*******************************
********************************
*********************************/

/* solar services section starts here */
.icon-container {
  position: absolute;
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: 50%;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.2);
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
}

.icon-container i {
  font-size: 5rem;
  color: var(--primary-color);
}

/*solar services section ends here*/
/*******************************
********************************
*********************************/
/* procurement page starts here */
.hero.procure {
  background-image: url(/images/procurementbg.jpg);
}

.what-we-procure,
.procurement-process {
  padding: 3rem;
  background-color: #daeaee;
}
.procure-head {
  text-align: center;
  padding-block-end: 2rem;
}

.procure-head h2,
.procurement-process h2 {
  font-size: var(--h2font-size);
  font-weight: var(--h2font-weight);
  color: var(--primary-color);
  padding-block-end: 1rem;
}

.procure-content span {
  font-size: 4rem;
  color: var(--primary-color);
  padding-block-end: 1rem;
}

.procure-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.procure-card {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

.procure-img {
  width: 45%;
}

.procure-img img {
  border-radius: 30px;
  border: 5px solid var(--primary-color);
}

.procure-card:nth-child(even) {
  flex-direction: row-reverse;
}

.procure-content h3 {
  font-size: var(--h3font-size);
  font-weight: var(--h3font-weight);
  padding-block-end: 1rem;
}

.procure-content ul li {
  list-style-type: disc;
}

.procurement-process h2 {
  text-align: center;
}

.process-container {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-cards:nth-child(even) {
  flex-direction: column-reverse;
}

.process-cards i {
  font-size: 6rem;
  color: #c1caff;
}

.line-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.circle {
  width: 18px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--accent-color2);
}

.lines {
  width: 100%;
  height: 3px;
  background-color: var(--accent-color2);
}

.process-icon {
  padding: 1rem;
}

.process-cards h3 {
  font-size: var(--h3font-size);
  font-weight: 700;
  color: var(--primary-color);
}

/* success stories
  .success-stories{
    padding: 3rem;
    background-color: var(--primary-color);
    position: relative;
  }

  .side-header{
    position: absolute;
    left: 0;
  }

 /* testimonial carousel 
 .carousel {
  /* background: #FAFAFA;
width: 50%;
/* position: relative; 
margin: left;
}

.carousel-cell {
  width: 66%;       
  height: 200px;
  margin-right: 10px;
  background: #8C8;
  border-radius: 5px;
  right: 0;
  counter-increment: carousel-cell;
}

/* cell number
.carousel-cell:before {
  display: block;
  text-align: center;
  content: counter(carousel-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
} */

/* procurement page ends here */

/* contact us page starts here*/
.hero.contactus {
  background-image: url(/images/contactusbg.jpg);
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 82%);
}

.hero.contactus::before {
  background-image: linear-gradient(
    120deg,
    rgba(0, 11, 41, 0.9),
    rgba(0, 29, 41, 0.8),
    rgba(0, 26, 41, 0.7)
  );
}

.contact-container {
  padding: 3rem;
  display: flex;
  gap: 4rem;
  background-color: white;
}

.direct-contact h2 {
  font-weight: var(--h2font-weight);
  font-size: var(--h2font-size);
  padding-block-end: 2rem;
}

.direct-contact h3 {
  font-size: var(--h3font-size);
  font-weight: var(--h3font-weight);
}

.direct-contact p,
.direct-contact a {
  color: var(--primary-color);
  padding-block: 1.5rem;
}

.direct-contact a:is(:hover, :focus-visible) {
  color: var(--accent-color2);
}

label {
  display: block;
  width: 100%;
}

.getintouch-form input,
.getintouch-form textarea,
.getintouch-contact select {
  width: 100%;
  padding: 10px;
  border: 1px solid #bdbdbd;
  border-radius: 5px;
  outline: none;
}

.getintouch-contact {
  width: 60%;
  padding: 3rem;
  border-radius: 30px;
  background-color: var(--bg-color);
  box-shadow: 4px 4px 20px 4px rgba(0, 0, 0, 0.2);
}

.getintouch-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.getintouch-form input,
.getintouch-form textarea,
.getintouch-form select {
  border: 1px solid rgb(236, 236, 236);
}

.getintouch-contact h2,
.direct-contact span i {
  font-size: var(--h1font-size);
  font-weight: var(--h1font-weight);
  padding-block-end: 1rem;
}

.getintouch-contact h2 span {
  color: var(--accent-color2);
}

.getintouch-contact p {
  padding-block-end: 1.5rem;
}

.getintouch-buttons {
  padding-block-start: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}
/* 
.getintouch-buttons button{
  width: 100%;
} */

.getintouch-buttons button a {
  padding: 20px;
  display: block;
  width: 100%;
}

.submitbtn a {
  background-color: var(--accent-color2);
  color: var(--primary-color);
  font-weight: 600;
}

.requestbtn a {
  background-color: var(--primary-color);
  color: var(--bg-color);
  font-weight: 500;
}

.submitbtn a:is(:hover, :focus-visible) {
  background-color: var(--primary-color);
  color: var(--accent-color2);
}

.requestbtn a:is(:hover, :focus-visible) {
  background-color: #bdbdbd;
  color: var(--primary-color);
}

.options {
  padding: 3rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
}

.option-card {
  text-align: center;
  border: 2px solid var(--accent-color2);
  padding: 0.7rem;
  width: 30%;
  transition: transform 0.5s ease;
}

.option-card a {
  color: var(--accent-color2);
  font-size: 1.4rem;
  font-weight: 600;
}

.option-card a span {
  font-size: 3rem;
  padding-inline-end: 1.5rem;
}

.option-card:is(:hover, :focus-visible),
.cards:is(:hover, :focus-visible) {
  transform: translateY(-5px);
  cursor: pointer;
}

/* contact us page ends here*/

/***** mobile view ****/
@media (max-width: 1250px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-text div {
    min-height: 7rem;
  }
}

@media (max-width: 950px) {
  .nav-links {
    display: none;
    position: absolute;
    flex-direction: column;
    width: 100%;
    top: 90px;
    left: 0;
    padding: 1rem 2rem;
    background-color: var(--plain-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
    align-items: center;
    padding-bottom: 2rem;
    top: 5rem;
  }

  .hamburger {
    display: block;
  }

  .cta a {
    padding: 6px 10px;
  }

  .card-btn-div {
    display: none;
  }

  .works-done {
    position: relative;
    inset: 0;
    margin-block-start: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .work-cards {
    width: 45%;
    margin: auto;
    margin-block-end: 2rem;
  }

  .bottom-cta {
    flex-direction: column;
    align-items: center;
  }

  .subscribe,
  .procure-img {
    width: 90%;
    margin: auto;
  }

  .procure-content span {
    text-align: center;
  }

  .camera-card .camera-img,
  .sample-card a h3,
  .procure-content,
  .option-card {
    width: 70%;
  }

  .footer-content {
    flex-wrap: wrap;
  }

  .approach-cards {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .who-we-are,
  .keep-eye,
  .camera-card,
  .procure-card,
  .contact-container,
  .options {
    flex-direction: column;
  }

  .who-we-are img {
    width: 100%;
  }

  .our-mission,
  .our-vision {
    flex-direction: column;
    gap: 2rem;
  }

  .what-cards,
  .work-with-cards,
  .sample-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .vision-content {
    padding: 0;
    padding-block: 2rem;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .vision-content img {
    height: 100%;
    width: 10rem;
  }

  .ss-container,
  .process-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-cards:nth-child(even),
  .procure-card:nth-child(even) {
    flex-direction: column;
  }

  .process-icon {
    padding: 0;
  }

  .getintouch-contact {
    width: 80%;
    margin: auto;
  }
}

@media (max-width: 767px) {
  /* 2.General Styling starts */

  .two-cols-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  /* 2.General Styling ends */

  /* header */
  .nav-links {
    display: none;
    position: absolute;
    flex-direction: column;
    width: 100%;
    top: 120px;
    left: 0;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .cta-btn,
  .hero-carousel {
    display: none;
  }

  .nav-links.active {
    display: flex;
    align-items: center;
    padding-bottom: 2rem;
  }

  .hamburger {
    display: block;
  }
  .hero {
    padding: 1rem;
  }

  .hero::before {
    background-image: radial-gradient(
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    );
    content: "";
    inset: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
  }

  .hero h1 {
    font-size: 1.5rem !important;
    margin-bottom: 0;
  }
  .hero p,
  .hero-cta a {
    font-size: 1rem !important;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    flex-basis: 100%;
    margin-block-start: 4.5rem;
  }
  .hero-cta {
    flex-direction: column;
    justify-content: center;
  }

  .procurement-process {
    padding-block-end: 2rem;
  }

  .services,
  footer,
  .who-we-are,
  .getintouch-contact {
    padding: 2rem;
  }

  .our-impact,
  .mission-vision,
  .our-approach,
  .bigger-vision,
  .work-with-us,
  .camera-types,
  .security-services,
  .keep-eye,
  .what-we-procure,
  .contact-container,
  .options {
    padding: 3rem 2rem;
  }

  .vision-content p {
    text-align: center;
  }

  .services-text p,
  .services h2 {
    text-align: center;
  }

  .services-text {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .cta-div,
  .process-container {
    justify-content: center;
    gap: 3rem;
  }

  .camera-container,
  .what-cards,
  .work-with-cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .testimonials,
  .install-cards {
    width: 80%;
  }

  .carousel-cell {
    width: 40%;
  }

  .carousel-cell.two {
    width: 60%;
  }

  .footer-header {
    flex-direction: column;
    gap: 2rem;
  }

  .subscribe,
  .footer-header form input,
  .getintouch-contact,
  .work-with-card {
    width: 100%;
  }

  form,
  .who-we-are-text div,
  .install-container {
    flex-direction: column;
  }

  .subscribe form button {
    margin-block: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .icon-card .icon {
    font-size: 2rem;
  }

  .icon-card .number {
    font-size: 1rem;
  }

  .who-we-are img {
    height: 30vh;
  }
}

@media (max-width: 639px) {
  .sample-container,
  .ss-container,
  .process-container,
  .service-cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .ss-content {
    min-height: 100%;
  }

  .process-cards {
    text-align: center;
  }

  .option-card {
    width: 90%;
  }
}

@media (max-width: 1024px) {
  .hero.home {
    background-image: url(/images/mobile.png);
  }

  .hero h1 {
    font-size: 2.5rem;
    padding-block: 1rem;
  }
  .hero p,
  .hero-cta a {
    font-size: 1.5rem;
  }
  .hero-content {
    width: 100%;
    text-align: center;
    flex-basis: 100%;
  }
  .hero-cta {
    justify-content: center;
  }
}
