@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 & Custom Properties */
:root {
  --color-bg-base: #050510;
  --color-bg-alt: #0a0a22;
  --color-primary: #a855f7;       /* Vibrant Purple */
  --color-primary-glow: rgba(168, 85, 247, 0.4);
  --color-secondary: #3b82f6;     /* Bright Blue */
  --color-secondary-glow: rgba(59, 130, 246, 0.4);
  --color-accent: #06b6d4;        /* Cyan */
  --color-accent-glow: rgba(6, 182, 212, 0.4);
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  --color-glass: rgba(10, 10, 26, 0.6);
  --color-glass-card: rgba(15, 15, 38, 0.5);

  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max-width: 1200px;
  --header-height: 80px;
}

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

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

body {
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.3);
  border-radius: 5px;
  border: 2px solid var(--color-bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.6);
}

/* Ambient Animated Background Blobs */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.22;
  mix-blend-mode: screen;
}

.blob-1 {
  top: -10%;
  left: 10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--color-primary) 0%, rgba(0,0,0,0) 70%);
  animation: float-1 25s infinite alternate ease-in-out;
}

.blob-2 {
  bottom: -5%;
  right: 5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-secondary) 0%, rgba(0,0,0,0) 70%);
  animation: float-2 30s infinite alternate ease-in-out;
}

.blob-3 {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, var(--color-accent) 0%, rgba(0,0,0,0) 70%);
  animation: float-3 20s infinite alternate ease-in-out;
}

@keyframes float-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 12vh) scale(1.15); }
  100% { transform: translate(-4vw, -6vh) scale(0.9); }
}

@keyframes float-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10vw, -8vh) scale(0.85); }
  100% { transform: translate(6vw, 15vh) scale(1.1); }
}

@keyframes float-3 {
  0% { transform: translate(-50%, -50%) translate(0, 0) scale(1); }
  50% { transform: translate(-50%, -50%) translate(-8vw, 10vh) scale(1.1); }
  100% { transform: translate(-50%, -50%) translate(8vw, -10vh) scale(0.9); }
}

/* Background Grid Overlay */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

/* Common Layout Components */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0 4rem;
  position: relative;
}

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #f43f5e 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-subtitle {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

/* Glassmorphic Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition-medium);
}

.navbar-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.6rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand span.dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-item a {
  font-family: var(--font-headings);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 1.05rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-item a:hover {
  color: var(--color-text-primary);
}

.nav-item a:hover::after {
  width: 100%;
}

.nav-item.active a {
  color: var(--color-text-primary);
}

.nav-item.active a::after {
  width: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-medium);
  box-shadow: 0 4px 15px var(--color-primary-glow);
  display: inline-block;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--color-primary-glow), 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Checkbox Hamburger Hack */
#nav-toggle {
  display: none;
}

.nav-toggle-btn {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: 1001;
}

.nav-toggle-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-text-primary);
  border-radius: 3px;
  transition: all var(--transition-fast) ease;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--color-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 0;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(168, 85, 247, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-medium);
  cursor: pointer;
  gap: 0.6rem;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-primary-glow), 0 0 15px rgba(255, 255, 255, 0.3);
}

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

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

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

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-secondary-glow);
}

/* ========================================= */
/* PAGES: HOME                               */
/* ========================================= */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge span.ping {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse-ping 2s infinite;
}

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

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

.hero-desc {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Image Container with Custom Glow */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-glow-card {
  position: relative;
  border-radius: 30px;
  padding: 1rem;
  background: var(--color-glass-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  max-width: 380px;
  width: 100%;
}

.image-glow-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent, 
    var(--color-primary), 
    var(--color-secondary), 
    transparent 30%
  );
  animation: rotate-border 8s linear infinite;
  z-index: 1;
}

.image-glow-inner {
  position: relative;
  background: var(--color-bg-alt);
  border-radius: 22px;
  z-index: 2;
  overflow: hidden;
  padding: 0.5rem;
}

.profile-img {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 4/5;
  filter: grayscale(10%) contrast(105%);
  transition: var(--transition-slow);
}

.image-glow-card:hover .profile-img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.03);
}

@keyframes rotate-border {
  100% { transform: rotate(360deg); }
}

/* Highlights Grid */
.home-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Stats Counter Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  width: 100%;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-headings);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 1rem;
}


/* ========================================= */
/* PAGES: ABOUT                              */
/* ========================================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-title {
  font-size: 2.2rem;
  line-height: 1.3;
}

.about-desc-large {
  font-size: 1.2rem;
  color: var(--color-text-primary);
  font-weight: 500;
  border-left: 3px solid var(--color-primary);
  padding-left: 1.5rem;
}

.about-desc {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}

/* Skill Grid */
.skills-container {
  margin-top: 1.5rem;
}

.skill-bar-wrapper {
  margin-bottom: 1.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
}

.skill-name {
  color: var(--color-text-primary);
}

.skill-percentage {
  color: var(--color-accent);
}

.skill-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.skill-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}

/* Timeline Layout */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 5rem auto 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 7px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

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

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-bg-base);
  border: 3px solid var(--color-secondary);
  box-shadow: 0 0 10px var(--color-secondary-glow);
  z-index: 2;
}

.timeline-item:hover .timeline-dot {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 15px var(--color-accent-glow);
}

.timeline-date {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-weight: 600;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.timeline-desc {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}


/* ========================================= */
/* PAGES: SERVICES                           */
/* ========================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.8rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition-medium);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(5deg);
  color: var(--color-accent);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  box-shadow: 0 8px 20px var(--color-accent-glow);
}

.service-title {
  font-size: 1.5rem;
}

.service-desc {
  color: var(--color-text-secondary);
  font-size: 1rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-primary);
  font-size: 0.95rem;
}

.service-list-item::before {
  content: "✦";
  color: var(--color-accent);
  font-weight: bold;
}

.cta-box {
  margin-top: 6rem;
  text-align: center;
  background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.08), transparent 50%), var(--color-glass-card);
}

.cta-box h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}


/* ========================================= */
/* PAGES: CONTACT                            */
/* ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

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

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

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.3rem;
  transition: var(--transition-medium);
}

.contact-info-item:hover .contact-info-icon {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.contact-info-content {
  display: flex;
  flex-direction: column;
}

.contact-info-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
}

.contact-info-value:hover {
  color: var(--color-accent);
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-medium);
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-color: transparent;
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 15px var(--color-primary-glow);
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

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

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

.form-label {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.form-control {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}

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

/* Footer Section */
footer {
  background: rgba(4, 4, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

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

.footer-text {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-nav-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

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

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ========================================= */
/* RESPONSIVE DESIGN (MEDIA QUERIES)         */
/* ========================================= */

@media (max-width: 1024px) {
  h1.hero-title {
    font-size: 3.2rem;
  }
  
  .hero-grid {
    gap: 2rem;
  }
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-text {
    order: 2;
  }

  .about-grid .hero-image-wrapper {
    order: 1;
    max-width: 380px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  section {
    padding: 6rem 0 3rem;
  }

  /* Hamburger Menu Layout styling */
  .nav-toggle-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition-medium);
    border-top: 1px solid var(--color-border);
  }

  #nav-toggle:checked ~ .nav-menu {
    left: 0;
  }

  /* Menu Icon State */
  #nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  #nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }

  #nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .home-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 480px) {
  h1.hero-title {
    font-size: 2.4rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: span 1;
  }
}
