/* Portfolio Page Styles */

:root {
  --primary-color: #0e67b4;
  --secondary-color: #333;
  --light-bg: #f0f8ff;
  --white: #ffffff;
  --dark: #333;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* .container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
} */

/* Header Styles */
/* .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.logo {
    width: 80px;
    margin-right: 60px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
} */

/* Navigation Menu */
/* .nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark);
    padding: 20px 0;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link i {
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
} */

/* Mega Menu */
/* .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 940px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid #eee;
    transform: translateY(10px);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-row {
    display: flex;
    padding: 0;
}

.mega-menu-column {
    flex: 1;
    padding: 30px;
}

.menu-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0;
    border-radius: 0;
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateX(5px);
}

.menu-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
}

.menu-item:hover .menu-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.menu-content {
    flex: 1;
}

.menu-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.menu-item:hover .menu-title {
    color: var(--primary-color);
}

.menu-desc {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}
 */
/* Regular Dropdown */
/* .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid #eee;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.dropdown-item i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #666;
    transition: color 0.3s ease;
}

.dropdown-item:hover i {
    color: var(--primary-color);
}

.dropdown-item span {
    font-size: 14px;
    transition: color 0.3s ease;
}

.dropdown-item:hover span {
    color: var(--primary-color);
} */

/* Mobile Menu */
/* .hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 9px;
    transform: rotate(-45deg);
} */

/* Hero Banner */
/* Enhanced Hero Banner Animation */
.portfolio-hero {
  padding: 150px 0 100px;
  background-color: #f0f8ff;
  background-image: linear-gradient(135deg, #f0f8ff 0%, #e0f0ff 100%);
  position: relative;
  overflow: hidden;
}

.portfolio-hero .container .hero-content {
  flex-direction: column;
  margin-left: 0px;
  font-family: "Manrope", sans-serif;
}

.portfolio-hero .container {
  align-items: center;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(14, 103, 180, 0.05) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  animation: pulse-bg 8s infinite alternate;
}

.hero-content {
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 5;
}

.main-heading {
  position: relative;
  color: #000;
  font-weight: 500;
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 40px;
  /* Remove default animation */
  animation: none;
  opacity: 1;
}

/* Style for each word that will be animated */
.animate-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordFadeIn 0.5s forwards;
}

/* Individual word animations with staggered delays */
.animate-word:nth-child(1) {
  animation-delay: 0.1s;
}
.animate-word:nth-child(2) {
  animation-delay: 0.3s;
}
.animate-word:nth-child(3) {
  animation-delay: 0.5s;
}
.animate-word:nth-child(4) {
  animation-delay: 0.7s;
}
.animate-word:nth-child(5) {
  animation-delay: 0.9s;
}
.animate-word:nth-child(6) {
  animation-delay: 1.1s;
}
.animate-word:nth-child(7) {
  animation-delay: 1.3s;
}

/* Add a subtle glow effect to the heading */
.main-heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(14, 103, 180, 0),
    rgba(14, 103, 180, 0.7),
    rgba(14, 103, 180, 0)
  );
  animation: glow 2s infinite;
}

.hero-description {
  max-width: 1232px;
  margin: 0 auto;
  color: #333;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
  animation-delay: 1.5s; /* Delayed to start after heading animation */
}

.portfolio-grid .container{
    padding: 40px 90px;
}

.highlight {
  background: #0058a2;
  color: #fff;
  padding: 0 20px 3px;
  border-radius: 0px 15px 0 15px;
  line-height: 1;
  height: 30px;
  overflow: hidden;
  font-size: 24px;
}

/* Add a subtle shine effect to the highlight */
.highlight::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine 3s infinite;
}

/* Animations */
@keyframes wordFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glow {
  0% {
    opacity: 0.5;
    width: 50px;
  }
  50% {
    opacity: 1;
    width: 150px;
  }
  100% {
    opacity: 0.5;
    width: 50px;
  }
}

@keyframes shine {
  0% {
    left: -100%;
    opacity: 0;
  }
  20% {
    left: 100%;
    opacity: 0.6;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes pulse-bg {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
  .main-heading {
    font-size: 40px;
  }

  .hero-description {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .main-heading {
    font-size: 40px;
  }

  .hero-description {
    font-size: 15px;
  }
}

@media screen and (max-width: 576px) {
  .main-heading {
    font-size: 40px;
  }

  .hero-description {
    font-size: 14px;
  }
}
/* Portfolio Grid */
.portfolio-grid {
  padding: 80px 0;
  background-color: white;
}

.portfolio-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  opacity: 0;
  transform: translateY(30px);
}

.portfolio-item.show {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px;
  z-index: 2;
}

.portfolio-brand {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--dark);
  font-size: 14px;
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 600;
}

.portfolio-content {
  padding: 25px;
}

.portfolio-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.portfolio-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #666;
}

.portfolio-content p {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
  line-height: 1.6;
}

.portfolio-link {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.portfolio-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.portfolio-link:hover {
  color: #085391;
}

.portfolio-link:hover i {
  transform: translateX(5px);
}

/* Footer Links Section */
.footer-links {
  padding: 60px 0;
  background-color: #f5f5f5;
  border-top: 1px solid #eee;
}

.links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.links-column {
  flex: 1;
  min-width: 200px;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav li a {
  color: #555;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-nav li a:hover {
  color: var(--primary-color);
}

/* Main Footer */
.main-footer {
  background-color: #0e67b4;
  color: #ffffff;
  padding: 30px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo {
  max-width: 70px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: white;
  color: #0e67b4;
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.copyright {
  font-size: 13px;
  opacity: 0.8;
}

.footer-legal {
  display: flex;
  gap: 25px;
}

.footer-legal a {
  color: white;
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-legal a:hover {
  opacity: 0.8;
}

/* Contact Buttons */
.contact-buttons {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.contact-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.contact-btn:hover {
  transform: scale(1.1);
}

.phone-btn {
  background-color: #0e67b4;
}

.email-btn {
  background-color: #e74c3c;
}

.whatsapp-btn {
  background-color: #25d366;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background-color: #0e67b4;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #0954a1;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .portfolio-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-heading {
    font-size: 42px;
  }
}

@media screen and (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 30px 30px;
    transition: 0.3s;
    z-index: 1001;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 10px 0;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
  }

  .mega-menu,
  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border-top: none;
    padding: 0;
    margin-left: 20px;
    margin-top: 10px;
    display: none;
  }

  .nav-item:hover .mega-menu,
  .nav-item:hover .dropdown {
    display: block;
  }

  .mega-menu-row {
    flex-direction: column;
  }

  .mega-menu-column {
    padding: 15px 0;
  }

  .portfolio-hero {
    padding: 120px 0 80px;
  }

  .main-heading {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .links-container {
    gap: 20px;
  }

  .links-column {
    min-width: calc(33.333% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .portfolio-items {
    grid-template-columns: 1fr;
  }

  

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

  .portfolio-hero .container{
    padding: 70px 10px;
  }

  .portfolio-hero {
    padding: 100px 0 60px;
  }

  .main-heading {
    font-size: 32px;
  }

  .hero-description {
    font-size: 15px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }

  .links-container {
    flex-direction: column;
    gap: 30px;
  }

  .links-column {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .portfolio-hero {
    padding: 100px 0 50px;
  }

  .main-heading {
    font-size: 40px;
  }

  .hero-description {
    font-size: 22px;
  }

  .portfolio-image {
    height: 200px;
  }

  .contact-buttons {
    right: 10px;
  }

  .contact-btn {
    width: 40px;
    height: 40px;
  }
}
