     /* contact */
:root {
  --primary-color: #000000;
  --secondary-color: #f4f4f4;
  --accent-color: rgb(255, 77, 0);
  --accent-hover: #ff5900;
  --text-color: #333;
  --white: #fff;
  --form-bg: #dadada;
  --footer-bg: #333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --glow-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;

}

/* Prevent body scroll when side-nav is open */
body.no-scroll {
  overflow: hidden;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-5px);
  }
}

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

@keyframes wiggle {
  0%, 7% {
    transform: rotateZ(0);
  }
  15% {
    transform: rotateZ(-15deg);
  }
  20% {
    transform: rotateZ(10deg);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  30% {
    transform: rotateZ(6deg);
  }
  35% {
    transform: rotateZ(-4deg);
  }
  40%, 100% {
    transform: rotateZ(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: var(--shadow);
  }
  50% {
    box-shadow: var(--glow-shadow);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color), #665f5f);
  color: var(--white);
  padding: 1rem;
  width: 100%;
  animation: slideDown 0.8s ease-out;
  position: relative;
  overflow: hidden;
  z-index: 999;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 0, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 80px;
    height: 60px;
    object-fit: contain; /* Preserves shape */
    box-shadow:none;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-container h2 {
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00f7ff, #00d9f5, #00b3e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
  animation: fadeInRight 0.6s ease-out both;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }
.nav-links li:nth-child(5) { animation-delay: 0.5s; }

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 8px 16px;
  border-radius: 20px;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  transition: left 0.3s ease;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
  background: rgba(255, 77, 0, 0.1);
}

/* --- SIDE NAVIGATION (NEW) --- */
.hamburger-menu {
    display: none; /* Hidden by default */
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
    z-index: 1002;
    position: relative; /* For stacking context */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: all 0.3s ease-in-out;
}

.side-nav {
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: -280px; /* Hidden off-screen */
    background: linear-gradient(135deg, var(--primary-color), #444);
    backdrop-filter: blur(10px);
    overflow-x: hidden;
    padding-top: 60px;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.4);
}

.side-nav.open {
    left: 0; /* Slide in */
}

.side-nav .close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 36px;
    font-weight: bold;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.side-nav .close-btn:hover {
    color: var(--accent-color);
    transform: rotate(90deg) scale(1.1);
}

.side-nav-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
}

.side-nav-links li a {
    padding: 15px 20px 15px 32px;
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--white);
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.side-nav-links li a:hover {
    color: var(--accent-color);
    background: rgba(255, 77, 0, 0.1);
    transform: translateX(5px);
    border-left: 3px solid var(--accent-color);
    padding-left: 29px;
}

.side-nav-links li a .emoji-icon {
    display: inline-block;
    width: 30px; /* To align text */
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0s 0.5s;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s;
}
/* --- END OF SIDE NAVIGATION --- */


/* Hero Section with Cartoon */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-cartoon {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-cartoon::before {
  content: '👋';
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 40px;
  animation: wiggle 2s ease-in-out infinite;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.7s both;
}

/* Contact Section */
.contact-section {
  padding: 3rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e8e8e8 100%);
  max-width: 100%;
  animation: fadeInUp 1s ease-out 0.6s both;
  position: relative;
}

/* Floating decorative elements */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  font-size: 30px;
  opacity: 0.1;
  animation: float 4s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-icon:nth-child(3) { top: 60%; left: 5%; animation-delay: 2s; }
.floating-icon:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }
.floating-icon:nth-child(5) { top: 80%; left: 50%; animation-delay: 1.5s; }

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  animation: scaleIn 0.8s ease-out 0.8s both;
  position: relative;
  z-index: 2;
  /* Resetting global h2 style */
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--text-color);
}

.contact-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), #ff9500);
  border-radius: 2px;
  animation: fadeInUp 0.6s ease-out 1.2s both;
}

.contact-section > p {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 1s both;
  position: relative;
  z-index: 2;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-info {
  display: flex;
  justify-content: space-around;
  margin: 2rem auto 0;
  padding: 2rem;
  background: linear-gradient(145deg, var(--white), #f9f9f9);
  border-radius: 15px;
  box-shadow: var(--shadow);
  max-width: 1200px;
  animation: scaleIn 0.8s ease-out 1.2s both;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #ff9500, #4ecdc4, var(--accent-color));
  background-size: 300% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.contact-item {
  text-align: center;
  padding: 1rem;
  transition: all 0.3s ease;
  border-radius: 10px;
  position: relative;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.contact-item:nth-child(1)::before { background: linear-gradient(45deg, #ff6b6b, #ff8e8e); content: '📧'; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.contact-item:nth-child(2)::before { background: linear-gradient(45deg, #4ecdc4, #6ee7e0); content: '📱'; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.contact-item:nth-child(3)::before { background: linear-gradient(45deg, #45b7d1, #6cc5e0); content: '📍'; display: flex; align-items: center; justify-content: center; font-size: 30px; }

.contact-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 77, 0, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-item:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
  animation: bounce 0.6s ease-out;
}

.contact-item h3 {
  font-size: 1.3rem;
  margin: 3rem 0 1rem 0;
  position: relative;
  overflow: hidden;
}

.contact-item h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.contact-item:hover h3::after {
  width: 100%;
}

.contact-item p { font-size: 1.1rem; }
.contact-item a { color: var(--text-color); text-decoration: none; transition: all 0.3s ease; position: relative; }
.contact-item a:hover { color: var(--accent-color); text-shadow: 0 0 5px rgba(255, 77, 0, 0.3); }

/* Web Development Cartoon Section */
.cartoon-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 3rem 1rem;
  text-align: center;
  color: white;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.cartoon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.cartoon-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cartoon-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.cartoon-emoji {
  font-size: 80px;
  display: block;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

.cartoon-item:nth-child(2) .cartoon-emoji { animation-delay: 0.5s; }
.cartoon-item:nth-child(3) .cartoon-emoji { animation-delay: 1s; }
.cartoon-item:nth-child(4) .cartoon-emoji { animation-delay: 1.5s; }

.cartoon-item h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.cartoon-item p { font-size: 0.9rem; opacity: 0.9; }

/* Map Section */
.location-map {
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
  max-width: 1200px;
  animation: fadeInUp 0.8s ease-out 1.4s both;
  position: relative;
}

.map-header { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.map-icon { font-size: 40px; animation: wiggle 3s ease-in-out infinite; }
.location-map h3 { font-size: 1.5rem; margin: 0; }
.location-map iframe {
  border-radius: 15px;
  width: 100%;
  max-width: 1200px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 4px solid transparent;
  background: linear-gradient(45deg, var(--accent-color), #4ecdc4);
  background-clip: padding-box;
}

.location-map iframe:hover { transform: scale(1.02); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); }

/* --- MODIFIED FORM SECTION STYLES --- */

/* New: Full-width wrapper for the form */
.form-wrapper {
  margin-top: 3rem;
  margin-bottom: 0; /* Ensure it touches footer */
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #4a4e69, #22223b);
  color: var(--white);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 1.4s both;
}


.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #ff9500, #4ecdc4, var(--accent-color));
    background-size: 300% 100%;
    animation: shimmer 3s ease-in-out infinite alternate;
}

/* Modified: Contact form now sits inside the wrapper */
.contact-form {
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: none; /* Removed old shadow */
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 600px;
  height: auto;
  animation: scaleIn 0.8s ease-out 1.6s both;
  position: relative;
  overflow: visible; /* Allows cartoon to overlap slightly */
}

.form-cartoon {
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 50px;
  opacity: 0.5;
  transform: rotate(15deg);
  animation: float 4s ease-in-out infinite;
}



/* Updated: Form text colors for dark background */
.form-wrapper .contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.form-group { margin-bottom: 1rem; }

.form-wrapper .contact-form label {
  font-size: 1.1rem;
  margin-bottom: 0%;
  display: block;
  text-align: left;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
  color: #f0f0f0; /* Light color for readability */
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border: 2px solid #5a5e7c; /* Darker border */
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.2); /* Dark, translucent background */
  color: var(--white); /* White text for input */
  position: relative;
  z-index: 2;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 15px rgba(255, 77, 0, 0.2);
  transform: scale(1.02);
  background: rgba(0, 0, 0, 0.3);
}

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

.contact-form input[type="submit"] {
  background: linear-gradient(45deg, var(--accent-color), #ff9500);
  color: var(--white);
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  z-index: 2;
  margin-top: 1rem;
}

.contact-form input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.contact-form input[type="submit"]:hover {
  background: linear-gradient(45deg, var(--accent-hover), #e64a00);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 77, 0, 0.3);
  animation: pulse 1s ease-in-out infinite;
}

.contact-form input[type="submit"]:hover::before {
  left: 100%;
}

.form-description { text-align: right; margin-bottom: 1rem; position: relative; z-index: 2; }


/* Footer */
footer {
  background: linear-gradient(135deg, var(--footer-bg), #2a2a2a);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  width: 100%;
  animation: fadeInUp 0.6s ease-out 1.8s both;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.footer-cartoon { font-size: 60px; margin-bottom: 1rem; animation: rotate 0.5s linear infinite; }

footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #ff9500, #4ecdc4, var(--accent-color));
  background-size: 300% 100%;
  animation: shimmer 2s ease-in-out infinite;
}

footer p { position: relative; z-index: 2; }

/* Scroll animations */
.scroll-animate { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.scroll-animate.visible { opacity: 1; transform: translateY(0); }

/* Responsive Design */
@media (max-width: 992px) {
  .contact-section { padding: 2.5rem 1.5rem; }
  .form-wrapper { padding: 2.5rem 1rem; }
  .cartoon-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
  .hero-cartoon { width: 120px; height: 120px; font-size: 60px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger-menu { display: block; }
  .contact-info { flex-direction: column; align-items: center; gap: 2rem; }
  .contact-item { width: 100%; max-width: 300px; margin-bottom: 0; }
  .form-description { text-align: center; }
  .hero-title { font-size: 2rem; }
  .cartoon-section { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
  .contact-section { padding: 2rem 1rem; }
  .contact-section h2 { font-size: 1.7rem; }
  .contact-form { padding: 1.5rem; }
  .contact-form h3 { font-size: 1.3rem; }
  .contact-item h3 { font-size: 1.2rem; }
  .contact-item p, .form-wrapper .contact-form label { font-size: 1rem; }
  .cartoon-emoji { font-size: 60px; }
  .hero-cartoon { width: 100px; height: 100px; font-size: 50px; }
}