/**
* Template Name: Laura
* Template URL: https://bootstrapmade.com/laura-free-creative-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Domine",  sans-serif;
  --nav-font: "Quicksand",  sans-serif;
}

/* 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: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #A1A8D7; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #9e304b; /* 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: #ffffff; /* 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. */
  --resume-surface: #1E1E2F; /* A specific surface color used for the resume section, providing a distinct background that enhances readability and visual appeal for the resume content. */
  --contrast-color: #000000; /* 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: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #dd7b93; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #9e304b; /* 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: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

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

/* Links only inside main */
main a {
  color: var(--accent-color);
  text-decoration: underline;  /* underline for all links inside main */
  transition: 0.3s;
}

main a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: underline;  /* keep underline on hover */
}

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgb(0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 5px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 50px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 25px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 0%);
  padding-left: 6px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
}

.header .header-social-links a:hover {
  color: var(--accent-color);
}

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

/*------------------------------
 Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgb(0, 0, 0);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* ===============================
   NAVBAR BASE LAYOUT
=================================*/

.header .container-fluid {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Logo always left */
.logo {
  margin-right: auto;
  flex-shrink: 0;
}

/* Nav container */
.navmenu {
  display: flex;
  align-items: center;
}

/* Social icons always on right */
.header-social-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 20px;
}

/* ===============================
   DESKTOP NAV (769px and up)
=================================*/
@media (min-width: 769px) {

  /* Hide toggle on desktop */
  .mobile-nav-toggle {
    display: none;
  }

  /* Desktop nav visible */
  .navmenu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 10px;
  }

  /* Nav links style */
  .navmenu li {
    position: relative;
  }

  .navmenu a {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 13px;
    text-transform: uppercase;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    transition: 0.3s;
    white-space: nowrap;
  }

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

  /* Dropdown */
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    position: absolute;
    visibility: hidden;
    opacity: 0;
    top: 120%;
    left: 0;
    border-radius: 4px;
    z-index: 99;
    transition: 0.3s;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown:hover > ul {
    visibility: visible;
    opacity: 1;
    top: 100%;
  }
}

/* ===============================
   MOBILE NAV (768px and below)
=================================*/
@media (max-width: 768px) {

  /* Logo stays left */
  .logo {
    margin-right: 0;
  }

  /* Social icons always on right */
  .header-social-links {
    margin-left: auto;
  }

  /* Show toggle */
  .mobile-nav-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;  /* above overlay */
  }

  /* Better spacing between mobile nav items */
.navmenu ul li {
  margin-bottom: 8px;
}

.navmenu ul li:last-child {
  margin-bottom: 0;
}

/* Hide desktop nav */
/* Mobile dropdown menu */
.navmenu ul {
  display: none;
  list-style: none;
  padding: 15px;
  margin: 0;
  flex-direction: column;

  position: fixed;
  top: 70px;
  right: 15px;   /* stick to right side */
  width: 200px;  /* smaller box */

  background: var(--nav-mobile-background-color);
  z-index: 9998;

  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

  /* Show menu when toggle active */
  .mobile-nav-active .navmenu ul {
    display: flex;
  }

  /* Links inside toggle */
  .navmenu a {
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 500;
    color: var(--nav-dropdown-color);
    text-transform: uppercase;
    transition: 0.3s;
    width: 100%;
  }

  /* Hover + active link */
  .navmenu a:hover,
  .navmenu a.active {
    color: var(--nav-dropdown-hover-color);
    background-color: rgba(255,255,255,0.05);
    border-radius: 4px;
  }

  /* Nested dropdowns (if any) */
  .navmenu .dropdown ul {
    display: none;
    flex-direction: column;
    margin-left: 15px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    padding: 10px 0;
  }

  /* Show dropdown when active */
  .navmenu .dropdown>.dropdown-active {
    display: flex;
  }

  /* Dark overlay behind menu */
  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
  }

  /* Prevent body scroll when menu is open */
  .mobile-nav-active {
    overflow: hidden;
  }

  /* Ensure toggle 'X' stays top-right */
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 32px;
    z-index: 10001;
  }
}

/* ===============================
   SMALL MOBILE (480px and below)
=================================*/
@media (max-width: 480px) {

  /* Smaller logo image */
  .header .logo img {
    max-height: 38px;
    margin-right: 6px;
  }

  /* Smaller site name */
  .header .logo h1 {
    font-size: 18px;
  }

  /* Slightly smaller icons */
  .header .header-social-links a {
    font-size: 14px;
  }

  /* Toggle slightly smaller */
  .mobile-nav-toggle {
    font-size: 20px;
  }

  /* Reduce nav link size in mobile menu */
  .navmenu a {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 20px 0 10px 0;
  position: relative;
  text-align: left;
}

/* Columns container */
.footer .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Footer columns */
.footer .footer-col {
  flex: 1 1 250px;
  min-width: 200px;
}

/* Site name */
.footer h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Footer role / description */
.footer p {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  margin: 0 0 10px 0;
  color: #ccc;
}

/* Contact links */
.footer-email,
.footer-phone {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #dd7b93;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-email:hover,
.footer-phone:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* Social links */
.footer .social-links {
  display: flex;
  gap: 10px;
  margin: 15px 0 0 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

/* Bottom row: copyright + credits */
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 15px;
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
  color: #aaa;
}

/* Credits */
.footer .credits {
  font-size: 12px;
  margin-top: 4px;
}

/* ===============================
   FOOTER TABLET (992px)
=================================*/
@media (max-width: 992px) {

  .footer .footer-container {
    gap: 30px;
    justify-content: center;
  }

  /* First column full width */
  .footer-info {
    flex: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  /* Contact + socials side by side */
  .footer-contact,
  .footer-socials {
    flex: 1 1 45%;
    text-align: center;
  }

  /* Center social icons */
  .footer .social-links {
    justify-content: center;
  }

}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  transition: all 0.6s ease-out;
}

/* Rotating logo */
.preloader-logo {
  width: 100px;  /* adjust size */
  height: auto;
  animation: rotate-logo 1.5s linear infinite;
}

/* Rotation animation */
@keyframes rotate-logo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}
/* ===============================
   HERO TABLET
=================================*/

@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
    line-height: 36px;
  }
}

.hero .btn-scroll {
  transition: 0.4s;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  display: block;
  margin-top: 30px;
  animation: btn-up-down 1s ease-in-out infinite alternate-reverse both;
}

.hero .btn-scroll i {
  font-size: 48px;
}

.hero .btn-scroll:hover {
  color: var(--accent-color);
}

@keyframes btn-up-down {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}

/* ===============================
   HERO FIX FOR TABLET PORTRAIT
=================================*/
@media (max-width: 1024px) and (orientation: portrait) {

.hero {
  min-height: 50vh;
  background: #fff; /* or your background color */
}

  .hero img {
    object-fit: contain;   /* prevents zoom on face */
  }

}
/* ===============================
   HERO FIX FOR SMALL MOBILE
=================================*/
@media (max-width: 480px) {

  .hero {
    min-height: 30vh;   /* prevent huge hero */
    padding: 90px 0 40px 0;
  }

  .hero img {
    object-fit: contain;   /* prevents aggressive zoom */
  }

}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.index-buttons {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.download-portfolio {
  background: #000;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.download-cv {
  background: #000;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.download-portfolio:hover,
.download-cv:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  color: #dd7b93;
}

/* ===============================
   ABOUT SECTION - SMALL MOBILE
=================================*/
@media (max-width: 480px) {

  /* Smaller section title */
  .about .section-title h2 {
    font-size: 22px;
  }

  /* Smaller subtitle */
  .about .section-title .description-title {
    font-size: 30px;
  }

  /* Make paragraph more compact */
  .about .section-title p {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
  }

}

/* =========================================
   Projects Carousel Section
========================================= */

.projects-carousel-section {
  padding: 5rem 0;
  background: #111; /* dark elegant background */
}

/* Container */
.projects-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;

}

/* =========================================
   Horizontal Scroll Row
========================================= */

.projects-row {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2rem 1rem;
  scrollbar-width: none; /* Firefox */
}

.projects-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* =========================================
   Project Card
========================================= */

.project-card {
  flex: 0 0 280px;
  background: #7573aef0;
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.project-card p {
  color: #00000083;
  font-size: 0.7rem;
  margin-bottom: 0.9rem;
  justify-content: center;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Screenshot frame */
.project-frame {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #000;
}

.project-frame img {
  width: 100%;
  display: block;
  border-radius: 15px;
}

/* Project Title */
.project-title {
  font-size: 1.1rem;
  margin: 1rem 0;
  color: #fff;
}

/* =========================================
   See More Button
========================================= */

.project-button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-button:hover {
  background: #fff;
  color: var(--accent-color);
}

/* =========================================
   Navigation Buttons
========================================= */

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 5; /* only above cards */
  pointer-events: none;
}

.carousel-btn {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--accent-color);
  transform: scale(1.15);
}

.important-note-section a:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
}

/*--------------------------------------------------------------
# Important Note Section
--------------------------------------------------------------*/

.important-note-section {
  background: linear-gradient(
    180deg,
    var(--background-color) 0%,
    color-mix(in srgb, var(--accent-color), transparent 95%) 100%
  );
  position: relative;
}

/* Card effect */
.important-note-section .section-title {
  max-width: fit-content;
  margin: 0 auto;
  padding: 60px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: 0.4s ease;
}

.important-note-section .section-title:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

/* Small label on top */
.important-note-section .description-title {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 15px;
}

/* Main title */
.important-note-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Subheading */
.important-note-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 25px;
}

/* Paragraph styling */
.important-note-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

/* Links inside this section */
.important-note-section a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: underline;
  transition: 0.3s ease;
}

.important-note-section a:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
}

/* Resume CTA */
.important-note-section p:last-of-type a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 50px;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.important-note-section p:last-of-type a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
}

/*--------------------------------------------------------------
PROJECT HTML STYLES
----------------------------------------------------------------*/
/* =======================================================
   Cinematic Projects Section
======================================================= */

.projects-cinematic {
  width: 100%;
}

/* Each project full screen */
.project {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  background: #0f0f0f;
  overflow: hidden;
}

.project-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reverse layout */
.project.reverse .project-inner {
  flex-direction: row-reverse;
}

/* =============================
   MEDIA SIDE
============================= */

.project-media {
  flex: 1;
  background: #0b0b0b;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
}

.project-media img {
  max-width: 480px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
}

.project-media img:hover {
  transform: scale(1.03);
}

/* =============================
   CONTENT SIDE
============================= */

.project-content {
  flex: 1;
  padding: 100px 80px;
  color: #ffffff;
  position: relative;
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
}

/* Subtle glow effect */
.project-content::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.project-content > * {
  position: relative;
  z-index: 1;
}

/* Category Label */
.project-category {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 20px;
}

/* Title */
.projects-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

/* Summary */
.project-summary {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 500px;
  opacity: 0.85;
}

/* =============================
   TECH STACK TAGS
============================= */

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.project-tech span {
  font-size: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
}

/* Hover effect */

.project-tech span:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* =============================
   STATUS BADGE
============================= */

.project-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 15px;
  border-radius: 30px;
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1;
}

.project-status.completed {
  background: rgba(0, 200, 100, 0.15);
  color: #00c864;
}

.project-status.progress {
  background: rgba(255, 180, 0, 0.15);
  color: #ffb400;
}

.project-status.maintained {
  background: rgba(0, 150, 255, 0.15);
  color: #0096ff;
}

.project-status.archived {
  background: rgba(180, 180, 180, 0.15);
  color: #b4b4b4;
}

/* =============================
   BUTTONS
============================= */

.project-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.project-buttons a {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Live button */
.btn-live {
  background: #ffffff;
  color: #000;
}

.btn-live:hover {
  background: #ddd;
  transform: translateY(-3px);
}

/* GitHub button */
.btn-github {
  border: 1px solid rgba(227, 214, 214, 0.169);
  color: #fff;
}

.btn-github:hover {
  background: #dd7b93;
  color: #000;
  transform: translateY(-3px);
}

/* =============================
   TABLET (992px)
============================= */

@media (max-width: 992px) {

  .project {
    min-height: auto;
    padding: 80px 20px;
  }

  .project-inner {
    flex-direction: column !important;
    align-items: center;
  }

  .project-media,
  .project-content {
    flex: 100%;
    padding: 30px;
    text-align: center;
  }

  .project-media img {
    max-width: 90%;
    height: auto;
  }

  .project-content {
    max-width: 700px;
  }

  .projects-title {
    font-size: 32px;
  }

  .project-summary {
    margin-bottom: 20px;
    max-width: 600px;
    text-align: center;
  }

  .project-tech {
    justify-content: center;
    flex-wrap: wrap;
  }

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

}


/* =============================
   SMALL MOBILE (480px)
============================= */

@media (max-width: 480px) {

  .project {
    padding: 60px 15px;
  }

  .project-media,
  .project-content {
    padding: 20px;
  }

  .projects-title {
    font-size: 26px;
  }

  .project-category {
    font-size: 12px;
  }

  .project-summary {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;

  }

  .project-tech span {
    font-size: 11px;
    padding: 4px 8px;
  }

  .project-buttons a {
    padding: 8px 14px;
    font-size: 13px;
  }

}

/*--------------------------------------------------------------
# GitHub Section
--------------------------------------------------------------*/

#github {
  padding: 80px 0;
}

#github h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

#github p {
  font-size: 16px;
  margin-bottom: 20px;
}

.github-preview {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#github hr {
  width: 120px;
  margin: 30px auto;
  border: 1px solid rgba(0,0,0,0.1);
}

#github a {
  font-weight: 600;
  text-decoration: none;
}

#github a:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
TABLET
---------------------------------------------------------------*/

@media (max-width: 992px) {

  #github {
    padding: 70px 20px;
  }

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

  .github-preview {
    max-width: 500px;
  }

}

/*--------------------------------------------------------------
PHONE
---------------------------------------------------------------*/

@media (max-width: 480px) {

  #github {
    padding: 60px 15px;
  }

  #github h2 {
    font-size: 24px;
  }

  #github p {
    font-size: 14px;
    line-height: 1.6;
  }

  .github-preview {
    max-width: 100%;
  }

}

/*--------------------------------------------------------------
# Resume Layout
--------------------------------------------------------------*/

.resume-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* Masonry Layout */

.resume-grid {
  column-count: 4;
  column-gap: 25px;
}

/* Cards */

.resume-card {
  border-radius: 14px;
  padding: 25px;
  background: var(--resume-surface);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  
  display: inline-block;
  width: 100%;
  margin-bottom: 25px;

  break-inside: avoid; /* prevents cards splitting */
}

.resume-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* Section titles */

.resume-card h3,
.resume-card h4 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Lists */

.resume-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resume-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
}

/* Bio image */

.bio-inner img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 15px;
}

/* Icons */

.resume-icon {
  font-size: 18px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*--------------------------------------------------------------
# Skill Tags
/*--------------------------------------------------------------
# Skills Cards
--------------------------------------------------------------*/

.skills-card,
.softskills-card {
  padding: 20px;
}

/* Skills grid container */

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* Skill badges */

.skill-badge {
  display: inline-block;
  padding: 7px 14px;
  font-size: 12px;
  border-radius: 20px;

  background: rgba(255,255,255,0.12);
  color: #ffffff;

  transition: all 0.25s ease;
}

/* Hover effect */

.skill-badge:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Language Bars
--------------------------------------------------------------*/

.language-item {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

/*--------------------------------------------------------------
# Software Logos
--------------------------------------------------------------*/

.software-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}

.software-grid img {
  width: auto;
  height: 40px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform .2s ease;
}

.software-grid img:hover {
  transform: scale(1.15);
}

/*--------------------------------------------------------------
# Education block
--------------------------------------------------------------*/
.education-item h5 {
  font-size: 16px;
  color: #dd7b93;
  font-weight: bold;
}

.education-item span {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 5px;
}

.education-item p {
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Hobby Icons
--------------------------------------------------------------*/

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  text-align: center;
}

.hobby-grid div {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
}

.hobby {
  font-size: 12px;
  margin-bottom: 5px;
}

/*--------------------------------------------------------------
# Services Card
--------------------------------------------------------------*/

.services-grid{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-top:10px;
}

.service-pill{
padding:10px 14px;
border-radius:12px;
font-size:14px;
background:rgba(255,255,255,0.08);
transition:all .25s ease;
cursor:default;
}

.service-pill::before{
content:"✦";
margin-right:6px;
opacity:.7;
}

.service-pill:hover{
background:var(--accent-color);
transform:translateY(-3px);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 992px) {
  .resume-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .resume-grid {
    column-count: 1;
  }
}

/*--------------------------------------------------------------
# EXPERIENCE SECTION - DESIGN + OTHER EXPERIENCES
--------------------------------------------------------------*/

.experience {
  padding: 60px 0;
  background-color: var(--background-color);
}

.experience .section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
  text-align: center;
}

.experience .section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
  color: var(--default-color);
}

/* Group titles (Design vs Other) */
.experience-group-title {
  font-size: 1.4rem;
  margin: 40px 0 20px;
  font-weight: 600;
  border-left: 4px solid var(--accent-color);
  padding-left: 12px;
  color: var(--accent-color);
}

/* Experience cards */
.experience-card {
  background-color: var(--resume-surface);
  color: #ffffff;
  border-radius: 14px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* Card title */
.experience-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

/* Date/timeframe */
.experience-card .date {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 15px;
}

/* Paragraphs inside cards */
.experience-card p {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Bullet points */
.experience-card ul {
  padding-left: 18px;
  margin: 0 0 15px 0;
}

.experience-card ul li {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.experience-card ul li::before {
  content: "•";
  color: rgba(255,255,255,0.9);
  font-weight: bold;
  margin-right: 6px;
}

/* Experience gallery inside card */
.experience-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
  margin-top: 15px;
}

/* container for hover positioning */
.experience-gallery img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
}

/* hover preview */
.experience-gallery img:hover {

  /* enlarge */
  transform: scale(3);

  /* show original aspect ratio */
  object-fit: contain;

  /* floating effect */
  z-index: 999;

  /* subtle shadow */
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .experience-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .experience-gallery {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  }
}

/*--------------------------------------------------------------
# LINKEDIN PROFILE CARD (COMPACT)
--------------------------------------------------------------*/

.linkedin-card {
  display: flex;
  flex-direction: column;
  align-items: center;       /* centers content inside the card */
  margin: 30px auto;         /* 30px top/bottom, auto left/right = centered */
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7573aef0, #9e304b);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  max-width: 600px;          /* controls card width */
  width: 90%;                /* responsive width on small screens */
}

.linkedin-card-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.linkedin-text {
  flex: 1;
}

.linkedin-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
  color: rgb(25, 8, 61);
}

.linkedin-text p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}

.profile-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.linkedin-visit {
  background: #ffffff;
  color: #0A66C2;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cv-download {
  background: transparent;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.linkedin-visit:hover,
.cv-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  color: #000
}

/* =========================================
   TABLET / MOBILE RESPONSIVE
========================================= */

@media (max-width: 992px) {
  .linkedin-card {
    padding: 18px 20px;
    width: 85%;
  }

  .linkedin-text h4 {
    font-size: 15px;
  }

  .linkedin-text p {
    font-size: 12px;
  }

  .linkedin-visit,
  .cv-download {
    font-size: 12px;
    padding: 7px 14px;
  }
}

@media (max-width: 480px) {
  .linkedin-card {
    padding: 16px 18px;
    width: 95%;
  }

  .linkedin-text h4 {
    font-size: 14px;
  }

  .linkedin-text p {
    font-size: 11px;
  }

  .linkedin-visit,
  .cv-download {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/*--------------------------------------------------------------
# Contact Modal Background
----------------------------------------------------------------*/
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Glass Window */
.contact-window {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 900px;
  color: white;
  position: relative;
  animation: fadeIn 0.4s ease;
}

/* Close Button */
.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
}

/* Intro Text */
.contact-intro {
  text-align: center;
  margin-bottom: 30px;
}

/* Content Layout */
.contact-content {
  display: flex;
  justify-content: center;   /* center everything */
  align-items: center;
  gap: 40px;                 /* better spacing */
  flex-wrap: wrap;
}

/* LEFT SIDE (QR section – slightly wider) */
.contact-left {
  flex: 1.2;
  max-width: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* RIGHT SIDE (Form – slightly smaller than before) */
.contact-right {
  flex: 0.9;
  max-width: 380px;
  text-align: center;
}

/* QR side-by-side layout */
.qr-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
}

/* Each QR block */
.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* QR size */
.qr-code {
  width: 145px;
  border-radius: 12px;
}

/* Form */
.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-right input,
.contact-right textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
}

.contact-right button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: var(--accent-color);
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.contact-right button:hover {
  opacity: 0.8;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/*--------------------------------------------------------------
# TABLET (≤992px)
--------------------------------------------------------------*/
@media (max-width: 992px) {

  .contact-window {
    padding: 32px;
  }

  .contact-content {
    gap: 30px;
  }

  .contact-left {
    max-width: 360px;
  }

  .contact-right {
    max-width: 340px;
  }

  .qr-code {
    width: 120px;
  }

}


/*--------------------------------------------------------------
# MOBILE (≤600px)
--------------------------------------------------------------*/
@media (max-width: 600px) {

  .contact-window {
    padding: 25px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto; /* allows scrolling if screen is small */
  }

  .contact-content {
    flex-direction: column;  /* stack QR + form */
    gap: 30px;
  }

  .contact-left,
  .contact-right {
    max-width: 100%;
  }

  .qr-wrapper {
    gap: 18px;
  }

  .qr-code {
    width: 100px;
  }

  .contact-intro h2 {
    font-size: 22px;
  }

  .contact-intro p {
    font-size: 14px;
  }

  .close-btn {
    font-size: 24px;
  }

}