* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Lato', sans-serif;
  color: #111;
  background-color: #fff;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
img {
  max-width: 100%;
  border-radius: 12px;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background-color:#111;
  color: white;
}
.logo {
  font-size: 1.8rem;
  font-weight: bold;
}
.nav-links a {
  margin-left: 1rem;
  padding: 6px 12px;
  background: #eee;
  border-radius: 12px;
  font-size: 14px;
  color: #000;
}
.nav-links a:hover {
  background-color: #ccc;
}

.contact-container {
  padding: 40px 10%;
}
.contact-hero {
  text-align: center;
  margin-bottom: 30px;
}
.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.contact-hero p {
  color: #666;
}
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  
}
form {
  flex: 1;
  min-width: 300px;
  background:#fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}
form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
form button {
  margin-top: 20px;
  padding: 12px 20px;
  background: #000;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
form button:hover {
  background-color: #444;
}
#formStatus {
  margin-top: 10px;
  color: green;
}
.contact-info {
  flex: 1;
  min-width: 250px;
  background: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
}
.contact-info h3 {
  margin-bottom: 15px;
}
.contact-info p {
  margin: 10px 0;
}
/* .social-links a {
  display: inline-block;
  margin-right: 15px;
  color: #000;
  font-weight: 500;
}
.link-style {
        color: rgb(35, 35, 216);
        cursor: pointer;
        
    } */
.social-links a {
  display: inline-block;
  margin-right: 15px;
  text-decoration: none;
  color: #0077cc;
}
.social-links a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
}

/* footer css */


.site-footer {
  background-color: #111;
  color: #eee;
  padding: 40px 20px 10px;
  font-size: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-left h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}

.footer-left p {
  color: #ccc;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex: 2;
  gap: 50px;
  justify-content: space-around;
  min-width: 300px;
  flex-wrap: wrap;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

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

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

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #888;
  font-size: 14px;
}


/* ===== Responsive Media Queries ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero h2 {
    font-size: 1rem;
  }
  .card, .card-3d {
    width: 90%;
  }
}
@media (max-width: 576px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }
  .intro-text {
    font-size: 16px;
  }
  .footer-links {
    flex-direction: row;
    gap: 20px;
  }
  .footer-container {
    gap: 20px;
  }
  .card-section-title {
    font-size: 1.6rem;
  }
  .card-section-description {
    font-size: 0.9rem;
  }
}


@media (max-width: 400px) {
  
  html {
    font-size: 13px;
  }

  .navbar {
    flex-direction: column;
    gap: 8px;
    padding: 8px 6px;
    
  }

  .logo {
    font-size: 1.6rem;
    text-align: center;
  }

  .nav-links {
    flex-direction: row !important; /* FORCE horizontal */
    gap: 20px;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .nav-links a {
    font-size: 13px;
    padding: 4px 8px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero h2 {
    font-size: 1rem;
  }

  .intro-text {
    font-size: 16px;
    padding: 10px;
  }

  .search-input {
    width: 95%;
    font-size: 14px;
  }

  .card-container {
    padding: px 1vw;
    gap: 10px;
  }
  .card, .card-inner {
    width: 100%;
    min-width: 0;
    font-size: 12px;
    padding: 4px 0;
  }
  .profile-img {
    width: 50px;
    height: 50px;
  }
  .card-front, .card-back {
    padding: 12px 2px;
    font-size: 14px;
  }
  

  .show-more-btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  .footer-container {
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }
  .footer-links {
    flex-direction: row !important; /* FORCE row */
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .footer-links > div {
    width: auto;
    min-width: 110px;
    text-align: left;
  }

  .footer-left h2 {
    font-size: 1.1rem;
  }

  .footer-left p {
    font-size: 0.95rem;
  }

}




@media (max-width: 320px) {
html {
    font-size: 12px;
  }

  .navbar {
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
  }

  .logo {
    font-size: 1.6rem;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .nav-links a {
    font-size: 12px;
    padding: 4px 8px;
  }


  .hero h1 {
    font-size: 1.4rem;
  }

  .hero h2 {
    font-size: 1rem;
  }

  .info-section {
    padding: 20px 5%;
    gap: 1rem;
  }

  .card-container {
    padding: px 1vw;
    gap: 8px;
  }
  .card, .card-inner {
    width: 100%;
    min-width: 0;
    font-size: 12px;
    padding: 4px 0;
  }
  .profile-img {
    width: 50px;
    height: 50px;
  }
  .card-front, .card-back {
    padding: 12px 2px;
    font-size: 14px;
  }

    .footer-container {
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }
  .footer-links {
    flex-direction: row !important; /* FORCE row */
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .footer-links > div {
    width: auto;
    min-width: 110px;
    text-align: left;
  }

  .footer-left h2 {
    font-size: 1.1rem;
  }

  .footer-left p {
    font-size: 0.95rem;
  }
   
}

.copy-btn {
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.copy-btn:hover {
  color: #007bff;
}

@media (min-width: 590px) and (max-width: 638px) {
   .navbar {
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }
  .nav-links{
    gap: 20px;
  }
}
@media (min-width: 590px) and (max-width: 638px) {

  
  .footer-container {
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }
  .footer-links {
    flex-direction: row !important; /* FORCE row */
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .footer-links > div {
    width: auto;
    min-width: 110px;
    text-align: left;
  }

  .footer-left h2 {
    font-size: 1.1rem;
  }

  .footer-left p {
    font-size: 0.95rem;
  }
}