/* ========================================
   Fryndel Inc - Corporate Website Styles
   ======================================== */

:root {
  --primary: #0f2b4a;
  --primary-dark: #091e35;
  --accent: #E67E22;
  --accent-hover: #D35400;
  --text: #334155;
  --text-light: #64748b;
  --bg-light: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(15, 43, 74, 0.1);
  --shadow-lg: 0 20px 60px rgba(15, 43, 74, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- Navigation ---- */
#mainNav {
  background: transparent;
  padding: 1rem 0;
  transition: var(--transition);
}

#mainNav.scrolled {
  background: rgba(15, 43, 74, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding: 0.6rem 0;
}

.navbar-brand {
  font-size: 1.4rem;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  font-size: 1.1rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.35);
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100vh;
  min-height: 600px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 8s ease;
}

.carousel-item.active .hero-bg {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 43, 74, 0.88) 0%, rgba(15, 43, 74, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 80px;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(230, 126, 34, 0.2);
  color: var(--accent);
  border: 1px solid rgba(230, 126, 34, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-buttons .btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  border-radius: 8px;
}

.hero-buttons .btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
}

.carousel-indicators .active {
  background: var(--accent);
}

/* ---- Section Common ---- */
.section-padding {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
}

.bg-light-custom {
  background: var(--bg-light);
}

.text-accent {
  color: var(--accent) !important;
}

/* ---- About Section ---- */
.about-image-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--accent);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 500;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--text);
}

.feature-list li i {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---- Services Section ---- */
.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 126, 34, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), rgba(230, 126, 34, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon i {
  font-size: 1.6rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* ---- Stats Section ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 70px 0;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--accent);
}

.stat-item p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ---- Why Choose Us ---- */
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.why-card:hover .why-img img {
  transform: scale(1.08);
}

.why-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.why-tag {
  background: var(--accent);
  color: var(--white);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.why-body {
  padding: 1.5rem;
}

.why-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.why-body p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin: 0;
}

/* ---- Testimonials ---- */
.testimonials-section {
  background: #1a1a1a;
}

.testimonial-carousel {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.testimonial-carousel .carousel-item {
  text-align: center;
  padding: 0 1rem 2.5rem;
}

.testimonial-subtitle {
  color: #888888;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 4px;
  margin-bottom: 1.75rem;
}

.testimonial-quote {
  color: var(--white);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.8;
  margin: 0 auto 2rem;
  max-width: 780px;
  border: none;
  padding: 0;
}

.testimonial-name {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.testimonial-role {
  color: #888888;
  font-size: 0.9rem;
  margin: 0;
}

.testimonial-indicators {
  position: relative;
  margin: 0;
  bottom: 0;
  justify-content: center;
  gap: 8px;
}

.testimonial-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #444444;
  opacity: 1;
  margin: 0;
  padding: 0;
  transition: var(--transition);
}

.testimonial-indicators [data-bs-target].active {
  width: 28px;
  height: 8px;
  border-radius: 10px;
  background: var(--accent);
}

/* ---- Contact Section ---- */
.contact-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.contact-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(230, 126, 34, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.3rem;
  color: var(--accent);
}

.contact-info-item h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-decoration: none;
  font-size: 1rem;
}

.contact-info-item a:hover {
  color: var(--accent);
}

.contact-form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-form-card .form-label {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.contact-form-card .form-control {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.contact-form-card .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success i {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--text);
  font-weight: 500;
}

/* ---- Footer ---- */
.footer {
  background: var(--primary-dark);
  padding: 60px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  text-align: center;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .about-badge-card {
    right: 10px;
    bottom: -15px;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .contact-form-card {
    padding: 1.75rem;
  }

  .about-badge-card {
    padding: 1rem 1.25rem;
  }

  .badge-number {
    font-size: 1.5rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}
