/********** Template CSS **********/
:root {
    --primary: #208bf4;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .swiper-wrapper {
  height: auto !important;
  padding-bottom: 20px;
}

.testimonials .testimonial-card {
  /* Updated to professional white background */
  background: #ffffff; 
  border-radius: 24px;
  padding: 32px;
  /* Kept your color-mix logic with a slate base (#64748b) */
  border: 1px solid color-mix(in srgb, #64748b, transparent 92%);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.testimonials .testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  /* Updated to Navy (#002d5b) to Slate (#64748b) gradient */
  background: linear-gradient(90deg, #002d5b, color-mix(in srgb, #002d5b, #64748b 50%));
  border-radius: 24px 24px 0 0;
}

.testimonials .testimonial-card:hover {
  /* Hover effect using Navy accent */
  border-color: color-mix(in srgb, #002d5b, transparent 50%);
}

.testimonials .testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.testimonials .user-avatar {
  position: relative;
}

.testimonials .user-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  object-fit: cover;
  /* Border uses Navy accent */
  border: 3px solid color-mix(in srgb, #002d5b, transparent 80%);
}

.testimonials .user-info {
  flex: 1;
}

.testimonials .user-info h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #002d5b; /* Professional Navy */
  line-height: 1.3;
}

.testimonials .user-info .user-role {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, #64748b, transparent 40%);
  font-weight: 500;
  margin-bottom: 8px;
}

.testimonials .rating {
  display: flex;
  gap: 2px;
}

.testimonials .rating i {
  color: #ffc107; /* Professional Gold */
  font-size: 14px;
}

.testimonials .testimonial-content {
  flex-grow: 1;
  position: relative;
  margin-bottom: 24px;
}

.testimonials .testimonial-content .quote-mark {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 48px;
  height: 48px;
  
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials .testimonial-content .quote-mark i {
  color: #0a0909; /* Contrast white */
  font-size: 20px;
}

.testimonials .testimonial-content p {
  font-size: 16px;
  line-height: 1.7;
  /* Dark slate for text body */
  color: color-mix(in srgb, #334155, transparent 15%);
  margin: 0;
  font-weight: 500;
}

.testimonials .testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  /* Border uses slate base */
  border-top: 1px solid color-mix(in srgb, #64748b, transparent 92%);
}

.testimonials .company-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  /* Navy accent with transparency */
  background: color-mix(in srgb, #002d5b, transparent 90%);
  border-radius: 12px;
}

.testimonials .company-badge i {
  color: #002d5b;
  font-size: 14px;
}

.testimonials .company-badge span {
  font-size: 13px;
  font-weight: 600;
  color: #002d5b;
}

.testimonials .verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonials .verified-badge i {
  color: #10b981; /* Professional Green */
  font-size: 16px;
}

.testimonials .verified-badge span {
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  /* Navy pagination bullets */
  background: color-mix(in srgb, #002d5b, transparent 70%);
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s ease;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background: #002d5b;
  transform: scale(1.2);
}


.logotext{
    font-size:1rem;
}
/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 82%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title div {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title div .description-title {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
   color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

.hero .hero-content .hero-badge {
  margin-bottom: 24px;
}

.hero .hero-content .hero-badge .badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.hero .hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

@media (max-width: 992px) {
  .hero .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
}

.hero .hero-content p {
  font-size: 18px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 32px;
}

.hero .hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero .hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.hero .hero-buttons .btn.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
  box-shadow: 0 4px 6px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.hero .hero-buttons .btn.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px color-mix(in srgb, var(--accent-color), transparent 50%);
}

.hero .hero-buttons .btn.btn-outline {
  background: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.hero .hero-buttons .btn.btn-outline:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.hero .hero-visual {
  position: relative;
}

.hero .hero-visual .product-mockup {
  position: relative;
}

.hero .hero-visual .product-mockup .floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  min-width: 140px;
  backdrop-filter: blur(10px);
}

.hero .hero-visual .product-mockup .floating-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.hero .hero-visual .product-mockup .floating-card .card-content .card-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--heading-color);
}

.hero .hero-visual .product-mockup .floating-card .card-content .card-label {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-top: 2px;
}

.hero .hero-visual .product-mockup .floating-card.card-1 {
  top: 20%;
  left: -60px;
  animation: float 6s ease-in-out infinite;
}

.hero .hero-visual .product-mockup .floating-card.card-1 .card-icon {
  background: color-mix(in srgb, #10b981, transparent 90%);
  color: #10b981;
}

.hero .hero-visual .product-mockup .floating-card.card-2 {
  top: 60%;
  right: -50px;
  animation: float 6s ease-in-out infinite 2s;
}

.hero .hero-visual .product-mockup .floating-card.card-2 .card-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.hero .hero-visual .product-mockup .floating-card.card-3 {
  bottom: 10%;
  left: -40px;
  animation: float 6s ease-in-out infinite 4s;
}

.hero .hero-visual .product-mockup .floating-card.card-3 .card-icon {
  background: color-mix(in srgb, #f59e0b, transparent 90%);
  color: #f59e0b;
}

.hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
}

.hero .hero-background .gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.hero .hero-background .gradient-blob.blob-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 85%), color-mix(in srgb, #10b981, transparent 85%));
  top: -200px;
  right: -200px;
  animation: rotate 20s linear infinite;
}

.hero .hero-background .gradient-blob.blob-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, color-mix(in srgb, #f59e0b, transparent 85%), color-mix(in srgb, var(--accent-color), transparent 85%));
  bottom: -150px;
  left: -150px;
  animation: rotate 25s linear infinite reverse;
}

.hero .hero-background .grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(color-mix(in srgb, var(--accent-color), transparent 95%) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--accent-color), transparent 95%) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 992px) {
  .hero .hero-content {
    text-align: center;
    margin-bottom: 48px;
  }

  .hero .hero-visual .product-mockup .floating-card.card-1 {
    left: -30px;
  }

  .hero .hero-visual .product-mockup .floating-card.card-2 {
    right: -30px;
  }

  .hero .hero-visual .product-mockup .floating-card.card-3 {
    left: -20px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero .hero-buttons {
    justify-content: center;
  }

  .hero .hero-buttons .btn {
    padding: 14px 24px;
    font-size: 15px;
  }

  .hero .hero-trust .trust-logos {
    justify-content: center;
    gap: 16px;
  }

  .hero .hero-trust .trust-logos .trust-logo {
    height: 28px;
  }

  .hero .hero-visual .product-mockup .floating-card {
    display: none;
  }
}


/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #020c19; /* Background color for the entire website, including individual sections */
  --default-color: #fafdff; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #208bf4; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #141e2b; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #d8e4f0;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #1b2634; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #1b2634; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #fafdff; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #208bf4; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #0b1727;
  --surface-color: #101c2d;
}

.dark-background {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #020c19;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/


a {
 
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--accennt-color);
  font-family: var(--hebading-font);
}

/*--------------------------------------------------------------
# Portfolio Section - Professional Theme
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  padding: 0;
  list-style: none;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters {
    gap: 8px;
    margin-bottom: 32px;
  }
}

.portfolio .portfolio-filters li {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #ffffff;
  color: #334155;
  border: 1px solid color-mix(in srgb, #64748b, transparent 88%);
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters li {
    padding: 8px 16px;
    font-size: 13px;
  }
}

.portfolio .portfolio-filters li:hover {
  border-color: #002d5b;
  color: #002d5b;
}

.portfolio .portfolio-filters li.filter-active {
  background-color: #002d5b;
  color: #ffffff;
  border-color: #002d5b;
  box-shadow: 0 4px 12px color-mix(in srgb, #002d5b, transparent 75%);
}

.portfolio .portfolio-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid color-mix(in srgb, #64748b, transparent 92%);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio .portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px color-mix(in srgb, #64748b, transparent 88%);
  border-color: color-mix(in srgb, #002d5b, transparent 85%);
}

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

.portfolio .portfolio-card:hover .card-image .overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card:hover .view-project {
  color: #002d5b;
}

.portfolio .portfolio-card:hover .view-project i {
  transform: translateX(4px);
}

.portfolio .portfolio-card .card-image {
  position: relative;
  overflow: hidden;
  height: 240px;
  background-color: #f8fafc;
}

.portfolio .portfolio-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-card .card-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, #002d5b, transparent 15%), color-mix(in srgb, #002d5b, transparent 30%));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-card .card-image .overlay .icon-btn {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  color: #002d5b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portfolio .portfolio-card .card-image .overlay .icon-btn:hover {
  background-color: #002d5b;
  color: #ffffff;
  transform: scale(1.1);
}

.portfolio .portfolio-card .card-image .tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #ffc107; /* Gold Tag */
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px color-mix(in srgb, #ffc107, transparent 60%);
}

.portfolio .portfolio-card .card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio .portfolio-card .card-content .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.portfolio .portfolio-card .card-content .meta .category {
  font-size: 13px;
  font-weight: 600;
  color: #002d5b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio .portfolio-card .card-content .meta .year {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.portfolio .portfolio-card .card-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #002d5b;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.portfolio .portfolio-card .card-content p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

.portfolio .portfolio-card .card-content .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.portfolio .portfolio-card .card-content .tech-stack span {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  background-color: color-mix(in srgb, #002d5b, transparent 93%);
  color: #002d5b;
  border: 1px solid color-mix(in srgb, #002d5b, transparent 88%);
}

.portfolio .portfolio-card .card-content .view-project {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-card .card-content .view-project i {
  font-size: 16px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .cta-box {
  margin-top: 64px;
  padding: 40px;
  background: linear-gradient(135deg, #002d5b, #1e293b);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 45, 91, 0.25);
}

@media (max-width: 992px) {
  .portfolio .cta-box {
    padding: 32px 24px;
    text-align: center;
  }
}

.portfolio .cta-box h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .portfolio .cta-box h3 {
    font-size: 24px;
  }
}

.portfolio .cta-box p {
  font-size: 16px;
  color: #e2e8f0;
  margin-bottom: 0;
  line-height: 1.6;
}

.portfolio .cta-box .btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background-color: #ffffff;
  color: #002d5b;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .portfolio .cta-box .btn-primary {
    margin-top: 24px;
  }
}

.portfolio .cta-box .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  background-color: #f8fafc;
}

/* FAQ Grid Styling */
.faq-section {
    background-color: #0f172a; /* Deep Navy */
}

.letter-spacing {
    letter-spacing: 1px;
}

.faq-main-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.faq-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px; /* Large rounded corners from image */
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.faq-card:hover {
    transform: translateY(-5px);
}

.faq-q-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #002d5b; /* Navy */
    margin-bottom: 15px;
}

.faq-a-text {
    color: #64748b; /* Slate */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Link Styling */
.faq-section a {
    transition: opacity 0.2s;
}

.faq-section a:hover {
    opacity: 0.8;
}