/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

:root {
  --primary-color: #ff6b35;
  --secondary-color: #004e89;
  --dark-bg: #0a0e27;
  --darker-bg: #050814;
  --light-text: #ffffff;
  --gray-text: #a0a0a0;
  --card-bg: #141829;
  --accent-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.6;
  background: var(--darker-bg);
  color: var(--light-text);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================
   MOBILE MENU TOGGLE
   ========================================== */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: var(--card-bg);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--light-text);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--primary-color);
}

/* ==========================================
   SIDE MENU
   ========================================== */

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--dark-bg);
  padding: 60px 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.side-menu .logo {
  margin-bottom: 60px;
  text-align: center;
}

.side-menu .logo img {
  width: 70%;
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.nav-links {
  list-style: none;
  flex: 1;
}

.nav-links li {
  margin-bottom: 12px;
}

.nav-link {
  display: block;
  color: var(--gray-text);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--accent-gradient);
  transition: height 0.3s ease;
  border-radius: 0 3px 3px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--light-text);
  background: rgba(255, 107, 53, 0.1);
}

.nav-link:hover::before,
.nav-link.active::before {
  height: 60%;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon {
  color: var(--gray-text);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.social-icon:hover {
  color: var(--primary-color);
  background: rgba(255, 107, 53, 0.1);
  transform: translateY(-3px);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.main-content {
  margin-left: 260px;
  min-height: 100vh;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  background: 
    linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(5, 8, 20, 0.98) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff6b35;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%23004e89;stop-opacity:0.1" /></linearGradient></defs><circle cx="200" cy="300" r="150" fill="url(%23grad)" /><circle cx="900" cy="500" r="200" fill="url(%23grad)" /><circle cx="600" cy="200" r="100" fill="url(%23grad)" /></svg>');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 0%, var(--darker-bg) 100%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.hero-image {
  flex: 0 0 auto;
  max-width: 500px;
  animation: floatAnimation 3s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-text {
  flex: 1;
  text-align: left;
}

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

.hero-subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 0 40px 0;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--light-text);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--light-text);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray-text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
  0%, 100% {
    opacity: 0;
    transform: translateY(-20px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   SECTION HEADERS
   ========================================== */

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */

.features-section {
  padding: 120px 0;
  background: var(--darker-bg);
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--light-text);
}

.feature-card p {
  color: var(--gray-text);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 10px;
}

.feature-card p b {
  color: var(--primary-color);
  font-weight: 600;
}

.feature-card p .checkmark {
  color: #06d6a0;
  font-weight: bold;
  margin-right: 8px;
  font-size: 16px;
}

/* ==========================================
   GALLERY SECTION (CAROUSEL)
   ========================================== */

.gallery-section {
  padding: 120px 0;
  background: var(--dark-bg);
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  position: relative;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
  padding: 40px 0;
}

.carousel-item {
  flex: 0 0 auto;
  width: 280px;
  transition: all 0.5s ease;
  opacity: 0.6;
  transform: scale(0.85);
  border-radius: 16px;
  overflow: hidden;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1.15);
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.carousel-btn {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary-color);
  width: 32px;
  border-radius: 6px;
}

.carousel-dot:hover {
  background: rgba(255, 107, 53, 0.6);
}

/* ==========================================
   BLOG SECTION
   ========================================== */

.blog-section {
  padding: 120px 0;
  background: var(--darker-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-post {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.blog-image {
  width: 100%;
  height: 70px;
  background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.blog-image h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--light-text);
  text-align: center;
  margin: 0;
}

.blog-post:nth-child(1) .blog-image {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.blog-post:nth-child(2) .blog-image {
  background: linear-gradient(135deg, #004e89 0%, #1a659e 100%);
}

.blog-post:nth-child(3) .blog-image {
  background: linear-gradient(135deg, #6a4c93 0%, #8b5cf6 100%);
}

.blog-post:nth-child(4) .blog-image {
  background: linear-gradient(135deg, #06d6a0 0%, #118ab2 100%);
}

.blog-content {
  padding: 40px;
}

.blog-excerpt {
  color: var(--gray-text);
  line-height: 1.8;
  margin: 0;
  font-size: 16px;
}

/* ==========================================
   PRIVACY POLICY / CONTENT PAGE STYLES
   ========================================== */

.hero-section-small {
  height: 50vh;
  min-height: 400px;
}

.hero-content-centered {
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.content-section {
  padding: 80px 0;
  background: var(--darker-bg);
  position: relative;
  z-index: 10;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 60px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-wrapper h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.last-updated {
  color: var(--gray-text);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.content-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--light-text);
  margin-top: 40px;
  margin-bottom: 15px;
}

.content-text p {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.content-text ul {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 20px;
  margin-left: 20px;
  font-size: 16px;
}

.content-text ul li {
  margin-bottom: 10px;
}

.content-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-section {
  padding: 120px 0;
  background: var(--dark-bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info > p {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 40px;
  font-size: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail svg {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 5px;
}

.contact-detail h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--light-text);
}

.contact-detail p {
  color: var(--gray-text);
}

.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--light-text);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-text);
}

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

.contact-form .btn-primary {
  width: 100%;
  padding: 18px;
  font-size: 16px;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */

.footer-section {
  background: var(--darker-bg);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-about h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 15px;
}

.footer-about h3 .break-text {
  color: #00a637;
}

.footer-about h3 .chrono-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-about p {
  color: var(--gray-text);
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--light-text);
}

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

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--gray-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-newsletter h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--light-text);
}

.footer-newsletter p {
  color: var(--gray-text);
  margin-bottom: 20px;
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--light-text);
  font-size: 14px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form input::placeholder {
  color: var(--gray-text);
}

.newsletter-form button {
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border: none;
  border-radius: 8px;
  color: var(--light-text);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

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

.footer-bottom p {
  color: var(--gray-text);
  font-size: 14px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
  .main-content {
    margin-left: 0;
  }

  .side-menu {
    transform: translateX(-100%);
  }

  .side-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

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

  .hero-description {
    margin: 0 auto 40px;
  }

  .hero-image {
    max-width: 400px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-title {
    font-size: 56px;
  }

  .section-title {
    font-size: 40px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-image {
    max-width: 300px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .features-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-wrapper {
    padding: 30px 20px;
  }

  .content-wrapper h2 {
    font-size: 32px;
  }

  .content-text h3 {
    font-size: 20px;
  }

  .carousel-container {
    flex-direction: column;
    gap: 20px;
  }

  .carousel-wrapper {
    max-width: 100%;
  }

  .carousel-item {
    width: 220px;
  }

  .carousel-item.active {
    transform: scale(1.1);
  }

  .carousel-btn {
    width: 50px;
    height: 50px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info h2 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .feature-card,
  .contact-form {
    padding: 30px 20px;
  }
}
