/* ============================================
   SIMINS TECH SOLUTIONS - COMMON CSS
   (Fully Responsive - All Devices)
   ============================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Colors */
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a26;
  --primary: #00a8ff;
  --primary-dark: #0066ff;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
  --gradient-reverse: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  
  /* Text */
  --text-white: #ffffff;
  --text-grey: #a0a0b0;
  --text-dim: #6a6a7a;
  
  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 168, 255, 0.4);
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 168, 255, 0.3);
  
  /* Spacing - Fluid */
  --section-padding: clamp(60px, 8vw, 100px) 0;
  --container-width: 1200px;
  --container-padding: clamp(16px, 3vw, 24px);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  min-height: 100vh;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- SCROLLBAR (Desktop only) ---------- */
@media (min-width: 992px) {
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg-dark);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: var(--radius-full);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
  }
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* ---------- SECTION HEADINGS (Reusable) ---------- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(36px, 6vw, 60px);
  padding: 0 4px;
}

.section-tag {
  display: inline-block;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 16px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  background: rgba(0, 168, 255, 0.05);
}

.section-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-grey);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(12px, 1.5vw, 14px) clamp(20px, 2.5vw, 28px);
  font-size: clamp(13.5px, 1.3vw, 15px);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-height: 44px;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(0, 168, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 168, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  background: rgba(0, 168, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 1001;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 40px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-grey);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
  background: rgba(0, 168, 255, 0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Nav CTA */
.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1002;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #06060a;
  border-top: 1px solid var(--border);
  padding: clamp(50px, 7vw, 70px) 0 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 40px);
  padding-bottom: 50px;
}

.footer-brand img {
  height: clamp(50px, 6vw, 60px);
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-grey);
  font-size: 14px;
  max-width: 300px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-grey);
  font-size: 16px;
  transition: var(--transition);
  min-width: 44px;
  min-height: 44px;
}

.footer-social a:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-white);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-grey);
  font-size: 14px;
  line-height: 1.5;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-grey);
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-contact li i {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact li a {
  color: var(--text-grey);
  word-break: break-all;
}

.footer-contact li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-dim);
  font-size: 13px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* ============================================
   RESPONSIVE - LARGE DESKTOP (1440px+)
   ============================================ */
@media (min-width: 1440px) {
  :root {
    --container-width: 1280px;
  }
}


/* ============================================
   RESPONSIVE - DESKTOP TO TABLET LANDSCAPE (1024px - 1199px)
   ============================================ */
@media (max-width: 1199px) {
  .nav-links a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .nav-cta {
    padding: 10px 18px;
    font-size: 13px;
  }
}


/* ============================================
   RESPONSIVE - TABLET LANDSCAPE (992px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .nav-links a {
    padding: 8px 10px;
    font-size: 13.5px;
  }

  .nav-logo img {
    height: 44px;
  }
}


/* ============================================
   RESPONSIVE - TABLET (max 992px)
   ============================================ */
@media (max-width: 992px) {

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}


/* ============================================
   RESPONSIVE - SMALL TABLET (max 820px)
   ============================================ */
@media (max-width: 820px) {

  .nav-wrapper {
    gap: 12px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 12.5px;
  }

  .nav-logo img {
    height: 42px;
  }
}


/* ============================================
   RESPONSIVE - MOBILE LANDSCAPE (568px - 768px)
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {

  :root {
    --section-padding: 50px 0;
  }

  .navbar {
    padding: 10px 0;
  }

  .navbar.scrolled {
    padding: 8px 0;
  }

  .nav-logo img {
    height: 38px;
  }

  .navbar.scrolled .nav-logo img {
    height: 34px;
  }

  /* Mobile menu in landscape */
  .nav-links {
    width: 60%;
    max-width: 340px;
    padding: 80px 24px 30px;
    overflow-y: auto;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 15px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 16px;
    right: 16px;
  }
}


/* ============================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {

  :root {
    --section-padding: 60px 0;
  }

  html {
    scroll-padding-top: 70px;
  }

  /* Mobile Nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px 40px;
    gap: 6px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border-radius: var(--radius-sm);
    display: block;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.active {
    background: rgba(0, 168, 255, 0.12);
    border-left: 3px solid var(--primary);
    padding-left: 15px;
  }

  .nav-cta {
    display: none;
  }

  .nav-logo img {
    height: 42px;
  }

  .navbar.scrolled .nav-logo img {
    height: 38px;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 20px;
  }

  .footer-brand p {
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact li {
    justify-content: center;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  /* Buttons - full width option */
  .btn {
    padding: 13px 24px;
    font-size: 14px;
  }
}


/* ============================================
   RESPONSIVE - LARGE MOBILE (max 568px)
   ============================================ */
@media (max-width: 568px) {

  :root {
    --container-padding: 16px;
    --section-padding: 55px 0;
  }

  .nav-logo img {
    height: 38px;
  }

  .navbar.scrolled .nav-logo img {
    height: 34px;
  }

  .nav-links {
    width: 85%;
    padding: 90px 24px 30px;
  }

  .section-tag {
    font-size: 11px;
    padding: 5px 14px;
    letter-spacing: 1.5px;
  }

  .section-title {
    font-size: clamp(22px, 6vw, 30px);
    letter-spacing: -0.5px;
  }

  .footer {
    padding-top: 50px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
}


/* ============================================
   RESPONSIVE - SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {

  :root {
    --container-padding: 16px;
    --section-padding: 50px 0;
  }

  .container {
    padding: 0 var(--container-padding);
  }

  .nav-logo img {
    height: 36px;
  }

  .navbar.scrolled .nav-logo img {
    height: 32px;
  }

  .nav-links {
    width: 88%;
    padding: 85px 20px 30px;
  }

  .nav-links a {
    font-size: 15px;
    padding: 13px 16px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 13.5px;
    min-height: 44px;
  }

  .section-tag {
    font-size: 10.5px;
    padding: 5px 12px;
  }

  .section-title {
    font-size: clamp(20px, 6.5vw, 26px);
  }

  .section-desc {
    font-size: 13.5px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-brand img {
    height: 50px;
  }

  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .footer-col ul li a {
    font-size: 13.5px;
  }

  .footer-contact li {
    font-size: 13px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .footer-bottom-links a {
    font-size: 12px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 16px;
    right: 16px;
  }
}


/* ============================================
   RESPONSIVE - EXTRA SMALL (max 375px)
   ============================================ */
@media (max-width: 375px) {

  .nav-logo img {
    height: 34px;
  }

  .navbar.scrolled .nav-logo img {
    height: 30px;
  }

  .hamburger span {
    width: 22px;
  }

  .nav-links {
    width: 90%;
    padding: 80px 18px 24px;
  }

  .nav-links a {
    font-size: 14.5px;
    padding: 12px 14px;
  }

  .section-title {
    font-size: clamp(19px, 7vw, 24px);
  }

  .btn {
    font-size: 13px;
    padding: 11px 18px;
  }

  .whatsapp-float {
    width: 46px;
    height: 46px;
    font-size: 20px;
    bottom: 14px;
    right: 14px;
  }
}


/* ============================================
   RESPONSIVE - SMALLEST (max 320px)
   ============================================ */
@media (max-width: 320px) {

  :root {
    --container-padding: 14px;
  }

  .nav-logo img {
    height: 32px;
  }

  .hamburger {
    padding: 6px;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
  }

  .nav-links {
    width: 92%;
  }

  .nav-links a {
    font-size: 14px;
    padding: 11px 12px;
  }

  .section-title {
    font-size: 18px;
  }

  .section-desc {
    font-size: 13px;
  }

  .btn {
    font-size: 12.5px;
    padding: 10px 16px;
    gap: 6px;
  }

  .footer-brand img {
    height: 44px;
  }

  .whatsapp-float {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}


/* ============================================
   TOUCH DEVICES - Disable hover transforms
   ============================================ */
@media (hover: none) and (pointer: coarse) {

  .btn-primary:hover,
  .btn-outline:hover,
  .btn-whatsapp:hover,
  .footer-social a:hover,
  .whatsapp-float:hover {
    transform: none;
  }

  .footer-col ul li a:hover {
    padding-left: 0;
  }

  /* Better tap targets */
  .btn {
    min-height: 46px;
  }

  .footer-social a {
    min-width: 46px;
    min-height: 46px;
  }
}


/* ============================================
   REDUCED MOTION - Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================
   DARK MODE SUPPORT (already dark, but ensures consistency)
   ============================================ */
@media (prefers-color-scheme: light) {
  /* Site is always dark themed - no changes needed */
}


/* ============================================
   HIGH DPI / RETINA DISPLAYS
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}


/* ============================================
   LANDSCAPE ORIENTATION (all devices)
   ============================================ */
@media (orientation: landscape) and (max-height: 500px) {

  .navbar {
    padding: 8px 0;
  }

  .navbar.scrolled {
    padding: 6px 0;
  }

  .nav-logo img {
    height: 36px;
  }

  .navbar.scrolled .nav-logo img {
    height: 32px;
  }

  .nav-links {
    padding: 70px 24px 20px;
  }

  .whatsapp-float {
    bottom: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}



body,
html {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}