* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3498db;
  --secondary: #2c3e50;
  --accent: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --success: #2ecc71;
  --warning: #f39c12;
  --text: #333;
  --text-light: #777;
  --spacing: 8px;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 50px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
  transform: scale(1.5);
}

.main_menu--container ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main_menu--container a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 5px;
  position: relative;
  transition: var(--transition);
}

.main_menu--container a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.main_menu--container a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main_menu--container a:hover::after {
  width: 100%;
}

/* Contact Hero Section */
.contact-hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%233498db" opacity="0.1"/><path d="M0 0L100 100" stroke="%233498db" stroke-width="1" opacity="0.2"/><path d="M100 0L0 100" stroke="%233498db" stroke-width="1" opacity="0.2"/></svg>');
  background-size: cover;
}

.contact-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--secondary);
  animation: fadeInUp 1s ease;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-light);
  animation: fadeInUp 1s ease 0.2s both;
}

/* Contact Content */
.contact-content {
  padding: 80px 0;
  display: flex;
  gap: 40px;
}

.contact-info {
  flex: 1;
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form {
  flex: 1;
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-info h2,
.contact-form h2 {
  color: var(--secondary);
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-details h3 {
  margin-bottom: 5px;
  color: var(--secondary);
}

.info-details p,
.info-details a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.info-details a:hover {
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Map Section */
.map-section {
  padding: 0 0 80px;
}

.map-placeholder {
  background: linear-gradient(45deg, #3498db, #2c3e50);
  border-radius: var(--border-radius);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  background: var(--secondary);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ecf0f1;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .main_menu--container ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-hero p {
    font-size: 1.1rem;
  }
}

/* Loading spinner */
.spinner {
  display: none;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid var(--primary);
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* meet and potatoes */
.portfolio-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 960px;
  width: 95%;
  padding: 2.5rem;
  text-align: center;
}
.website-preview {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease-in-out;
}
.website-preview:hover {
  transform: scale(1.02);
}
.view-button {
  background-color: #3498db;
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  transition: background-color 0.3s ease-in-out, transform 0.1s ease-in-out;
  text-decoration: none;
  display: inline-block;
}
.view-button:hover {
  background-color: #4338ca;
  transform: translateY(-2px);
}

.project-section1 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
