/* ============================================
   OPTIMIZED COLOR PALETTE FOR KASHIF IBRAR
   Conversion-focused | Neil Patel approved
   ============================================ */

:root {
  /* CORE BRAND COLORS */
  --brand-black: #353535;
  --brand-black-pure: #000000;
  --brand-gray-dark: #555555;
  --brand-gray-mid: #a3a3a3;
  --brand-gray-light: #e6e6e6;
  --brand-white: #ffffff;

  /* ACCENT COLORS (High Conversion) */
  --accent-primary: #0066ff;
  /* Electric Blue - CTAs */
  --accent-hover: #0052cc;
  /* Darker Blue - Hover */
  --accent-light: rgba(0, 102, 255, 0.1);
  /* 10% opacity - highlights */

  /* SUCCESS/METRICS COLORS */
  --success-green: #10b981;
  --success-green-dark: #059669;

  /* BACKGROUNDS */
  --bg-white: #ffffff;
  --bg-light: #f8f9fc;
  /* Cool light gray */
  --bg-warm: #fafaf8;
  /* Very subtle warm (if needed) */
  --bg-dark: #353535;

  /* BORDERS & DIVIDERS */
  --border-light: #e6e6e6;
  --border-mid: #a3a3a3;

  /* SHADOWS */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.12);

  /* GRADIENTS */
  --gradient-dark: linear-gradient(135deg, #353535 0%, #505050 100%);
  --gradient-accent: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
}

/* GENERAL */

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

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--brand-gray-dark);
}

html {
  scroll-behavior: smooth;
}

p {
  color: var(--brand-gray-dark);
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  background: var(--bg-white);
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1rem;
}

a {
  color: var(--brand-black);
  text-decoration: none;
  text-decoration-color: var(--bg-white);
}

a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: var(--accent-primary);
}

.logo {
  font-size: 3rem;
  color: var(--brand-black);
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--brand-black);
  transition: all 0.3s ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--bg-white);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow-md);
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--brand-black);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.menu-links a:hover {
  background-color: var(--bg-light);
  color: var(--accent-primary);
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

/* SECTIONS */

section {
  padding-top: 4vh;
  height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  height: 80vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
  color: var(--brand-gray-dark);
}

.section__text__p1 {
  text-align: center;
  color: var(--brand-black);
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--brand-black);
}

.title {
  font-size: 3rem;
  text-align: center;
  color: var(--brand-black);
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
  color: var(--brand-black);
  transition: all 300ms ease;
}

.icon:hover {
  color: var(--accent-primary);
  transform: scale(1.1);
}

/* BUTTONS - OPTIMIZED FOR CONVERSION */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
}

/* PRIMARY CTA - Electric Blue (High Conversion) */
.btn-color-1 {
  background: var(--accent-primary);
  color: var(--bg-white);
  border: var(--accent-primary) 0.1rem solid;
}

.btn-color-1:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

/* SECONDARY CTA - Outline Style */
.btn-color-2 {
  background: transparent;
  color: var(--brand-black);
  border: var(--brand-black) 0.1rem solid;
}

.btn-color-2:hover {
  background: var(--brand-black);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* ABOUT SECTION */

#about {
  position: relative;
}

#about .text-container p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;
}

.about-pic {
  border-radius: 2rem;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: var(--bg-white);
  border-radius: 2rem;
  border: var(--border-light) 0.1rem solid;
  text-align: center;
  transition: all 300ms ease;
}

.details-container:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.section-container {
  gap: 4rem;
  height: 80%;
}


/* TRUST METRICS */
.trust-metrics {
  padding: 4rem 1rem;
  background: var(--bg-light);
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.trust-metrics .container {
  max-width: 700px;
  margin: auto;
}

.trust-metrics h2 {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: var(--brand-black);
}

.sub-heading {
  font-size: 1.05rem;
  color: var(--brand-gray-dark);
  margin-bottom: 2.5rem;
}

.metrics {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.metric {
  flex: 1 1 120px;
}

.metric .num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--success-green);
}

.metric .label {
  font-size: .9rem;
  color: var(--brand-black);
}

.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.partner-icon {
  font-size: 2rem;
  color: var(--brand-black);
  opacity: .85;
  transition: opacity .2s;
}

.partner-icon:hover {
  opacity: 1;
  color: var(--accent-primary);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent-primary);
  color: var(--bg-white);
  padding: .75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 300ms ease;
}

.cta-btn:hover {
  background: var(--accent-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

/* EXPERIENCE SECTION */

#experience {
  position: relative;
}

.experience-sub-title {
  color: var(--brand-gray-dark);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

article h3 {
  color: var(--brand-black);
}

article p {
  color: var(--brand-gray-dark);
}

/* CAROUSEL STYLES */

.carousel-container {
  position: relative;
  height: 600px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-track-container {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

.carousel-track {
  padding: 1rem;
  margin: 0;
  list-style: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
  box-sizing: border-box;
}

/* PROJECTS SECTION */

#projects {
  position: relative;
}

.project-card {
  width: calc((100% - 4rem) / 3);
  margin-right: 2rem;
  height: 95%;
  margin-top: 1%;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.project-card:nth-child(3n) {
  margin-right: 0;
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 10;
}

.carousel-button img {
  width: 30px;
  height: 30px;
  filter: opacity(0.7);
  transition: all 300ms ease;
}

.carousel-button:hover img {
  filter: opacity(1);
  transform: scale(1.1);
}

.carousel-button-left {
  left: -40px;
}

.carousel-button-right {
  right: -40px;
}

.is-hidden {
  display: none;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  position: absolute;
  bottom: -30px;
  width: 100%;
}

.carousel-indicator {
  border: 0;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  background: var(--brand-gray-light);
  margin: 0 12px;
  cursor: pointer;
  transition: all 300ms ease;
}

.carousel-indicator:hover {
  background: var(--brand-gray-mid);
}

.carousel-indicator.current-slide {
  background: var(--accent-primary);
}

/* MODAL STYLES */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--bg-white);
  margin: auto;
  padding: 2rem;
  border: 1px solid var(--border-light);
  width: 80%;
  max-width: 600px;
  border-radius: 2rem;
  position: relative;
  text-align: left;
}

.modal-content h2 {
  color: var(--brand-black);
}

.modal-content p {
  color: var(--brand-gray-dark);
}

.close-modal {
  color: var(--brand-gray-mid);
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  transition: all 300ms ease;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--brand-black);
  text-decoration: none;
}

.project-img {
  border-radius: 2rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.project-title {
  margin: 1rem 0;
  color: var(--brand-black);
}

/* SERVICES SECTION */

#services {
  position: relative;
  height: fit-content;
  margin-bottom: 2rem;
  padding-top: 0;
}

#services .carousel-container {
  height: 450px;
}

.service-card-carousel {
  background: var(--bg-white);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--brand-black);
}

.service-card p {
  color: var(--brand-gray-dark);
  line-height: 1.6;
}

/* PORTFOLIO SECTION */

#portfolio {
  position: relative;
}

#portfolio .carousel-container {
  height: 450px;
}

.portfolio-item {
  height: 100%;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
  border: 1px solid var(--border-light);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-primary);
}

.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  flex-grow: 1;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 300ms ease;
}

.portfolio-item:hover .portfolio-img,
.project-card:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(53, 53, 53, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 300ms ease;
  padding: 1.5rem;
  box-sizing: border-box;
}

.portfolio-item:hover .portfolio-overlay,
.project-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--bg-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.portfolio-overlay p {
  color: rgb(200, 200, 200);
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.portfolio-links {
  display: flex;
  gap: 1rem;
}

.portfolio-link {
  padding: 0.5rem 1.5rem;
  background: var(--accent-primary);
  color: var(--bg-white);
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 300ms ease;
  border: none;
  cursor: pointer;
}

.portfolio-link:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* SOCIAL LINKS */

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-icon {
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 300ms ease;
  color: var(--brand-black);
}

.social-icon:hover {
  transform: scale(1.1);
  color: var(--accent-primary);
}

/* STATS BANNER */

#stats-banner {
  background: var(--bg-white);
  padding: 3rem 2rem;
  margin: 0;
  height: auto;
  min-height: auto;
  border-bottom: 1px solid var(--border-light);
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
  color: var(--brand-black);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--brand-gray-dark);
  margin-top: 0.5rem;
}

.platforms-container {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.platforms-label {
  color: var(--brand-gray-dark);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.platforms-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.platform-logo {
  background: var(--bg-white);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  color: var(--brand-black);
  font-size: 0.9rem;
  transition: all 300ms ease;
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--border-light);
}

.platform-logo:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* CAROUSEL ARROWS */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-black);
  color: var(--bg-white);
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: all 300ms ease;
}

.carousel-arrow:hover {
  background: var(--accent-primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: -60px;
}

.carousel-arrow.next {
  right: -60px;
}

/* CASE STUDIES SECTION */

#case-studies {
  position: relative;
  background: var(--bg-white);
}

#case-studies .carousel-container {
  height: 500px;
}

.case-studies-wrapper {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0;
}

.case-study-card {
  flex: 0 0 calc(50% - 0.75rem);
  height: 100%;
  background: var(--bg-white);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 300ms ease;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-primary);
}

.case-study-header {
  background: var(--gradient-dark);
  padding: 1.5rem;
  color: var(--bg-white);
}

.case-study-tag {
  background: var(--accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-primary);
  font-weight: 600;
}

.case-study-header h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: var(--bg-white);
}

.case-study-content {
  padding: 1.5rem;
}

.case-study-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.case-stat {
  display: flex;
  flex-direction: column;
}

.case-stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--success-green);
}

.case-stat-label {
  font-size: 0.8rem;
  color: var(--brand-gray-dark);
}

.case-study-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--brand-gray-dark);
}

.case-study-link {
  color: var(--accent-primary);
  font-weight: 600;
  display: inline-block;
  transition: all 300ms ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.case-study-link:hover {
  color: var(--accent-hover);
  text-decoration: none;
  transform: translateX(5px);
}

/* TESTIMONIALS SECTION */

#testimonials {
  position: relative;
  height: fit-content;
  margin-bottom: 2rem;
  background: var(--bg-light);
}

#testimonials .carousel-container {
  height: 400px;
}

.testimonial-card {
  height: 100%;
  background: var(--bg-white);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all 300ms ease;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.testimonial-content {
  margin-bottom: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-content p {
  font-style: italic;
  line-height: 1.6;
  color: var(--brand-gray-dark);
  font-size: 0.9rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.author-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--brand-black);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--brand-gray-dark);
  margin: 0;
}

.testimonial-rating {
  font-size: 1rem;
  letter-spacing: 2px;
  color: #fbbf24;
}

/* CONTACT SECTION */

.contact-section {
  padding: 5rem 1rem;
  background: var(--bg-light);
  font-family: 'Inter', sans-serif;
}

.container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: .5rem;
  color: var(--brand-black);
}

.lead {
  font-size: 1.05rem;
  color: var(--brand-gray-dark);
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-md);
  text-align: left;
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 500;
  color: var(--brand-black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 300ms ease;
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-white);
  border: none;
  padding: .75rem 1.8rem;
  font-size: 0.9rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 300ms ease;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.form-message {
  margin-top: 1rem;
  font-size: .9rem;
}

.form-message.error {
  color: #e74c3c;
}

.form-message.success {
  color: var(--success-green);
}

.booking-card {
  background: var(--bg-white);
  padding: 2rem 2.5rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border-light);
  transition: all 300ms ease;
}

.booking-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-lg);
}

.booking-card h3 {
  color: var(--brand-black);
}

.booking-card p {
  margin: .75rem 0 1.5rem;
  line-height: 1.5;
  color: var(--brand-gray-dark);
}

.booking-card small {
  display: block;
  margin-top: .75rem;
  font-size: .8rem;
  color: var(--brand-gray-mid);
}

.booking-card .cta-btn {
  max-width: 220px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.contact-form .btn-container {
  display: block;
  text-align: center;
}

.contact-form .btn-primary {
  width: 220px;
  display: block;
  margin: 1.5rem auto 0;
}

/* CORNER CTA */
.corner-cta {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent-primary);
  color: var(--bg-white);
  padding: .55rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
  transition: all 300ms ease;
}

.corner-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.45);
}

.corner-cta span {
  display: inline-block;
}

/* GENERIC CAROUSEL STYLES */
.carousel-scroll-wrapper {
  display: flex;
  gap: 0.5rem;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0;
}

.card-3-per-view {
  flex: 0 0 calc(33.333% - 0.333rem);
  box-sizing: border-box;
  margin: 0;
  width: auto;
}

/* RESPONSIVE DESIGN */

@media screen and (max-width: 1350px) {
  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }
}

@media screen and (max-width: 1024px) {
  .card-3-per-view {
    flex: 0 0 calc(50% - 0.25rem);
  }

  section {
    margin: 0 5rem;
  }

  .metrics {
    gap: 1.5rem;
  }

  .metric .num {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  section {
    margin: 0 2rem;
  }

  .title {
    font-size: 2rem;
  }

  .section__text__p2 {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 600px) {

  .card-3-per-view,
  .case-study-card {
    flex: 0 0 100%;
  }

  .corner-cta span {
    display: none;
  }

  section {
    margin: 0 1rem;
  }

  #profile {
    flex-direction: column;
    gap: 2rem;
  }

  .section__pic-container {
    height: 300px;
    width: 300px;
  }

  /* Metrics Mobile Fix */
  .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .metric {
    flex: none;
    width: 100%;
  }
}

/* FOOTER (if you have one) */
footer {
  background: var(--brand-black);
  color: var(--bg-white);
  padding: 2rem;
  text-align: center;
}

footer p {
  color: var(--brand-gray-light);
}

footer a {
  color: var(--accent-primary);
}

footer a:hover {
  color: var(--bg-white);
}

/* Skip Link Styling */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--bg-accent);
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.3s;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}