/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
  --navy: #0A1931;
  --gold: #C9A227;
  --white: #FFFFFF;
  --black: #000000;
  --dark-navy: #050d1a;
  --charcoal: #1f2937;
  --light-gray: #f3f4f6;
  --soft-gold: #d4b553;
  --text-light: #9ca3af;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.label-gold {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-title.light {
  color: var(--white);
}

.subtitle {
  font-size: 1.125rem;
  color: var(--charcoal);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.subtitle.light {
  color: var(--light-gray);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background-color: var(--soft-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 162, 39, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-text {
  background: transparent;
  color: var(--navy);
  padding: 0;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text:hover {
  color: var(--gold);
}

.btn-text i {
  transition: transform 0.3s ease;
}

.btn-text:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  top: 0;
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo-img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.logo-img-footer {
  height: 90px;
  width: auto;
}

.nav-links {
  display: flex;
  background-color: var(--navy);
  padding: 0.35rem 0.5rem;
  border-radius: 50px;
  gap: 0.25rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.header.scrolled .nav-links {
  background-color: var(--navy);
  box-shadow: none;
}

.nav-link {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: capitalize;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn-quote {
  background-color: var(--gold);
  color: var(--navy);
  border-radius: 50px;
  padding: 0.4rem 0.4rem 0.4rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quote:hover {
  background-color: var(--soft-gold);
  transform: translateY(-2px);
  color: var(--navy);
}

.btn-quote-icon {
  background-color: var(--navy);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn-quote:hover .btn-quote-icon {
  transform: rotate(45deg);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.header.scrolled .mobile-menu-btn {
  color: var(--navy);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 25, 49, 0.9), rgba(10, 25, 49, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  color: var(--white);
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: capitalize;
}

.hero-text {
  color: var(--light-gray);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
  color: var(--white);
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

.hero-inner {
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
}
.hero-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 49, 0.8);
}
.hero-inner .hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-inner .hero-title {
  font-size: 3.5rem;
}

/* ==========================================================================
   LAYOUT SECTIONS
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.two-col-content p {
  margin-bottom: 1.5rem;
  color: #4b5563;
  font-size: 1.125rem;
}

.two-col-img {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.two-col-img:hover img {
  transform: scale(1.05);
}

.two-col-img::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-color: var(--gold);
  z-index: -1;
}

/* ==========================================================================
   SERVICES CARDS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--light-gray);
  padding: 3rem 2rem;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--navy);
  transition: var(--transition);
  z-index: 0;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-icon {
  font-size: 3rem;
  color: var(--gold);
  transition: var(--transition);
}

.service-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(10, 25, 49, 0.05);
  line-height: 1;
  transition: var(--transition);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card p {
  color: #4b5563;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover .service-icon {
  color: var(--gold);
}

.service-card:hover .service-number {
  color: rgba(255, 255, 255, 0.1);
}

.service-card:hover h3,
.service-card:hover p {
  color: var(--white);
}

.service-card:hover .btn-text {
  color: var(--gold);
}

/* ==========================================================================
   WHY US (DARK SECTION)
   ========================================================================== */
.dark-section {
  background-color: var(--navy);
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-block {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--gold);
  transition: var(--transition);
}

.feature-block:hover .feature-icon {
  background-color: var(--gold);
  color: var(--navy);
  transform: scale(1.1);
}

.feature-block h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-block p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-section {
  background-color: var(--light-gray);
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: rgba(10, 25, 49, 0.1);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 25%;
  padding: 0 1rem;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.process-step:hover .step-number {
  background-color: var(--gold);
  color: var(--white);
  transform: translateY(-5px);
}

.step-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.step-desc {
  font-size: 0.95rem;
  color: #4b5563;
}

/* ==========================================================================
   TRUST / CTA SECTION
   ========================================================================== */
.trust-section {
  background: linear-gradient(rgba(10, 25, 49, 0.85), rgba(10, 25, 49, 0.85)), url('../images/refinery.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
}

.trust-content {
  max-width: 800px;
  margin: 0 auto;
}

.trust-content h2 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.trust-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--light-gray);
}

.cta-section {
  background-color: var(--gold);
  color: var(--navy);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--navy);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   ABOUT & SERVICES PAGES
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.vision-card {
  background-color: var(--navy);
  padding: 4rem 3rem;
  color: var(--white);
  text-align: center;
  border-bottom: 4px solid var(--gold);
}

.vision-card h3 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.vision-card p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--light-gray);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background-color: var(--white);
  padding: 2.5rem 2rem;
  border: 1px solid #e5e7eb;
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  transform: translateY(-5px);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-detail {
  padding: 5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.service-detail:nth-child(even) {
  background-color: var(--light-gray);
}

.service-features {
  list-style: none;
  margin-top: 2rem;
}

.service-features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.25rem;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.info-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-left: 4px solid var(--gold);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.info-icon {
  font-size: 2rem;
  color: var(--navy);
}

.info-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: #4b5563;
}

.contact-form {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background-color: #f9fafb;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

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

.form-message {
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 2px;
  display: none;
  font-weight: 500;
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
  display: block;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
  display: block;
}

.map-container {
  height: 400px;
  background-color: #e5e7eb;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

.map-placeholder {
  color: var(--text-light);
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--dark-navy);
  color: var(--light-gray);
  padding: 5rem 0 2rem;
  border-top: 2px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo {
  margin-bottom: 1.5rem;
  display: block;
}

.footer-desc {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   ANIMATIONS (Scroll Reveal)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { flex-wrap: wrap; gap: 2rem; justify-content: center; }
  .process-timeline::before { display: none; }
  .process-step { width: 45%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-in-out;
    padding: 2rem;
    border-radius: 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-link {
    background: transparent;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: none !important;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
  }

  .mobile-menu-btn {
    display: block;
  }
  
  .btn-quote {
    display: none;
  }
  
  .header.scrolled .nav-links {
    top: 80px;
    height: calc(100vh - 80px);
  }

  .hero-title { font-size: 2.5rem; }
  
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col-img { order: -1; }
  
  .services-grid { grid-template-columns: 1fr; }
  .cards-grid, .values-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .process-step { width: 100%; }
  .section-padding { padding: 60px 0; }
  .section-title { font-size: 2rem; }
  .trust-content h2, .cta-content h2 { font-size: 2rem; }
}
