/* 
   North Side Granite & Marbles - Premium Portfolio Template Stylesheet
   Design Inspiration: northsidegranite.com (Luxury Kishangarh Stone Importer)
   Color Palette: Terracotta/Rust Accent, Deep Charcoal, Soft Stone Cream, Warm Whites
*/

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

:root {
  --primary: #111111;       /* Deep charcoal black */
  --accent: #a14332;        /* North Side terracotta/rust brand color */
  --accent-light: #c15745;  /* Lighter terracotta for hover state */
  --accent-dark: #78180a;   /* Deep burgundy/rust accent */
  --bg-stone: #f8f6f5;      /* Warm off-white / sand cream */
  --bg-card: #ffffff;       /* Pure white for panels */
  --text: #222222;          /* Body text */
  --text-muted: #6b6660;    /* Warm grey for captions and subtext */
  --border: #e8e3df;        /* Soft sand-colored border */
  
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(161, 67, 50, 0.04);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 24px 60px rgba(161, 67, 50, 0.08);
}

/* Reset & Scrollbar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-stone);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

body {
  background-color: var(--bg-stone);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Demo Top Bar Banner */
.demo-banner {
  background-color: #0c0e12;
  color: #fff;
  padding: 10px 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1001;
  border-bottom: 2px solid var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.demo-banner a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.demo-banner a:hover {
  color: #fff;
  transform: translateX(-3px);
}

/* Header */
header {
  background-color: rgba(248, 246, 245, 0.95);
  backdrop-filter: blur(12px);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 38px; /* Below demo-banner */
  z-index: 1000;
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  font-family: var(--font-serif);
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

nav a:hover::after {
  width: 100%;
}

.nav-btn {
  background-color: var(--accent);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.nav-btn::after {
  display: none !important;
}

.nav-btn:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-header span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
  position: relative;
}

.section-header span::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
  margin: 6px auto 0;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-terracotta {
  background-color: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-terracotta:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(161, 67, 50, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--primary);
  border-color: #fff;
  transform: translateY(-3px);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(rgba(17, 17, 17, 0.65), rgba(17, 17, 17, 0.8)), url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1600&q=80') center/cover;
  padding: 160px 0;
  text-align: center;
  color: #fff;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero .sub-title {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: #e5dfda;
  max-width: 720px;
  margin: 0 auto 48px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* MAS System Section */
.mas-section {
  padding: 90px 0;
  background-color: var(--primary);
  color: #fff;
  border-bottom: 1px solid #282828;
}

.mas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mas-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 20px;
}

.mas-text h2 span {
  color: var(--accent-light);
}

.mas-text p {
  color: #b3adab;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.mas-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mas-card {
  background-color: #1a1a1a;
  border-left: 4px solid var(--accent);
  padding: 24px;
  border-radius: 4px;
  transition: var(--transition);
}

.mas-card:hover {
  background-color: #222;
  transform: translateX(5px);
}

.mas-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}

.mas-card p {
  color: #b3adab;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* Collection Section */
.collection {
  padding: 100px 0;
  background-color: var(--bg-stone);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.collection-card {
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.stone-img-wrapper {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.stone-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.collection-card:hover img {
  transform: scale(1.06);
}

.stone-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: 2px;
}

.stone-details {
  padding: 30px;
}

.stone-details h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.stone-origin {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}

.stone-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Spaces Applications Section */
.spaces-section {
  padding: 100px 0;
  background-color: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.space-card {
  background-color: var(--bg-stone);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
}

.space-card:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.space-card i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 24px;
  transition: var(--transition);
}

.space-card:hover i {
  color: #fff;
}

.space-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.space-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.space-card:hover p {
  color: #ccc;
}

/* Featured Projects Section */
.projects-section {
  padding: 100px 0;
  background-color: var(--bg-stone);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.project-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.project-img-wrapper {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.project-details {
  padding: 30px;
}

.project-details span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.project-details h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.project-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Why Choose Us */
.why-us {
  padding: 100px 0;
  background-color: #fff;
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.why-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.bar {
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin-bottom: 28px;
}

.why-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.why-bullets {
  list-style: none;
}

.why-bullets li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
}

.why-bullets li i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 4px;
}

.why-bullets li strong {
  color: var(--primary);
}

.why-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-box {
  background-color: var(--bg-stone);
  padding: 30px 24px;
  border: 1px solid var(--border);
  text-align: center;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-box:hover {
  border-color: var(--accent);
  background-color: #fff;
}

.stat-box h4 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-box p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-stone);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  outline: none;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question i {
  color: var(--accent);
  transition: transform 0.4s;
  font-size: 0.9rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 30px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Active FAQ state toggled by JS */
.faq-item.active .faq-answer {
  max-height: 200px; /* Expands to fit content */
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active {
  border-color: var(--accent-light);
}

/* Contact / Quote Section */
.contact {
  padding: 100px 0;
  background-color: #fff;
}

.contact-box {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-stone);
  border: 1px solid var(--border);
  padding: 60px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.contact-box h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
}

.contact-box p {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

input, select, textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border);
  background-color: #fff;
  font-family: var(--font-sans);
  outline: none;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(161, 67, 50, 0.1);
}

select {
  color: #666;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a14332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

textarea {
  height: 140px;
  resize: vertical;
  margin-bottom: 30px;
}

.contact-box form .btn {
  width: 100%;
  justify-content: center;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: #dfdbd7;
  padding: 60px 0;
  border-top: 2px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  text-align: left;
}

.footer-col h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: #fff;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-col p {
  font-size: 0.9rem;
  color: #b3adab;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #b3adab;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #282828;
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: #8c8684;
  font-size: 0.85rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .mas-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  header {
    top: 0;
    padding: 16px 0;
  }
  .demo-banner {
    position: static;
  }
  header .container {
    flex-direction: column;
    gap: 16px;
  }
  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-box {
    padding: 30px 20px;
  }
}

/* Introduce Our Collections Section */
.collections-section {
  padding: 100px 0;
  background-color: var(--bg-stone);
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}

.collections-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
}

/* Category Pills styling */
.category-pills {
  display: inline-flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-pills .pill {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: var(--transition);
}

.category-pills .pill.active,
.category-pills .pill:hover {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(161, 67, 50, 0.15);
}

/* Deck Wrapper */
.deck-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  height: 440px; /* Space for cards and labels */
}

.carousel-deck {
  width: 100%;
  height: 380px;
  position: relative;
  margin: 0 auto;
}

.deck-card {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              left 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.6s ease-in-out, 
              z-index 0.1s ease;
  user-select: none;
  pointer-events: none;
}

.deck-card.pos-center {
  pointer-events: auto;
}

.card-image-box {
  width: 100%;
  height: 270px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  background-color: #fff;
  transition: border-color 0.5s, box-shadow 0.5s;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-name {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.5s, font-size 0.5s;
}

/* Position States matching the screenshot */
.deck-card.pos-left-outer {
  left: calc(50% - 380px);
  transform: translate(-50%, -50%) scale(0.72) rotate(-8deg);
  z-index: 1;
  opacity: 0.45;
}

.deck-card.pos-left-inner {
  left: calc(50% - 190px);
  transform: translate(-50%, -50%) scale(0.86) rotate(-4deg);
  z-index: 2;
  opacity: 0.75;
}

.deck-card.pos-center {
  left: 50%;
  transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
  z-index: 3;
  opacity: 1;
}

.deck-card.pos-center .card-image-box {
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(161, 67, 50, 0.22);
}

.deck-card.pos-center .card-name {
  color: var(--accent);
  font-size: 1.15rem;
}

.deck-card.pos-right-inner {
  left: calc(50% + 190px);
  transform: translate(-50%, -50%) scale(0.86) rotate(4deg);
  z-index: 2;
  opacity: 0.75;
}

.deck-card.pos-right-outer {
  left: calc(50% + 380px);
  transform: translate(-50%, -50%) scale(0.72) rotate(8deg);
  z-index: 1;
  opacity: 0.45;
}

/* Deck Controls */
.deck-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.deck-ctrl-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.deck-ctrl-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.08);
}

/* Floating Contact Pill */
.floating-contact-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.floating-contact-pill {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 24px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.floating-contact-pill:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--accent-light);
}

.floating-contact-pill a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-contact-pill a:hover {
  color: var(--accent);
  transform: scale(1.15);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .deck-card.pos-left-outer {
    left: calc(50% - 260px);
    transform: translate(-50%, -50%) scale(0.65) rotate(-9deg);
    opacity: 0.3;
  }
  .deck-card.pos-right-outer {
    left: calc(50% + 260px);
    transform: translate(-50%, -50%) scale(0.65) rotate(9deg);
    opacity: 0.3;
  }
  .deck-card.pos-left-inner {
    left: calc(50% - 130px);
    transform: translate(-50%, -50%) scale(0.8) rotate(-4deg);
  }
  .deck-card.pos-right-inner {
    left: calc(50% + 130px);
    transform: translate(-50%, -50%) scale(0.8) rotate(4deg);
  }
}

@media (max-width: 768px) {
  .deck-wrapper {
    height: 380px;
  }
  .carousel-deck {
    height: 300px;
  }
  .deck-card {
    width: 155px;
    height: 230px;
  }
  .card-image-box {
    height: 190px;
    border-radius: 24px;
  }
  .deck-card.pos-left-outer,
  .deck-card.pos-right-outer {
    display: none; /* Hide outer cards on small mobile screens */
  }
  .deck-card.pos-left-inner {
    left: calc(50% - 90px);
    transform: translate(-50%, -50%) scale(0.8) rotate(-4deg);
  }
  .deck-card.pos-right-inner {
    left: calc(50% + 90px);
    transform: translate(-50%, -50%) scale(0.8) rotate(4deg);
  }
}

/* Custom class for smooth content swapping */
.deck-card.swapping-fade {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.6) rotate(0deg) !important;
}
