/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #0a0a23;
  color: #fff;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
nav ul {
  display: flex;
  list-style: none;
}
nav ul li {
  margin: 0 15px;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
}
nav ul li a.active {
  border-bottom: 2px solid #ff6b00;
}
.cta {
  background: #ff6b00;
  padding: 10px 20px;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(to right, #0a0a23, #1f1f3d);
  color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.hero-buttons .btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  background: #ff6b00;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}
.hero-buttons .btn.secondary {
  background: #fff;
  color: #0a0a23;
}

/* Main Layout */
.main-layout {
  max-width: 1600px;
  margin: auto;
  padding: 40px 20px;
}

/* Services Slider */
.services-slider {
  text-align: center;
  margin-bottom: 40px;
}
.services-slider h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.arrow {
  background: #ff6b00;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
}
.slider-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slider-container::-webkit-scrollbar {
  display: none;
}
.slider-track {
  display: flex;
  gap: 20px;
  padding: 10px;
}
.service-card {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  background: #f4f4f4;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: scale(1.05);
}

/* Floating Widget */
.floating-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  z-index: 999;
  font-family: 'Segoe UI', sans-serif;
  animation: slideUp 0.5s ease;
}
.widget-header {
  background: #0a0a23;
  color: #fff;
  padding: 10px 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.widget-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.widget-body {
  padding: 15px;
  font-size: 0.9rem;
  color: #333;
}
.widget-body p {
  margin-bottom: 10px;
}
.widget-body .btn {
  display: inline-block;
  padding: 8px 16px;
  background: #ff6b00;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.85rem;
}

.widget-item {
  margin-bottom: 15px;
}
.widget-item .btn {
  display: inline-block;
  margin-top: 5px;
  padding: 8px 16px;
  background: #0a0a23;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.85rem;
}
.widget-item .btn.secondary {
  background: #ff6b00;
}


.service-card {
  perspective: 1000px;
  width: 280px;
  height: 220px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.service-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-front h3 {
  color: #ff6b00;
  margin-bottom: 10px;
}

.card-back {
  transform: rotateY(180deg);
  background: #0a0a23;
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #0a0a23;
  color: #fff;
}
.site-footer {
  background: #0a0a23;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}
.footer-column {
  flex: 1 1 250px;
  margin-bottom: 20px;
}
.footer-column h3,
.footer-column h4 {
  color: #ff6b00;
  margin-bottom: 15px;
}
.footer-column p {
  line-height: 1.6;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}
.footer-column ul li a:hover {
  color: #fff;
}
.social-links li a {
  display: inline-block;
  padding: 6px 12px;
  background: #ff6b00;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}
.social-links li a:hover {
  background: #e65c00;
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #aaa;
}
.site-footer {
  background: #0a0a23;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}
.footer-column {
  flex: 1 1 250px;
  margin-bottom: 20px;
}
.footer-column h3,
.footer-column h4 {
  color: #ff6b00;
  margin-bottom: 15px;
}
.footer-column p,
.form-note {
  line-height: 1.6;
  color: #ccc;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}
.footer-column ul li a:hover {
  color: #fff;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  flex-direction: column;
}
.newsletter-form input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-bottom: 10px;
}
.newsletter-form button {
  padding: 10px;
  background: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.newsletter-form button:hover {
  background: #e65c00;
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.4rem;
  color: #ccc;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #ff6b00;
}
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.5rem;
  color: #ccc;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #ff6b00;
}


/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #aaa;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  height: 400px;
  background: #0a0a23;
  color: #fff;
}

.slider {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slides {
  display: flex;
  width: 300%;
  animation: slide 12s infinite;
}

.slides img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: #ff6b00;
}

.hero-text p {
  font-size: 1.2rem;
  color: #ccc;
}

@keyframes slide {
  0%   { transform: translateX(0%); }
  33%  { transform: translateX(-100%); }
  66%  { transform: translateX(-200%); }
  100% { transform: translateX(0%); }
}




/* Animations */
@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .main-layout {
    padding: 20px;
  }
  .slider-track {
    gap: 10px;
  }
  .service-card {
    width: 240px;
    padding: 20px;
  }
  .floating-widget {
    width: 90%;
    right: 5%;
    bottom: 10px;
  }
}
