/*
  Theme Name: BizPage
  Theme URL: https://bootstrapmade.com/bizpage-bootstrap-business-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/
*/

/* ===================================
   VARIABLES & RESET
=================================== */
:root {
  --primary-color: #252a61;
  --secondary-color: #2e3091;
  --text-color: #666666;
  --white: #fff;
  --black: #000;
  --light-gray: #f7f7f7;
  --dark-gray: #333;
  --accent-color: #4a50d5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===================================
   GENERAL STYLES
=================================== */
body {
  background: var(--white);
  color: var(--text-color);
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  transition: 0.5s;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: var(--primary-color);
  outline: none;
  text-decoration: none;
}

p {
  margin: 0 0 30px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  background: var(--primary-color);
  color: var(--white);
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
  border: none;
  cursor: pointer;
}

.back-to-top i {
  padding-top: 12px;
  color: var(--white);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--white);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===================================
   HEADER
=================================== */
#header {
  padding: 30px 0;
  height: 92px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
  background: transparent;
}

#header.header-scrolled {
  background: var(--primary-color);
  padding: 20px 0;
  height: 72px;
  transition: all 0.5s;
}

#header #logo {
  float: left;
}

#header #logo h1 {
  font-size: 34px;
  margin: 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
}

#header #logo h1 a,
#header #logo h1 a:hover {
  color: var(--white);
  padding-left: 10px;
  border-left: 4px solid var(--primary-color);
}

#header #logo img {
  padding: 0;
  margin: 0;
  height: 35px;
  max-width: 100%;
}

/* ===================================
   INTRO SECTION (CAROUSEL)
=================================== */
#intro {
  display: table;
  width: 100%;
  height: 100vh;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#intro .carousel-item {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#intro .carousel-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

#intro .carousel-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 8s ease-in-out;
}

#intro .carousel-item:hover .carousel-background img {
  transform: scale(1.05);
}

#intro .carousel-item::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}

#intro .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

#intro .carousel-content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 3;
}

#intro h2 {
  color: var(--white);
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#intro p {
  width: 80%;
  margin: 0 auto 30px auto;
  color: var(--white);
  font-size: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#intro .btn-get-started {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: var(--white);
  background: var(--primary-color);
  border: none;
  cursor: pointer;
}

#intro .btn-get-started:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* ===================================
   NAVIGATION MENU
=================================== */
.nav-menu,
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
  background: var(--white);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  padding: 10px;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li {
  min-width: 180px;
  transition: 0.3s;
}

.nav-menu a {
  padding: 0 8px 10px 8px;
  display: inline-block;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  outline: none;
}

.nav-menu li:hover > a,
.nav-menu > .menu-active > a {
  color: var(--white);
}

.nav-menu > li {
  margin-left: 10px;
}

.nav-menu ul li a {
  padding: 10px;
  color: var(--dark-gray);
  transition: 0.3s;
  display: block;
  font-size: 13px;
  text-transform: none;
}

.nav-menu ul li:hover > a {
  color: var(--primary-color);
}

/* Mobile Nav */
#mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  margin: 20px 20px 0 0;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  transition: all 0.4s;
  outline: none;
  cursor: pointer;
  color: var(--white);
}

#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  bottom: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.8);
  left: -260px;
  width: 260px;
  overflow-y: auto;
  transition: 0.4s;
}

#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#mobile-nav ul li a {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  overflow: hidden;
  padding: 10px 22px 10px 15px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}

#mobile-nav ul li a:hover {
  color: var(--primary-color);
}

body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

/* ===================================
   SECTIONS COMMON STYLES
=================================== */
.section-header h3 {
  font-size: 32px;
  color: var(--primary-color);
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-header h3::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-header h3::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: calc(50% - 20px);
}

.section-header p {
  text-align: center;
  padding-bottom: 30px;
  color: var(--dark-gray);
}

.section-bg {
  background: var(--light-gray);
}

/* ===================================
   PORTFOLIO SECTION (PENGHARGAAN)
=================================== */
#portfolio {
  background: transparent;
  padding: 80px 0 60px 0;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

#portfolio .section-header {
  margin-bottom: 50px;
}

#portfolio .section-header h3 {
  font-size: 32px;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

#portfolio .section-header h3::before {
  width: 100px;
  left: calc(50% - 50px);
}

#portfolio .section-header h3::after {
  width: 50px;
  height: 3px;
  left: calc(50% - 25px);
  border-radius: 2px;
}

#portfolio .section-header p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 0;
  color: var(--text-color);
}

.portfolio-container {
  margin: 0 -15px;
  padding: 10px 0;
}

.portfolio-item {
  margin-bottom: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 20px 15px;
  transition: all 0.3s ease;
  border-radius: 0;
  background: transparent;
}

.portfolio-link:hover {
  background: transparent;
  transform: none;
}

.portfolio-img {
  padding: 30px 0;
  text-align: center;
  margin-bottom: 20px;
}

.portfolio-img img {
  max-width: 220px;
  height: 100px;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: grayscale(30%);
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.portfolio-info {
  text-align: center;
}

.portfolio-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 5px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-info h4 {
  color: var(--primary-color);
}

.portfolio-info p {
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 0;
  font-weight: 500;
}

/* ===================================
   SECTION TRANSITION
=================================== */
.section-transition {
  height: 60px;
  background: transparent;
  position: relative;
  z-index: 0;
}

/* ===================================
   NEWS SECTION
=================================== */
#news {
  background: #ffffff;
  padding: 60px 0 100px 0;
  position: relative;
  margin-top: 0;
}

#news .section-header {
  margin-bottom: 60px;
}

#news .section-header h3 {
  font-size: 36px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

#news .section-header h3::before {
  width: 120px;
  left: calc(50% - 60px);
}

#news .section-header h3::after {
  width: 60px;
  height: 4px;
  left: calc(50% - 30px);
  border-radius: 2px;
}

#news .section-header p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 0;
}

.news-container {
  margin: 0 -15px 50px -15px;
}

.news-item {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
  margin-bottom: 40px;
}

.news-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.news-img {
  overflow: hidden;
  height: 260px;
  position: relative;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-item:hover .news-img img {
  transform: scale(1.15);
}

.news-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-item:hover .news-img::after {
  opacity: 1;
}

.news-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.news-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  flex-grow: 0;
}

.news-title a {
  color: var(--dark-gray);
  transition: color 0.3s ease;
  text-decoration: none;
}

.news-title a:hover {
  color: var(--primary-color);
}

.news-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 0;
  flex-grow: 1;
}

.news-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  text-decoration: none;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.news-btn:hover {
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 42, 97, 0.3);
}

.news-btn:active {
  transform: translateY(-1px);
}

/* ===================================
   FEATURED SERVICES SECTION
=================================== */
#featured-services {
  background: var(--black);
}

#featured-services .box {
  padding: 30px 20px;
}

#featured-services .box-bg {
  background-image: linear-gradient(0deg, #000000 0%, #242323 50%, #000000 100%);
}

#featured-services i {
  color: var(--primary-color);
  font-size: 48px;
  display: inline-block;
  line-height: 1;
}

#featured-services h4 {
  font-weight: 400;
  margin: 15px 0;
  font-size: 18px;
}

#featured-services h4 a {
  color: var(--white);
}

#featured-services h4 a:hover {
  color: var(--primary-color);
}

#featured-services p {
  font-size: 14px;
  line-height: 24px;
  color: var(--white);
  margin-bottom: 0;
}

/* ===================================
   ABOUT US SECTION
=================================== */
#about {
  padding: 60px 0 40px 0;
  background: none;
}

#about .about-cols {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

#about .about-col {
  background: none;
  border: none;
  box-shadow: none;
  text-align: center;
}

#about .about-col .img {
  overflow: hidden;
  border-radius: 0;
}

#about .about-col .img img {
  transition: transform 0.4s ease;
  max-width: 100%;
  height: auto;
}

#about .about-col .img img:hover {
  transform: scale(1.05);
}

#about .about-col h2 {
  color: var(--black);
  font-weight: 700;
  font-size: 20px;
  margin: 20px 0 10px;
}

#about .about-col h2 a {
  color: var(--black);
}

#about .about-col h2 a:hover {
  color: var(--primary-color);
}

#about .about-col p {
  font-size: 14px;
  line-height: 24px;
  color: var(--dark-gray);
  padding: 0 10px 10px;
}

.about-btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 15px;
  border-radius: 4px;
  background-color: var(--primary-color);
  color: var(--white);
  transition: 0.3s;
}

.about-btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* ===================================
   SERVICES SECTION
=================================== */
#services {
  background: var(--white);
  background-size: cover;
  padding: 60px 0 40px 0;
}

#services .box {
  margin-bottom: 30px;
}

#services .icon {
  float: left;
}

#services .icon i {
  color: var(--primary-color);
  font-size: 36px;
  line-height: 1;
  transition: 0.5s;
}

#services .title {
  margin-left: 60px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#services .title a {
  color: #111;
}

#services .box:hover .title a {
  color: var(--primary-color);
}

#services .description {
  font-size: 14px;
  margin-left: 60px;
  line-height: 24px;
  margin-bottom: 0;
}

/* ===================================
   CALL TO ACTION SECTION
=================================== */
#call-to-action {
  background: linear-gradient(rgba(0, 142, 99, 0.1), rgba(0, 0, 0, 0.1)), url(../img/is-pazel.png) fixed center center;
  background-size: cover;
  padding: 60px 0;
}

#call-to-action h3 {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
}

#call-to-action p {
  color: var(--white);
}

#call-to-action .cta-btn {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

#call-to-action .cta-btn:hover {
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
}

/* ===================================
   TEAM SECTION (PERUSAHAAN KAMI)
=================================== */
#team {
  background: var(--white);
  padding: 60px 0;
}

#team .member {
  text-align: center;
  margin-bottom: 20px;
  background: transparent;
  position: relative;
  overflow: visible;
  border: none;
  transition: none;
}

#team .member img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  max-width: 150px;
  margin: 0 auto;
}

#team .member:hover img {
  transform: scale(1.15);
}

#team .member .member-info {
  display: none;
}

#team .member:hover .member-info {
  display: none;
}

#team .member h4,
#team .member span {
  display: none;
}

#team .member:hover {
  background: transparent;
}

.col-lg-2 {
  max-width: 20%;
}

/* ===================================
   CONTACT SECTION
=================================== */
#contact {
  padding: 60px 0;
}

#contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary-color);
}

#contact .contact-info address,
#contact .contact-info p {
  margin-bottom: 0;
  color: var(--primary-color);
}

#contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--primary-color);
}

#contact .contact-info a {
  color: var(--primary-color);
}

#contact .form input,
#contact .form textarea {
  padding: 10px 14px;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
  width: 100%;
  border: 1px solid #ddd;
}

#contact .form button[type="submit"] {
  background: var(--primary-color);
  border: 0;
  padding: 10px 30px;
  color: var(--white);
  transition: 0.4s;
  cursor: pointer;
}

#contact .form button[type="submit"]:hover {
  background: #13a456;
}

/* ===================================
   FOOTER
=================================== */
#footer {
  background: var(--primary-color);
  padding: 0 0 30px 0;
  color: #eee;
  font-size: 14px;
}

#footer .footer-top {
  background: #111;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info h3 {
  font-size: 34px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 10px;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  border-left: 4px solid var(--primary-color);
  color: var(--white);
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
  color: #eee;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #eee;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--primary-color);
  color: var(--white);
}

#footer .footer-top h4 {
  font-size: 14px;
  font-weight: bold;
  color: var(--white);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  right: 0;
  background: #555;
}

#footer .footer-top h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary-color);
  width: 60px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul li {
  border-bottom: 1px solid #333;
  padding: 10px 0;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #eee;
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--primary-color);
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #ddd;
}

/* ===================================
   CUSTOM COMPONENTS
=================================== */
/* Certification Section */
.certification-section {
  padding: 40px 20px;
}

.certification-section h1 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-align: center;
}

.certification-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-color);
  text-align: center;
}

.certification-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.cert-item {
  text-align: center;
  width: 150px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-item img {
  width: auto;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.cert-item img:hover {
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.cert-item:hover {
  transform: scale(1.1);
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.5s ease;
  overflow-y: auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

.popup-content {
  margin: 0 auto;
  display: block;
  width: 60%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.5s ease;
}

.close {
  position: fixed;
  top: 20px;
  right: 40px;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #f44336;
}

/* Logo Container */
.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo-container img {
  max-width: 200px;
  width: 100%;
  height: auto;
}

/* Back to Home Button */
.back-home {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
}

.back-home a {
  display: inline-block;
  text-decoration: none;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.back-home a:hover {
  background-color: #1f2075;
}

.back-home i {
  font-size: 24px;
}

/* Internship Section */
#internship {
  padding: 60px 20px;
  border-radius: 10px;
}

.internship-title {
  font-size: 2em;
  color: var(--dark-gray);
  font-weight: 700;
  text-align: center;
}

.internship-card .internship-card-body {
  border: none;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  background-color: var(--white);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.internship-card .internship-card-body:hover {
  transform: scale(1.05);
}

.internship-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 15px 0;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.rating i {
  font-size: 1.2em;
  color: var(--primary-color);
}

.psychotest-container {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.psychotest-icon {
  width: 500px;
  height: auto;
  max-width: 100%;
}

.psychotest-button {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 1.2em;
  padding: 10px 20px;
  border-radius: 50px;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.psychotest-button:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* Image Highlight Section */
#highlight-image {
  position: relative;
  overflow: hidden;
}

.image-highlight-container {
  position: relative;
}

.image-highlight-container img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  filter: brightness(70%);
  transition: all 0.6s ease-in-out;
}

.image-highlight-container:hover img {
  transform: scale(1.05);
  filter: brightness(60%);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay-content {
  color: var(--white);
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.overlay-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.overlay-content p {
  font-size: 1.1rem;
  margin-top: 10px;
  opacity: 0.9;
}

/* Full Image Section */
#full-image-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.image-hover-container {
  width: 100%;
  text-align: center;
  overflow: hidden;
  padding: 20px 0;
}

.full-width-image {
  width: 100%;
  height: auto;
  max-height: 900px;
  object-fit: contain;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.image-hover-container:hover .full-width-image {
  transform: scale(1.03);
  filter: brightness(95%);
}

/* ===================================
   ANIMATIONS
=================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wow.fadeInUp {
  animation-duration: 0.8s;
}

/* ===================================
   UTILITY CLASSES
=================================== */
.container {
  padding: 0 20px;
}

.section-header {
  margin-bottom: 60px !important;
}

.portfolio-container .row,
.news-container .row {
  margin: 0 -15px;
}

.portfolio-container .row > [class*="col-"],
.news-container .row > [class*="col-"] {
  padding: 0 15px;
}

/* ===================================
   RESPONSIVE DESIGN
=================================== */

/* Large Devices (991px and below) */
@media (max-width: 991px) {
  .col-lg-2 {
    max-width: 33.333%;
  }
  
  #portfolio {
    padding: 70px 0 50px 0;
  }
  
  #news {
    padding: 70px 0 80px 0;
  }
  
  .portfolio-item {
    margin-bottom: 35px;
  }
  
  .news-item {
    margin-bottom: 35px;
  }
  
  .section-header {
    margin-bottom: 50px !important;
  }
  
  .news-img {
    height: 220px;
  }
  
  .portfolio-img {
    padding: 40px 25px 25px 25px;
  }
  
  .portfolio-info {
    padding: 25px;
  }
  
  .portfolio-img img {
    max-width: 180px;
    height: 80px;
  }
  
  #team .member img {
    max-width: 120px;
  }
}

/* Medium Devices (768px and below) */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }

  #header #logo h1 {
    font-size: 28px;
  }

  #header #logo img {
    max-height: 40px;
  }

  #intro h2 {
    font-size: 28px;
  }

  #nav-menu-container {
    display: none;
  }

  #mobile-nav-toggle {
    display: inline;
  }

  .image-highlight-container img {
    height: 50vh;
  }
  
  .overlay-content h2 {
    font-size: 1.8rem;
  }
  
  .overlay-content p {
    font-size: 1rem;
  }
  
  .full-width-image {
    max-height: 250px;
  }
  
  .popup-content {
    width: 90%;
  }
  
  .cert-item img {
    width: 80px;
  }
  
  .col-lg-2 {
    max-width: 50%;
  }
  
  #portfolio {
    padding: 60px 0 40px 0;
  }
  
  #news {
    padding: 60px 0 70px 0;
  }
  
  .portfolio-item {
    margin-bottom: 30px;
  }
  
  .news-item {
    margin-bottom: 30px;
  }
  
  .section-header {
    margin-bottom: 40px !important;
  }
  
  .portfolio-info {
    padding: 20px;
  }
  
  .news-content {
    padding: 25px;
  }
  
  .news-img {
    height: 200px;
  }
  
  .portfolio-img {
    padding: 30px 20px 20px 20px;
  }
  
  .portfolio-img img {
    max-width: 160px;
    height: 70px;
  }
  
  .section-header h3 {
    font-size: 26px;
    padding-bottom: 15px;
  }
  
  .section-header h3::before {
    width: 80px;
    left: calc(50% - 40px);
  }
  
  .section-header h3::after {
    width: 40px;
    left: calc(50% - 20px);
  }
  
  .news-btn {
    padding: 14px 30px;
    font-size: 14px;
  }
  
  #team .member img {
    max-width: 100px;
  }
  
  #intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  #intro p {
    font-size: 16px;
    width: 90%;
  }
  
  #intro .carousel-background img {
    object-position: center center;
  }
}

/* Small Devices (576px and below) */
@media (max-width: 576px) {
  .psychotest-icon {
    width: 300px;
  }

  .psychotest-button {
    font-size: 1em;
    padding: 8px 16px;
  }

  .psychotest-container {
    gap: 5px;
    flex-direction: column;
  }
  
  .col-lg-2 {
    max-width: 100%;
  }
  
  #portfolio {
    padding: 50px 0 30px 0;
  }
  
  #news {
    padding: 50px 0 60px 0;
  }
  
  .section-header h3 {
    font-size: 22px;
  }
  
  .news-img {
    height: 180px;
  }
  
  .portfolio-info h4 {
    font-size: 14px;
  }
  
  .news-title {
    font-size: 18px;
  }
  
  .section-header {
    margin-bottom: 35px !important;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .news-btn {
    padding: 12px 25px;
    font-size: 13px;
  }
  
  .portfolio-img {
    padding: 25px 15px 15px 15px;
  }
  
  .portfolio-img img {
    max-width: 140px;
    height: 140px;
  }
  
  #team .member {
    margin-bottom: 20px;
  }
  
  #team .member img {
    max-width: 80px;
  }
  
  .col-6 {
    padding: 0 10px;
  }
  
  #intro h2 {
    font-size: 28px;
  }
  
  #intro p {
    font-size: 14px;
  }
}

/* Large Screens (1024px and above) */
@media (min-width: 1024px) {
  #header #logo {
    padding-left: 60px;
  }

  #intro p {
    width: 60%;
  }

  #intro .carousel-control-prev,
  #intro .carousel-control-next {
    width: 5%;
  }

  #nav-menu-container {
    padding-right: 60px;
  }
}

/* Medium Screens (768px and above) */
@media (min-width: 768px) {
  #contact .contact-address,
  #contact .contact-phone,
  #contact .contact-email {
    padding: 20px 0;
  }

  #contact .contact-phone {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }
}

/* Large Screens (992px and above) */
@media (min-width: 992px) {
  #testimonials .testimonial-item p {
    width: 80%;
  }
}

/* Alternative Solution for Header */
header#header .container-fluid #nav-menu-container {
  float: right !important;
  margin: 0 !important;
}

header#header .container-fluid .nav-menu {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

header#header .container-fluid .nav-menu > li {
  margin-left: 20px !important;
  float: none !important;
}