* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
}

:root {
  --bg-color: #e3eeee;
  --second-bg-color: #ffffff;
  --text-color: #000000;
  --main-color: rgb(0, 118, 253);
  --icon-color: #4016ff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

section {
  min-height: 62.5%;
  padding: 10rem 9% 2rem;
}



/* ================= WHAT WE PROVIDE ================= */

.services-section {
  padding: 100px 9%;
  background: #f5f7fb;
}

.services-section .heading {
  text-align: center;
  font-size: 3.8rem;
  font-weight: 700;
  color: #303c96;
  margin-bottom: 12px;
}

.services-section .heading span {
  color: #4016ff;
}

.services-intro {
  max-width: 900px;
  margin: 0 auto 70px;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.7;
  color: #555;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* CARD */
.service-item {
  background: #ffffff;
  padding: 45px 35px;
  border-radius: 22px;
  text-align: left;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #303c96, #4016ff);
  border-radius: 22px 0 0 22px;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.14);
}

/* ICON */
.service-item i {
  font-size: 3.8rem;
  color: #4016ff;
  margin-bottom: 18px;
  display: inline-block;
}

/* TITLE */
.service-item h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

/* DESCRIPTION */
.service-item p {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .services-section {
    padding: 80px 6%;
  }

  .services-section .heading {
    font-size: 3.2rem;
  }

  .services-intro {
    font-size: 1.7rem;
  }
}



.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease-in-out;
}



/* Animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ================= CORE SERVICES ================= */

.core-services {
  padding: 90px 9%;
  background: #f5f7fb;
}

.section-title {
  text-align: center;
  font-size: 3.8rem;
  font-weight: 700;
  color: #303c96;
  margin-bottom: 10px;
}

.section-title span {
  color: #4016ff;
}

.section-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 1.8rem;
  color: #555;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* Service Card */
.service-card {
  background: #ffffff;
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.14);
}

.service-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #303c96, #4016ff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-card .icon i {
  font-size: 3.2rem;
  color: #fff;
}

.service-card h3 {
  font-size: 2.4rem;
  margin-bottom: 14px;
  color: #222;
}

.service-card p {
  font-size: 1.6rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #555;
}

.service-card ul {
  padding-left: 18px;
}

.service-card li {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 3.2rem;
  }

  .section-subtitle {
    font-size: 1.7rem;
  }
}



.navbar a:hover,
.navbar a:active {
  color: var(--main-color);
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}



/* Home CSS by RAVI */

.home {
  height: 50vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  filter: blur(0px);
  /* Apply blur effect */
  transform: scale(1);
  /* Slightly scale the video to cover edges when blurred */
  z-index: -1;
  /* Ensure the video stays in the background */
}

/* Optional content inside the .home div */
.home .content {
  position: relative;
  z-index: 1;
  /* Make sure content is above the video */
}

.home-img img {
  /*     height: 30vw; */
  width: 30vw;
  margin-left: 10vw;
  margin-top: 15vw;
  /* animation: floatImage 4s ease-in-out infinite; */
}

@keyframes floatImage {
  0% {
    transform: translateY();
  }

  50% {
    transform: translateY(-2.4rem);
  }

  100% {
    transform: translateY();
  }
}

.home-content h3 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #303c96;
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 2rem;
}

span {
  color: green;
}

.home-content h1 {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: #303c96;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: #00000050;
  /*border: .2rem solid #4016ff;*/
  border-radius: 50%;
  font-size: 2rem;
  color: #6400ff;
  margin: 3rem 1.5rem 3rem 0;
  transition: .5s ease;
}

.social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

.btn {
  display: inline-flex;
  padding: 1rem 2.8rem;
  background: var(--main-color);
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-size: 1.6rem;
  color: var(--second-bg-color);
  letter-spacing: .1rem;
  font-weight: 600;
  transition: 3s ease;
}

.btn:hover {
  box-shadow: none;
}



/* About CSS by RAVI*/

.about {
  height: auto;
  width: auto;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  display: flex;
  background: var(--second-bg-color);
}

.about-content-1 {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: var(--second-bg-color);
}

.about-content-1 p {
  font-size: 3rem;
}

.about-content-2 p {
  font-size: 3rem;
}

.about-content-3 p {
  font-size: 3rem;
}

.about-content-4 p {
  font-size: 3rem;
}

.about-content-2 {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  /* background: var(--second-bg-color); */
}

.about-content-3 {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  /* background: var(--second-bg-color); */
}

.about-content-4 {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: var(--second-bg-color);
}

.about-img img {
  border-radius: 16rem;
  width: 12vw;
}

.iso-image img {
  width: 30vw;
}

.heading {
  text-align: center;
  font-size: 4.5rem;
}

.about-content h2 {
  text-align: center;
  line-height: 1.2rem;
}

.about-content h3 {
  font-size: 2.6rem;
}

.about-content p {
  font-size: 1.6rem;
  margin: 2rem 0 3rem;
}

.founders {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
}






.about-container {
  width: 100%;
  padding: 60px 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* Content Section */
.about-content {
  max-width: 1600px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  padding: 20px;
  animation: fadeInUp 1s ease-in-out;
}


.about-text p {
  line-height: 1.8;
  font-size: 1.8rem;
  color: #555;
}

/* Image Section */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 8vw;
  align-items: center;
  animation: fadeIn 1.5s ease-in-out;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}



/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-text h3 {
    text-align: center;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}





/* Why Choose Us Section */
.why-choose-us-container {
  width: 100%;
  padding: 60px 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* Content Section */
.why-choose-us-content {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.why-choose-us-text {
  flex: 1;
  padding: 20px;
  animation: fadeInUp 1s ease-in-out;
}

.why-choose-us-text h3 {
  font-size: 3rem;
  color: #333;
  margin-bottom: 20px;
}

.why-choose-us-text p {
  line-height: 1.8;
  font-size: 1.7rem;
  color: #555;
}

/* Image Section */
.why-choose-us-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.5s ease-in-out;
}

.why-choose-us-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .why-choose-us-content {
    flex-direction: column;
    align-items: center;
  }

  .why-choose-us-text h3 {
    text-align: center;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}







/* Services CSS by RAVI*/

.services {
  background-image: url('./images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services h2 {
  margin-bottom: 5rem;
}

.service-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-container .service-box {
  flex: 1 1 30rem;
  background: var(--second-bg-color);
  padding: 3rem 2rem 4rem;
  border-radius: 2rem;
  text-align: center;
  border: .5rem solid var(--bg-color);
  transition: .5s ease;
}

.service-container .service-box:hover {
  border-color: var(--main-color);
  transform: scale(1.02);
}

.service-box i {
  font-size: 7rem;
  color: var(--icon-color);
}

.service-box h3 {
  font-size: 2.6rem;
}

.service-box p {
  font-size: 1.6rem;
  margin: 1rem 0 3rem;
}



/* Portfolio CSS by RAVI */

/* ================= OUR CLIENTS (SIMPLE & CLEAN) ================= */

.portfolio {
  padding: 90px 9%;
  background: #ffffff;
}

.portfolio .heading {
  text-align: center;
  font-size: 3.6rem;
  font-weight: 700;
  color: #2b2e4a;
  margin-bottom: 50px;
}

.portfolio .heading span {
  color: #4016ff;
}

/* GRID */
.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  align-items: center;
}

/* LOGO CARD */
.portfolio-box {
  background: #f9fafc;
  border-radius: 12px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border: 1px solid #e6e8f0;
}

/* LOGO IMAGE */
.portfolio-box img {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
}

/* REMOVE OLD OVERLAY */
.portfolio-layer {
  display: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .portfolio {
    padding: 70px 6%;
  }

  .portfolio .heading {
    font-size: 3rem;
  }

  .portfolio-box {
    height: 120px;
  }

  .portfolio-box img {
    max-width: 120px;
    max-height: 60px;
  }
}




/* Contact CSS by RAVI */
.contact {
  background-image: url('./images/backg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-section {
  display: flex;
  max-width: auto;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.contact h2 {
  margin-bottom: 3rem;
}

.contact form {
  max-width: 120rem;
  margin: 4rem auto;
  text-align: center;
  margin-bottom: 3rem;
}

.contact form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: var(--text-color);
  background: var(--second-bg-color);
  border-radius: .8rem;
  margin: .7rem 0;
}

.contact form .input-box input {
  width: 49%;
}

/*.contact form textarea {
    resize: none;
}*/
.contact form .btn {
  margin-top: 2rem;
  cursor: pointer;
}

.alert {
  width: 100%;
  background: rgb(3, 171, 73);
  padding: 1rem 2rem;
  border-radius: 8rem;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 900;
  display: none;
}







.map {
  margin-top: 20px;
  margin-left: 20px;
  width: 80%;
}

.map iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .map iframe {
    height: 300px;
  }
}






.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-left: 10vw;
  align-items: self-start;
}

.contact-info h2 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-info p strong {
  font-weight: bold;
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }

  .contact-info {
    margin-right: 0;
    margin-bottom: 20px;
  }
}






/*BREAK-POINTS*/

/* Base styles for larger screens */
html {
  font-size: 62.5%;
  /* 1rem = 10px */
}

/* Large desktops and above */
@media(max-width: 1200px) {
  html {
    font-size: 55%;
    /* Scales down */
  }
}

/* Navbar for medium screens and up */
@media(max-width: 768px) {

  .home {
    height: auto;
    flex-direction: column;
  }

  .home-content h3 {
    font-size: 2.4rem;
  }

  .home-content h1 {
    font-size: 4.5rem;
  }

  .home-content p {
    font-size: 2.6rem;
  }

  .home-img img {
    width: 65vw;
    margin-top: 3rem;
  }

  .about {
    height: auto;
    flex-direction: column;
  }

  .about-content-1 {
    height: auto;
    flex-direction: column;
  }

  .about-content-2 {
    height: auto;
    flex-direction: column;
  }

  .about-content-3 {
    height: auto;
    flex-direction: column;
  }

  .about-content-4 {
    height: auto;
    flex-direction: column;
  }

  .about-img img {
    width: 85vw;
    margin-top: 2rem;
  }

  .services h2,
  .portfolio h2 {
    margin-bottom: 2.5rem;
  }

  .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Smartphones in landscape mode */
@media(max-width: 617px) {
  .portfolio-container {
    grid-template-columns: 1fr;
  }

  .home-img img {
    width: 70vw;
  }

  .about-img img {
    width: 80vw;
  }
}

/* Smartphones in portrait mode */
@media(max-width: 515px) {
  .portfolio-container {
    grid-template-columns: 1fr;
  }

  .home-img img {
    width: 70vw;
  }

  .about-img img {
    width: 75vw;
  }
}

/* Small smartphones */
@media(max-width: 450px) {
  html {
    font-size: 50%;
  }

  .contact form .input-box input {
    width: 100%;
  }

  .home-img img {
    width: 70vw;
  }

  .about-img img {
    width: 70vw;
  }
}

/* Very small smartphones */
@media(max-width: 412px) {
  .home-img img {
    width: 70vw;
  }

  .about-img img {
    width: 65vw;
  }
}

/* Extra small screens */
@media(max-width: 365px) {
  .home-img img {
    width: 65vw;
  }

  .about-img img {
    width: 60vw;
  }
}

/* Ultra-small devices */
@media(max-width: 310px) {
  .footer {
    flex-direction: column-reverse;
  }

  .footer p {
    text-align: center;
    margin-top: 1.5rem;
  }

  .home-img img {
    width: 60vw;
  }

  .about-img img {
    width: 55vw;
  }
}








/* ================= DOWNLOADS PAGE ================= */

.pdf-section {
  padding: 80px 9%;
  background: var(--second-bg-color);
}

.pdf-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pdf-item {
  background: #010101;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(to right, #faf5fe, #4016ff);
  color: #fff;
}

.pdf-header h3 {
  font-size: 1.8rem;
  color: #000000;
  margin: 0;
}

.fullscreen-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fullscreen-btn:hover {
  transform: scale(1.2);
}

.pdf-item iframe {
  width: 100%;
  height: 420px;
  border: none;
}

/* Mobile */
@media (max-width: 768px) {
  .pdf-item iframe {
    height: 300px;
  }

  .pdf-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
}







/* ================= COMPANY DOCUMENT LIST ================= */

.pdf-section {
  padding: 60px 9%;
  background: #ffffff;
}

.pdf-section h1 {
  font-size: 3.6rem;
  margin-bottom: 30px;
  color: #303c96;
  text-align: center;
}

/* Document List */
.doc-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.doc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fafc;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Document Name */
.doc-name {
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  max-width: 70%;
}

.doc-name:hover {
  color: var(--main-color);
  text-decoration: underline;
}

/* Download Button */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4016ff, #6f5bff);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-btn i {
  font-size: 1.6rem;
}

.download-btn:hover {
  background: linear-gradient(135deg, #2f0ee6, #5846e6);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(64, 22, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .doc-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .doc-name {
    max-width: 100%;
    font-size: 1.7rem;
  }

  .download-btn {
    align-self: flex-end;
  }
}