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

:root {
  --primary: #0a1c3d;         /* Deep Luxurious Navy */
  --primary-light: #122c5e;   /* Medium Navy for depth */
  --primary-dark: #050f24;    /* Rich, dark off-black */
  --accent: #d4af37;          /* Premium Metallic Gold */
  --accent-hover: #bca031;    /* Darker Gold on hover */
  --accent-rgb: 212, 175, 55; /* RGB for translucent overlays */
  --bg-light: #f6f8fc;         /* Crisp, slightly cool background */
  --bg-white: #ffffff;
  --text-dark: #0f172a;        /* Elegant dark slate */
  --text-muted: #475569;       /* Professional gray */
  --text-light: #f8fafc;       /* Off-white */
  --success: #10b981;          /* Emerald Success */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius: 16px;
  --border-radius-lg: 32px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px -3px rgba(10, 28, 61, 0.08), 0 4px 6px -4px rgba(10, 28, 61, 0.08);
  --shadow-lg: 0 25px 40px -10px rgba(10, 28, 61, 0.15), 0 10px 15px -5px rgba(10, 28, 61, 0.1);
  --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.3);
}

/* Base resets & global styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for sticky header */
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Selection & Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border: 2px solid var(--bg-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

::selection {
  background-color: rgba(var(--accent-rgb), 0.3);
  color: var(--primary-dark);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Shared structural classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

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

.section-header p {
  font-size: 1.1rem;
}

/* Buttons and interactive controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-light);
}

.btn-outline-white:hover {
  background-color: var(--bg-white);
  color: var(--primary);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 24px 0;
}

header.scrolled {
  background-color: rgba(10, 28, 61, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.nav-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

header.scrolled .nav-logo {
  height: 40px;
}

.nav-brand-container {
  display: flex;
  flex-direction: column;
}

.nav-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: 1px;
  line-height: 1.1;
  transition: var(--transition);
}

.nav-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
}

header.scrolled .nav-brand {
  color: var(--bg-white);
}

header.scrolled .nav-tagline {
  color: rgba(255, 255, 255, 0.6);
}

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

nav a {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

header.scrolled nav a {
  color: var(--text-light);
}

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

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

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

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

.nav-btn {
  display: inline-flex;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin-bottom: 6px;
  transition: var(--transition);
}

.mobile-nav-toggle span:last-child {
  margin-bottom: 0;
}

header.scrolled .mobile-nav-toggle span {
  background-color: var(--bg-white);
}

/* Active Menu State */
.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(240, 245, 255, 1) 0%, rgba(228, 238, 252, 1) 90.1%);
  padding: 180px 0 120px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  background-color: rgba(10, 28, 61, 0.05);
  border: 1px solid rgba(10, 28, 61, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
  display: block;
}

.hero h1 strong {
  background: linear-gradient(135deg, var(--primary) 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 580px;
}

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

/* Floating Image Collage */
.hero-visual {
  position: relative;
  width: 100%;
  height: 480px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.collage-base {
  width: 75%;
  height: 380px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  transition: var(--transition);
}

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

.collage-overlay {
  width: 50%;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border: 6px solid var(--bg-white);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  transition: var(--transition);
  transform: rotate(-3deg);
}

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

.collage-experience-card {
  position: absolute;
  bottom: 40px;
  right: -20px;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  width: 200px;
  border-left: 5px solid var(--accent);
  transition: var(--transition);
}

.collage-experience-card .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.collage-experience-card .text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hover effects for collage */
.hero-visual:hover .collage-base {
  transform: scale(1.02) translateY(-5px);
}

.hero-visual:hover .collage-overlay {
  transform: scale(1.05) translateY(-8px) rotate(-1deg);
}

.hero-visual:hover .collage-experience-card {
  transform: scale(1.05) translateX(5px);
}

/* Stats Counter Section */
.stats-section {
  background-color: var(--primary-dark);
  padding: 60px 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  color: var(--text-light);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -15px;
  width: 1px;
  height: 70%;
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-item:last-child::after {
  display: none;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* Services Section */
.services-section {
  background-color: var(--bg-light);
}

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

.service-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 28, 61, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-icon-wrapper {
  width: 65px;
  height: 65px;
  background-color: rgba(10, 28, 61, 0.05);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  transition: var(--transition);
}

.service-icon-wrapper svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  transition: var(--transition);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Service card hover state */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
  background-color: var(--accent);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary);
  color: var(--accent);
}

.service-card:hover h3 {
  color: var(--primary-light);
}

/* About / Profil Section */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 480px;
}

.about-image {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  filter: brightness(0.95);
}

.about-floating-card {
  position: absolute;
  top: -30px;
  left: -30px;
  background-color: var(--accent);
  color: var(--primary-dark);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  z-index: 10;
}

.about-floating-card p {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
}

.about-floating-card .sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
  opacity: 0.8;
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-content h2 span {
  color: var(--accent);
}

.about-paragraph {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text-dark);
  font-weight: 500;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--accent-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.about-feature-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.about-feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 0.85rem;
}

/* Portfolio Gallery Section */
.portfolio-section {
  background-color: var(--bg-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Make wide items for dynamic layout (design variance) */
.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background-color: var(--bg-light);
  transition: var(--transition);
}

.portfolio-item:nth-child(3n + 1) {
  grid-column: span 2;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 28, 61, 0.92) 10%, rgba(10, 28, 61, 0.4) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
  z-index: 2;
}

.portfolio-zoom-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition);
}

.portfolio-zoom-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.portfolio-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  transform: translateY(15px);
  transition: var(--transition);
}

.portfolio-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  transform: translateY(15px);
  transition: var(--transition);
}

/* Portfolio Hover Transitions */
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.08);
}

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

.portfolio-item:hover .portfolio-zoom-icon {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item:hover .portfolio-category,
.portfolio-item:hover .portfolio-title {
  transform: translateY(0);
}

/* Modern Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 15, 36, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 40px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92);
  transition: var(--transition);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  margin-top: 20px;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.lightbox-close:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
}

/* Contact Section & Form */
.contact-section {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: stretch;
}

.contact-info-card {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-info-header h3 {
  color: var(--bg-white);
  font-size: 1.85rem;
  margin-bottom: 16px;
}

.contact-info-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.contact-details-list {
  list-style: none;
  margin: 40px 0;
}

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

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-detail-text h4 {
  color: var(--bg-white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-detail-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10, 28, 61, 0.05);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-control {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  background-color: var(--bg-light);
  border: 1.5px solid transparent;
  border-radius: var(--border-radius-sm);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus {
  outline: none;
  background-color: var(--bg-white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-wrapper {
  margin-top: 10px;
}

.btn-form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Form Message States */
.form-response-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
}

.form-response-message.success {
  display: block;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-response-message.error {
  display: block;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Spinner for AJAX Form Submit */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-dark);
  animation: spin 1s ease-in-out infinite;
}

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

/* Footer Section */
footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-about {
  display: flex;
  flex-direction: column;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo {
  height: 45px;
  width: auto;
}

.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--bg-white);
  letter-spacing: 0.5px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2.5px;
  background-color: var(--accent);
  border-radius: 2px;
}

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

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-details {
  list-style: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-copyright a {
  color: var(--accent);
  text-decoration: none;
}

.footer-secondary-links {
  display: flex;
  gap: 20px;
}

.footer-secondary-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: var(--transition);
}

.footer-secondary-links a:hover {
  color: var(--accent);
}

/* Floating Actions & Widgets */
.floating-whatsapp {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
}

.whatsapp-icon-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.whatsapp-icon-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-icon-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.3);
  z-index: -1;
  animation: pulseWave 2s infinite;
}

.whatsapp-icon-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.back-to-top {
  position: fixed;
  left: 30px;
  bottom: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: var(--transition);
}

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

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseWave {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-item:nth-child(3n + 1) {
    grid-column: span 1;
  }
  .portfolio-item:nth-child(4n + 1) {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-visual {
    height: 420px;
    max-width: 550px;
    margin: 0 auto;
  }
  .collage-base {
    height: 340px;
  }
  .collage-overlay {
    height: 220px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-visual {
    height: 400px;
    max-width: 550px;
    margin: 0 auto;
  }
  .about-floating-card {
    top: -20px;
    left: -20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .stat-item::after {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1.2fr 1fr;
  }
  .footer-contact {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-header h2 {
    font-size: 1.85rem;
  }
  
  /* Mobile Navigation Drawer */
  .mobile-nav-toggle {
    display: block;
    margin-left: auto;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  }
  
  nav.open {
    right: 0;
  }
  
  nav a {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 12px 0;
    width: 100%;
  }
  
  .nav-btn {
    margin-top: 24px;
    width: 100%;
  }
  
  .nav-btn .btn {
    width: 100%;
  }
  
  .hero {
    padding: 140px 0 80px 0;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-description {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-item:nth-child(4n + 1) {
    grid-column: span 1;
  }
  .portfolio-item {
    height: 220px;
  }
  
  .contact-info-card {
    padding: 30px;
  }
  .contact-form-card {
    padding: 30px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-full-width {
    grid-column: span 1;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-contact {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .floating-whatsapp {
    right: 20px;
    bottom: 20px;
  }
  .whatsapp-icon-btn {
    width: 52px;
    height: 52px;
  }
  .whatsapp-icon-btn svg {
    width: 28px;
    height: 28px;
  }
  .back-to-top {
    left: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-item {
    height: 240px;
  }
  .about-visual {
    height: 320px;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
}
