* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  padding-top: 80px;
}

/* Navbar Styles */
.navbar {
    background-color: #fff;
    color: black;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 1%;
}

/* Logo Styles */
.logo {
    width: 40px;
    height: 35px;
    border-radius: 15px;
    margin-right: 2rem;
}

.logo:hover {
    color: #ddd;
    transition: color 0.3s ease;
}

.logo-text {
    font-size: 15px;
    margin-bottom: 10%;
    margin-left: 1%;
    font-weight: 600;
    color: black;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f19292;
}

/* Underline Animation */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* Hamburger Animation to Cross */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background-color: black;
    transform: translateX(-110%);
    transition: transform 0.3s ease;
    border-radius: 15px;
    padding: 2rem;
    margin: 0 5%;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
}

.mobile-nav-links a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f19292;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 3px 10px;
    }

    .nav-container {
        height: 20px;
    }

    .nav-logo {
        margin-top: 5%;
    }

    body {
        padding-top: 60px;
    }

    .mobile-menu {
        top: 60px;
        margin: 0 2%;
        z-index: 1001;
        /* Ensure this is also set in media query */
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 10px 10px;
    }

    .nav-logo {
        margin-top: 5%;
    }

    .mobile-menu {
        margin: 0 1%;
        padding: 1.5rem;
    }

    .mobile-nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}

/* Landscape orientation adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .navbar {
        padding: 20px 20px;
    }

    .nav-logo {
        margin-bottom: 3%;
    }

    .mobile-menu {
        border-radius: 0 0 50% 50%;
        padding: 4rem;
    }

    .mobile-nav-links li {
        margin: 0.8rem 0;
    }

    .mobile-nav-links a {
        padding: 0.5rem;
        font-size: 1rem;
    }
}

/* Large screens */
@media screen and (min-width: 1200px) {
    .nav-container {
        padding: 0 2rem;
    }

    .nav-links {
        gap: 3rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}

@media (orientation: landscape) {
    .nav-links {
        top: 60px;
    }
}

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

/* Home Section */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  margin-top: -7%;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.flex-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  min-height: 500px;
}

.flex-container.reverse {
  flex-direction: row-reverse;
}

.image-box {
  flex: 1;
  width: 100px;
  height: 100px;
  position: relative;
  margin-top: -20%;
}

.section-image {
  width: 85%;
  height: 300px;
  object-fit: fill;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  animation: slideInLeft 1s ease-out;
}

.section-image:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.content-box {
  flex: 1;
  animation: slideInRight 1s ease-out;
}

.main-title {
  font-size: 3.5rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.section-title {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
  position: relative;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 4px;
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.section-title.center {
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.intro-text,
.section-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #555;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.value-proposition {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.value-proposition h3 {
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.value-proposition ul {
  list-style: none;
}

.value-proposition li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.value-proposition li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Services List */
.services-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.services-list li {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 3rem;
}

.services-list li::before {
  content: "→";
  position: absolute;
  left: 1rem;
  color: #2c5aa0;
  font-weight: bold;
  font-size: 1.2rem;
}

.services-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  color: white;
}

.services-list li:hover::before {
  color: white;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.industry-item {
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.industry-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(44, 90, 160, 0.3);
}

/* About Details */
.about-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.detail-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.detail-item h4 {
  color: #2c5aa0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Testimonial */
.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  border-left: 5px solid #2c5aa0;
}

.testimonial blockquote {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #555;
}

.testimonial cite {
  color: #2c5aa0;
  font-weight: bold;
}

/* Blog Preview */
.blog-preview {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.blog-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-item h4 {
  color: #2c5aa0;
  margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-item {
  background: white;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-item h4 {
  color: #2c5aa0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Buttons */
.cta-button {
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(44, 90, 160, 0.4);
  background: linear-gradient(135deg, #1e3a8a, #2c5aa0);
}

.animated-button {
  position: relative;
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.animated-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(44, 90, 160, 0.4);
}

.animated-button span {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.button-animation {
  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;
}

.animated-button:hover .button-animation {
  left: 100%;
}

/* Service Boxes Section */
.service-boxes-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-box {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 1s ease-out;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-box h3 {
  color: #2c5aa0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-box p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-button {
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

/* Resource and CTA Section */
.resource-cta-section {
  padding: 80px 0;
}

.resource-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.resource-box,
.cta-box {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 1s ease-out;
}

.resource-box:hover,
.cta-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.resource-box img,
.cta-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.resource-box h3,
.cta-box h3 {
  color: #2c5aa0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.resource-box p,
.cta-box p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.resource-button {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.resource-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.cta-box .cta-button {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

.cta-box .cta-button:hover {
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #fff;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

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

/* Responsive Design */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
    color: black;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    padding: 1rem;
    display: block;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .flex-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .flex-container.reverse {
    flex-direction: column;
  }

  .main-title {
    font-size: 2.5rem;
  }

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

  .section {
    padding: 60px 0;
    margin-top: 20%;
  }

  .image-box {
    flex: 1;
    width: 400px;
    height: 250px;
    position: relative;
    margin-top: -20%;
  }

  .section-image {
    width: 85%;
    height: 300px;
    object-fit: fill;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    animation: slideInLeft 1s ease-out;
  }

  .service-boxes-grid,
  .resource-cta-grid {
    grid-template-columns: 1fr;
  }

  .services-list ul {
    grid-template-columns: 1fr;
  }

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

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .main-title {
    font-size: 2rem;
  }

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

  .intro-text,
  .section-text {
    font-size: 1rem;
  }

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

  .nav-container {
    padding: 1rem;
  }

  .section-image {
    height: 320px;
  }
}

/* Landscape orientation for tablets */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .section {
    padding: 50px 0;
  }

  .flex-container {
    gap: 2rem;
  }

  .section-image {
    height: 300px;
  }
}

/* Portrait orientation for tablets */
@media screen and (max-width: 768px) and (orientation: portrait) {

  .service-boxes-grid,
  .resource-cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) and (orientation: portrait) {

  .service-boxes-grid,
  .resource-cta-grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation for images */
.section-image {
  opacity: 0;
  animation: fadeIn 1s ease-out 0.5s forwards;
}

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

/* Hover effects for interactive elements */
.service-box,
.resource-box,
.cta-box {
  position: relative;
  overflow: hidden;
}

.service-box::before,
.resource-box::before,
.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-box:hover::before,
.resource-box:hover::before,
.cta-box:hover::before {
  left: 100%;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ecf0f1;
  padding: 3rem 0 1rem;
  margin-top: auto;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* Newsletter Section */
.newsletter-section {
  max-width: 500px;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #3498db;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-paragraph {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #bdc3c7;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 250px;
  padding: 0.875rem 1rem;
  border: 2px solid #34495e;
  border-radius: 8px;
  background-color: #2c3e50;
  color: #ecf0f1;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.email-input:focus {
  outline: none;
  border-color: #3498db;
  background-color: #34495e;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.email-input::placeholder {
  color: #95a5a6;
}

.signup-button {
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.signup-button:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.signup-button:active {
  transform: translateY(0);
}

/* Navigation Links Section */
.nav-links-section {
  display: flex;
  justify-content: flex-end;
}

.footer-nav {
  width: 100%;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-list li a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list li a:hover {
  color: #3498db;
  border-bottom-color: #3498db;
  transform: translateX(5px);
}

/* Copyright Section */
.copyright-section {
  border-top: 1px solid #34495e;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-text {
  font-size: 0.9rem;
  color: #95a5a6;
}

.powered-by {
  font-size: 0.9rem;
  color: #95a5a6;
  font-style: italic;
}

/* Contact Widget Styles */
.contact-widget {
  position: fixed;
  bottom: 3px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.contact-main-button {
  width: 60px;
  height: 55px;
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(44, 90, 160, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.contact-main-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(44, 90, 160, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.contact-icon {
  color: white;
  font-size: 28px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-main-button:hover .contact-icon {
  transform: rotate(15deg) scale(1.1);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.contact-widget:hover .contact-links {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.contact-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

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

.contact-link.twitter {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.contact-link.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-link.linkedin {
  background: linear-gradient(135deg, #0077b5, #005885);
}

.contact-link.email {
  background: linear-gradient(135deg, #ea4335, #d33b2c);
}

.contact-link:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.contact-link:hover svg {
  transform: scale(1.2);
}

/* Staggered animation for contact links */
.contact-widget:hover .contact-link:nth-child(1) {
  transition-delay: 0.1s;
}

.contact-widget:hover .contact-link:nth-child(2) {
  transition-delay: 0.2s;
}

.contact-widget:hover .contact-link:nth-child(3) {
  transition-delay: 0.3s;
}

.contact-widget:hover .contact-link:nth-child(4) {
  transition-delay: 0.4s;
}

/* Responsive Contact Widget */
@media screen and (max-width: 768px) {
  .contact-widget {
    bottom: 15px;
    right: 15px;
    position: fixed !important;
  }

  .contact-main-button {
    width: 60px;
    height: 60px;
  }

  .contact-icon {
    font-size: 24px;
  }

  .contact-link {
    width: 45px;
    height: 45px;
  }

  .contact-link svg {
    width: 18px;
    height: 18px;
  }

  .contact-links {
    gap: 8px;
  }
}

@media screen and (max-width: 480px) {
  .contact-widget {
    bottom: 10px;
    right: 10px;
    position: fixed !important;
    z-index: 1000 !important;
  }

  .contact-main-button {
    width: 55px;
    height: 55px;
    border-width: 2px;
  }

  .contact-icon {
    font-size: 22px;
  }

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

  .contact-link svg {
    width: 16px;
    height: 16px;
  }

  .contact-links {
    gap: 6px;
  }
}

@media screen and (max-width: 320px) {
  .contact-widget {
    bottom: 8px;
    right: 8px;
    position: fixed !important;
    z-index: 1000 !important;
  }

  .contact-main-button {
    width: 50px;
    height: 50px;
  }

  .contact-icon {
    font-size: 20px;
  }

  .contact-link {
    width: 38px;
    height: 38px;
  }

  .contact-link svg {
    width: 14px;
    height: 14px;
  }
}

/* Landscape orientation adjustments for contact widget */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .contact-widget {
    bottom: 8px;
    right: 10px;
    position: fixed !important;
  }

  .contact-main-button {
    width: 45px;
    height: 45px;
  }

  .contact-icon {
    font-size: 18px;
  }

  .contact-link {
    width: 35px;
    height: 35px;
  }

  .contact-link svg {
    width: 14px;
    height: 14px;
  }

  .contact-links {
    gap: 5px;
  }
}

/* Ensure widget stays in corner on all devices */
@media screen and (max-width: 1024px) {
  .contact-widget {
    position: fixed !important;
    bottom: 15px !important;
    right: 15px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .contact-main-button {
    border: 3px solid white;
  }

  .contact-link {
    border: 2px solid white;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .contact-widget * {
    animation: none !important;
    transition: none !important;
  }
}

/* Tablet Landscape (1024px and below) */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-content {
    gap: 2rem;
  }

  .footer-heading {
    font-size: 1.6rem;
  }

  .email-input {
    min-width: 200px;
  }
}

/* Tablet Portrait (768px and below) */
@media screen and (max-width: 768px) and (orientation: portrait) {
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .nav-links-section {
    justify-content: center;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .newsletter-form {
    justify-content: center;
  }

  .email-input {
    min-width: 280px;
  }

  .copyright-section {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Tablet Landscape (768px to 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Mobile Landscape (568px to 767px) */
@media screen and (max-width: 767px) and (orientation: landscape) {
  .footer {
    padding: 1.5rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-heading {
    font-size: 1.4rem;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .email-input {
    min-width: 250px;
    width: 100%;
    max-width: 350px;
  }

  .signup-button {
    width: 100%;
    max-width: 350px;
  }

  .copyright-section {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Mobile Portrait (480px and below) */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .footer {
    padding: 1.5rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-heading {
    font-size: 1.3rem;
  }

  .footer-paragraph {
    font-size: 0.9rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }

  .email-input {
    min-width: auto;
    width: 90%;
  }

  .signup-button {
    width: 50%;
    padding: 1rem 2rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-list li a {
    font-size: 0.95rem;
  }

  .copyright-section {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .copyright-text,
  .powered-by {
    font-size: 0.8rem;
  }
}

/* Extra Small Mobile (320px and below) */
@media screen and (max-width: 320px) {
  .container {
    padding: 0 0.5rem;
  }

  .footer {
    padding: 1rem 0 0.75rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

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

  .footer-paragraph {
    font-size: 0.85rem;
  }

  .email-input,
  .signup-button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .nav-list li a {
    font-size: 0.9rem;
  }
}

/* High DPI Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
screen and (min-resolution: 192dpi) {
  .footer-heading {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print Styles */
@media print {
  .footer {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }

  .signup-button {
    display: none;
  }

  .contact-widget {
    display: none !important;
  }
}