:root {
  --primary: #008C8C;
  --dark: #0A1F44;
  --gradient: linear-gradient(270deg, #0A1F44 0%, #008C8C 100%);
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --light-gray: #e9ecef;
}

body {
  font-family: 'Inter', sans-serif;
  padding-top: 76px;
  color: var(--dark);
}

h1, h2, h3, h4, h5, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(10, 31, 68, 0.1);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 600;
  color: var(--dark) !important;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
}

.nav-link.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.btn-primary {
  background: var(--gradient);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 140, 140, 0.3);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

/* Hero Section */
.hero-slide {
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 31, 68, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
}

.hero-overlay h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2.5rem;
  }
}

/* Features Section */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  overflow: hidden;
  cursor: pointer;
  border-radius: 15px;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.feature-card img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover img {
  transform: scale(1.05);
}

.feature-card .card-body {
  background: var(--white);
}

.feature-card h5 {
  color: var(--dark);
  font-weight: 700;
}

.feature-card p {
  color: var(--gray);
}

/* Design Preview Section */
.design-preview {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.design-preview:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.design-preview img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.design-info {
  padding: 15px;
  background: white;
}

.design-info h6 {
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 5px;
}

/* Scrolling Preview */
.scroll-wrapper {
  overflow: hidden;
  background: var(--light-gray);
  padding: 40px 0;
  margin: 60px 0;
  position: relative;
}

.scroll-wrapper:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(to right, var(--light-gray), transparent);
  z-index: 2;
}

.scroll-wrapper:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(to left, var(--light-gray), transparent);
  z-index: 2;
}

.scroll-track {
  display: flex;
  animation: scrollAnim 25s linear infinite;
}

.img-set {
  display: flex;
  flex-shrink: 0;
  padding: 0 20px;
}

.img-set img {
  height: 350px;
  width: auto;
  margin: 0 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid white;
}

/* Pricing Section */
.price-card {
  border: 2px solid var(--light-gray);
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.price-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 140, 140, 0.1);
}

.price-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  position: relative;
  z-index: 1;
}

.price-card.featured .card-header {
  background: var(--gradient);
  color: white;
}

.price-card .card-header {
  padding: 30px 20px;
  text-align: center;
  background: white;
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 15px 0;
}

.price-card.featured .price {
  color: white;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Order Form */
.order-form {
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light-gray);
}

.form-control, .form-select {
  padding: 14px 15px;
  border-radius: 8px;
  border: 2px solid var(--light-gray);
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 140, 140, 0.15);
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-text {
  color: var(--gray);
  font-size: 0.9rem;
}

.order-summary {
  background: var(--light);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  border: 2px solid var(--light-gray);
}

.order-summary h5 {
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary);
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
}

.order-summary-item:last-child {
  border-bottom: none;
}

.order-summary-item.total {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-top: 10px;
  padding-top: 15px;
  border-top: 2px solid var(--light-gray);
}

/* Design Selection in Form */
.design-option {
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}

.design-option:hover {
  border-color: var(--primary);
  background: rgba(0, 140, 140, 0.05);
}

.design-option.selected {
  border-color: var(--primary);
  background: rgba(0, 140, 140, 0.1);
}

.design-option img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.design-option-content {
  flex: 1;
}

.design-option h6 {
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 5px;
}

.design-option p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
}

.faq-question {
  background-color: var(--light);
  padding: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  color: var(--dark);
}

.faq-question:hover {
  background-color: var(--light-gray);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
  padding: 20px;
  max-height: 500px;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid var(--light-gray);
}

.testimonial-text {
  font-style: italic;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text:before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: serif;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark);
  margin-top: 20px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
  margin-top: 60px;
}

footer p {
  color: rgba(255, 255, 255, 0.8);
}

.social-icons a {
  color: white;
  font-size: 1.3rem;
  margin: 0 12px;
  transition: all 0.3s ease;
  display: inline-block;
}

.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

/* Section Titles */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--dark);
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  border: none;
  overflow: hidden;
}

.modal-header {
  background: var(--gradient);
  color: white;
  border-bottom: none;
  padding: 25px 30px;
}

.modal-title {
  font-weight: 700;
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  border-top: 1px solid var(--light-gray);
  padding: 20px 30px;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient);
}


/* Image Upload Styles */
.image-upload-container {
    border: 2px dashed var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.image-upload-container:hover {
    border-color: var(--primary);
    background: rgba(0, 140, 140, 0.05);
}

.image-upload-container.dragover {
    border-color: var(--primary);
    background: rgba(0, 140, 140, 0.1);
}

.image-preview {
    display: none;
    margin-top: 20px;
}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid var(--light-gray);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.upload-text {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.upload-subtext {
    color: var(--gray);
    font-size: 0.9rem;
}

.remove-image {
    margin-top: 10px;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.9rem;
}

.remove-image:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes scrollAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-slide {
    height: 70vh;
    min-height: 500px;
  }
  
  .price-card.featured {
    transform: scale(1);
  }
  
  .design-option {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .design-option img {
    width: 100%;
    max-width: 200px;
  }
  
  .img-set img {
    height: 250px;
    margin: 0 10px;
  }
  
  .order-form {
    padding: 25px;
  }
}