/*
Theme Name: Resolusi
Description: Modern and professional landing page theme for Resolusi (Reka Solusi Teknologi) with orange-yellow and blue gradient branding.
Author: Resolusi Team
Version: 1.0.0
License: GPL v2 or later
Text Domain: resolusi
*/

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

/* CSS Variables - Design System */
:root {
  /* Brand Colors */
  --primary: hsl(25, 95%, 53%);
  --primary-warm: hsl(45, 95%, 58%);
  --blue-light: hsl(200, 100%, 70%);
  --blue-dark: hsl(220, 85%, 45%);
  --blue-accent: hsl(210, 100%, 50%);
  
  /* Neutral Colors */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 15%, 15%);
  --muted: hsl(210, 20%, 96%);
  --muted-foreground: hsl(220, 10%, 45%);
  --border: hsl(220, 15%, 90%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-warm));
  --gradient-blue: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  --gradient-hero: linear-gradient(180deg, hsla(25, 95%, 53%, 0.1), hsla(200, 100%, 70%, 0.1));
  --gradient-zero: linear-gradient(180deg, hsla(25, 95%, 53%, 0.1), hsl(0, 0%, 100%));
  
  /* Shadows */
  --shadow-soft: 0 4px 20px hsla(25, 95%, 53%, 0.15);
  --shadow-blue: 0 8px 30px hsla(220, 85%, 45%, 0.2);
  
  /* Spacing */
  --container-padding: 1rem;
  --section-padding: 5rem 0;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Utilities */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-blue {
  background: var(--gradient-blue);
}

.bg-gradient-hero {
  background: var(--gradient-hero);
}
.bg-gradient-zero {
  background: var(--gradient-zero);
}

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-blue {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-blue {
  box-shadow: var(--shadow-blue);
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-image {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.main-navigation a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* saat diberi class .scrolled di body */
body.scrolled .main-navigation a {
  color: var(--foreground);
}

.main-navigation a:hover {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--foreground);
  transition: all 0.3s ease;
}


/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  transition: all 0.3s ease; /* bikin smooth masuk & balik */
}

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

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

.btn-outline:hover {
  background: var(--gradient-primary);
  color: white;
  transition: all 0.3s ease;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: left;
  justify-content: left;
  overflow: hidden;
  text-align: left;
}


.hero-background {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background: rgb(0, 0, 0);
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/kantor-resolusi.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
}

.hero-logo {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  /* color: var(--muted-foreground); */
  color: white;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  /* color: var(--muted-foreground); */
  color: white;
  margin-bottom: 3rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 4rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Card Styles */
.card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-blue);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.card.highlight {
  border: 3px solid var(--border);
  transform: scale(1.05);
  z-index: 2;
  background-color: var(--muted);
}

.card-icon:hover {
  transform: scale(1.2); 
  transition: all 0.3s ease;
}

/* Contact Form */
.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(25, 95%, 53%, 0.1);
}

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

/* Footer */
.site-footer {
  background: var(--foreground);
  color: var(--background);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  transition: all 0.3s ease;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-logo {
    width: 6rem;
    height: 6rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  /* .hero-actions {
    flex-direction: column;
    align-items: left;
  } */
  
  .main-navigation {
    display: none;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 0.75rem;
    --section-padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}



.hero-content.aux-inner-box {
  max-width: 64rem;
  padding: 2rem;
}

.aux-heading {
  margin-bottom: 1.5rem;
}

.aux-animated-text {
  margin-bottom: 1.5rem;
}

.aux-anim-text.aux-anim-slide {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.aux-anim-text-inner {
  display: inline-block;
}

.aux-anim-text-visible,
.aux-anim-text-hidden {
  display: inline-block;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.aux-anim-text-visible {
  transform: translateY(0);
  opacity: 1;
}

.aux-anim-text-hidden {
  transform: translateY(100%);
  opacity: 0;
  position: absolute;
  top: 0;
}

.aux-anim-text.aux-anim-slide:hover .aux-anim-text-visible {
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.aux-anim-text.aux-anim-slide:hover .aux-anim-text-hidden {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease;
}

.aux-text-prefix {
  display: inline-block;
}

.aux-button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: left;
}

.aux-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.aux-button-content {
  font-weight: 600;
}

.hero-decor.aux-decor-container {
  position: relative;
  height: 300px; /* Sesuaikan dengan kebutuhan */
}

.hero-decor-img.aux-image {
  position: absolute;
  width: 120px;
  height: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.hero-decor-img.top-left {
  top: 15%;
  left: 5%;
}

.hero-decor-img.top-right {
  top: 10%;
  right: 5%;
}

.hero-decor-img.bottom-left {
  bottom: 15%;
  left: 10%;
}

.hero-decor-img.bottom-right {
  bottom: 10%;
  right: 10%;
}

.aux-divider.aux-divider-symbolic-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
  padding-top: 2%;
}

.aux-divider.aux-divider-symbolic-mountains svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  /* padding-top: 2%; */
}

.aux-divider-fill {
  fill: var(--background);
  opacity: var(--opacity, 1);
}

.aux-divider-fill.opacity-33 { opacity: 0.33; }
.aux-divider-fill.opacity-66 { opacity: 0.66; }

.grid-4.aux-inner-box {
  display: flex;
  justify-content: center; /* tengah secara horizontal */
  align-items: center;     /* tengah secara vertikal */
  gap: 20px;               /* jarak antar card */
  flex-wrap: wrap;         /* biar responsif */
  text-align: center;      /* isi teks ke tengah */
}


.grid-4.aux-inner-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card.aux-appear-watch-animation {
  background: white;
  border-radius: var(--radius-xl);
  /* padding: 2rem; */
  border: 1px solid var(--border);
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.card-icon.bg-gradient-primary,
.card-icon.bg-gradient-blue {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-title.aux-h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.card.highlight {
  border: 3px solid var(--border);
  transform: scale(1.05);
  z-index: 2;
  background-color: var(--muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-decor-img.aux-image {
      width: 80px;
  }
  
  .hero-content.aux-inner-box {
      padding: 1rem;
  }
  
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-subtitle,
  .hero-description {
      font-size: 1.25rem;
  }
  
}

@media (max-width: 480px) {
  .hero-decor-img.aux-image {
      width: 60px;
  }
  
  .hero-title {
      font-size: 2rem;
  }
  
  .hero-subtitle,
  .hero-description {
      font-size: 1rem;
  }
}

.floating-div {
  position: absolute;       /* biar bisa bebas ditempatkan */
  left: 50%;   
  transform: translateX(-50%);
  top: 1000px;               /* naik ke atas (ubah angka sesuai kebutuhan) */
  z-index: 10;              /* pastikan tetap di atas elemen lain */
  width: 86.5%;              /* biar lebar grid tetap penuh */
}


.card:hover .card-icon {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.card:hover .card-icon svg {
  transition: all 0.3s ease;
}

.card-icon {
  transition: all 0.3s ease; /* ini bikin smooth balik */
}

.card-icon svg {
  transition: all 0.3s ease; /* animasi smooth untuk fill & stroke */
}




.animasi-teks {
    display: inline-block;
    position: relative;
    height: 2rem; /* Sesuaikan dengan tinggi teks */
    overflow: hidden;
}
.iner {
    display: inline-block;
    position: relative;
}
.sleder-visible, .sleder-hidden {
    display: block;
    position: absolute;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}
.sleder-visible {
    transform: translateY(0);
}
.sleder-hidden {
    transform: translateY(100%);
}
.sleder-active {
    transform: translateY(0) !important;
}
.sleder-out {
    transform: translateY(-100%) !important;
}

.peding{
  padding: 2% ;
}

.atasdikit{
  /* transform: translateY(-100px); */
  z-index: 999;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center; /* tengah secara horizontal */
  align-items: center;     /* tengah secara vertikal */
  flex-wrap: wrap;         /* biar responsif */
  margin-top: -220px;
}

.jarak-baris{
  line-height: 1.3 !important;
  display: inline-block;    /* supaya width bisa diterapkan */
  max-width: 600px;  
}

.atasdikit svg {
  z-index: 999 !important;
}

.glo {
  position: absolute;
  width: 100%;
  bottom: 0;
  transform: translateY(10px);
}




/* Responsive Styles for .foto_b */

/* Tablet and Smaller Screens */
@media (max-width: 1280px) {
  .foto_b {
    width: 500px !important;
    height: 500px !important;
    margin-top: 300px;
    /* right: 100%; */
    /* opacity: 0.25; */
  }
}
@media (max-width: 1024px) {
  .foto_b {
    width: 500px !important;
    height: 500px !important;
    margin-top: 300px;
    /* right: 100%; */
    /* opacity: 0.25; */
  }
}
@media (max-width: 950px) {
  .foto_b {
    width: 500px !important;
    height: 500px !important;
    margin-top: 350px;
    /* right: 100%; */
    /* opacity: 0.25; */
  }
}
@media (max-width: 880px) {
  .foto_b {
    width: 500px !important;
    height: 500px !important;
    margin-top: 450px;
    /* right: 100%; */
    /* opacity: 0.25; */
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  .foto_b {
    width: 400px !important;
    height: 400px !important;
    margin-top: 350px;
    right: auto !important;
    transform: translateX(40%); 
    /* right: 100%; */
    /* opacity: 0.2; */
  }
}

/* Small Mobile Screens */
@media (max-width: 425px) {
  .foto_b {
    width: 350px !important ;
    height: 350px !important;
    margin-top: 300px;
    right: auto !important;
    transform: translateX(10%); 
    /* right: 100%; */
  }
}
/* Small Mobile Screens */
@media (max-width: 550px) {
  .foto_b {
    width: 350px !important ;
    height: 350px !important;
    margin-top: 375px;
    right: auto !important;
    transform: translateX(20%); 
    /* right: 100%; */
  }
}
/* Small Mobile Screens */
@media (max-width: 480px) {
  .foto_b {
    width: 350px !important ;
    height: 350px !important;
    margin-top: 400px;
    right: auto !important;
    transform: translateX(5%); 
    /* right: 100%; */
  }
}

@media (max-width: 375px) {
  .foto_b {
    width: 300px !important ;
    height: 300px !important;
    margin-top: 500px;
    right: auto !important;
    transform: translateX(10%); 
    /* right: 100%; */
  }
}