/* Modern CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #080b39;
  --secondary: #69124a;
  --accent: #f248b6;
  --accent-light: #f57ac5;
  --accent-dark: #14527c;
  --light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #080b39;
  --text-dark: #080b39;
  --text-light: #e2e8f0;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --container-width: 1400px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: var(--font-sans);
  background-color: var(--light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Ensure menu doesn't block clicks when closed */
body:not(.menu-open) .nav-links {
  pointer-events: none;
}
body:not(.menu-open) .nav-links a {
  pointer-events: auto;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 2px 10px rgba(242, 72, 182, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 82, 124, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--gray-800);
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
}

/* Navigation Styles */
.main-nav {
  background: rgba(8, 11, 57, 0.85);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Special rule for navigation logo */
.nav-container .logo img {
  max-height: 40px !important;
  height: 40px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

.logo {
  position: relative;
  display: inline-block;
}

.logo img {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  max-width: 180px !important;
  display: block;
  transition: var(--transition);
  object-fit: contain !important;
}

/* Extra specificity for PNG logo */
.logo img[src$=".png"] {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

.logo:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

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

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

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

/* Mobile Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px 15px 10px 10px;
  margin-right: 5px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--light);
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 100%);
    background-size: 200% 200%;
    animation: gradientBg 15s ease infinite;
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding-top: 80px;
    gap: 2.5rem;
    justify-content: flex-start;
    z-index: 1000;
    backdrop-filter: blur(10px);
    pointer-events: auto; /* Make sure the mobile menu is clickable when active */
  }

  @keyframes gradientBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  .nav-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
  }

  .nav-links.active {
    left: 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links li {
    margin: 0.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered animation for nav items */
  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-links a {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 15px 0;
    display: inline-block;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    transition: width 0.3s ease;
    border-radius: 3px;
  }

  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 40px;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: white;
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: white;
  }
}

/* Header Styles */
header {
  text-align: center;
  padding: 12rem 2rem 8rem;
  background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 85%, var(--accent) 100%);
  color: white;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.03)" stroke-width="1" fill="none"/></svg>');
  background-size: 60px 60px;
  opacity: 0.3;
  animation: rotateBackground 180s linear infinite;
}

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

.header-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  pointer-events: auto; /* Explicitly enable pointer events */
}

.header-subtitle {
  display: inline-block;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

header h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  line-height: 1.1;
  background: linear-gradient(to right, white, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.accent-text {
  position: relative;
  display: inline-block;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  text-fill-color: var(--accent);
}

.accent-text::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--secondary);
  z-index: -1;
  opacity: 0.3;
  border-radius: 10px;
}

.header-description {
  font-size: 1.25rem;
  line-height: 1.9;
  max-width: 800px;
  margin: 2.5rem auto 0;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 0.2px;
}

.header-cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.header-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0; /* Changed from 1 to 0 to ensure it's below content */
  pointer-events: none; /* Ensure shapes don't capture clicks */
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none; /* Ensure shapes don't capture clicks */
}

.shape-1 {
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: rgba(242, 72, 182, 0.15);
  animation: moveShape1 20s ease-in-out infinite alternate;
}

.shape-2 {
  bottom: 10%;
  right: 15%;
  width: 250px;
  height: 250px;
  background: rgba(105, 18, 74, 0.2);
  animation: moveShape2 18s ease-in-out infinite alternate;
}

.shape-3 {
  top: 40%;
  right: 20%;
  width: 180px;
  height: 180px;
  background: rgba(20, 82, 124, 0.15);
  animation: moveShape3 15s ease-in-out infinite alternate;
}

@keyframes moveShape1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 30px); }
}

@keyframes moveShape2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-40px, -30px); }
}

@keyframes moveShape3 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, -20px); }
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--gray-100);
  background-image: linear-gradient(to bottom, var(--gray-100), white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(203,213,225,0.3)"/></svg>');
  background-size: 20px 20px;
  opacity: 0.5;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray-800);
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 1rem;
}

.about-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--gray-700);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1;
  background: linear-gradient(to right, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Gallery Grid */
.gallery {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.gallery-filter, .projects-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1px solid var(--gray-300);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(242, 72, 182, 0.3);
}

/* Gallery Grid - Only projects grid is still a standard grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 2rem 0;
}

/* Carousel Layout - Now on all screen sizes */
.gallery-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1.5rem;
  gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.gallery-grid::-webkit-scrollbar {
  height: 6px;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 10px;
}

.gallery-grid .gallery-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  transition: all 0.3s ease;
}

/* Different sizes based on screen width */
@media (min-width: 1400px) {
  .gallery-grid .gallery-item {
    width: 22%;
    max-width: 320px;
    margin-right: 2rem;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .gallery-grid .gallery-item {
    width: 28%;
    max-width: 300px;
    margin-right: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .gallery-grid .gallery-item {
    width: 38%;
    max-width: 290px;
    margin-right: 1.5rem;
  }
}

@media (max-width: 767px) {
  .gallery-grid .gallery-item {
    width: 80%;
    max-width: 280px;
    margin-right: 1rem;
  }
}

.gallery-grid .view-all-item {
  position: relative;
}

.gallery-grid .view-all-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 11, 57, 0.7);
  z-index: 5;
  border-radius: var(--radius-lg);
}

/* Active carousel item indicator */
.gallery-grid.active {
  cursor: grabbing;
}

.gallery-grid .view-all-item .view-all-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: white;
  text-align: center;
  padding: 1.5rem;
}

.view-all-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.view-all-overlay p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--gray-200);
}

.view-all-overlay .btn {
  background: var(--accent);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(242, 72, 182, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
  position: relative;
  z-index: 15;
}

.view-all-overlay .btn:hover {
  transform: translateY(-3px);
  background: var(--accent-light);
}

.gallery-grid .gallery-item:nth-child(n+6) {
  display: none;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.carousel-control {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.carousel-control:hover {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.carousel-control i {
  font-size: 1.2rem;
  color: var(--gray-700);
  transition: var(--transition);
}

.carousel-control:hover i {
  color: white;
}

/* Projects Page Styles */
.projects-container {
  padding: 3rem 0 5rem;
}

.projects-header {
  text-align: center;
  padding: 10rem 2rem 6rem;
  background: linear-gradient(145deg, var(--secondary) 0%, var(--primary) 85%, var(--accent) 100%);
  color: white;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.projects-header .header-subtitle {
  display: block;
  width: fit-content;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  animation: float 6s ease-in-out infinite;
}

/* Gallery Item Styles */
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  aspect-ratio: 2/3;
  background: white;
  cursor: pointer;
  transform-origin: center;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

/* Overlay Styles */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0));
  padding: 2.5rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.link-indicator:hover {
  transform: scale(1.1);
  background-color: var(--accent-dark);
}

.gallery-item img, .gallery-item .overlay h3 {
  cursor: pointer;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.overlay h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
  margin-bottom: 0.5rem;
}

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

.design-category {
  color: var(--accent);
  font-size: 0.9rem;
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  transition: transform 0.4s ease 0.2s, opacity 0.4s ease 0.2s;
}

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

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--secondary);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M54.948 13.809a2.5 2.5 0 1 0-3.536-3.535 2.5 2.5 0 0 0 3.536 3.535zm-3.536 35.355a2.5 2.5 0 1 0 3.536-3.535 2.5 2.5 0 0 0-3.536 3.535zm-42.426-3.535a2.5 2.5 0 1 0-3.536 3.535 2.5 2.5 0 0 0 3.536-3.535zm3.536-35.355a2.5 2.5 0 1 0-3.536 3.535 2.5 2.5 0 0 0 3.536-3.535zm21.213 0a2.5 2.5 0 1 0-3.535 3.535 2.5 2.5 0 0 0 3.535-3.535zm-3.535 35.355a2.5 2.5 0 1 0 3.535-3.535 2.5 2.5 0 0 0-3.535 3.535zm-14.142-14.142a2.5 2.5 0 1 0-3.536 3.535 2.5 2.5 0 0 0 3.536-3.535zm28.284-7.071a2.5 2.5 0 1 0-3.535 3.535 2.5 2.5 0 0 0 3.535-3.535z" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: 120px 120px;
  opacity: 0.2;
}

.contact-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: white;
  letter-spacing: -0.5px;
}

.contact-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.email-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.email-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(242, 72, 182, 0.1), transparent);
  transition: height 0.3s ease;
  z-index: -1;
}

.email-card:hover::before {
  height: 100%;
}

.email-card:hover .contact-icon {
  transform: scale(1.1);
}

.email-card a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.email-card a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.email-card:hover a::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--gray-300);
}

/* Footer Styles */
footer {
  background: var(--primary);
  color: var(--text-light);
  padding-top: 3rem;
  position: relative;
  /* Subtle gradient for more depth */
  background: linear-gradient(to bottom, var(--primary), var(--accent-dark));
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo .logo img {
  height: 35px !important;
  max-height: 35px !important;
  width: auto !important;
  max-width: 160px !important;
  filter: brightness(1.2);
  opacity: 0.9;
  object-fit: contain !important;
}

/* Extra specificity for PNG logo in footer */
.footer-logo .logo img[src$=".png"] {
  height: 35px !important;
  max-height: 35px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
}

/* Global logo constraint - most specific rule */
img[src*="jamasiaprojects-logo"] {
  max-height: 40px !important;
  max-width: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.footer-logo p {
  margin-top: 1rem;
  color: var(--gray-400);
  font-size: 0.95rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Animation for page load and fade-in effects */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-grid {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Fade-in animations with Intersection Observer */
.about-section, .contact-section, .section-title, .gallery-filter {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-600);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  header h1 {
    font-size: 3.5rem;
  }
  
  .about-content {
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-stats {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .stat-item {
    width: 30%;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-logo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  header {
    padding: 8rem 1.5rem 5rem;
  }
  
  header h1 {
    font-size: 2.8rem;
  }
  
  .section-title, .about-section h2, .contact-section h2 {
    font-size: 2.2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery, .about-section, .contact-section {
    padding: 4rem 1.5rem;
  }
  
  .header-description, .about-text p {
    font-size: 1rem;
  }
  
  .nav-container {
    padding: 1rem;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-item {
    width: 100%;
  }
  
  .contact-methods {
    gap: 1.5rem;
  }
  
  .header-subtitle {
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
  }
  
  .header-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  header h1 {
    font-size: 2.2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .nav-links a {
    font-size: 0.9rem;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .shape-1, .shape-2, .shape-3 {
    opacity: 0.4;
  }
  
  /* Scroll indicator for mobile carousel */
  .scroll-indicator {
    text-align: center;
    color: var(--accent);
    margin: 1rem 0 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: pulse 2s infinite;
    opacity: 1;
    transition: opacity 0.5s ease;
  }
  
  .scroll-indicator i {
    margin-left: 0.5rem;
    animation: slideRight 1.5s infinite;
  }
  
  .scroll-indicator.fade-out {
    opacity: 0;
  }
  
  @keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
  }
  
  @keyframes slideRight {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
  }
}