/* Global Styles 
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --transition: all 0.3s ease;
}
*/
:root {
    --primary-color: #e54982;
    --secondary-color: #f2f7f3;
    --accent-color: #e74c3c;
    --light-color: #ecf1ed;
    --dark-color: #fdfbfc;
    --text-color: #faf9f9;
    --text-light: #f6f5f7;
    --transition: all 0.3s ease;
    --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-shadow: 0 16px 44px rgba(0, 0, 0, 0.35), 0 0 24px rgba(229, 73, 130, 0.22);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #07040f;
}

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

section {
    padding: 80px 0;
    position: relative;
}

section:not(.hero) .container {
    position: static;
    padding: 0 20px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}

section:not(.hero) .container > * {
    position: static;
    z-index: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 700;
}

h1, h2, h3 {
    font-family: 'Sora', 'Poppins', sans-serif;
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, #ffffff 0%, #ffd7e8 45%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background: #e54982;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0f0617;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

#navbar.scrolled {
    padding: 10px 0;
    background: rgba(58, 40, 54, 0.95);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}
/* for the sliding line in nav bar*/
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */

.back-vid {
    position: fixed; /* ensures video remains fixed in background even if scrolled */
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: normal;
    opacity: 0.2;
    filter: saturate(1.1) contrast(1.08) brightness(2);
}

.hero .container {
  position: relative;
  display: flex;
  align-items: center;       
  justify-content: space-between;
  gap: 2rem;                   
  flex-wrap: nowrap;           
  padding: 4rem 8%;
  background: rgb(35, 0, 34); 
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}

.hero-layer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.hero-img,
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-img {
  flex: 0 0 360px;
}

.hero-content {
  flex: 1 1 0;
  max-width: 700px;
  text-align: center;
}

.hero-img img {
  width:100%;
  max-width: 360px;
  height: 550px;
  object-fit: cover;
  image-rendering: auto; 
  transition: transform 0.3s ease;
}

.hero-img img:hover {
  transform: scale(1.05);  
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.social-links {
    margin: 30px 0;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: white;
    border-radius: 50%;
    margin: 0 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.social-links a:hover {
    transform: translateY(-6px) scale(1.06);
    color: white;
    background: linear-gradient(135deg, var(--primary-color), #ff7cab);
    box-shadow: 0 10px 22px rgba(229, 73, 130, 0.38);
}

.cta-button {
    margin-top: 20px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(90deg, #02485a 0%, #fc00ff 35%, #740488 70%, #f778ab 100%);
    background-size: 320% 100%;
    color: white;
    box-shadow: 0 0 24px rgba(252, 0, 255, 0.35);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: cta-gradient-flow 3s linear infinite;
}

.cta-button:hover {
    box-shadow: 0 0 20px rgba(240, 139, 233, 0.45);
    color: rgb(9, 9, 9);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    max-width: 800px;
    text-align: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    counter-reset: skillcount;
    perspective: 900px;
}

.skill-category {
    position: relative;
    background: rgba(18, 14, 30, 0.72);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    transform-style: preserve-3d;
    overflow: hidden;
    counter-increment: skillcount;
}

/* .skill-category::after {
    content: '0' counter(skillcount);
    position: absolute;
    top: 14px;
    right: 16px;
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
} */

.skill-category:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 15px rgba(249, 246, 248, 0.34);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.skill-category h3 i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.skill-items span {
    display: inline-block;
    background: rgba(241, 242, 246, 0.55);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: black;
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.skill-items span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.04);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: rgba(18, 14, 30, 0.72);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.project-card h3 {
    padding: 20px 25px 0;
    color: var(--primary-color);
}

.project-card p {
    padding: 0 25px 20px;
    color: var(--text-light);
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 25px 20px;
}

.project-tags span {
    background: rgba(225, 240, 255, 0.5);
    color: black;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.project-link {
    display: block;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 500;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.project-link:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--primary-color), #ff7cab);
    color: white;
    box-shadow: 0 12px 24px rgba(229, 73, 130, 0.35);
}

.project-link i {
    margin-right: 8px;
}

/* Figma Designs Section */
.figma-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid rgba(229, 73, 130, 0.3);
}

.figma-section h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.figma-section i {
    color: var(--primary-color);
    margin-right: 10px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 40px;
    text-align: center;
}

.figma-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.figma-link-card {
    background: rgba(18, 14, 30, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.figma-link-card .figma-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(229, 73, 130, 0.2), rgba(255, 124, 171, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.figma-link-card h4 {
    color: var(--dark-color);
    font-size: 1.15rem;
    margin: 0;
}

.figma-link-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.figma-link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 15px rgba(249, 246, 248, 0.34);
}

.figma-link-card:hover .figma-icon {
    background: linear-gradient(135deg, rgba(229, 73, 130, 0.4), rgba(255, 124, 171, 0.4));
    transform: scale(1.1);
}

/* Creativity Section */
.creativity-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid rgba(229, 73, 130, 0.3);
}

.creativity-section h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.creativity-section i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Toggle Buttons */
.creativity-toggle {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.toggle-btn {
    padding: 12px 30px;
    border: 2px solid rgba(229, 73, 130, 0.4);
    background: transparent;
    color: var(--text-light);
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.toggle-btn i {
    margin-right: 0;
}

.toggle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #ff7cab);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 24px rgba(229, 73, 130, 0.3);
}

/* Creativity Gallery */
.creativity-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    animation: fadeInGallery 0.5s ease-out;
}

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

.creativity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.creativity-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(229, 73, 130, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2), inset -2px -2px 5px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(229, 73, 130, 0.1);
}

.creativity-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.creativity-item:hover .creativity-placeholder {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(249, 246, 248, 0.34);
}

.creativity-item:hover .creativity-placeholder img {
    transform: scale(1.08);
}


.creativity-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    /* background: linear-gradient(135deg, rgba(231, 228, 229, 0.285), rgba(252, 144, 184, 0.15)); */
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(246, 244, 244, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(229, 73, 130, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.creativity-item:hover p {
    background: linear-gradient(0deg, rgba(53, 53, 53, 0.533), rgba(33, 32, 32, 0.25));
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(249, 246, 248, 0.34);
}

/* Education Section */
.education-item {
    background: rgba(18, 14, 30, 0.72);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    margin-bottom: 30px;
}

.education-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.institution {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.duration {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
}

.coursework h4 {
    margin: 20px 0 10px;
    color: var(--dark-color);
}

.coursework ul {
    list-style: none;
    padding-left: 20px;
}

.coursework li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.coursework li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Experience Section */
.experience-carousel {
    margin-top: 50px;
    overflow: visible;
    perspective: 1800px;
    perspective-origin: center center;
    min-height: 420px;
    padding: 40px 0;
}

.experience-grid {
    position: relative;
    display: block;
    margin-top: 30px;
    overflow: visible;
    will-change: transform;
    transform: translateX(0);
    transform-style: preserve-3d;
    height: 380px;
    min-height: 380px;
}

.experience-item {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--exp-item-width, 320px);
    flex: none;
    background: rgba(18, 14, 30, 0.72);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: box-shadow 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
    text-align: center;
    transform-origin: center center;
    backface-visibility: hidden;
}

.experience-item:hover {
    box-shadow: 0 0 10px rgba(233, 231, 231, 0.34);
}

.experience-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.experience-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.experience-item p {
    color: var(--text-light);
    line-height: 1.6;
}
/* Achievement and Certification Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  background: rgba(18, 14, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 12px;
  border-radius: 14px;
  cursor: zoom-in;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.description {
  margin-top: 12px;
  font-size: 0.93rem;
  color: #f1ecff;
  line-height: 1.45;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(8, 5, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox-content {
  width: min(860px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: rgba(18, 14, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5);
  padding: 16px;
}

.gallery-lightbox-content img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 10px;
}

.gallery-lightbox-caption {
  margin-top: 12px;
  color: #fff;
  line-height: 1.45;
}

.gallery-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Creativity Lightbox */
.creativity-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(8, 5, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
}

.creativity-lightbox.active {
  display: flex;
}

.creativity-lightbox-content {
  width: min(860px, 100%);
  max-height: 90vh;
  background: rgba(18, 14, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5);
  padding: 16px;
  position: relative;
}

.creativity-lightbox-content img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 10px;
}

.creativity-lightbox-caption {
  margin-top: 12px;
  color: #fff;
  line-height: 1.45;
}

.creativity-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    padding: 30px;
    background: rgba(18, 14, 30, 0.72);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: #e3f2fd;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(18, 14, 30, 0.72);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.form-group {
    margin-bottom: 20px;
}
.form-group:hover{
    border: 2px solid var(--primary-color);
    border-radius: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #e54982, #ff7cab);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 24px rgba(229, 73, 130, 0.38);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 900ms ease-out forwards;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 145, 189, 0.8) 35%, rgba(229, 73, 130, 0.7) 70%, rgba(146, 24, 70, 0.45) 100%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 0 24px rgba(229, 73, 130, 0.55);
    mix-blend-mode: screen;
    opacity: 1;
    pointer-events: none;
    z-index: 2;
}

@keyframes ripple-effect {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(4.6);
        opacity: 0;
    }
}

@keyframes cta-gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Footer */
footer {
    background: var(--dark-color);
    color:#0f0617;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Styles */
@media (max-aspect-ratio: 16/9) {
    .back-vid {
        width: auto;
        height: 100%;
    }
}
@media (min-aspect-ratio: 16/9) {
    .back-vid {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 992px) {
    .experience-carousel {
        min-height: 380px;
        padding: 40px 0;
    }

    .experience-grid {
        height: 340px;
        min-height: 340px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background: #0f0617;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0;
    }

    .hero .container {
        flex-wrap: wrap;
        text-align: center;
    }

    .hero-img {
        flex: 1 1 100%;
        display: flex;
        justify-content: center;
    }

    .hero-content {
        flex: 1 1 100%;
        text-align: center;
    }

    .experience-carousel {
        min-height: 400px;
        padding: 35px 0;
    }

    .experience-grid {
        height: 360px;
        min-height: 360px;
    }

    .experience-item {
        padding: 25px;
    }

    .experience-item i {
        font-size: 2.2rem;
    }

    .experience-item h3 {
        font-size: 1.15rem;
    }

    .experience-item p {
        font-size: 0.95rem;
    }

    /* Responsive Figma and Creativity for Tablet */
    .figma-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .figma-link-card {
        padding: 25px 20px;
    }

    .figma-section h3,
    .creativity-section h3 {
        font-size: 1.6rem;
    }

    .creativity-gallery {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 15px;
    }

    .creativity-toggle {
        gap: 10px;
    }

    .toggle-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .creativity-item p {
        font-size: 0.85rem;
        padding: 7px 14px;
    }
}

@media (max-width: 576px) {
    .experience-carousel {
        min-height: 420px;
        padding: 30px 0;
    }

    .experience-grid {
        height: 380px;
        min-height: 380px;
    }

    .experience-item {
        padding: 20px;
    }

    .experience-item i {
        font-size: 2rem;
    }

    .experience-item h3 {
        font-size: 1.1rem;
    }

    .experience-item p {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .project-card,
    .experience-item,
    .skill-category {
        padding: 20px;
    }

    /* Responsive Figma and Creativity for Mobile */
    .figma-section h3,
    .creativity-section h3 {
        font-size: 1.4rem;
    }

    .figma-links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .figma-link-card {
        padding: 20px 15px;
    }

    .figma-link-card .figma-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .figma-link-card h4 {
        font-size: 1rem;
    }

    .figma-link-card p {
        font-size: 0.85rem;
    }

    .creativity-gallery {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 12px;
    }

    .creativity-item {
        padding: 10px;
        gap: 8px;
    }

    .creativity-placeholder {
        font-size: 2rem;
    }

    .creativity-item p {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .creativity-toggle {
        gap: 8px;
        margin-bottom: 30px;
    }

    .toggle-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
}
