/* ================= GLOBAL STYLESHEET ================= */

/* CSS Variables */
:root {
  --orange: #f5902f;
  --gradient: linear-gradient(135deg, #f2673a, #fda60e);
  --black: #0b0b0b;
  --dark: #111;
  --white: #ffffff;
  --gray: #bdbdbd;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Scrollbar styling */
* {
  scrollbar-width: auto;
  scrollbar-color: var(--orange) var(--black);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 10px;
  border: 3px solid var(--black);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #fda60e, #f2673a);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #f5902f, #fda60e);
}

/* Custom Cursor styling */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(245, 144, 47, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border 0.25s ease;
}

.cursor-ring.ripple {
  animation: cursorRipple 0.6s ease-out;
}

@keyframes cursorRipple {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  to {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

@media (max-width: 992px) {
  body {
    cursor: auto;
  }
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* Buttons */
.btn {
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 144, 47, 0.45);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
}

.logo img {
  width: 120px;
  display: block;
}

.logo span {
  color: var(--white);
  font-size: 18px;
  letter-spacing: 1px;
  transform: translateY(22px);
}

.nav-menu {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--orange);
  background: rgba(245, 144, 47, 0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--orange);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  animation: navSlideIn 0.3s ease forwards;
}

@keyframes navSlideIn {
  from { width: 0; }
  to { width: 30px; }
}

/* Navbar Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 6px;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-btn i {
  font-size: 12px;
  transition: transform 0.3s;
}

.dropdown-btn:hover {
  color: var(--orange);
  background: rgba(245, 144, 47, 0.1);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(245, 144, 47, 0.2);
  z-index: 1000;
  overflow: hidden;
}

.dropdown-content a {
  color: var(--white);
  padding: 12px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  transition: all 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a i {
  width: 20px;
  color: var(--orange);
  font-size: 14px;
}

.dropdown-content a:hover {
  background: rgba(245, 144, 47, 0.1);
  color: var(--orange);
  padding-left: 25px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropdown-btn i {
  transform: rotate(180deg);
}

/* Navbar Responsiveness */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 18px;
  }
  .navbar {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .nav-menu {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 20px;
  }
  .nav-link {
    font-size: 15px;
    padding: 6px 12px;
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-btn {
    justify-content: center;
  }
  .dropdown-content {
    position: static;
    width: 100%;
    margin-top: 5px;
    box-shadow: none;
    border: 1px solid rgba(245, 144, 47, 0.2);
  }
  .dropdown-content a {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .nav-menu {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-link {
    font-size: 14px;
    padding: 5px 10px;
  }
  .logo {
    flex-direction: column;
    text-align: center;
  }
  .logo span {
    font-size: 12px;
    transform: translateY(0);
    display: block;
    margin-top: 5px;
  }
}

@media (max-width: 400px) {
  .nav-menu {
    gap: 5px;
  }
  .nav-link {
    font-size: 13px;
    padding: 4px 8px;
  }
}

/* CTA & Contact Form Styling */
.cta {
  padding: 100px 80px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../assets/cta.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.cta-content {
  text-align: left;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;

  
  color: var(--white);
  line-height: 1.2;
}

.cta-content .scaleup {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

.cta-content p {
  color: var(--white);
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 650px;
}

.cta-form {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 20px;
  color: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.cta-form h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 10px;
  line-height: 1.2;
}

.cta-form .form-sub {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #555;
  letter-spacing: 0.5px;
}

.cta-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-form input,
.cta-form textarea,
.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f9f9f9;
  color: #333;
}

.cta-form input:focus,
.cta-form textarea:focus,
.hero-form input:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 144, 47, 0.2);
  background: #fff;
}

.cta-form textarea,
.hero-form textarea {
  resize: none;
  height: 100px;
  min-height: 100px;
}

.cta-form .checkbox,
.hero-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  cursor: pointer;
  margin: 10px 0 5px;
  text-align: left;
}

.cta-form .checkbox input[type="checkbox"],
.hero-form .checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.cta-form .checkbox span,
.hero-form .checkbox span {
  color: #555;
}

.cta-form .btn,
.hero-form .btn {
  margin-top: 15px;
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
}

/* CTA Responsiveness */
@media (max-width: 1200px) {
  .cta {
    padding: 80px 60px;
  }
  .cta-wrapper {
    gap: 60px;
  }
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 42px;
  }
  .cta-content p {
    font-size: 19px;
  }
}

@media (max-width: 992px) {
  .cta {
    padding: 70px 40px;
  }
  .cta-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .cta-content,
  .cta-content p {
    text-align: center;
    margin: 0 auto 30px;
  }
  .cta-form {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .cta {
    padding: 60px 30px;
  }
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 32px;
  }
  .cta-content p {
    font-size: 18px;
  }
  .cta-form {
    padding: 30px 25px;
  }
  .cta-form h3 {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .cta {
    padding: 50px 20px;
  }
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 28px;
  }
  .cta-content p {
    font-size: 16px;
  }
  .cta-form {
    padding: 25px 20px;
  }
  .cta-form h3 {
    font-size: 20px;
  }
  .cta-form input,
  .cta-form textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .cta-content h2,
  .cta-content .scaleup {
    font-size: 24px;
  }
  .cta-form {
    padding: 20px 15px;
  }
  .cta-form h3 {
    font-size: 18px;
  }
}

/* Footer styling */
.footer {
  background: #ffffff;
  padding: 50px 80px 20px;
  border-top: 1px solid #eee;
  color: #0b0b0b;
  width: 100%;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-logo {
  width: 140px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  letter-spacing: 1px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-contact-btn {
  padding: 12px 30px !important;
  font-size: 14px !important;
  margin-bottom: 20px !important;
  width: auto !important;
  display: inline-block !important;
}

.contact-info p {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.contact-info p i {
  color: var(--orange);
  width: 20px;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin: 10px 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: white !important;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-icons a:hover {
  background: var(--gradient);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(245, 144, 47, 0.3);
}

.footer-bottom {
  margin-top: 10px;
}

.footer-bottom p {
  font-size: 14px;
  color: #333;
}

/* Footer Responsiveness */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-left,
  .footer-right {
    align-items: center;
    text-align: center;
  }
  .contact-info p {
    justify-content: center;
  }
  .footer-contact-btn {
    margin: 0 auto 20px !important;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 20px;
  }
  .contact-info p {
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
  }
  .social-icons {
    justify-content: center;
  }
  .footer-contact-btn {
    padding: 12px 25px !important;
  }
}
