/**
* Template Name: Presento - v1.1.1
* Template URL: https://bootstrapmade.com/presento-bootstrap-corporate-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #e03a3c;
}

a:hover {
  color: #e76668;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #e03a3c;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #e35052;
  color: #fff;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
/* Header */
#header {
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 15px 0;
  min-height: 70px;
}

/* Container */
.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

/* Logo */
#logoText {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  color: #e03a3c;
  text-align: left;
  margin-left: 0;
  flex-shrink: 0;
}

#logoText a {
  text-decoration: none;
  color: inherit;
}

#logoText span {
  color: #000;
}

/* Nav */
nav.desktop-nav {
  margin-left: 50px;
  width: 100%;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 20px;
  position: relative;
}

.nav-item a {
  text-decoration: none;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-item a:hover {
  color: #e03a3c;
}

/* Active desktop nav link effect */
.nav-menu .nav-item a.active {
  color: #e03a3c;
  font-weight: 600;
  position: relative;
}

.nav-menu .nav-item a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 100%;
  background-color: #e03a3c;
  border-radius: 2px;
}

/* Dropdown styling */
.nav-menu .drop-down {
  position: relative;
}

.nav-menu .drop-down ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  padding: 5px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  width: 200px;
  z-index: 99;
}

.nav-menu .drop-down:hover > ul {
  display: block;
}

.nav-menu .drop-down li {
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-menu .drop-down li:hover {
  background-color: #f0f0f0;
}

/* Hide desktop nav on small screens */
@media screen and (max-width: 991px) {
  nav.desktop-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 40px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
  margin-left: 20px;
}

/* Adjust the cross icon position when nav is active */
.mobile-nav-active .mobile-nav-toggle {
  top: 30px;
}

/* Mobile Dropdown */
.mobile-nav {
  position: fixed;
  top: 55px;
  right: 0;
  bottom: 15px;
  width: 250px;
  z-index: 9999;
  background: #e6e6e6; /* Slightly more grey */
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5px;
  max-height: 45%; /* Reduced height */
  overflow-y: auto;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  text-decoration: none;
  color: #e03a3c; /* Red nav links in mobile */
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
  padding: 5px 15px;
  margin-top: 10px;
}

.mobile-nav .drop-down {
  position: relative;
  padding: 0 15px;
}

.mobile-nav .drop-toggle {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  color: #e03a3c; /* Red */
  margin-top: 10px;
}

.mobile-nav .mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 10px;
}

.mobile-nav .mobile-dropdown-menu.show {
  display: flex;
}

.mobile-nav .mobile-dropdown-menu li {
  list-style: none;
  padding: 5px 0;
}

/* Overlay */
.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active .mobile-nav-overly {
  display: block;
}

/* Responsive logo text */
@media (max-width: 420px) {
  #logoText {
    font-size: 18px;
    text-align: left;
  }
}

@media (max-width: 375px) {
  #logoText {
    font-size: 16px;
  }
}

@media (max-width: 320px) {
  #logoText {
    font-size: 14px;
  }
}







/*---------------------------------------- Main -------------------------*/
/* ======= Contact Section ======= */
.internship-section {
    padding: 40px 20px; /* Reduced padding */
    background-color: white;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

.internship-section h1 {
    font-size: 32px; /* Slightly smaller text */
    color: #e03a3c;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 30px; /* Updated top margin */
}

/* Contact Section Paragraph */
.internship-section p {
    font-size: 16px; /* Smaller font size */
    color: #000;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Center align text */
    line-height: 1.5; /* Add line-height for better readability */
    word-wrap: break-word; /* Ensures long words break and text wraps to the next line */
    display: flex;
    justify-content: center; /* Align text to the center of the box */
    flex-wrap: wrap; /* Allow text to wrap */
}

/* Contact Container */
.internship-container {
    display: flex;
    flex-direction: column; /* Stacked vertically */
    gap: 30px; /* Reduced space between cards */
    justify-items: center;
    align-items: center;
    margin-bottom: 3%;
}

/* Contact Card */
.internship-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1000px;
    padding: 8px 20px; /* Reduced vertical padding */
    text-align: left;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #e03a3c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 0;
    margin-bottom: 1%;
}


.internship-card:hover {
    transform: scale(1.05); /* Slightly enlarge the card */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); /* Add a more prominent shadow */
    z-index: 10; /* Bring the card to the front */
}

/* Popup Animation Content */
.internship-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.internship-card:hover::before {
    opacity: 1; /* Create a glowing effect */
}

/* Contact Logo */
.internship-logo {
    margin-right: 20px;
    perspective: 1000px; /* Required for 3D flip effect */
}

.internship-logo img {
    width: 130px; /* Smaller logo size */
    height: auto;
    margin-bottom: 0;
    transform-origin: center;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Flip Effect on Hover */
.internship-logo img:hover {
    transform: rotate(360deg); /* Full rotation */
    opacity: 1;
}

/* Contact Details */
.internship-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Name of the Contact */
.internship-details h3 {
    font-size: 20px; /* Smaller font size */
    color: #e03a3c;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Contact Info (Duration, Location, Apply Button) */
.internship-info {
    display: flex;
    align-items: center;
    gap: 5px; /* Reduces space between elements */
    margin-top: 15px;
}

.internship-duration,
.internship-location {
    font-size: 14px;
    color: #333;
    white-space: nowrap; /* Ensures they stay on the same line */
}

.internship-location {
    margin-left: 8px; /* Adds a slight left margin */
}


/* Apply Button */
.apply-btn {
    background-color: #fff;
    color: #e03a3c;
    padding: 8px 20px;
    border: 2px solid #e03a3c;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: -12%;
}

.apply-btn:hover {
    background-color: #e03a3c;
    color: #fff;
    border-color: #e03a3c;
}

/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
  width: 90%;
  margin: auto;
}

/* Contact Cards */
.internship-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.internship-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

.internship-card:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.internship-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.internship-details {
  flex-grow: 1;
  margin-left: 8px;
  overflow: hidden;
}

.internship-details h3 {
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.internship-info p {
  margin: 4px 0;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apply-btn {
  background: red; /* Red background */
  color: white;
  padding: 6px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 10px;
  white-space: nowrap;
  transition: 0.3s;
  margin-left: -20%; /* Left margin -20% */
}

.apply-btn:hover {
  background: darkred; /* Darker red on hover */
}

/* Responsive Design */

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .internship-card {
    height: 130px; /* Increased height */
    padding: 10px;
  }

  .internship-logo img {
    width: 35px;
    height: 35px;
  }

  .internship-details h3 {
    font-size: 13px;
  }

  .internship-info p {
    font-size: 11px;
  }

  .apply-btn {
    padding: 6px 9px;
    font-size: 9px;
  }
}

/* Mobile S (320px) */
@media (max-width: 320px) {
  .internship-card {
    height: 140px; /* Increased height */
    padding: 8px;
  }

  .internship-logo img {
    width: 28px;
    height: 28px;
  }

  .internship-details h3 {
    font-size: 11px;
  }

  .internship-info p {
    font-size: 9px;
  }

  .apply-btn {
    padding: 5px 7px;
    font-size: 8px;
  }
}

/* Mobile M (375px) */
@media (max-width: 375px) {
  .internship-card {
    height: 145px; /* Increased height */
    padding: 9px;
  }

  .internship-logo img {
    width: 30px;
    height: 30px;
  }

  .internship-details h3 {
    font-size: 12px;
  }

  .internship-info p {
    font-size: 10px;
  }

  .apply-btn {
    padding: 6px 8px;
    font-size: 9px;
  }
}

/* Mobile L (425px) */
@media (max-width: 425px) {
  .internship-card {
    height: 150px; /* Increased height */
    padding: 10px;
    margin-bottom: 2%;
  }

  .internship-logo img {
    width: 32px;
    height: 32px;
  }

  .internship-details h3 {
    font-size: 13px;
  }

  .internship-info p {
    font-size: 11px;
  }

  .apply-btn {
    padding: 6px 9px;
    font-size: 9px;
    margin-bottom: 15px;
  }
}

/* Laptop and larger screens (≥1024px) */
@media (min-width: 1024px) {
  .internship-section {
    display: flex;
    flex-direction: column; /* Stack the h1 and p vertically */
    align-items: center; /* Center the items horizontally */
    text-align: center; /* Center the text */
  }

  .internship-card {
    height: 220px; /* Reduced height from 250px to 220px */
    padding: 40px; /* Larger padding */
    width: 90%; /* Center the cards */
    max-width: 1000px; /* Larger width */
  }

  .internship-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start; /* Align items at the top */
  }

  /* Increased font sizes for laptop and larger screens */
  .internship-section h1 {
    font-size: 38px; /* Larger font size for headings */
    margin-left: 0; /* Reset left margin */
    margin-bottom: 20px; /* Space between h1 and p */
  }

  .internship-section p {
    font-size: 18px; /* Larger font size for description */
    margin-top: 0; /* Remove top margin */
    margin-bottom: 40px; /* Space between p and internship cards */
    max-width: 1000px; /* Keep the description width large */
    margin-left: auto;
    margin-right: auto; /* Center the paragraph */
  }

  .internship-logo img {
    width: 100px; /* Increase the image width */
    height: auto; /* Maintain aspect ratio */
  }

  .internship-details h3 {
    font-size: 22px; /* Larger font size for internship name */
  }

  .internship-info p {
    font-size: 16px; /* Larger font size for info */
    margin-left: 0%;
  }

  .apply-btn {
    font-size: 16px; /* Larger font size for button */
  }
}



/* Pop-Up Form Styles */
.popup-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 380px; /* Smaller form */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.form-container h2 {
    color: #e03a3c;
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
}

.form-container label {
    display: block;
    margin: 8px 0 4px;
    font-weight: 600;
    font-size: 13px;
}

.form-container input,
.form-container select {
    width: 100%;
    padding: 7px 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.submit-btn {
    background: #e03a3c;
    color: white;
    padding: 7px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #c32c2d;
}

.cancel-btn {
    background: #f0f0f0;
    color: black;
    padding: 7px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.3s;
}

.cancel-btn:hover {
    background: #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .internship-section h1 {
        font-size: 26px;
    }

    .internship-section p {
        font-size: 13px;
    }

    .internship-container {
        flex-direction: column;
        gap: 18px;
    }

    .internship-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .apply-btn {
        align-self: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .internship-container {
        grid-template-columns: 1fr;
    }
}



/*----------------------------------------Back to Top Button -------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #e03a3c;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #e35052;
  color: #fff;
}

/* Disable aos animation delay on mobile devices */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

--------------------------------------------------------------*/

/*--------------------------------------------------------------
/* ======= Footer ======= */
#footer {
  color: #fff; /* White text for all text inside the footer */
  font-size: 14px;
  background: #000; /* Black background */
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #000; /* Black background */
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  color: #e03a3c; /* Set color of h3 to #e03a3c */
}

#footer .footer-top .footer-contact h3 span {
  color: #e03a3c; /* Set color of span inside h3 to #e03a3c */
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff; /* White color for paragraph text */
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: #e03a3c; /* Set color of h4 to #e03a3c */
}

#footer .footer-top h4::after {
  content: '';
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: #e03a3c;
  bottom: 0;
  left: 0;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: white; /* White icon color */
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff; /* White color for links */
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #e03a3c; /* Red color for hover effect */
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: #e03a3c; /* Set color of h4 to #e03a3c */
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 5px 10px;
  position: relative;
  border-radius: 4px;
  text-align: left;
}

#footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #e03a3c;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type="submit"]:hover {
  background: #e35052;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
  color: #fff; /* White color for credits text */
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #2b2b2b;
  color: #fff; /* White color for social icons */
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #e03a3c;
  color: #fff;
  text-decoration: none;
}

/* ======= Container Section ======= */
#footer .container.d-md-flex.py-4 {
  background: black; /* Black background for this section */
  color: #fff; /* White text */
  padding-top: 30px;
  padding-bottom: 30px;
}

#footer .container.d-md-flex.py-4 .copyright {
  color: #fff; /* White color for copyright text */
}

#footer .container.d-md-flex.py-4 .credits {
  color: #fff; /* White color for credits text */
}

#footer .container.d-md-flex.py-4 .social-links a {
  background: #2b2b2b; /* Dark grey background for social icons */
  color: #fff; /* White color for social icons */
}

#footer .container.d-md-flex.py-4 .social-links a:hover {
  background: #e03a3c;
  color: #fff;
}