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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    margin: 0;
    padding: 0;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

main {
    padding: 0 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
}

/* ========================
   PROFESSIONAL SCROLLBAR
======================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 138, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e52e71, #ff8a00);
    box-shadow: 0 0 15px rgba(255, 138, 0, 0.5);
}

/* WhatsApp Button */
@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: clamp(15px, 3vw, 20px);
    left: clamp(15px, 3vw, 20px);
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1000;
    animation: slideInLeft 0.6s ease-out;
}

.whatsapp-icon {
    width: clamp(45px, 6vw, 50px);
    margin-right: -5px;
}

/* Scroll-up Button */
.scroll-up-btn {
    position: fixed;
    height: 50px;
    width: 50px;
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    right: 30px;
    bottom: 30px;
    text-align: center;
    line-height: 50px;
    color: #ffffff;
    z-index: 9999;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-up-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-up-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.4);
}

/* ========================
   HEADER & NAVIGATION
======================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  font-family: 'Ubuntu', sans-serif;
  transition: all 0.4s ease;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 138, 0, 0.1);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 138, 0, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar .logo a {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 32px);
  font-weight: 700;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-left: 5px;
}

.navbar .logo a span {
  color: #ff8a00;
  transition: all 0.3s ease;
  text-decoration: none;
}

.navbar.scrolled .logo a {
  color: #ffffff;
}

.navbar.scrolled .logo a span {
  color: #ffffff;
  text-decoration: none;
}

.navbar .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar .menu li {
  margin-left: clamp(15px, 2vw, 30px);
  position: relative;
}

.navbar .menu li a {
  color: #ffffff;
  font-size: clamp(1rem, 1.5vw, 18px);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
  display: block;
}

.navbar .menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ff8a00;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.navbar .menu li a:hover {
  color: #ff8a00;
}

.navbar .menu li a:hover::after {
  width: 100%;
}

.navbar.scrolled .menu li a {
  color: #ffffff;
}

.navbar.scrolled .menu li a:hover {
  color: #ffffff;
}

.navbar.scrolled .menu li a::after {
  background: #ffffff;
}

/* Services Dropdown Styles */
.services-dropdown {
  position: relative;
}

.services-dropdown>a {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.services-dropdown>a .dropdown-arrow {
  margin-left: 5px;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.services-dropdown:hover>a .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #000000;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
  text-align: left;
}

.services-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  color: #ffffff;
  padding: 12px 25px;
  display: block;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: left;
  position: relative;
}

.dropdown-menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ff8a00;
  bottom: 8px;
  left: 25px;
  transition: width 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgba(255, 138, 0, 0.1);
  color: #ff8a00;
}

.dropdown-menu li a:hover::after {
  width: calc(100% - 50px);
}

/* SUB-DROPDOWN STYLES  */
.sub-dropdown {
  position: relative;
}

.sub-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  padding: 12px 25px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sub-arrow {
  margin-left: 10px;
  font-size: 0.7em;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
}

.sub-dropdown:hover > .sub-dropdown-toggle .sub-arrow {
  transform: rotate(90deg);
  color: #ff8a00;
}

.sub-dropdown:hover > .sub-dropdown-toggle {
  background: rgba(255, 138, 0, 0.1);
  color: #ff8a00;
}

.sub-dropdown-menu {
  position: absolute;
  top: -15px;
  left: 100%;
  width: 180px;
  margin-right: 5px;
  background: #000000;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 1002;
}

.sub-dropdown:hover .sub-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sub-dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-dropdown-menu li {
  margin: 0;
}

.sub-dropdown-menu li a {
  color: #ffffff;
  padding: 8px 15px;
  display: block;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.sub-dropdown-menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background: #ff8a00;
  bottom: 6px;
  left: 15px;
  transition: width 0.3s ease;
}

.sub-dropdown-menu li a:hover {
  background: rgba(255, 138, 0, 0.1);
  color: #ff8a00;
}

.sub-dropdown-menu li a:hover::after {
  width: calc(100% - 30px);
}

/* Mobile Menu */
.menu-btn {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 26px);
  cursor: pointer;
  display: none;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
  margin-right: 5px;
}

.navbar.scrolled .menu-btn {
  color: #ffffff;
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 947px) {
  .menu-btn {
    display: block;
  }

  .menu-btn i.active::before {
    content: "\f00d";
  }

  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    background: #000000;
    padding-top: 100px;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ff8a00 #1a1a1a;
  }

  /* Mobile menu scrollbar styling */
  .navbar .menu::-webkit-scrollbar {
    width: 6px;
  }

  .navbar .menu::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
    margin-top: 100px;
    margin-bottom: 20px;
  }

  .navbar .menu::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    border-radius: 3px;
  }

  .navbar .menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e52e71, #ff8a00);
  }

  .navbar .menu.active {
    left: 0;
  }

  .navbar .menu li {
    width: 90%;
    margin: 0;
    text-align: left;
    padding: 5px 0;
  }

  .navbar .menu li a {
    display: block;
    width: 100%;
    font-size: clamp(1.5rem, 4vw, 28px);
    padding: clamp(10px, 2vw, 15px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
  }

  .navbar.scrolled .menu li a {
    color: #ffffff;
  }

  /* Mobile dropdown adjustments */
  .services-dropdown .dropdown-menu {
    position: static;
    width: 90%;
    margin: 15px auto 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: #ff8a00 #1a1a1a;
  }

  .services-dropdown.active .dropdown-menu {
    max-height: 400px;
    padding: 15px 0;
    overflow-y: auto;
  }

  /* Dropdown scrollbar styling */
  .services-dropdown.active .dropdown-menu::-webkit-scrollbar {
    width: 4px;
  }

  .services-dropdown.active .dropdown-menu::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 2px;
  }

  .services-dropdown.active .dropdown-menu::-webkit-scrollbar-thumb {
    background: #ff8a00;
    border-radius: 2px;
  }

  .dropdown-menu li a {
    font-size: 18px;
    padding: 10px 25px;
    text-align: left;
  }

  .dropdown-menu li a::after {
    left: 50%;
    transform: translateX(-50%);
    bottom: 5px;
  }

  .dropdown-menu li a:hover::after {
    width: 80px;
  }

  .services-dropdown>a .dropdown-arrow {
    display: inline-block;
  }

  .services-dropdown.active>a .dropdown-arrow {
    transform: rotate(180deg);
  }

  /* MOBILE SUB-DROPDOWN STYLES - FIXED */
  .sub-dropdown-menu {
    position: static;
    width: 85%;
    margin: 10px auto 0 30px; /* Left side se margin diya */
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
  }

  .sub-dropdown.active .sub-dropdown-menu {
    max-height: 250px;
    padding: 8px 0;
    overflow-y: auto;
    margin-left: 30px; /* Same margin maintain karo */
  }

  .sub-dropdown.active .sub-dropdown-toggle .sub-arrow {
    transform: rotate(90deg);
    color: #ff8a00;
  }

  .sub-dropdown.active .sub-dropdown-toggle {
    background: rgba(255, 138, 0, 0.1);
    color: #ff8a00;
  }

  .sub-dropdown-toggle {
    padding: 10px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px; /* Mobile par font size bada karo */
  }

  .sub-arrow {
    transition: transform 0.3s ease;
  }

  .sub-dropdown-menu li a {
    font-size: 14px; /* Mobile par 14px karo (12px se bada) */
    padding: 8px 35px;
  }

  /* Sub-dropdown scrollbar styling for mobile */
  .sub-dropdown.active .sub-dropdown-menu::-webkit-scrollbar {
    width: 3px;
  }

  .sub-dropdown.active .sub-dropdown-menu::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 2px;
  }

  .sub-dropdown.active .sub-dropdown-menu::-webkit-scrollbar-thumb {
    background: #ff8a00;
    border-radius: 2px;
  }

  /* Last item ke baad padding for better scroll */
  .navbar .menu li:last-child {
    margin-bottom: 30px;
  }
}

/* DESKTOP HOVER FIXES */
@media (min-width: 948px) {
  /* Ensure sub-dropdown works properly on desktop */
  .sub-dropdown:hover .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  
  /* Fix dropdown positioning */
  .dropdown-menu {
    z-index: 1001;
  }
  
  .sub-dropdown-menu {
    z-index: 1002;
  }
}



/* Main Content */
.titel11 {
    background: rgba(17, 17, 17, 0.9);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 138, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

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

#titel1 {
    text-align: center;
    color: #ff8a00;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(255, 138, 0, 0.3);
}

#sub-title {
    text-align: center;
    color: #afb9ee;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 20px;
    font-weight: 500;
}

#para1 {
    text-align: center;
    color: #ffffff;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: rgba(30, 30, 30, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    padding: 20px;
    border: 1px solid rgba(255, 138, 0, 0.3);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 138, 0, 0.2);
    border-color: rgba(255, 138, 0, 0.6);
}

.scroll-img {
    width: 100%;
    height: 200px;
    overflow-y: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000000;
    margin-bottom: 15px;
}

.scroll-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.scroll-img:hover img {
    transform: scale(1.05);
}

/* Custom Scrollbar */
.scroll-img::-webkit-scrollbar {
    width: 6px;
}

.scroll-img::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.scroll-img::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    border-radius: 3px;
}

.scroll-img::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e52e71, #ff8a00);
}

.title {
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.3rem);
    margin: 15px 0 10px;
    color: #ff8a00;
}

.description {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-bottom: 15px;
    color: #cccccc;
    line-height: 1.6;
    flex-grow: 1;
}

.rating-budget {
    display: flex;
    justify-content: space-between;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    color: #ffd700;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.budget {
    color: #afb9ee;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: clamp(0.75rem, 1.5vw, 0.8rem);
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}


/* ========================
   FOOTER STYLES
======================== */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: clamp(40px, 6vw, 60px) 0 clamp(15px, 3vw, 20px);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 138, 0, 0.3);
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 138, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(229, 46, 113, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 138, 0, 0.05) 0%, transparent 50%);
    animation: backgroundShift 8s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(30px, 6vw, 60px);
    position: relative;
    z-index: 2;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(30px, 6vw, 60px);
    animation: fadeIn 0.8s ease-out;
}

/* Footer Left Section */
.footer-left {
    animation: slideInLeft 0.8s ease-out;
    text-align: left;
}

.f-logo {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 15px);
    margin-bottom: clamp(15px, 3vw, 25px);
    text-align: left;
}

#f-logo {
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

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

.f-logo h2 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.f-title {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 600;
    margin-bottom: 15px;
    color: #ff8a00;
    position: relative;
    display: inline-block;
    text-align: left;
}

.f-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ff8a00, transparent);
    animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes underlinePulse {
    0%, 100% {
        width: 50px;
        opacity: 1;
    }
    50% {
        width: 70px;
        opacity: 0.7;
    }
}

.f-description {
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: clamp(20px, 4vw, 30px);
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    max-width: 500px;
    text-align: left;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: clamp(10px, 2vw, 15px);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    justify-content: flex-start;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 6vw, 45px);
    height: clamp(40px, 6vw, 45px);
    background: rgba(30, 30, 30, 0.7);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(50, 50, 50, 0.7);
    box-shadow: 0 10px 25px rgba(255, 138, 0, 0.3);
}

.social-icon:nth-child(1):hover { background: linear-gradient(45deg, #E1306C, #F77737); }
.social-icon:nth-child(2):hover { background: linear-gradient(45deg, #25D366, #128C7E); }
.social-icon:nth-child(3):hover { background: linear-gradient(45deg, #1877F2, #0D8AF0); }

.social-icon i {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    z-index: 1;
}

/* Footer Links Section */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(25px, 4vw, 40px);
    animation: slideInRight 0.8s ease-out;
    text-align: left;
}

.link-group h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: #ff8a00;
    position: relative;
    padding-bottom: 8px;
    text-align: left;
}

.link-group h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #e52e71;
    transition: width 0.3s ease;
}

.link-group:hover h3::after {
    width: 60px;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 25px;
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.875rem, 1.5vw, 0.9rem);
    gap: 8px;
}

.link-group a i {
    width: 16px;
    text-align: center;
    font-size: clamp(0.875rem, 1.5vw, 0.9rem);
    color: #ff8a00;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.link-group a:hover i {
    color: #e52e71;
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: clamp(30px, 5vw, 50px) auto 0;
    padding: clamp(15px, 3vw, 25px) clamp(15px, 3vw, 20px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out 0.4s both;
}

.footer-bottom p {
    color: #cccccc;
    font-size: clamp(0.875rem, 1.5vw, 0.9rem);
    margin: 0;
}

/* Enhanced hover effects for links */
.link-group a {
    position: relative;
    overflow: hidden;
}

.link-group a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 25px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    transition: width 0.3s ease;
}

.link-group a:hover::after {
    width: calc(100% - 25px);
}

/* ========================
   ANIMATION KEYFRAMES
======================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================
   RESPONSIVE FIXES FOR FOOTER
======================== */
@media (max-width: 1024px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 30px;
        padding: 0 15px;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
    
    .link-group a {
        padding-left: 20px;
    }
    
    .f-logo h2 {
        font-size: 1.4rem;
    }
    
    #f-logo {
        width: 40px;
        height: 40px;
    }
    
    .f-title {
        font-size: 1.1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon i {
        font-size: 1.1rem;
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .footer-content {
        padding: 0 10px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
.social-btn:focus,
.social-icon:focus {
    outline: 2px solid #ff8a00;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #ffffff;
        --bg-primary: #000000;
    }
}