/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #0a0a0f;
  color: #e0e0e0;
}

/* Header */
header {
  background: linear-gradient(135deg, #1a1a25 0%, #2d1810 100%);
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #ff6600;
}

header .logo {
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header .logo-icon {
  font-size: 2rem;
  animation: pulse-icon 2s ease-in-out infinite;
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header .logo-icon[src] {
  width: 40px;
  height: 40px;
  object-fit: contain;
  animation: pulse-icon 2s ease-in-out infinite;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1) rotateY(0deg); }
  50% { transform: scale(1.1) rotateY(10deg); }
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

header nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

header nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  transition: width 0.3s ease;
}

header nav a:hover {
  color: #ff6600;
}

header nav a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a25 0%, #2d1810 50%, #1a0f0a 100%);
  color: #fff;
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: -2px;
  animation: slideIn 0.8s ease-out;
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 50%, #ffaa55 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: slideIn 0.8s ease-out 0.2s both;
  color: #b0b0b0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-accent {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

/* CTA Button */
.cta-btn {
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #ff8533 0%, #ffaa55 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.6);
}

.cta-btn:active {
  transform: translateY(0);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: -60px auto 4rem;
  padding: 2rem;
  position: relative;
  z-index: 10;
}

.service-card {
  background: linear-gradient(135deg, #1a1a25 0%, #2d1810 100%);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
  border-top: 4px solid #ff6600;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:nth-child(2) {
  border-top-color: #ff8533;
}

.service-card:nth-child(3) {
  border-top-color: #ffaa55;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 102, 0, 0.3);
  border-color: #ff6600;
}

.service-card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.service-card:nth-child(2) .card-icon {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) .card-icon {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.service-card h2 {
  font-size: 1.8rem;
  color: #ff6600;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.card-subtitle {
  font-size: 1rem;
  color: #ff8533;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.card-description {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.card-link {
  display: inline-block;
  color: #ff6600;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.card-link:hover {
  color: #ff8533;
  border-bottom-color: #ff8533;
}

/* About Section */
.about {
  background: linear-gradient(135deg, #1a1a25 0%, #2d1810 100%);
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  margin-bottom: 4rem;
  border: 1px solid #ff6600;
  box-shadow: 0 8px 32px rgba(255, 102, 0, 0.1);
}

.about h2 {
  font-size: 2.5rem;
  color: #ff6600;
  text-align: center;
  margin-bottom: 1.5rem;
}

.about > p {
  text-align: center;
  font-size: 1.1rem;
  color: #b0b0b0;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  background: rgba(255, 102, 0, 0.05);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border-left: 3px solid #ff6600;
}

.feature:hover {
  transform: translateY(-5px);
  border-left-color: #ff8533;
}

.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.4rem;
  color: #ff8533;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #a0a0a0;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #2d1810 0%, #1a1a25 100%);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
  border: 2px solid #ff6600;
  border-radius: 12px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff6600;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #b0b0b0;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a25 100%);
  color: #e0e0e0;
  padding: 3rem 2rem 1rem;
  border-top: 2px solid #ff6600;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ff6600;
}

.footer-section p {
  color: #808080;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #808080;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ff6600;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  color: #606060;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }

  header nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .services-grid {
    margin-top: -40px;
  }

  .about h2 {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

/* Contact Info Section */
.contact-info {
  padding: 40px;
  background: #f5f5f5;
  text-align: center;
}
.contact-info ul {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin: 8px 0;
}

/* Floating Message Button */
.message-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0078d7;
  color: #fff;
  border: none;
  padding: 5px 5px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 32px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.modal-content {
  background: linear-gradient(135deg, #2d1810 0%, #1a1a25 100%);
  border: 2px solid #ff6600;
  border-radius: 12px;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  color: #fff;
  text-align: center;


}
.close {
  float: right;
  font-size: 32px;
  cursor: pointer;
}

/* Container centers content and limits width */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
}

/* Form groups stack labels and inputs neatly */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

/* Inputs and textarea full width */
input, textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

/* Textarea taller */
textarea {
  min-height: 120px;
  resize: vertical;
}

/* Button styling */
.cta-btn {
  background-color: #0078d7;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.cta-btn:hover {
  background-color: #005a9e;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  body {
    font-size: 16px;
    padding: 0.5rem;
  }

  .container {
    padding: 0.5rem;
  }

  input, textarea, .cta-btn {
    font-size: 1rem;
  }
}
