:root {
    --primary-color: #FFD700;
    --primary-dark: #FFC000;
    --white: #fff;
    --secondary-color: #333;
    --light-color: #f4f4f4;
    --dark-color: #222;
    --success-color: #28a745;
    --error-color: #dc3545;
    --linkedin-blue: #0077B5;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --info-color: #17a2b8;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;

  }


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

section {
  padding: 4rem 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
p { font-size: 1rem; margin-bottom: 1.25rem; }

.highlight {
  color: var(--primary-color);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  background: var(--secondary-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  color: var(--primary-color); /* Logic text color */
}

.logo span {
  color: var(--white);
  font-weight: 900;
  position: relative;
  display: inline-block;
}

.logo span::after {
  content: '';
  position: absolute;
  bottom: -3px; /* space below text */
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}



.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-dark);
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--white);
  left: 0;
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}
.nav-links.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

.active {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--primary-dark);
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(51, 51, 51, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
  }

  .nav-toggle {
    display: block;
  }

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

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    display: block;
    width: 100%;
  }
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 1rem;
}

.footer-content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-content p {
  margin: 0;
  display: inline;
}

.footer-content a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-dark);
  color: var(--secondary-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Animations */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

@keyframes connectPulse {
  0%, 100% {
      opacity: 0.4;
  }
  50% {
      opacity: 0.8;
  }
}

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

@keyframes linePulse {
  0%, 100% {
      opacity: 0.5;
  }
  50% {
      opacity: 0.8;
  }
}

@keyframes rotate {
  0% {
      transform: rotateY(0) rotateX(20deg);
  }
  100% {
      transform: rotateY(360deg) rotateX(20deg);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
      padding: 0 1rem;
  }

  .back-to-top {
      bottom: 15px;
      right: 15px;
      width: 45px;
      height: 45px;
      font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .container {
      padding: 0 1rem;
  }

  section {
      padding: 3rem 0;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .back-to-top {
      bottom: 10px;
      right: 10px;
      width: 40px;
      height: 40px;
  }
}

/* Common Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-dark);
  color: var(--secondary-color);
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-pulse {
  animation: pulse 2s infinite;
}

/* Contact Section (common styles) */
.contact-section {
  background: var(--secondary-color);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section h2::after {
  background: var(--primary-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-info {
  padding: 2rem;
}

.contact-info h3 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 1rem;
  color: var(--primary-dark);
  width: 1.5rem;
  text-align: center;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-dark);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.contact-form textarea {
  min-height: 150px;
}

.back-contact-link {
  display: inline-block;
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-contact-link:hover {
  color: var(--white);
}

.back-contact-link i {
  margin-right: 0.5rem;
}