/* ========================================
   Costcrave Investments Limited
   Custom Stylesheet
   ======================================== */

:root {
  --cc-primary: #e8913a;
  --cc-primary-dark: #c7762a;
  --cc-secondary: #1a1a1a;
  --cc-dark: #0f0f0f;
  --cc-light: #f8f9fa;
  --cc-gray: #6c757d;
  --cc-silver: #c0c0c0;
  --cc-white: #ffffff;
  --cc-overlay: rgba(15, 15, 15, 0.75);
  --font-heading: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--cc-secondary);
  background: var(--cc-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cc-secondary);
}

.text-primary-cc { color: var(--cc-primary) !important; }
.bg-primary-cc { background-color: var(--cc-primary) !important; }

/* Navbar */
.navbar-costcrave {
  background: var(--cc-dark);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(232, 145, 58, 0.15);
}

.navbar-costcrave .navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--cc-white);
  letter-spacing: -0.5px;
}

.navbar-costcrave .navbar-brand img {
  height: 45px;
  width: auto;
  margin-right: 10px;
}

.navbar-costcrave .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-costcrave .nav-link:hover,
.navbar-costcrave .nav-link.active {
  color: var(--cc-primary) !important;
}

.navbar-costcrave .btn-quote {
  background: var(--cc-primary);
  color: var(--cc-white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.navbar-costcrave .btn-quote:hover {
  background: var(--cc-primary-dark);
  color: var(--cc-white);
  transform: translateY(-1px);
}

.navbar-costcrave.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: 0.5rem 0;
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.6) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--cc-white);
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--cc-white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-content .lead {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

.hero-content .tagline {
  color: var(--cc-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  display: block;
}

.btn-hero-primary {
  background: var(--cc-primary);
  color: var(--cc-white);
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 2px solid var(--cc-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: transparent;
  color: var(--cc-primary);
}

.btn-hero-outline {
  background: transparent;
  color: var(--cc-white);
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  margin-left: 1rem;
}

.btn-hero-outline:hover {
  border-color: var(--cc-primary);
  color: var(--cc-primary);
}

/* Section Styling */
.section-padding { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-header .section-subtitle {
  color: var(--cc-gray);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--cc-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Stats Bar */
.stats-bar {
  background: var(--cc-dark);
  padding: 3rem 0;
  border-top: 3px solid var(--cc-primary);
}

.stat-item h3 {
  color: var(--cc-primary);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Service Cards */
.service-card {
  background: var(--cc-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--cc-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(232, 145, 58, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--cc-primary);
  font-size: 1.5rem;
}

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--cc-gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Consultancy Cards */
.consult-card {
  text-align: center;
  padding: 2rem;
}

.consult-icon {
  width: 70px;
  height: 70px;
  background: var(--cc-primary);
  color: var(--cc-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}

/* Process Timeline */
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.process-step:last-child { margin-bottom: 0; }

.process-number {
  width: 50px;
  height: 50px;
  background: var(--cc-primary);
  color: var(--cc-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.process-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-content p {
  color: var(--cc-gray);
  font-size: 0.95rem;
  margin: 0;
}

/* Project Cards */
.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  height: 320px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.3s;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(232, 145, 58, 0.9) 0%, rgba(15,15,15,0.4) 100%);
}

.project-overlay h5 {
  color: var(--cc-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.project-overlay span {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

/* Advantage Section */
.advantage-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.advantage-icon {
  width: 45px;
  height: 45px;
  background: rgba(232, 145, 58, 0.1);
  color: var(--cc-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.advantage-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.advantage-item p {
  color: var(--cc-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Contact Page */
.contact-info-card {
  background: var(--cc-dark);
  color: var(--cc-white);
  padding: 2.5rem;
  border-radius: 8px;
  height: 100%;
}

.contact-info-card h4 {
  color: var(--cc-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail i {
  color: var(--cc-primary);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.contact-detail div strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
}

.contact-detail div span,
.contact-detail div a {
  color: var(--cc-white);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-detail div a:hover {
  color: var(--cc-primary);
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: var(--cc-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: all 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--cc-primary);
  color: var(--cc-white);
  transform: translateY(-2px);
}

.form-control-cc {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-control-cc:focus {
  border-color: var(--cc-primary);
  box-shadow: 0 0 0 3px rgba(232, 145, 58, 0.15);
  outline: none;
}

.btn-submit {
  background: var(--cc-primary);
  color: var(--cc-white);
  padding: 0.875rem 2rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  width: 100%;
}

.btn-submit:hover {
  background: var(--cc-primary-dark);
}

/* Footer */
.footer-costcrave {
  background: var(--cc-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--cc-primary);
}

.footer-costcrave h5 {
  color: var(--cc-white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-costcrave a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-costcrave a:hover {
  color: var(--cc-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* About Page Specific */
.about-hero { min-height: 60vh; }

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(232, 145, 58, 0.1);
  border: 1px solid rgba(232, 145, 58, 0.2);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.cert-badge i {
  color: var(--cc-primary);
  font-size: 1.5rem;
}

.cert-badge span {
  font-weight: 600;
  color: var(--cc-secondary);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero { min-height: 70vh; }
  .btn-hero-outline { margin-left: 0; margin-top: 1rem; }
  .section-padding { padding: 3rem 0; }
  .stat-item h3 { font-size: 2rem; }
}

@media (max-width: 767.98px) {
  .hero-content h1 { font-size: 2rem; }
  .stats-bar .col-6 { margin-bottom: 1.5rem; }
  .stats-bar .col-6:last-child,
  .stats-bar .col-6:nth-last-child(2) { margin-bottom: 0; }
}
