@import url('unified-modern.css');

:root {
  --primary: #8a2be2;
  --primary-dark: #6610f2;
  --primary-light: #9b51e0;
  --secondary: #e9ecef;
  --success: #00c853;
  --success-dark: #009624;
  --danger: #ff1744;
  --text-main: #2d3748;
  --text-muted: #718096;
  --bg-color: #f7fafc;
  --card-bg: #ffffff;
  --gradient-main: linear-gradient(135deg, #8a2be2 0%, #6610f2 100%);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --border-radius: 16px;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--primary-dark);
}

/* Glassmorphic Navbar */
.navbar {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 55px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.headerTextClass {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Outfit", sans-serif;
  font-weight: 900 !important;
  font-size: 2.2rem !important;
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.5rem 1.2rem;
  margin: 0 0.2rem;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: rgba(138, 43, 226, 0.08);
  color: var(--primary) !important;
}

/* Hero Section */
.slider {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.slider img {
  height: 450px;
  object-fit: cover;
  width: 100%;
}

.slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 10%;
  text-align: left;
  z-index: 10;
}

.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: fadeUp 0.8s ease forwards;
}

.carousel-caption h2 {
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9) !important;
  margin-bottom: 0.5rem;
  animation: fadeUp 1s ease forwards;
}

.carousel-caption h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8) !important;
  animation: fadeUp 1.2s ease forwards;
}

/* Main Content Layout */
.content {
  padding: 3rem 0 6rem 0;
  flex: 1;
}

.contact-wrap {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.contact-info {
  background: var(--gradient-main);
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: pulse 15s infinite linear;
}

.contact-info h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
  line-height: 1.8;
}

.contact-info i {
  color: #c2e951;
  font-weight: 600;
  font-style: normal;
  display: inline-block;
  background: rgba(0,0,0,0.2);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.form {
  padding: 3rem;
  background: var(--card-bg);
}

/* Form Controls */
.col-form-label {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

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

.form-control, .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem !important;
  font-size: 1rem;
  background-color: #f8fafc;
  color: var(--text-main) !important;
  transition: all 0.3s ease;
  height: auto;
  min-height: 50px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.15);
  background-color: #fff;
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-control::placeholder {
  color: #a0aec0 !important;
}

/* Buttons */
.btn {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 10px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  height: auto;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, #6610f2 0%, #4a00e0 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(102, 16, 242, 0.3);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, #00c853 0%, #009624 100%);
  color: white;
}

.btn-success:hover, .btn-success:focus {
  background: linear-gradient(135deg, #009624 0%, #00701a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 200, 83, 0.3);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
  color: white;
}

.btn-danger:hover, .btn-danger:focus {
  background: linear-gradient(135deg, #d50000 0%, #9b0000 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(255, 23, 68, 0.3);
  color: white;
}

.newquery, .trackquery {
  margin-bottom: 1.5rem;
}

.trackquery {
  margin-left: 10px !important;
}

/* Footer */
footer {
  background: var(--text-main);
  color: white;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  position: static;
  width: 100%;
}

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

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* Utility & Validation */
hr {
  border-color: #e2e8f0;
  margin: 2rem 0;
  opacity: 1;
}

.error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.4rem;
  display: block;
}

.text-danger {
  color: var(--danger) !important;
}

.text-warning {
  color: #ed8936 !important;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  .contact-wrap {
    flex-direction: column;
  }
  .slider img {
    height: 350px;
  }
  .carousel-caption h1 {
    font-size: 2.2rem;
  }
  .carousel-caption h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .form {
    padding: 2rem 1.5rem;
  }
  .contact-info {
    padding: 2rem 1.5rem;
  }
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    margin-left: 0 !important;
  }
  .slider img {
    height: 250px;
  }
  .carousel-caption {
    padding: 2rem 5%;
  }
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .carousel-caption h2 {
    font-size: 1.2rem;
  }
  .carousel-caption h3 {
    font-size: 1rem;
  }
  .navbar-center-text {
    position: static;
    transform: none;
    margin-top: 10px;
  }
  .headerTextClass {
    font-size: 1.8rem !important;
  }
}
