:root {
  --color-primary: #25D366;
  --color-primary-hover: #019875;
  --color-secondary: #007bff;
  --color-tertiary: #0e0e0e;
  --color-text-secondary: #555;
  --color-background: #f4f4f4;
  --color-footer: #00b894;
  --color-footer-span: #585858;
  --color-text: #333;
  --color-text1: #ffffff;
  --font-family-base: 'Times New Roman';
  --border-radius: 8px;
  --box-shadow-light: 0 2px 4px rgba(0,0,0,0.1);
  --box-shadow-dropdown: 0 4px 6px rgba(0,0,0,0.1);
}

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

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  font-family: var(--font-family-base);
  margin: 0;
  padding-top: 60px;
}

main {
  flex: 1;
  background-color: var(--color-background);
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #e3e1e1;
  box-shadow: var(--box-shadow-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

.top-nav.scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background-color: #ffffff;
}

.top-nav-container {
  margin: auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 60px;
}

.skillooprobd-logo {
  height: 45px;
}

.top-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.top-nav-hamburger .bar {
  width: 100%;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
}

.top-nav-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-nav-nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.top-nav-nav-links li a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}

.top-nav-nav-links li a:hover {
  color: var(--color-secondary);
}

.top-nav-btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.top-nav-btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

@media (max-width: 768px) {
  .top-nav-hamburger {
    display: flex;
  }

  .top-nav-nav-menu {
    flex-direction: column;
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    background: rgb(255, 255, 255);
    padding: 1rem 2rem;
    display: none;
    box-shadow: var(--box-shadow-dropdown);
  }

  .top-nav-nav-menu.active {
    display: flex;
  }

  .top-nav-nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .top-nav-btn-outline {
    width: 100%;
    margin-top: 0.1rem;
    text-align: center;
  }
}

.top-nav.scrolled {
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}


.top-nav-hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.top-nav-hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.top-nav-hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-menu {
  position: absolute;
  top: 40px;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-width: 160px;
  display: none;
  flex-direction: column;
  animation: fadeSlideDown 0.3s ease forwards;
  z-index: 999;
}

.user-menu.show {
  display: flex;
}

.user-menu button {
  background: none;
  border: none;
  text-align: left;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s;
}

.user-menu button:hover {
  background: #f5f5f5;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-nav.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.top-nav-hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.top-nav-hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.top-nav-hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========== CONTACT SECTION ========== */
.container {
  display: flex;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 1000px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-info, .contact-form {
  flex: 1;
  padding: 30px;
  min-width: 320px;
}

.contact-info {
  background: #0a0a23;
  color: #fff;
}

.contact-info h2 {
  margin-bottom: 10px;
}

.contact-info ul {
  list-style: none;
  margin: 20px 0;
}

.contact-info li {
  margin-bottom: 10px;
}

.map-container {
  margin-top: 20px;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 6px;
}

.contact-form h2 {
  color: #0a0a23;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.contact-form form {
  width: 100%;
}

button[type="submit"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  background: #00bfff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
}

button[type="submit"]:hover {
  background: #0080cc;
}

.contact-header {
  text-align: center;
  padding: 60px 20px;
  background-color: #f3f6ff;
}

.contact-header h1 {
  font-size: 36px;
  color: #00bfff;
  margin-bottom: 20px;
}

.contact-header p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 992px) {
  .contact-header h1 {
    font-size: 30px;
  }
  .contact-header p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 26px;
  }
  .contact-header p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .contact-header h1 {
    font-size: 22px;
  }
  .contact-header p {
    font-size: 14px;
  }
  .contact-header {
    padding: 40px 15px;
  }
}

@media (max-width: 992px) {
  .container {
    flex-direction: column;
    padding: 20px;
  }
  .contact-info, .contact-form {
    flex: 1 1 100%;
    padding: 20px;
  }
  .map-container iframe {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .container {
    margin: 20px auto;
  }
  .contact-info h2,
  .contact-form h2 {
    font-size: 22px;
  }
  .contact-info p {
    font-size: 14px;
  }
  .form-group input,
  .form-group textarea {
    font-size: 13px;
    padding: 8px;
  }
  button[type="submit"] {
    font-size: 14px;
    padding: 10px;
  }
  .map-container iframe {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .contact-info h2,
  .contact-form h2 {
    font-size: 20px;
  }
  .contact-info p {
    font-size: 13px;
  }
  .form-group label {
    font-size: 13px;
  }
  .form-group input,
  .form-group textarea {
    font-size: 12px;
    padding: 6px;
  }
  button[type="submit"] {
    font-size: 13px;
    padding: 8px;
  }
  .map-container iframe {
    height: 200px;
  }
}

/* ===============================
       Footer Section Styling
   =============================== */
footer {
  background-color: #eceaea;
  color: #0e0e0e;
  padding: 40px 20px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: auto;
  gap: 30px;
}

.footer-container > div {
  flex: 1 1 220px;
}

footer img {
  max-width: 72px;
}

.footer-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
  color: var(--color-footer);
}

div span i {
  margin-right: 8px;
  color: var(--color-footer-span);
}

.footer-container p {
  margin-bottom: 8px;
  line-height: 1.5;
}

footer a {
  display: block;
  color: var(--color-tertiary);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #f0a500;
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-contact-item i {
  min-width: 20px;
  text-align: center;
}

.footer-highlight {
  font-weight: 600;
}

footer small {
  display: block;
  text-align: center;
  padding-top: 20px;
  color: #0e0e0e;
  font-size: 12px;
  border-top: 1px solid #ccc;
  margin-top: 30px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-links a {
  font-size: 24px;
  transition: color 0.3s, transform 0.3s;
  padding: 6px;
  border-radius: 50%;
}

.social-links a:hover { 
  transform: scale(1.2);
  background: rgba(0,0,0,0.05);
}

.social-links a:nth-child(1) { color: #3b5998; } 
.social-links a:nth-child(2) { color: #FF0000; } 
.social-links a:nth-child(3) { color: #0077b5; } 
.social-links a:nth-child(4) { color: #0088cc; }  
.social-links a:nth-child(5) { color: #25D366; }  

/* ===============================
        Footer Trust Section
   =============================== */
.footer-trust {
  list-style: none;       /* Remove bullets */
  padding: 0;
  margin: 15px 0;         /* spacing above and below */
  display: flex;
  flex-direction: column;
  gap: 10px;              /* space between items */
  font-weight: 600;
  font-size: 14px;
  color: #0e0e0e;         /* default text color */
}

.footer-trust li {
  display: flex;
  align-items: center;
  gap: 6px;               /* spacing between icon/emoji and text */
  white-space: nowrap;    /* prevent breaking line */
}

.footer-trust li:hover {
  color: #f0a500;         /* hover effect */
  transition: color 0.3s ease;
}

.footer-trust .verified {
  color: #1aa34a;
  font-weight: 700;
}

/* Responsive adjustments */

/* Tablets & small desktops */
@media (max-width: 1024px) {
  .footer-trust {
    font-size: 13px;
    gap: 15px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .footer-trust {
    flex-direction: column; /* stack vertically */
    font-size: 14px;
    gap: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
}

/* ===============================
       Footer Media Queries & Dark Mode
   =============================== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .footer-container > div {
    margin: 10px 0;
    text-align: center;
  }
}