:root {
  /* Professional Navy Color Scheme */
  --primary: #0F1E46;       /* Dark Navy */
  --primary-dark: #0A142D;   /* Darker Navy */
  --primary-light: #3A5FCD;  /* Bright Blue */
  --secondary: #FFAE42;      /* Golden Accent */
  --tertiary: #C2DBFF;       /* Light, complementary blue */

  /* Background & Text */
  --bg: #FFFFFF;            /* Pure White */
  --bg-alt: #F5F8FA;        /* Light Gray-Blue */
  --dark: #0F1E46;          /* Navy (Headings) */
  --medium: #4A5B7A;        /* Muted Blue-Gray */
  --muted: #6B7B95;         /* Lighter Blue-Gray */
  
  /* UI Elements */
  --border: #D6E3F5;        /* Very Light Blue Border */
  --chip: #E8F0FE;          /* Light Blue Chip BG */
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 30, 70, 0.1);
  --shadow-md: 0 4px 6px rgba(15, 30, 70, 0.15);
  --shadow-lg: 0 10px 15px rgba(15, 30, 70, 0.2);
  --shadow-xl: 0 15px 25px rgba(15, 30, 70, 0.25);
  
  /* Border Radius */
  --radius: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--medium);
  background-color: var(--bg);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--dark);
  line-height: 1.2;
}

.intro-greeting {
  font-size: clamp(28px, 4vw, 40px);
}

.name-highlight {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--secondary);
}

/* Layout */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section.alt {
  background-color: var(--bg-alt);
  border-radius: var(--radius-lg);
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}

.section-head {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 1rem;
}

.btn i {
  font-size: 0.9em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--dark);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Enhanced Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: white;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
  letter-spacing: 0.5px;
}

.primary-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: white;
}

.primary-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  padding: 120px 0;
  background: var(--primary);
  color: white;
}

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

.headline {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.headline .accent {
  color: var(--secondary);
}

.subhead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin: 30px 0;
}

.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.badge i {
  color: var(--secondary);
}

/* Portrait Styling */
.hero-media {
  position: relative;
}

.designer-portrait {
  width: 320px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-left: auto;
  position: relative;
  border: 5px solid white;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stats-card {
  position: absolute;
  bottom: -25px;
  right: 30px;
  display: flex;
  gap: 20px;
  background: white;
  padding: 18px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Featured Work */
.showcase-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.showcase-item {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.showcase-media {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--chip);
}

.media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 3rem;
}

.media-placeholder.motion {
  background: linear-gradient(135deg, var(--primary), #6366F1);
  color: white;
}

.media-placeholder.poster {
  background: linear-gradient(135deg, var(--secondary), #EC4899);
  color: white;
}

.showcase-caption {
  padding: 20px;
}

.showcase-caption h3 {
  margin-bottom: 8px;
}

.showcase-caption p {
  color: var(--muted);
  margin-bottom: 15px;
}

.view-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.view-link:hover {
  color: var(--primary-light);
  gap: 8px;
}

.more-work {
  text-align: center;
  margin-top: 40px;
}

/* Video Section */
.video-embed {
  max-width: 900px;
  margin: 0 auto;
}

.video-aspect {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-aspect iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* CTA Section */
.cta-container {
  max-width: 800px;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 30px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #1A2A4A, #1E2B4A);
  color: white;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.f-brand .brand-mark {
  background: white;
  color: var(--primary);
}

.f-brand .brand-text {
  color: white;
}

.f-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

.f-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-links h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.f-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.f-links a:hover {
  color: white;
}

.f-contact h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--primary-light);
  transform: translateY(-3px) scale(1.1);
}

.copyright {
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-lg);
  z-index: 90;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--primary-dark);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

/* Mobile styles */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .designer-portrait {
    width: 260px;
    height: 300px;
    margin: 0 auto;
  }
  
  .stats-card {
    right: 0;
    left: 0;
    margin: 0 auto;
    bottom: -15px;
  }
  
  .menu-toggle {
    display: grid;
    place-items: center;
  }
  
  .primary-nav ul {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 90;
  }
  
  .primary-nav ul.open {
    transform: translateY(0);
  }
  
  .primary-nav a {
    font-size: 1.2rem;
    padding: 12px 0;
  }
  
  .testimonial-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
}






/* Portfolio Specific Styles */
.portfolio-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.portfolio-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
  opacity: 0.8;
}

.portfolio-header-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.portfolio-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
  line-height: 1.1;
}

.portfolio-header-desc {
  max-width: 800px;
}



.portfolio-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.portfolio-filters {
  background: var(--bg-alt);
  padding: 20px 0;
  position: sticky;
  top: 72px;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.portfolio-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  color: var(--secondary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}


.filter-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--medium);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.portfolio-grid .grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  width: 100%; /* Ensure it takes full width of grid cell */
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.portfolio-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.website-preview {
  display: flex;
  height: auto; 
  min-height: 400px; 
}
.website-preview img {
  flex: 1;
  object-fit: contain; 
  border-right: 1px solid var(--border);
  height: auto;
  max-height: 500px; 
}

.template-showcase {
  padding: 20px;
  overflow: hidden;
  max-width: 1400px; 
  margin: 0 auto;
}

.template-header {
  padding: 30px;
  border-bottom: 1px solid var(--border);
}

.template-header h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.template-header p {
  color: var(--muted);
}

.template-preview-container {
  display: flex;
  flex-direction: column;
}

.template-devices {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  padding: 40px;
  background: var(--bg-alt);
}
.device-frame {
  position: relative;
  background: #f1f3f5;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.device-frame.desktop {
  width: 100%;
  max-width: 800px;
  padding-bottom: 56.25%;
  border-radius: 8px;
}

.device-frame.tablet {
  width: 360px;
  padding-bottom: 130%;
}

.device-frame.mobile {
  width: 180px;
  padding-bottom: 177%;
  margin-left: -60px;
}
.device-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-group {
  display: flex;
  align-items: flex-end;
}
.template-details {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  align-items: center;
}

.template-features h4 {
  margin-bottom: 15px;
  color: var(--dark);
}

.template-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.template-features li {
  margin-bottom: 8px;
  color: var(--medium);
  display: flex;
  align-items: center;
  gap: 8px;
}

.template-features i {
  color: var(--primary);
}
.template-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}


.website-preview img:last-child {
  border-right: none;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 2.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-image:hover .play-overlay {
  opacity: 1;
}

.portfolio-info {
  padding: 20px;
}

.portfolio-info h3 {
  margin-bottom: 8px;
  color: var(--dark);
}

.portfolio-info p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--chip);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--medium);
}
/* Template Fieldset Styling */
.template-fieldset {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 40px;
  background: white;
  box-shadow: var(--shadow-md);
}

.template-fieldset legend {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0 12px;
}
/* Full-width template showcase */
.full-width {
  width: 100%;
  max-width: 100%;
  margin: 60px 0;
  padding: 30px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-md);
}

.full-width legend {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0 12px;
}

/* New template images layout */
.template-images.highlight {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.template-images.highlight .large {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.secondary-images {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.secondary-images img {
  flex: 1;
  max-width: 48%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: contain;
}

@media (max-width: 768px) {
  .secondary-images {
    flex-direction: column;
  }
  
  .secondary-images img {
    max-width: 100%;
  }
}
/* Tools Section */
.tools-section {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 80px 0;
  margin: 40px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.tool-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.tool-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--dark);
}

.tool-card p {
  color: var(--muted);
  font-size: 0.95rem;
}
/* More Projects Card */
.more-projects .portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.more-projects-bg {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  height: 200px;
  border-radius: var(--radius-lg);
  margin-bottom: 15px;
}

.more-text {
  text-align: center;
}

.more-projects .portfolio-info h3 {
  color: var(--dark);
  margin-bottom: 8px;
}



@media (max-width: 1024px) {
  .template-devices {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .device-group {
    width: 100%;
    justify-content: center;
  }
  
  .device-frame.desktop {
    max-width: 100%;
  }
  
  .device-frame.mobile {
    margin-left: -30px;
  }
}

@media (max-width: 768px) {
  .portfolio-header {
    padding: 80px 0 40px;
  }
  
  .portfolio-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .template-details {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .device-frame.tablet {
    width: 280px;
  }
  
  .device-frame.mobile {
    width: 140px;
  }
}
@media (max-width: 768px) {
  .portfolio-grid .grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .website-preview {
    flex-direction: column;
    min-height: auto;
  }
  
  .website-preview img {
    max-height: 300px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .website-preview img:last-child {
    border-bottom: none;
  }
}
@media (max-width: 480px) {
  .device-group {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .device-frame.mobile {
    margin-left: 0;
  }
  
  .template-devices {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .portfolio-filters {
    top: 64px;
  }
  
  .filter-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  
  .portfolio-grid .grid {
    grid-template-columns: 1fr;
  }
  
  .website-preview {
    flex-direction: column;
  }
  
  .website-preview img {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .website-preview img:last-child {
    border-bottom: none;
  }
}

/* Detailed Services */
.services-detailed {
  margin: 60px 0;
}

.service-detail {
  display: flex;
  gap: 30px;
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.service-detail:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-detail.alt {
  background: var(--bg-alt);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.service-content h2 {
  margin-bottom: 10px;
  color: var(--dark);
}

.service-content p {
  margin-bottom: 15px;
  color: var(--medium);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  margin-bottom: 8px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Process Section */
.process-section {
  text-align: center;
  padding: 80px 20px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-step {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}



/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-text h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.about-text h1 span {
  color: var(--primary);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--medium);
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill-card {
  background: white;
  padding: 15px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Timeline */
.timeline {
  margin-top: 40px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
}

.timeline-item {
  margin-bottom: 30px;
}

.timeline-date {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
  display: block;
}

.timeline-content {
  background: white;
  padding: 15px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Achievements */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.achievement-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

.achievement-card i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary);
}
/* About Page Specific Styles */
.about-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.philosophy-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease;
}

.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.philosophy-card i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.philosophy-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.skill-category {
  background: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.skill-category h3 {
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category ul {
  list-style: none;
}

.skill-category li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.skill-category li:last-child {
  border-bottom: none;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  left: -38px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
}

.timeline-content {
  background: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline-date {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

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

.stat-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--medium);
  font-size: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .timeline::before {
    left: 10px;
  }
  
  .timeline-marker {
    left: -28px;
  }
}



/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-form-container {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 95, 205, 0.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.info-card i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.info-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.info-card a, .info-card p {
  color: var(--medium);
}

.info-card a:hover {
  color: var(--primary);
}

.social-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.social-card h3 {
  margin-bottom: 15px;
}

.social-card .social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-card .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

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

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.faq-item {
  background: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--dark);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-hero .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-hero .hero-media {
    order: -1;
    margin-bottom: 30px;
  }
}