@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&family=Sora:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Default Theme Variable Maps (Corporate Elegance Default) */
:root {
  --primary: #0F172A;
  --secondary: #1E293B;
  --accent: #C5A880;
  --accent-rgb: 197, 168, 128;
  --text: #334155;
  --text-muted: #64748B;
  --background: #F8FAFC;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --header-bg: rgba(255, 255, 255, 0.9);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --radius: 4px;
  --border-wt: 1px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow: none;
}

/* Theme overrides */
body.theme-corporate {
  --primary: #0F172A;
  --secondary: #1E293B;
  --accent: #C5A880;
  --accent-rgb: 197, 168, 128;
  --text: #334155;
  --text-muted: #64748B;
  --background: #F8FAFC;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --header-bg: rgba(255, 255, 255, 0.9);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 4px;
  --border-wt: 1px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --glow: none;
}

body.theme-minimalist {
  --primary: #111111;
  --secondary: #444444;
  --accent: #000000;
  --accent-rgb: 0, 0, 0;
  --text: #222222;
  --text-muted: #666666;
  --background: #FFFFFF;
  --card-bg: #FFFFFF;
  --border: #E5E5E5;
  --header-bg: rgba(255, 255, 255, 0.95);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --radius: 0px;
  --border-wt: 1px;
  --shadow: none;
  --shadow-hover: none;
  --glow: none;
}

body.theme-tech {
  --primary: #0B0F19;
  --secondary: #1E1B4B;
  --accent: #00F2FE;
  --accent-rgb: 0, 242, 254;
  --text: #94A3B8;
  --text-muted: #64748B;
  --background: #030712;
  --card-bg: rgba(17, 24, 39, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(3, 7, 18, 0.85);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Sora', sans-serif;
  --radius: 12px;
  --border-wt: 1px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 0 25px rgba(0, 242, 254, 0.35);
  --glow: 0 0 15px rgba(0, 242, 254, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease, font-family 0.4s ease;
  overflow-x: hidden;
}

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

body.theme-tech h1, 
body.theme-tech h2, 
body.theme-tech h3, 
body.theme-tech h4, 
body.theme-tech h5, 
body.theme-tech h6 {
  color: #FFFFFF;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Header & Nav */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--header-bg);
  border-bottom: var(--border-wt) solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

header.site-header.scrolled {
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

header.site-header.scrolled .header-container {
  padding: 0.4rem 2rem;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
}
body.theme-tech .logo a {
  color: #FFFFFF;
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-selector {
  background: transparent;
  border: var(--border-wt) solid var(--border);
  color: var(--text);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  outline: none;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}
body.theme-tech .lang-selector {
  background: var(--secondary);
}

.btn-admin {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-admin:hover {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--glow);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

body.theme-tech .mobile-toggle span {
  background-color: #FFFFFF;
}

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

/* Main Layout */
main {
  margin-top: 80px;
}

/* Section Common */
.section {
  padding: 6rem 2rem;
  scroll-margin-top: 90px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

body.theme-corporate .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 0.75rem auto 0 auto;
}

body.theme-minimalist .section-title {
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.theme-tech .section-subtitle {
  color: #94A3B8;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.theme-corporate .hero-overlay {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.theme-minimalist .hero-overlay {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border);
}

.theme-tech .hero-overlay {
  background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.15) 0%, rgba(3, 7, 18, 0.9) 80%);
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
}

.theme-minimalist .hero-container {
  color: #111111;
  text-align: left;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -1px;
}

.theme-corporate .hero-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
}

.theme-tech .hero-title {
  font-size: 4rem;
  background: linear-gradient(to right, #FFFFFF, #94A3B8, #00F2FE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  line-height: 1.6;
}

.theme-minimalist .hero-subtext {
  margin-left: 0;
  color: #333333;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.theme-minimalist .hero-actions {
  justify-content: flex-start;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  padding: 1rem 2.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: var(--border-wt) solid var(--accent);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.theme-minimalist .btn-primary {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.theme-minimalist .btn-primary:hover {
  background-color: transparent;
  color: #000000;
  border-color: #000000;
  transform: none;
}

.theme-tech .btn-primary {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #0B0F19;
  border: none;
}

.theme-tech .btn-primary:hover {
  background: transparent;
  color: #00F2FE;
  border: 1px solid #00F2FE;
}

/* Service Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: var(--card-bg);
  border: var(--border-wt) solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.theme-tech .service-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background-color: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 2rem;
  transition: var(--transition);
}

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

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

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

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-wt) solid var(--border);
}

/* Infographics / Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: var(--border-wt) solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-section .stats-grid {
  border-top: none;
  margin-top: 3.5rem;
  padding-top: 0;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

body.theme-minimalist .hero-section .stat-label {
  color: #666666;
}

/* Team Profiles */
.team-container {
  margin-top: 6rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  justify-content: center;
}

.team-card {
  background-color: var(--card-bg);
  border: var(--border-wt) solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.team-image {
  height: auto;
  overflow: hidden;
  position: relative;
  background-color: var(--border);
}

.team-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

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

.team-info {
  padding: 2rem;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.team-social-link:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* Portfolio Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: var(--border-wt) solid var(--border);
  color: var(--text);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  border: var(--border-wt) solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-img-wrapper {
  width: 100%;
  height: 100%;
  background-color: var(--border);
  position: relative;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition);
  color: #FFFFFF;
}

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

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

.portfolio-cat {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.portfolio-title-text {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.portfolio-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background-color: var(--card-bg);
  border: var(--border-wt) solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.5rem;
  transition: var(--transition);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

.contact-form-wrapper {
  background-color: var(--card-bg);
  border: var(--border-wt) solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
}

body.theme-tech .form-group label {
  color: #FFFFFF;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  border: var(--border-wt) solid var(--border);
  background-color: var(--background);
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.15);
}

.btn-submit {
  background-color: var(--primary);
  color: #FFFFFF;
  border: var(--border-wt) solid var(--primary);
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--glow);
}

body.theme-tech .btn-submit {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #0B0F19;
  border: none;
}

/* Map Wrapper */
.map-section {
  padding: 0;
  height: 450px;
  border-top: var(--border-wt) solid var(--border);
  border-bottom: var(--border-wt) solid var(--border);
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer.site-footer {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 4rem 2rem 2rem 2rem;
  border-top: var(--border-wt) solid var(--border);
  transition: var(--transition);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-nav-link:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social-link:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.footer-bottom {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-admin-link {
  color: var(--accent);
  font-weight: 600;
}

/* Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Admin Dashboard UI */
.admin-layout {
  min-height: 100vh;
  display: flex;
  background-color: #0F172A;
  color: #F8FAFC;
  font-family: 'Inter', sans-serif;
}

.admin-sidebar {
  width: 280px;
  background-color: #1E293B;
  border-right: 1px solid #334155;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-logo-area {
  padding: 2rem;
  border-bottom: 1px solid #334155;
}

.admin-logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-logo-sub {
  font-size: 0.75rem;
  color: #38BDF8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.admin-menu-list {
  list-style: none;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.admin-menu-item button {
  width: 100%;
  background: transparent;
  border: none;
  color: #94A3B8;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.admin-menu-item button:hover, .admin-menu-item.active button {
  color: #FFFFFF;
  background-color: #334155;
}

.admin-menu-item.active button {
  color: #38BDF8;
  background-color: #0F172A;
}

.admin-footer-actions {
  padding: 1.5rem;
  border-top: 1px solid #334155;
}

.btn-admin-logout {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(239, 68, 68, 0.1);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-admin-logout:hover {
  background-color: #EF4444;
  color: #FFFFFF;
}

.admin-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.admin-header {
  height: 80px;
  background-color: #1E293B;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
}

.admin-title-container h2 {
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  font-size: 1.5rem;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-save-cms {
  background-color: #38BDF8;
  color: #0F172A;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-save-cms:hover {
  background-color: #0EA5E9;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.btn-view-site {
  background-color: transparent;
  color: #94A3B8;
  border: 1px solid #475569;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-view-site:hover {
  color: #FFFFFF;
  border-color: #94A3B8;
}

.admin-content {
  padding: 3rem;
  overflow-y: auto;
  flex-grow: 1;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

/* Card / Section styling inside Admin */
.admin-card {
  background-color: #1E293B;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.admin-card-header {
  border-bottom: 1px solid #334155;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* Forms inside Admin */
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.admin-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-form-control {
  background-color: #0F172A;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: #F8FAFC;
  outline: none;
  transition: all 0.2s ease;
}

.admin-form-control:focus {
  border-color: #38BDF8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}

.admin-form-select {
  background-color: #0F172A;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: #F8FAFC;
  outline: none;
  cursor: pointer;
}

/* Theme settings panel specific */
.theme-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.theme-card-option {
  border: 2px solid #334155;
  background-color: #0F172A;
  border-radius: 8px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.theme-card-option:hover {
  border-color: #475569;
}

.theme-card-option.selected {
  border-color: #38BDF8;
  background-color: rgba(56, 189, 248, 0.05);
}

.theme-card-option.selected::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 15px;
  color: #38BDF8;
  font-weight: bold;
  font-size: 1.2rem;
}

.theme-name-opt {
  font-weight: bold;
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.theme-desc-opt {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

.theme-palette-preview {
  display: flex;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.theme-color-swatch {
  flex-grow: 1;
}

/* Submissions View */
.submissions-table-wrapper {
  overflow-x: auto;
}

.submissions-table {
  width: 100%;
  border-collapse: collapse;
}

.submissions-table th, .submissions-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #334155;
}

.submissions-table th {
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.submissions-table td {
  font-size: 0.9rem;
}

.submissions-table tr:hover td {
  background-color: #334155;
}

.btn-delete-sub {
  background: transparent;
  border: 1px solid #EF4444;
  color: #F87171;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-delete-sub:hover {
  background-color: #EF4444;
  color: #FFFFFF;
}

/* Upload area inside Admin */
.upload-dropzone {
  border: 2px dashed #334155;
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-dropzone:hover {
  border-color: #38BDF8;
  background-color: rgba(56, 189, 248, 0.02);
}

.upload-icon {
  font-size: 2rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

.upload-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  background-color: #0F172A;
  padding: 0.5rem;
  border-radius: 4px;
}

.upload-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.upload-preview-url {
  font-size: 0.8rem;
  color: #38BDF8;
  word-break: break-all;
}

/* CRUD Items grid inside Admin (for Services, Portfolios, Teams) */
.crud-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.crud-item {
  background-color: #0F172A;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.crud-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.crud-thumb {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
  object-position: top center;
  background-color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crud-details h4 {
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.crud-details p {
  color: #94A3B8;
  font-size: 0.8rem;
}

.crud-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-edit-crud, .btn-delete-crud {
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.btn-edit-crud {
  background-color: #334155;
  color: #E2E8F0;
  border: 1px solid #475569;
}

.btn-edit-crud:hover {
  background-color: #475569;
}

.btn-delete-crud {
  background-color: rgba(239, 68, 68, 0.1);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-delete-crud:hover {
  background-color: #EF4444;
  color: #FFFFFF;
}

.btn-add-crud {
  background-color: rgba(56, 189, 248, 0.1);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-add-crud:hover {
  background-color: #38BDF8;
  color: #0F172A;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #10B981;
  color: #FFFFFF;
  padding: 1rem 2rem;
  border-radius: 6px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  z-index: 2000;
  transform: translateY(calc(100% + 2.5rem));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  transform: translateY(0);
}

.toast-msg.error {
  background-color: #EF4444;
}

/* Analytics Dashboard cards */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.analytics-card {
  background-color: #1E293B;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 1.5rem;
}

.analytics-lbl {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.analytics-val {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.analytics-trend {
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.trend-up {
  color: #34D399;
}

.trend-down {
  color: #F87171;
}

.analytics-charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.chart-holder {
  height: 300px;
  position: relative;
}

/* Admin Modal */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.admin-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal-content {
  background-color: #1E293B;
  border: 1px solid #334155;
  border-radius: 8px;
  width: 500px;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal.show .admin-modal-content {
  transform: scale(1);
}

.admin-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-modal-header h3 {
  color: #FFFFFF;
  margin: 0;
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.admin-modal-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.admin-modal-close:hover {
  color: #FFFFFF;
}

.admin-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

.admin-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-modal-cancel {
  background-color: transparent;
  color: #94A3B8;
  border: 1px solid #475569;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-modal-submit {
  background-color: #38BDF8;
  color: #0F172A;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

/* Simple Login Screen Overlay */
.admin-login-body {
  background-color: #0F172A;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}

.login-card {
  background-color: #1E293B;
  border: 1px solid #334155;
  border-radius: 8px;
  width: 400px;
  max-width: 90%;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.login-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: #94A3B8;
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
}

.login-btn {
  background-color: #38BDF8;
  color: #0F172A;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  width: 100%;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.login-btn:hover {
  background-color: #0EA5E9;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.login-error {
  color: #F87171;
  font-size: 0.85rem;
  margin-top: 1rem;
  display: none;
}

/* Responsive Grid and Media Queries */
@media (max-width: 992px) {
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .analytics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .analytics-charts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--background);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 3rem;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: var(--border-wt) solid var(--border);
  }
  
  body.theme-tech .nav-menu {
    background-color: var(--primary);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.25rem;
    display: block;
    width: 100%;
  }
  
  .nav-actions {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .lang-selector, .btn-admin {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtext {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .admin-layout {
    flex-direction: column;
  }
  
  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #334155;
  }
  
  .admin-header {
    padding: 0 1.5rem;
    flex-direction: column;
    height: auto;
    padding: 1.5rem;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .admin-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .admin-content {
    padding: 1.5rem;
  }
  
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-form-group.full-width {
    grid-column: span 1;
  }
  
  .theme-selector-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

/* Layout & Spacing Panel Styles */
.layout-sections-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.layout-section-item {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  cursor: grab;
  user-select: none;
  transition: all 0.2s ease;
}

.layout-section-item:hover {
  border-color: #38bdf8;
  background-color: #243146;
}

.layout-section-item.dragging {
  opacity: 0.4;
  border-style: dashed;
  background-color: #0f172a;
}

.layout-drag-handle {
  font-size: 1.5rem;
  color: #64748b;
  cursor: grab;
}

.layout-section-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  min-width: 160px;
}

.layout-spacing-controls {
  display: flex;
  gap: 2rem;
  flex-grow: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.layout-spacing-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.layout-spacing-control label {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

.layout-padding-slider {
  width: 120px;
  cursor: pointer;
  accent-color: #38bdf8;
}

.layout-padding-val {
  font-family: monospace;
  font-size: 0.9rem;
  color: #38bdf8;
  width: 50px;
  text-align: right;
}

/* Buyers scrolling marquee styles */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  gap: 3rem;
  padding: 2rem 0;
  position: relative;
  width: 100%;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  height: 100%;
  width: 150px;
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  top: 0;
  background: linear-gradient(to right, var(--background) 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  top: 0;
  background: linear-gradient(to left, var(--background) 0%, transparent 100%);
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-width: 100%;
  gap: 3rem;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 180px;
  transition: all 0.3s ease;
}

.marquee-item img {
  max-height: 55px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.3s ease;
}

.marquee-item img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 3rem));
  }
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}


