/* ============================================
   REDDIES EVENTS AND GIFTING LIMITED
   Custom Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #5C2D91;
  --primary-dark: #3E1F63;
  --primary-light: #7B4BAF;
  --secondary: #C8102E;
  --secondary-dark: #A00D24;
  --accent-orange: #F58220;
  --accent-yellow: #FFD700;
  --accent-green: #2D6A2E;
  --accent-green-light: #4CAF50;
  --dark: #1A1A2E;
  --dark-muted: #3A3A4E;
  --gray-700: #495057;
  --gray-500: #6c757d;
  --gray-300: #dee2e6;
  --gray-100: #f1f3f5;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 12px rgba(92,45,145,0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Utility Classes --- */
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.text-accent { color: var(--accent-orange) !important; }
.text-dark-muted { color: var(--dark-muted) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-primary-dark { background-color: var(--primary-dark) !important; }
.bg-light-custom { background-color: var(--gray-100) !important; }
.bg-dark-custom { background-color: var(--dark) !important; }

.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.accent-line-center {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}

/* --- Buttons --- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(92,45,145,0.35);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 34px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-secondary-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-primary-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 34px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(92,45,145,0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-orange), #e0740d);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #e0740d, var(--accent-orange));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,130,32,0.35);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: none;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}

/* --- Navbar --- */
.navbar-custom {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: none;
  padding: 12px 0;
  transition: var(--transition);
  z-index: 1050;
}

.navbar-custom.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

.navbar-custom .navbar-brand img {
  height: 65px;
  transition: var(--transition);
}

.navbar-custom.scrolled .navbar-brand img {
  height: 50px;
}

.navbar-custom .nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  position: relative;
  transition: var(--transition);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary) !important;
}

.navbar-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.navbar-custom .btn-nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 8px;
  transition: var(--transition);
}

.navbar-custom .btn-nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

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

.navbar-custom .navbar-toggler {
  padding: 6px 10px;
  font-size: 1.2rem;
  color: var(--primary);
  outline: none;
  box-shadow: none;
}

.navbar-custom .navbar-toggler:focus {
  box-shadow: none;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  margin-top: 80px;
  padding: 20px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
  color: var(--white);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(245,130,32,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(255,215,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-title span {
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-yellow);
  margin-bottom: 0.25rem;
}

.hero-stat p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  max-width: 480px;
  margin-left: auto;
}

.hero-image-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  aspect-ratio: 1 / 0.85;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.hero-image-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}

.hero-image-card i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--accent-yellow);
}

.hero-image-card h5 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.hero-image-card:nth-child(1) { transform: none; }
.hero-image-card:nth-child(4) { transform: none; }

/* --- Services Section --- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray-300);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(92,45,145,0.08), rgba(92,45,145,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-icon i {
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.service-card .service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .service-link:hover {
  gap: 10px;
}

/* --- About Snapshot Section --- */
.about-snapshot {
  background: var(--gray-100);
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper .about-img-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}

.about-image-wrapper .about-img-placeholder i {
  font-size: 5rem;
  color: rgba(255,255,255,0.3);
}

.about-experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--accent-orange);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-experience-badge h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1;
}

.about-experience-badge p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  margin: 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.about-list li i {
  color: var(--accent-green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- Featured Work Section --- */
.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  height: 320px;
  background: var(--gray-300);
}

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

.portfolio-card .portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(92,45,145,0.2);
}

.portfolio-card .portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--transition);
}

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

.portfolio-overlay.always-visible {
  opacity: 1;
}

.portfolio-card:hover .portfolio-img,
.portfolio-card:hover .portfolio-placeholder {
  transform: scale(1.05);
}

.portfolio-overlay .badge-category {
  background: var(--accent-orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-overlay h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.portfolio-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin: 0;
}

/* --- Clientele / Trust Strip --- */
.clientele-section {
  background: var(--white);
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  transition: var(--transition);
}

.client-logo-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.client-logo-item img {
  max-height: 50px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.sector-badge {
  display: inline-block;
  background: rgba(92,45,145,0.06);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(92,45,145,0.12);
  transition: var(--transition);
}

.sector-badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(245,130,32,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--gray-300);
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.testimonial-stars {
  color: var(--accent-yellow);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author h6 {
  font-weight: 700;
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-author small {
  color: var(--gray-500);
  font-size: 0.8rem;
}

/* --- Page Header / Banner --- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 160px 0 80px;
  margin-top: 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(245,130,32,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  position: relative;
}

.page-header .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1rem;
  position: relative;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.page-header .breadcrumb-item.active {
  color: var(--accent-yellow);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

/* --- Forms --- */
.form-control-custom {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92,45,145,0.1);
  outline: none;
}

.form-label-custom {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

/* --- Process Steps --- */
.process-step {
  text-align: center;
  padding: 24px;
  position: relative;
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}

.process-step h5 {
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}

/* --- FAQ --- */
.faq-accordion .accordion-item {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  padding: 18px 24px;
  background: var(--white);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(92,45,145,0.04);
  color: var(--primary);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-body {
  padding: 0 24px 20px;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.footer p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent-orange);
  font-size: 1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-item p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 60px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 1040;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 100px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* --- Contact Info Card --- */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--gray-300);
  transition: var(--transition);
  height: 100%;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(92,45,145,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-info-icon i {
  font-size: 1.4rem;
  color: var(--primary);
}

/* --- Service Detail Page --- */
.service-detail-features {
  list-style: none;
  padding: 0;
}

.service-detail-features li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.service-detail-features li:last-child {
  border-bottom: none;
}

.service-detail-features li i {
  color: var(--accent-green);
  margin-top: 3px;
  flex-shrink: 0;
}

.use-case-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}

.use-case-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.use-case-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  margin-bottom: 10px;
  transition: var(--transition);
}

.deliverable-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.deliverable-item i {
  color: var(--primary);
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Portfolio Page --- */
.portfolio-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.portfolio-filter .filter-btn {
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-filter .filter-btn:hover,
.portfolio-filter .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.portfolio-detail-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  transition: var(--transition);
  height: 100%;
}

.portfolio-detail-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.portfolio-detail-card .card-img-area {
  height: 240px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-detail-card .card-img-area i {
  font-size: 3rem;
  color: rgba(92,45,145,0.15);
}

.portfolio-detail-card .card-body {
  padding: 24px;
}

.portfolio-detail-card .badge-cat {
  background: rgba(92,45,145,0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */

/* Tablet landscape and below */
@media (max-width: 991.98px) {
  .hero-title { font-size: 2.5rem; }
  h1 { font-size: 2.25rem; }
  h2, .section-title { font-size: 1.85rem; }
  .section-padding { padding: 70px 0; }
  .hero-section { min-height: auto; padding: 80px 0 60px; margin-top: 70px; }
  .hero-stats { gap: 24px; }
  .hero-stat h3 { font-size: 2rem; }
  .hero-visual { margin-top: 3rem; }
  .form-card { padding: 32px; }
  .cta-banner h2 { font-size: 2rem; }
  .contact-info-card { padding: 24px; }
  .contact-info-card h5 { font-size: 1rem; }

  /* Mobile navbar */
  .navbar-custom { padding: 8px 0; }
  .navbar-custom .navbar-brand img { height: 50px; }
  .navbar-custom .btn-nav-cta { margin-left: 0; margin-top: 10px; display: block; text-align: center; }
  .navbar-custom .nav-link { padding: 10px 16px !important; }
  .navbar-custom .nav-link.active::after { display: none; }
  .navbar-collapse { background: var(--white); border-radius: var(--radius-md); margin-top: 10px; padding: 10px; box-shadow: var(--shadow-md); }
  .navbar-custom .dropdown-menu { border: none; box-shadow: none; padding-left: 16px; }

  /* Portfolio cards always show overlay on touch devices */
  .portfolio-card .portfolio-overlay { opacity: 1; }
}

/* Tablet portrait and below */
@media (max-width: 767.98px) {
  .hero-title { font-size: 2rem; }
  h1 { font-size: 1.85rem; }
  h2, .section-title { font-size: 1.6rem; }
  .section-padding { padding: 50px 0; }
  .section-padding-sm { padding: 40px 0; }
  .hero-section { padding: 60px 0 50px; margin-top: 65px; }
  .hero-text { font-size: 1.05rem; margin-bottom: 1.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; margin-top: 2rem; padding-top: 1.5rem; }
  .hero-stat h3 { font-size: 1.75rem; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-secondary-custom {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }
  .hero-image-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
  .hero-image-card { padding: 16px; }
  .hero-image-card:nth-child(1) { transform: none; }
  .hero-image-card:nth-child(4) { transform: none; }
  .hero-image-card i { font-size: 2rem; margin-bottom: 8px; }
  .hero-image-card h5 { font-size: 0.8rem; }

  /* Forms */
  .form-card { padding: 24px; }
  .form-control-custom { padding: 12px 14px; font-size: 1rem; }

  /* Portfolio */
  .portfolio-card { height: 250px; }
  .portfolio-overlay { padding: 20px !important; }
  .portfolio-overlay h4 { font-size: 1rem; }

  /* Page header */
  .page-header { padding: 130px 0 50px; }
  .page-header p { font-size: 1rem; }

  /* CTA */
  .cta-banner h2 { font-size: 1.6rem; }
  .cta-banner p { font-size: 1rem; }
  .cta-banner .btn-primary-custom,
  .cta-banner .btn-accent { width: 100%; text-align: center; }

  /* About */
  .about-image-wrapper .about-img-placeholder { height: 300px; }
  .about-experience-badge { bottom: 16px; right: 16px; padding: 14px 18px; }
  .about-experience-badge h3 { font-size: 1.5rem; }
  .about-list li { font-size: 0.9rem; }

  /* Testimonials */
  .testimonial-card { padding: 24px; }
  .testimonial-text { font-size: 0.9rem; }

  /* Service cards — disable hover transform on touch */
  .service-card:hover { transform: none; }
  .service-card { padding: 28px 20px; }

  /* Contact */
  .contact-info-card { padding: 20px; }
  .contact-info-icon { width: 48px; height: 48px; margin-bottom: 14px; }

  /* Footer */
  .footer { padding-top: 50px; }
  .footer-bottom { margin-top: 40px; }

  /* Floating buttons */
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }
  .back-to-top { right: 80px; bottom: 20px; }
}

/* Mobile phones */
@media (max-width: 575.98px) {
  .hero-title { font-size: 1.75rem; line-height: 1.2; }
  .hero-text { font-size: 0.95rem; }
  .hero-badge { font-size: 0.78rem; padding: 6px 16px; }
  .hero-section { padding: 50px 0 40px; margin-top: 60px; }
  h1 { font-size: 1.6rem; }
  h2, .section-title { font-size: 1.4rem; }
  .section-subtitle { font-size: 0.95rem; }
  .section-padding { padding: 40px 0; }

  /* Buttons — full-width, touch-friendly sizing */
  .btn-primary-custom, .btn-accent, .btn-whatsapp { padding: 14px 24px; font-size: 0.95rem; width: 100%; text-align: center; }
  .btn-secondary-custom { padding: 14px 24px; font-size: 0.95rem; }
  .btn-outline-primary-custom { padding: 14px 24px; font-size: 0.95rem; width: 100%; text-align: center; }

  /* Page header */
  .page-header { padding: 120px 0 40px; }
  .page-header h1 { font-size: 1.5rem; }
  .page-header p { font-size: 0.9rem; }
  .page-header .breadcrumb-item, .page-header .breadcrumb-item a { font-size: 0.8rem; }

  /* Forms — larger touch targets */
  .form-card { padding: 20px 16px; }
  .form-control-custom { padding: 14px; font-size: 1rem; border-radius: var(--radius-sm); }
  .form-label-custom { font-size: 0.85rem; }

  /* Portfolio */
  .portfolio-card { height: 220px; }
  .portfolio-overlay h4 { font-size: 0.9rem; }
  .portfolio-overlay p { font-size: 0.8rem; }
  .badge-category { font-size: 0.7rem; padding: 4px 10px; }

  /* Service cards */
  .service-card { padding: 24px 16px; }
  .service-icon { width: 60px; height: 60px; }
  .service-icon i { font-size: 1.5rem; }
  .service-card h4 { font-size: 1.05rem; }
  .service-card p { font-size: 0.88rem; }

  /* About */
  .about-image-wrapper .about-img-placeholder { height: 250px; }
  .about-experience-badge { bottom: 12px; right: 12px; padding: 12px 14px; }
  .about-experience-badge h3 { font-size: 1.3rem; }

  /* CTA */
  .cta-banner h2 { font-size: 1.35rem; }
  .cta-banner p { font-size: 0.9rem; }

  /* Contact */
  .contact-info-card { padding: 18px; }
  .contact-info-card h5 { font-size: 0.95rem; }
  .contact-info-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .contact-info-icon i { font-size: 1.2rem; }

  /* Testimonials */
  .testimonial-card { padding: 20px; }
  .testimonial-text { font-size: 0.88rem; margin-bottom: 16px; }
  .testimonial-avatar { width: 40px; height: 40px; font-size: 0.95rem; }

  /* FAQ */
  .faq-accordion .accordion-button { padding: 14px 16px; font-size: 0.9rem; }
  .faq-accordion .accordion-body { padding: 0 16px 16px; font-size: 0.88rem; }

  /* Footer */
  .footer { padding-top: 40px; }
  .footer h5 { font-size: 1rem; margin-bottom: 16px; }
  .footer p { font-size: 0.85rem; }
  .footer-links a { font-size: 0.85rem; padding: 2px 0; }
  .footer-links li { margin-bottom: 8px; }
  .footer-bottom { margin-top: 30px; padding: 16px 0; }
  .footer-bottom p { font-size: 0.78rem; }
  .footer-social a { width: 36px; height: 36px; font-size: 0.85rem; }

  /* Navbar */
  .navbar-custom .navbar-brand img { height: 45px; }
  .navbar-custom.scrolled .navbar-brand img { height: 40px; }

  /* Sector badges */
  .sector-badge { font-size: 0.78rem; padding: 8px 14px; }

  /* Process steps */
  .process-number { width: 48px; height: 48px; font-size: 1.1rem; }
  .process-step h5 { font-size: 0.95rem; }
  .process-step p { font-size: 0.85rem; }

  /* Service detail */
  .service-detail-features li { font-size: 0.88rem; padding: 8px 0; }
}

/* --- Loading / Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-300);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
