/* -------------------- BASE RESET AND CORE TYPOGRAPHY ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-VariableFont_opsz,wght.woff2') format('truetype-variations');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-Italic-VariableFont_opsz,wght.woff2') format('truetype-variations');
}
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --text-light: #ffffff;
    --text-muted: #8e8e93;
    --accent-orange: #ff6600;
    --gradient-warm: linear-gradient(90deg,rgba(207, 86, 0, 1) 0%, rgba(122, 53, 0, 1) 50%, rgba(71, 43, 0, 1) 100%);
    --site-padding: 10rem 6rem;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* -------------------- NAVIGATION BAR --------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
    text-decoration: none !important;
}
.logo a {
    text-decoration: none !important;
    color: white !important;
}
.logo a.active {
        color: white !important;
}
.logo span {
    color: var(--accent-orange);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 3.5rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text-light);
}


/* -------------------- MOBILE NAVIGATION BAR ---------------------- */
/* Ensure Header holds the toggle */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* Close Button Style */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
}
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #050505;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transform: translateY(-100%); /* Hidden state */
    transition: transform 0.4s ease-in-out;
}
.mobile-nav.active {
    transform: translateY(0); /* Visible state */
}
.mobile-nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
.mobile-nav ul li {
    margin: 30px 0;
}
.mobile-nav ul li a {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    font-weight: 300;
}
/* --- Toggle Animation (Optional "X" effect) --- */
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile CTA (Visible only in Drawer) --- */
.btn-nav-mobile {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-nav-mobile:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px);
}





/* -------------------- UNIVERSAL BUTTONS ---------------------- */
.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-nav {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-nav:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px);
}
.btn-primary {
    background-color: var(--accent-orange);
    color: black;
}
.btn-primary:hover {
    background-color: #e04f0f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 91, 20, 0.2);
}

/* -------------------- HERO IMAGE -------------------------- */
.hero-wrapper {
    background: var(--gradient-warm);
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    padding: 14rem 6rem 8rem 6rem;
    
    /* Establish stacking context */
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.hero-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background-image: url("images/guelph-marketing-web-design-services.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen; 
    opacity: 0.09;
}
.hero-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 80%;
    pointer-events: none;
    z-index: 3;
    background-image: url("images/our-lady-wireframe.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    mix-blend-mode: overlay;
    opacity: 0.75;
}
.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}
.hero-text h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    color: var(--text-light);
}
/* --- Inner Layout Elements --- */
.greeting {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
h1 {
    font-size: 6.5rem;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 6rem;
    color: var(--text-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
}
.service-item .number {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}
.service-item p {
    font-size: 0.95rem;
    font-weight: 600;
}
.hero-visual {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 450px;
}
/* Hide the element on mobile devices */
@media (max-width: 768px) {
    .hero-visual {
        display: none;
    }
}
.quote-card {
    max-width: 320px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.quote-card h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}
.quote-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.trusted-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.trusted-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 180px;
}
.logo-container {
    display: flex;
    gap: 4rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.3rem;
}

/* ---------------------------- ABOUT SECTION -------------------- */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    padding: var(--site-padding);
    max-width: 1440px;
    margin: 0 auto;
}
.accent-title {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1.5rem;
}
.about-left h2 {
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
}
.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.about-right p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}
.about-right .sub-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}




/* ---------------------------- CLIENT LOGO SECTION -------------------- */
.client-logo-section {
    background-color: var(--bg-dark);
    padding: 70px 20px;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.logo-section-title {
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: #a3a3a3;
    margin-bottom: 20px;
}
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 20px;
}
.logo-item {
    width: 200px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-item img {
    width: 120px;
    height: auto;
    filter: grayscale(1) brightness(0.7);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.logo-item:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}
/* Mobile-Specific Adjustment */
@media (max-width: 768px) {
    .logo-grid { gap: 30px; }
    .logo-item { width: 100px; height: 60px; }
}



/* ---------------------------- TECH STACK  ---------------------------- */
.tech-stack-section {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 80px 20px;
    overflow: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 15px;
    color: #ffffff;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto 80px auto;
    line-height: 1.6;
}
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}
.carousel-stage {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}
.carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 340px;
    perspective: 1000px;
    transform-style: preserve-3d;
}
.card {
    position: absolute;
    width: 240px;
    height: 320px;
    opacity: 0; 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, z-index 0s linear;
    will-change: transform, opacity;
}
.card[style*="transform"] {
    opacity: 1;
}
.card-inner {
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(184, 70, 0, 0.08);
    border-radius: 16px;
    padding: 28px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}
.card-inner:hover {
    border-color: rgba(184, 70, 0, 0.4);
    box-shadow: 0 0 30px rgba(184, 70, 0, 0.15);
}
.card img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 20px;
}
.card h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #fff;
}
.card p {
    font-size: 0.85rem;
    color: #a3a3a3;
    line-height: 1.5;
    margin: 0;
}
.card.active .card-inner {
    border-color: rgba(184, 70, 0, 0.4);
    box-shadow: 0 0 30px rgba(184, 70, 0, 0.15);
    transform: translateY(-5px);
}
/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100; /* Ensure buttons stay clickable over absolute cards */
    transition: all 0.3s ease;
}
.nav-btn:hover {
    background: rgba(184, 70, 0, 0.2);
    border-color: rgba(184, 70, 0, 0.5);
    color: #ffffff;
}
.prev-btn { left: 10px; }
.next-btn { right: 10px; }







/* ---------------------------- SERVICES SECTION -------------------- */
.services-section {
    position: relative;
    padding: 8rem 0;
    background-color: var(--bg-dark); theme */
    z-index: 10;
}
.services-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 4rem;
}
.section-header {
    text-align: left;
    margin-bottom: 5rem;
    max-width: 650px;
}
.section-header h2 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.services-grid-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(184, 70, 0, 0.4);
    border-radius: 24px;
    box-shadow: 
        0 4px 15px rgba(184, 70, 0, 0.2),
        0 20px 60px rgba(184, 70, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 3rem;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 94, 0, 0.3); /* Orange border tint on hover */
}
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 94, 0, 0.08) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.service-card:hover .card-glow {
    opacity: 1;
}
.card-content {
    position: relative;
    z-index: 2;
}
.service-number {
    display: inline-block;
    color: var(--accent-orange);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 94, 0, 0.2);
    width: 40px;
}
.service-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.card-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}
.service-card:hover .card-link {
    color: var(--accent-orange);
    transform: translateX(5px); /* Arrow slides right slightly on hover */
}




/* ---------------------------- PACKEGES SECTION -------------------- */

.iwc-pricing-wrapper-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.iwc-pricing-header {
  text-align: center;
  padding: 60px 20px 20px 20px;
  background: #0a0a0a;
  color: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.iwc-section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}
.iwc-section-subtext {
  font-size: 1.1rem;
  color: #a0a0a0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.iwc-pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 60px 20px;
  background: #0a0a0a;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.iwc-pricing-card {
  background: #161616;
  border: 1px solid #2d2d2d;
  box-shadow: 
        0 4px 15px rgba(184, 70, 0, 0.2),
        0 20px 60px rgba(184, 70, 0, 0.1);
  padding: 40px;
  border-radius: 20px;
  width: 100%;
  max-width: 350px;
  color: #ffffff;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.iwc-pricing-card:hover {
  transform: translateY(-15px);
  border-color: var(--accent-orange);
}
.iwc-featured {
  border-color: var(--accent-orange);
}
.iwc-plan-title { 
    font-size: 1.5rem; 
    margin-bottom: 12px; 
}
.iwc-price { 
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 8px; 
}
.iwc-price span { 
    font-size: 1rem; 
    color: #888; 
    font-weight: 400; 
}
.iwc-description { 
    color: #a0a0a0; 
    margin-bottom: 30px; 
    line-height: 1.5; 
}

.iwc-features { 
    list-style: none; 
    padding: 0; margin: 0 0 40px 0; 
}
.iwc-features li { 
    margin-bottom: 16px; 
    display: flex; 
    align-items: center; 
    color: #e0e0e0; 
}
.iwc-features li::before { 
    content: "✓"; 
    color: #ff914d; 
    margin-right: 12px; 
    font-weight: bold; 
}
.iwc-badge {
  background: #ff914d;
  color: #000;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 900;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 15px;
}
.iwc-btn {
  background: #2d2d2d;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: auto;
}
.iwc-btn:hover { 
    background: #404040; 
}
.iwc-btn-active { 
    background: var(--accent-orange); 
    color: #000; 
}
.iwc-btn-active:hover { 
    color: black;
    background: #ff7b29;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .iwc-pricing-card:hover { transform: none; } /* Disable lift on touch devices */
}




/* ---------------------------- CONTACT FORM -------------------- */
.contact-section {
    background-color: var(--bg-dark);
    padding: 10rem 0;
    position: relative;
    z-index: 3;
    overflow: hidden;
}
.contact-section::before {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.contact-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 6rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 8rem;
    position: relative;
    z-index: 2;
}
/* --- Left Column Info --- */
.contact-badge {
    color: var(--accent-orange);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}
.contact-info h2 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    color: var(--text-light);
}
.contact-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 4rem;
}
.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
}
.info-item .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.4rem;
}
.info-item a, 
.info-item p {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.info-item a:hover {
    color: var(--accent-orange);
}
/* --- Right Column: Glassmorphic Form Card --- */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3.5rem;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}
/* Universal Inputs & Elements */
.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 400;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}
/* Smooth Focus States matching the warm scheme */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255, 94, 0, 0.5);
    background: rgba(255, 94, 0, 0.02);
    box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.15);
}
/* Custom Select styling reset over dark backdrop */
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.select-wrapper {
    position: relative;
}
.select-wrapper::after {
    content: "↓";
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.btn-submit {
    background: var(--text-light);
    color: #000;
    border: none;
    padding: 1.2rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-submit span {
    transition: transform 0.3s ease;
}
.btn-submit:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}
.btn-submit:hover span {
    transform: translateX(4px);
}







/* -------------------- ALL MOBILE RESPONSIVENESS CSS ---------------------- */

/* ---------------CORE LAYOUT MOBILE RESPONSIVENESS -------------- */
@media (max-width: 1200px) {
    :root { --site-padding: 7rem 3rem; }
    .navbar { padding: 1.5rem 3rem; }
    .hero-wrapper { padding: 12rem 3rem 6rem 3rem; }
    h1 { font-size: 5rem; }
}

@media (max-width: 992px) {
    h1 { font-size: 4.2rem; }
    .hero-content { grid-template-columns: 1fr; gap: 4rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-section { grid-template-columns: 1fr; gap: 4rem; }
    .about-left h2, .section-header h2 { font-size: 3rem; }
    .trusted-strip { flex-direction: column; gap: 3rem; text-align: center; padding: 4rem 3rem; }
    .logo-container { flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
}

@media (max-width: 768px) {
    :root { --site-padding: 5rem 1.5rem; }
    .navbar { padding: 1.2rem 1.5rem; }
    .hero-wrapper { padding: 10rem 1.5rem 5rem 1.5rem; border-radius: 40px; }
    h1 { font-size: 3.2rem; letter-spacing: -1.5px; margin-bottom: 4rem; }
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------------SERVICES MOBILE RESPONSIVENESS -------------- */
@media (max-width: 1024px) {
    .services-container { padding: 0 2rem; }
    .section-header h2 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .services-section { padding: 5rem 0; }
    .section-header { margin-bottom: 3rem; }
    .section-header h2 { font-size: 2.2rem; }
    /* Stacks the cards into a single column on phones */
    .services-grid-main { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-card { padding: 2rem; }
}


/* ---------------SERVICES MOBILE RESPONSIVENESS -------------- */
@media (max-width: 1024px) {
    .services-canvas {
        flex-direction: column;
        height: auto;
        gap: 1.5rem;
    }
    .service-panel {
        flex: none !important; 
        padding: 2.5rem 2rem;
        justify-content: flex-start;
        gap: 0;
    }
    .service-panel h3 {
        white-space: normal;
        font-size: 1.7rem;
    }
    .panel-transition-engine {
        display: grid;
        grid-template-rows: 0fr; 
        opacity: 1;
        transform: none;
        will-change: grid-template-rows;
        transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: 0s;
    }
    .service-panel.active .panel-transition-engine {
        grid-template-rows: 1fr;
        transition-delay: 0s;
    }
    .panel-content {
        width: 100%;
        min-height: 0;
    }
    .panel-desc {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .panel-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ---------------SERVICES MOBILE RESPONSIVENESS -------------- */
@media (max-width: 1024px) {
    .services-canvas {
        flex-direction: column;
        height: auto;
        gap: 1.5rem;
    }
    .service-panel {
        flex: none !important;
        height: 120px;
        padding: 2rem;
        justify-content: flex-start;
        gap: 2rem;
        transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .service-panel.active {
        height: auto;
        background: #16161a;
    }
    .service-panel h3 {
        font-size: 1.6rem;
    }
    .panel-content {
        margin-top: 1rem;
    }
    .panel-list {
        grid-template-columns: 1fr;
    }
}

/* ---------------TECH STACK MOBILE RESPONSIVENESS -------------- */
@media (max-width: 768px) {
    .carousel-container {
        min-height: auto;
    }
    .carousel-track {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 20px;
        padding: 0 10px;
    }
    .card {
        position: relative !important;
        width: 100%;
        max-width: 400px;
        height: auto;
        opacity: 1 !important;
        transform: none !important;
    }
    .nav-btn {
        display: none;
    }
}


/* ---------------PRICING PACKEGES MOBILE RESPONSIVENESS -------------- */
@media (max-width: 768px) {
  .iwc-pricing-card:hover { transform: none; } /* Disable lift on touch devices */
}



/* ---------------CONTACT FORM MOBILE RESPONSIVENESS -------------- */
@media (max-width: 1200px) {
    .contact-container { padding: 0 3rem; gap: 4rem; }
    .contact-info h2 { font-size: 3.2rem; }
}

@media (max-width: 1024px) {
    .contact-container { grid-template-columns: 1fr; gap: 5rem; }
    .contact-subtitle { max-width: 100%; margin-bottom: 2.5rem; }
    .contact-form-wrapper { padding: 2.5rem; }
}

@media (max-width: 768px) {
    .contact-section { 
        padding: 6rem 0; 
    }
    .contact-container { 
        padding: 0 1.5rem; 
    }
    .contact-info h2 { 
        font-size: 2.5rem; 
        letter-spacing: -1px; 
    }
    .contact-form-wrapper { 
        padding: 2rem 1.5rem; 
        border-radius: 24px; 
    }
    .work-gallery {
        background-color: var(--bg-dark);
        padding: 0 6rem 8rem 6rem;
        z-index: 3;
        position: relative;
    }
    .gallery-container {
        max-width: 1320px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .gallery-item {
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        aspect-ratio: 4 / 5;
        background: #111;
    }
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        filter: grayscale(20%) brightness(0.9); 
    }
    .gallery-item:hover img {
        transform: scale(1.04);
        filter: grayscale(0%) brightness(1);
    }
}
@media (max-width: 968px) {
    .gallery-container { 
        grid-template-columns: 1fr; 
        gap: 1rem; 
    }
    .work-gallery { 
        padding: 0 1.5rem 6rem 1.5rem; 
    }
}










/* ---------------MOBILE NAVIGATION RESPONSIVENESS -------------- */

/* --- Desktop CTA (Hide on Mobile) --- */
@media (max-width: 951px) {
    .nav-cta-desktop { 
        display: none !important; }
}



/* 1. Desktop Nav (Hidden on Mobile) */
@media (min-width: 951px) {
    .menu-toggle, .mobile-nav { display: none !important; }
    .nav-links { display: flex; gap: 30px; list-style: none; }
    
    .nav-links a { 
        color: #fff; 
        text-decoration: none; 
        transition: color 0.3s ease; 
    }
    .nav-links a:hover { color: #b84600; }
}

/* 2. Mobile Nav Drawer Logic */
/* --- Mobile Nav Drawer (Fixed & Unified) --- */
@media (max-width: 950px) {
    .nav-container { display: none !important; }
    
    .menu-toggle { 
        display: block; 
        background: none; 
        border: none; 
        cursor: pointer; 
        z-index: 10000; 
    }
    .bar { 
        display: block; 
        width: 25px; 
        height: 2px; 
        background: #fff; 
        margin: 5px 0; 
        transition: 0.3s;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Start fully hidden to the right */
        width: 80%;
        height: 100vh;
        background-color: #050505;
        border-left: 1px solid #1a1a1a;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        transition: right 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Active State */
    .mobile-nav.active {
        right: 0; /* Slide in from the right */
    }
    
    .mobile-nav ul { list-style: none; padding: 0; text-align: center; }
    .mobile-nav ul li { margin: 30px 0; }
    .mobile-nav ul li a { color: #fff; font-size: 1.5rem; text-decoration: none; }
}