/* ============================= */
/* ULTRA PREMIUM RESPONSIVE CSS  */
/* ADD THIS AT THE VERY BOTTOM   */
/* ============================= */

/* ===== LARGE LAPTOPS ===== */
@media (max-width: 1400px) {
  .hero-content,
  .features-container,
  .products-container,
  .partners-container,
  .about-container,
  .footer-content,
  .cta-content {
    max-width: 1180px;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .about-text h2 {
    font-size: 3.5rem;
  }
}

/* ===== LAPTOP ===== */
@media (max-width: 1200px) {
  html {
    font-size: 95%;
  }

  .hero-content {
    gap: 2rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-image {
    max-width: 500px;
    margin: auto;
  }

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

  .about-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .full-width {
    grid-column: auto;
  }
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  body {
    overflow-x: hidden;
  }

  section {
    overflow: hidden;
  }

  .nav-container {
    height: 72px;
    padding: 0 1.2rem;
  }

  .nav-logo {
    font-size: 1.4rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 40px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.2rem;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  .hero-text p {
    max-width: 700px;
    margin-inline: auto;
  }

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

  .hero-image-wrapper {
    max-width: 500px;
    margin: auto;
  }

  .features,
  .products,
  .partners,
  .cta-section,
  .about {
    padding: 5rem 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card,
  .product-card {
    padding: 1.8rem;
  }

  .about-text h2 {
    font-size: 3rem;
  }
}

/* ===== MOBILE MENU BEAUTIFUL ===== */
@media (max-width: 768px) {
  html {
    font-size: 90%;
  }

  body {
    overflow-x: hidden;
  }

  nav {
    padding: 0.8rem 0;
    backdrop-filter: blur(25px);
  }

  .nav-container {
    height: 65px;
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.2rem;
    letter-spacing: -0.5px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    width: 24px;
    height: 2.5px;
    border-radius: 20px;
    transition: 0.35s ease;
  }

  .nav-links {
    position: fixed;
    inset: 65px 0 auto 0;
    width: 100%;
    background: rgba(7, 17, 12, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: all 0.5s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.active {
    max-height: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
  }

  .hero {
    padding: 90px 0 30px;
  }

  .hero::before,
  .hero::after {
    opacity: 0.5;
  }

  .hero-content {
    padding: 1rem;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .hero-image-wrapper {
    padding: 1rem;
    border-radius: 24px;
  }

  .hero-image-wrapper img {
    border-radius: 16px;
  }

  .section-title {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .features,
  .products,
  .partners,
  .cta-section,
  .about {
    padding: 4rem 1rem;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .feature-card,
  .product-card {
    border-radius: 22px;
    padding: 1.5rem;
  }

  .feature-card:hover,
  .product-card:hover {
    transform: translateY(-6px);
  }

  .feature-title {
    font-size: 1.15rem;
  }

  .feature-text,
  .product-feature-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .product-badge {
    font-size: 0.72rem;
  }

  .about {
    padding-top: 5rem;
  }

  .about-container {
    gap: 2.5rem;
  }

  .about-image-wrapper {
    border-radius: 26px;
    padding: 12px;
  }

  .about-profile-image {
    border-radius: 20px;
  }

  .experience-badge {
    bottom: 16px;
    right: 16px;
    padding: 12px 15px;
    border-radius: 18px;
    min-width: 95px;
  }

  .experience-badge span {
    font-size: 1.3rem;
  }

  .experience-badge p {
    font-size: 0.68rem;
  }

  .about-tag {
    font-size: 0.78rem;
    padding: 8px 14px;
    margin-bottom: 18px;
  }

  .about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
    line-height: 1.1;
  }

  .about-description {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .contact-grid {
    margin-top: 25px;
    gap: 1rem;
  }

  .contact-card {
    padding: 1.2rem;
    border-radius: 20px;
    gap: 14px;
  }

  .contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    font-size: 1.1rem;
  }

  .contact-content h3 {
    font-size: 0.95rem;
  }

  .contact-content a,
  .contact-content p {
    font-size: 0.85rem;
    line-height: 1.7;
    word-break: break-word;
  }

  .partners-image {
    border-radius: 18px;
  }

  .cta-section h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .cta-section p {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .cta-buttons-section {
    flex-direction: column;
  }

  footer {
    padding: 2rem 1rem;
  }

  .footer-logo {
    font-size: 1.1rem;
  }

  .footer-text {
    font-size: 0.82rem;
    line-height: 1.7;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-link {
    width: 42px;
    height: 42px;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  html {
    font-size: 85%;
  }

  .hero {
    padding-top: 85px;
  }

  .hero-content {
    padding: 0.8rem;
  }

  .hero-text h1 {
    font-size: 1.7rem;
    line-height: 1.15;
  }

  .hero-text p {
    font-size: 0.85rem;
  }

  .btn {
    min-height: 50px;
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
    border-radius: 12px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .feature-card,
  .product-card {
    padding: 1.2rem;
    border-radius: 18px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 12px;
  }

  .product-title {
    font-size: 1.3rem;
  }

  .about {
    padding-inline: 0.8rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-description {
    font-size: 0.85rem;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .contact-icon {
    margin-bottom: 4px;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .cta-section p {
    font-size: 0.85rem;
  }

  .social-link {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

/* ===== ULTRA SMALL DEVICES ===== */
@media (max-width: 360px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .btn {
    font-size: 0.78rem;
  }

  .contact-content a,
  .contact-content p {
    font-size: 0.8rem;
  }
}

/* ===== PREMIUM MOBILE ANIMATIONS ===== */

@media (hover: hover) {
  .feature-card,
  .product-card,
  .contact-card,
  .btn,
  .social-link,
  .hero-image-wrapper,
  .about-image-wrapper {
    transition:
      transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 0.45s ease,
      border-color 0.45s ease,
      background 0.45s ease;
  }
}

/* ===== SMOOTH MOBILE TOUCH ===== */

* {
  -webkit-tap-highlight-color: transparent;
}

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

button,
a,
.btn,
.social-link,
.contact-card {
  touch-action: manipulation;
}

/* ===== SUPER SMOOTH SCROLL ===== */

html {
  scroll-behavior: smooth;
}

/* ===== BEAUTIFUL SCROLLBAR ===== */

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

::-webkit-scrollbar-track {
  background: #0b1610;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4af37, #8b6b12);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0d46a, #b8860b);
}
/* ========================================= */
/* ULTRA PREMIUM GLASSMORPHIC CONTACT BOXES  */
/* REPLACE YOUR OLD .contact-card CSS        */
/* ========================================= */

.contact-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 32px;
  border-radius: 30px;

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(22px);

  overflow: hidden;

  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease,
    background 0.5s ease;

  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);

  isolation: isolate;
}

/* GOLD LIGHT EFFECT */
.contact-card::before {
  content: '';
  position: absolute;
  inset: -1px;

  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.25),
    transparent 20%,
    transparent 50%,
    rgba(212, 175, 55, 0.15) 100%
  );

  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

/* SHINY SWEEP */
.contact-card::after {
  content: '';
  position: absolute;
  top: -150%;
  left: -40%;
  width: 60%;
  height: 350%;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);

  transform: rotate(25deg);
  transition: 0.8s ease;
}

.contact-card:hover::after {
  left: 130%;
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card:hover {
  transform: translateY(-12px) scale(1.02);

  border-color: rgba(212, 175, 55, 0.45);

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(212, 175, 55, 0.12);
}

/* ========================================= */
/* ICON STYLING */
/* ========================================= */

.contact-icon {
  position: relative;
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 22px;

  background: linear-gradient(135deg, #d4af37 0%, #f0d46a 100%);

  color: #111;

  font-size: 1.4rem;

  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.28);

  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

/* ICON GLOW */
.contact-icon::before {
  content: '';
  position: absolute;
  inset: -8px;

  border-radius: inherit;

  background: radial-gradient(circle, rgba(212, 175, 55, 0.45), transparent 70%);

  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.contact-card:hover .contact-icon {
  transform: rotate(-8deg) scale(1.08);

  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.45);
}

.contact-card:hover .contact-icon::before {
  opacity: 1;
}

/* ========================================= */
/* TEXT */
/* ========================================= */

.contact-content {
  flex: 1;
}

.contact-content h3 {
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.contact-content a,
.contact-content p {
  display: block;
  text-decoration: none;

  color: rgba(255, 255, 255, 0.76);

  font-size: 0.97rem;
  line-height: 1.9;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.contact-content a:hover {
  color: #f0d46a;
  transform: translateX(6px);
}

/* ========================================= */
/* FULL WIDTH CARD */
/* ========================================= */

.full-width {
  grid-column: 1 / -1;
}

/* ========================================= */
/* FLOATING PARTICLE */
/* ========================================= */

.contact-card .floating-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;

  background: rgba(212, 175, 55, 0.4);

  top: 20px;
  right: 20px;

  filter: blur(1px);

  animation: floatingDot 4s ease-in-out infinite;
}

@keyframes floatingDot {
  0%,
  100% {
    transform: translateY(0px);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-12px);
    opacity: 1;
  }
}

/* ========================================= */
/* MOBILE RESPONSIVE */
/* ========================================= */

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .full-width {
    grid-column: auto;
  }
}

@media (max-width: 1101px) {
  /* Contact Cards inside About */
  .contact-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 24px;
    min-height: auto;
  }

  .contact-card .contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 18px;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    margin-left: auto;
    margin-right: auto;
  }

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

  .contact-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .contact-content a,
  .contact-content p {
    font-size: 0.85rem;
    line-height: 1.7;
    word-break: break-word;
  }

  .contact-card {
    padding: 24px;
    border-radius: 24px;
    gap: 16px;
  }

  .contact-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 18px;
    font-size: 1.15rem;
    align-items: center;
    justify-content: center;
    display: flex;
  }

  .contact-content h3 {
    font-size: 0.95rem;
  }

  .contact-content a,
  .contact-content p {
    font-size: 0.88rem;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .contact-card {
    flex-direction: column;
    padding: 20px;
    border-radius: 22px;
  }

  .contact-icon {
    margin-bottom: 6px;
  }

  .contact-content a,
  .contact-content p {
    font-size: 0.84rem;
  }
}
/* =========================
   GLOBAL TRANSITIONS
========================= */

*,
*::before,
*::after {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.35s ease,
    box-shadow 0.45s ease,
    filter 0.35s ease;
}

/* =========================
   SMOOTH PAGE LOAD
========================= */

body {
  animation: pageReveal 1s ease;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: scale(1.01);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================
   NAVBAR
========================= */

nav {
  animation: navDrop 0.9s ease;
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links a {
  position: relative;
  overflow: hidden;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #d4af37;
  transition: width 0.4s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  transform: translateY(-2px);
}

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

.hero-text h1 {
  animation:
    heroTitle 1s ease,
    floatingText 5s ease-in-out infinite;
}

@keyframes heroTitle {
  from {
    opacity: 0;
    transform: translateY(60px);
    letter-spacing: 10px;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0;
  }
}

@keyframes floatingText {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

.hero-text p {
  animation: fadeUp 1.2s ease;
}

.hero-image-wrapper {
  animation:
    imageFloat 6s ease-in-out infinite,
    fadeScale 1.2s ease;
}

@keyframes imageFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-image-wrapper:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.45),
    0 0 35px rgba(212, 175, 55, 0.18);
}

/* =========================
   BUTTONS
========================= */

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);

  transition: all 0.7s ease;
}

.btn:hover::before {
  left: 120%;
}

.btn:hover {
  transform: translateY(-6px) scale(1.03);
}

.btn:active {
  transform: scale(0.96);
}

/* =========================
   SECTION TITLES
========================= */

.section-title {
  animation: revealTitle 1s ease;
}

@keyframes revealTitle {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-subtitle {
  animation: fadeUp 1.2s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   FEATURE CARDS
========================= */

.feature-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.08), transparent);

  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-14px) rotateX(4deg) rotateY(-4deg);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.18),
    0 0 30px rgba(212, 175, 55, 0.12);
}

.feature-icon {
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  }

  50% {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.35);
  }
}

.feature-card:hover .feature-icon {
  transform: scale(1.18) rotate(12deg);
}

/* =========================
   PRODUCT CARDS
========================= */

.product-card {
  transform-style: preserve-3d;
}

.product-card:hover {
  transform: translateY(-18px) scale(1.03) rotateX(4deg);
}

.product-badge {
  animation:
    badgePulse 2.5s infinite,
    glowBadge 3s infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes glowBadge {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
  }

  50% {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.45);
  }
}

/* =========================
   ABOUT SECTION
========================= */

.about {
  animation: fadeUp 1.2s ease;
}

.about-image-wrapper {
  transition:
    transform 0.6s ease,
    box-shadow 0.6s ease;
}

.about-image-wrapper:hover {
  transform: translateY(-12px) rotate(-1deg);

  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(212, 175, 55, 0.18);
}

.about-profile-image {
  transition:
    transform 0.7s ease,
    filter 0.5s ease;
}

.about-image-wrapper:hover .about-profile-image {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* =========================
   EXPERIENCE BADGE
========================= */

.experience-badge {
  animation:
    badgeFloat 4s ease-in-out infinite,
    glowBadge 4s infinite;
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* =========================
   CONTACT CARDS
========================= */

.contact-card {
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);

  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.contact-card:hover::before {
  transform: translateX(100%);
}

.contact-card:hover {
  transform: translateY(-12px) scale(1.02);
}

.contact-card:hover .contact-icon {
  transform: scale(1.15) rotate(10deg);
}

.contact-icon {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

/* =========================
   PARTNERS IMAGE
========================= */

/* =========================
   CTA SECTION
========================= */

.cta-section {
  position: relative;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.04), transparent);

  animation: ctaGlow 6s linear infinite;
}

@keyframes ctaGlow {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

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

.footer-logo {
  animation: glowText 4s ease-in-out infinite;
}

@keyframes glowText {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0));
  }

  50% {
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.45));
  }
}

.social-link {
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);

  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-8px) rotate(8deg) scale(1.08);
}

/* =========================
   SCROLL ANIMATION CLASSES
========================= */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.zoom-reveal {
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.zoom-reveal.active {
  opacity: 1;
  transform: scale(1);
}

/* =========================
   RIPPLE EFFECT
========================= */

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* =========================
   SCROLLBAR
========================= */

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

::-webkit-scrollbar-track {
  background: #0d1f15;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4af37, #f0d46a);

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0d46a, #d4af37);
}

/* =========================
   MOBILE ANIMATION TUNING
========================= */

@media (max-width: 768px) {
  .feature-card:hover,
  .product-card:hover,
  .contact-card:hover,
  .about-image-wrapper:hover {
    transform: translateY(-8px) scale(1.01);
  }

  .hero-text h1 {
    animation-duration: 0.8s;
  }

  .btn:hover {
    transform: translateY(-4px);
  }
}

/* =========================
   EXTRA LUXURY GLOW
========================= */

.hero::before,
.hero::after,
.cta-section::before {
  animation: floatingAura 8s ease-in-out infinite;
}

@keyframes floatingAura {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}
/* ============================================
   MEDIA.CSS - COMPLETE MOBILE & RESPONSIVE FIXES
   Premium Car Loans Landing Page
   Fixes all alignment issues for product & about sections
   ============================================ */

/* ===== BASE MOBILE RESET ===== */
* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  overflow-x: hidden;
  width: 100%;
}

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

/* ===== VARIABLES (ensuring consistency) ===== */
:root {
  --primary: #1a472a;
  --accent: #d4af37;
  --accent-light: #e8c547;
  --dark: #0f1419;
  --white: #ffffff;
}

/* ===== LARGE LAPTOPS ===== */
@media (max-width: 1400px) {
  .hero-content,
  .features-container,
  .products-container,
  .partners-container,
  .about-container,
  .footer-content,
  .cta-content {
    max-width: 1180px;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .about-text h2 {
    font-size: 3.5rem;
  }
}

/* ===== LAPTOP (1200px and below) ===== */
@media (max-width: 1200px) {
  html {
    font-size: 95%;
  }

  .hero-content {
    gap: 2rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-image {
    max-width: 500px;
    margin: auto;
  }

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

  .about-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .full-width {
    grid-column: auto;
  }
}

/* ===== TABLET (992px and below) ===== */
@media (max-width: 992px) {
  body {
    overflow-x: hidden;
  }

  section {
    overflow: hidden;
  }

  .nav-container {
    height: 72px;
    padding: 0 1.2rem;
  }

  .nav-logo {
    font-size: 1.4rem;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 40px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.2rem;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  .hero-text p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-image-wrapper {
    max-width: 500px;
    margin: auto;
  }

  .features,
  .products,
  .partners,
  .cta-section,
  .about {
    padding: 5rem 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .feature-card,
  .product-card {
    padding: 1.8rem;
  }

  .about-text h2 {
    font-size: 3rem;
  }
}

.hero-line-one {
  font-size: 25px;
  padding-left: 25px;
  margin: 0;
  line-height: 1.1;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #fff;
  font-weight: 500;
}

.hero-line-two {
  font-size: 25px;
  padding-left: 25px;
  margin: 0;
  margin-top: -40px;
  line-height: 1.1;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #fff;
  font-weight: 500;
}

.hero-line-two .small-text {
  font-size: 13px;
  opacity: 0.9;
}

.hero-line-two .medium-text {
  font-size: 16px;
}

.hero-text > p:last-of-type {
  margin-top: 12px;
}
/* ===== MOBILE (768px and below) - MAIN FIXES ===== */
@media (max-width: 768px) {
  html {
    font-size: 90%;
  }

  body {
    overflow-x: hidden;
  }
  .hero-line-two {
    margin-top: -20px;
  }
  .hero-line-two .big-text {
    font-size: 160px;
  }

  /* Navigation */
  nav {
    padding: 0.8rem 0;
    backdrop-filter: blur(25px);
  }

  .nav-container {
    height: 65px;
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.2rem;
    letter-spacing: -0.5px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    width: 24px;
    height: 2.5px;
    border-radius: 20px;
    transition: 0.35s ease;
  }

  .nav-links {
    position: fixed;
    inset: 65px 0 auto 0;
    width: 100%;
    background: rgba(7, 17, 12, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: all 0.5s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.active {
    max-height: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
  }

  /* Hero Section */
  .hero {
    margin-top: 70px;
    padding: 60px 0 40px;
  }

  .hero::before,
  .hero::after {
    opacity: 0.4;
  }

  .hero-content {
    padding: 1rem;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
  }

  .hero-text p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    border-radius: 14px;
    font-size: 0.92rem;
    padding: 0.8rem 1rem;
  }

  .hero-image-wrapper {
    padding: 1rem;
    border-radius: 24px;
    max-width: 100%;
  }

  .hero-image-wrapper img {
    border-radius: 16px;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  /* Features Section */
  .features {
    padding: 4rem 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .feature-card {
    padding: 1.5rem;
    border-radius: 22px;
  }

  .feature-card:hover {
    transform: translateY(-6px);
  }

  .feature-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .feature-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* ===== PRODUCTS SECTION - CRITICAL FIXES ===== */
  .products {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-card {
    padding: 1.8rem;
    border-radius: 24px;
    text-align: center;
  }

  .product-feature {
    align-items: center;
    justify-content: center;
  }
  .product-feature-icon {
    display: none;
  }
  .product-card:hover {
    transform: translateY(-8px);
  }

  .product-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }

  .product-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
  }

  .product-feature {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    align-items: flex-start;
  }

  .product-feature-icon {
    font-size: 1rem;
    margin-top: 0.2rem;
    min-width: 20px;
  }

  .product-feature-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* ===== ABOUT SECTION - CRITICAL FIXES ===== */
  .about {
    padding: 5rem 1rem;
    background:
      radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 25%),
      linear-gradient(135deg, #07110c 0%, #0d1f15 40%, #102619 100%);
  }

  .about-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0;
  }

  .about-image {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .about-image-wrapper {
    border-radius: 26px;
    padding: 12px;
  }

  .about-profile-image {
    border-radius: 20px;
    width: 100%;
    height: auto;
  }

  .about-text {
    text-align: center;
    padding: 0;
  }

  .about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .about-description {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .full-width {
    grid-column: auto;
  }

  /* Partners Section */
  .partners {
    padding: 4rem 1rem;
  }

  .partners-image {
    border-radius: 18px;
    width: 100%;
  }

  /* CTA Section */
  .cta-section {
    padding: 4rem 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .cta-section p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
  }

  .cta-buttons-section {
    flex-direction: column;
    gap: 1rem;
  }

  /* Footer */
  footer {
    padding: 2rem 1rem;
  }

  .footer-logo {
    font-size: 1.2rem;
  }

  .footer-text {
    font-size: 0.82rem;
    line-height: 1.7;
  }

  .social-links {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .social-link {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* ===== SMALL MOBILE (480px and below) ===== */
@media (max-width: 480px) {
  html {
    font-size: 85%;
  }

  /* Navigation */
  .nav-logo {
    font-size: 1.1rem;
  }

  /* Hero */
  .hero {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .hero-content {
    padding: 0.8rem;
  }

  .hero-text h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .btn {
    min-height: 48px;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    border-radius: 12px;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  /* Features */
  .feature-card {
    padding: 1.2rem;
    border-radius: 18px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    border-radius: 12px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-text {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* Products - Critical mobile fixes */
  .products {
    padding: 3rem 0.8rem;
  }

  .products-grid {
    gap: 1rem;
  }

  .product-card {
    padding: 1.3rem;
    border-radius: 20px;
  }

  .product-badge {
    padding: 0.3rem 0.9rem;
    font-size: 0.65rem;
    margin-bottom: 0.8rem;
  }

  .product-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .product-feature {
    gap: 0.7rem;
    margin-bottom: 0.8rem;
  }

  .product-feature-icon {
    font-size: 0.9rem;
    min-width: 18px;
  }

  .product-feature-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* About Section - Critical mobile fixes */
  .about {
    padding: 3rem 0.8rem;
  }

  .about-container {
    gap: 1.8rem;
  }

  .about-image {
    max-width: 280px;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-description {
    font-size: 0.85rem;
    line-height: 1.7;
    padding: 0;
  }

  .contact-grid {
    gap: 0.8rem;
    margin-top: 1.2rem;
  }

  .contact-card {
    padding: 1.2rem;
    border-radius: 20px;
    flex-direction: column;
    text-align: center;
  }

  .contact-card .contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 15px;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }

  .contact-content h3 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .contact-content a,
  .contact-content p {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  /* Partners */
  .partners {
    padding: 3rem 0.8rem;
  }

  /* CTA */
  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.85rem;
  }

  /* Footer */
  .social-link {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .footer-logo {
    font-size: 1rem;
  }

  .footer-text {
    font-size: 0.75rem;
  }
}

/* ===== ULTRA SMALL DEVICES (360px and below) ===== */
@media (max-width: 360px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .btn {
    font-size: 0.8rem;
    min-height: 44px;
  }

  .product-title {
    font-size: 1.2rem;
  }

  .contact-content a,
  .contact-content p {
    font-size: 0.75rem;
  }

  .product-feature-text {
    font-size: 0.8rem;
  }

  .about-description {
    font-size: 0.8rem;
  }
}

/* ===== LANDSCAPE MODE FIXES ===== */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-content {
    gap: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .about {
    padding: 3rem 1rem;
  }

  .about-container {
    gap: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  @media (max-width: 600px) and (orientation: landscape) {
    .products-grid {
      grid-template-columns: 1fr;
    }
  }
}

/* ===== TOUCH FRIENDLY IMPROVEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .nav-links a,
  .social-link,
  .feature-card,
  .product-card,
  .contact-card {
    cursor: pointer;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .btn:active {
    transform: scale(0.97);
    opacity: 0.9;
  }

  .feature-card:active,
  .product-card:active {
    transform: scale(0.98);
  }

  .nav-links a:active {
    opacity: 0.7;
  }
}

/* ===== SAFE AREA INSETS FOR NOTCH DEVICES ===== */
@supports (padding: max(0px)) {
  .hero,
  .features,
  .products,
  .about,
  .partners,
  .cta-section,
  footer {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .nav-container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* ===== PREVENT HORIZONTAL SCROLL ===== */
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.container,
section {
  overflow-x: hidden;
  max-width: 100%;
}

/* ===== SMOOTH SCROLLBAR FOR MOBILE ===== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #0b1610;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4af37, #8b6b12);
  border-radius: 10px;
}

/* ===== IMAGE RESPONSIVENESS ===== */
img {
  max-width: 100%;
  height: auto;
}

.hero-image-wrapper img,
.partners-image,
.about-profile-image {
  width: 100%;
  object-fit: cover;
}

/* ===== BUTTON FULL WIDTH ON MOBILE ===== */
@media (max-width: 768px) {
  .cta-buttons .btn,
  .cta-buttons-section .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
}

/* ===== GRID GAP ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .features-grid,
  .products-grid {
    gap: 1.2rem;
  }

  .contact-grid {
    gap: 1rem;
  }
}

/* ===== TYPOGRAPHY ADJUSTMENTS ===== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1,
  h2,
  h3 {
    word-break: break-word;
  }
}

/* ===== FIX FOR IMAGES IN ABOUT SECTION ===== */
@media (max-width: 768px) {
  .about-image-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .about-image-glow {
    display: none; /* Performance improvement on mobile */
  }
}

/* ===== ENSURE PRODUCT BADGE VISIBLE ===== */
@media (max-width: 480px) {
  .product-badge {
    display: inline-block;
  }
}

/* ===== SPACING FIXES ===== */
@media (max-width: 768px) {
  section {
    scroll-margin-top: 70px;
  }

  .hero {
    scroll-margin-top: 0;
  }
}
/* =========================
   Responsive Hero Text
========================= */

/* Large Tablets / Small Laptops */
@media (max-width: 1024px) {
  .hero-line-two .small-text {
    font-size: 15px !important;
  }

  .hero-line-two .big-text {
    font-size: 22px !important;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .hero-line-two {
    text-align: center;
  }

  .hero-line-two .small-text {
    font-size: 14px !important;
    display: block;
    margin-bottom: 4px;
  }

  .hero-line-two .big-text {
    font-size: 20px !important;
    display: block;
  }
}

/* Mobile Devices */
@media (max-width: 576px) {
  .hero-line-two .small-text {
    font-size: 13px !important;
  }

  .hero-line-two .big-text {
    font-size: 18px !important;
    line-height: 1.3;
  }
}

/* Small Mobile Devices */
@media (max-width: 400px) {
  .hero-line-two .small-text {
    font-size: 12px !important;
  }

  .hero-line-two .big-text {
    font-size: 16px !important;
  }
}
