/* 
  =========================================
  MEET - PREMIUM PORTFOLIO DESIGN SYSTEM
  =========================================
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Color Palette */
  --bg-darker: #020617;
  --bg-dark: #0b1329;
  --bg-card: rgba(17, 25, 40, 0.5);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.2);
  
  --primary: #6366f1;       /* Indigo */
  --primary-glow: rgba(99, 102, 241, 0.4);
  --secondary: #06b6d4;     /* Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.4);
  --accent: #34d399;        /* Emerald */
  
  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* System font fallbacks */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-darker);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.07) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Base Layout Containers */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
}

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

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Glassmorphism Helper Classes */
.glass-effect {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
}

/* 
  =========================================
  1. HEADER & NAVIGATION
  =========================================
*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
}

header.scrolled {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span.dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 2s infinite;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-normal);
}

nav ul li a:hover {
  color: var(--text-white);
}

nav ul li a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 10px 24px;
  border-radius: 30px;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px var(--primary-glow);
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* 
  =========================================
  2. HERO SECTION
  =========================================
*/
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 50px;
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge span.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-simple 1.5s infinite;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px var(--primary-glow);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  border-color: var(--text-muted);
}

/* Floating Abstract Element for Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glowing-globe {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.glowing-globe::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 60%);
  top: 20px;
  left: -20px;
  animation: float 8s ease-in-out infinite reverse;
}

.globe-content {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.globe-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-heading);
}

.globe-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 8px;
}

/* 
  =========================================
  3. PORTFOLIO SHOWCASE SECTION
  =========================================
*/
.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
  margin-top: 8px;
}

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

.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  height: 480px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition-normal);
  pointer-events: none;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--border-glow);
}

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

.card-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: var(--transition-slow);
}

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

/* Card Hover Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 41, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 2;
}

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

.overlay-btn {
  background: var(--text-white);
  color: var(--bg-darker);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.overlay-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.overlay-link {
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--text-muted);
  padding-bottom: 2px;
}

.overlay-link:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

/* Card Details Bottom */
.card-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(17, 25, 40, 0.3) 0%, rgba(17, 25, 40, 0.7) 100%);
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.portfolio-card:hover .tag {
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--text-white);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.portfolio-card:hover .card-title {
  color: var(--secondary);
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 15px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  font-size: 0.85rem;
}

.card-footer span.client-type {
  color: var(--text-muted);
  font-weight: 500;
}

.card-footer a.btn-text {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.portfolio-card:hover .card-footer a.btn-text {
  color: var(--secondary);
}

/* 
  =========================================
  4. INTERACTIVE MODAL (PREVIEW SYSTEM)
  =========================================
*/
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-container {
  width: 90%;
  max-width: 1000px;
  height: 85vh;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
}

/* Modal Content Left (Image Scroll) */
.modal-left {
  background: #020617;
  overflow-y: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 20px;
  border-right: 1px solid var(--border-color);
}

.modal-img-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.modal-img-container img {
  width: 100%;
  height: auto;
}

/* Modal Content Right (Details Scroll) */
.modal-right {
  padding: 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.modal-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--text-white);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-client {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.modal-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.modal-description {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-dark);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.meta-val {
  font-size: 0.9rem;
  font-weight: 500;
}

.modal-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

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

.modal-actions .btn {
  flex: 1;
  justify-content: center;
}

/* 
  =========================================
  5. ABOUT & EXPERTISE SECTION
  =========================================
*/
.about-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.visual-backdrop {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 24px;
  filter: blur(15px);
  opacity: 0.2;
  z-index: 0;
}

.about-card {
  position: relative;
  z-index: 1;
  padding: 40px;
  border-radius: 24px;
}

.about-lead {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 20px;
}

.about-p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 30px;
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skills-category {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skills-category h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  border-left: 3px solid var(--primary);
  padding-left: 10px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pill {
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.skill-pill:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.skill-pill svg {
  width: 16px;
  height: 16px;
}

/* 
  =========================================
  6. CONTACT & FOOTER SECTION
  =========================================
*/
#contact {
  position: relative;
  overflow: hidden;
}

.contact-card {
  padding: 60px;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background: linear-gradient(135deg, rgba(11, 19, 41, 0.6) 0%, rgba(2, 6, 23, 0.8) 100%);
  position: relative;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.contact-header h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
}

.channel-details span {
  display: block;
}

.channel-label {
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
}

.channel-val {
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 14px 20px;
  border-radius: 12px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.contact-form button {
  width: 100%;
  justify-content: center;
}

/* Footer Bottom styles */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background: #020617;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* 
  =========================================
  7. ANIMATIONS & KEYFRAMES
  =========================================
*/
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 10px var(--secondary);
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
    box-shadow: 0 0 18px var(--secondary);
  }
}

@keyframes pulse-simple {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.02);
  }
}

/* Scroll reveal helper values */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 
  =========================================
  8. RESPONSIVE MEDIA QUERIES
  =========================================
*/
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  .hero-visual {
    margin-top: 20px;
  }
  
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
  
  .modal-container {
    grid-template-columns: 1fr;
    height: 90vh;
  }
  
  .modal-left {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    max-height: 40vh;
  }
  
  .modal-right {
    padding: 30px;
    max-height: 50vh;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-title br {
    display: none;
  }
  
  nav {
    display: none; /* Mobile header uses Logo & Contact CTA only */
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-card {
    height: auto;
    min-height: 450px;
  }
  
  .card-img-wrapper {
    height: 200px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .footer-wrapper {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4rem;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .hero-description {
    font-size: 0.95rem;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .glowing-globe {
    width: 260px;
    height: 260px;
  }

  .globe-content {
    width: 200px;
    height: 200px;
    padding: 20px;
  }

  .globe-number {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .portfolio-card {
    min-height: 400px;
  }

  .card-body {
    padding: 20px;
  }

  .about-card {
    padding: 24px;
  }

  .about-lead {
    font-size: 1.2rem;
  }

  .about-p {
    font-size: 0.95rem;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .contact-header h3 {
    font-size: 1.8rem;
  }

  .modal-right {
    padding: 24px 20px;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .modal-actions {
    flex-direction: column;
    gap: 10px;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .modal-meta-grid {
    grid-template-columns: 1fr;
    padding: 15px;
  }
}
