@media (max-width: 768px) {

  .hero {
    padding: 0 5%;
  }

  .hero .logo {
    font-size: 2.5rem;
    transform: none;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 14px;
    margin-top: 10px;
  }

  .btn {
    padding: 10px 22px;
    font-size: 14px;
  }

}

@media (max-width: 768px) {

  .contact-section {
    padding: 50px 5%;
  }

  .contact-card {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .contact-left,
  .contact-right {
    padding: 25px;
  }

  .contact-left h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .contact-right h3 {
    font-size: 20px;
  }

  form input,
  form textarea {
    font-size: 14px;
    padding: 12px;
  }

  form button {
    padding: 12px;
    font-size: 15px;
  }

}

@media (max-width: 768px) {

  section {
    padding: 60px 5%;
  }

  .grid {
    gap: 15px;
  }

  .card {
    padding: 20px;
    font-size: 14px;
  }

}

@media (max-width: 768px) {

  .navbar {
    height: 56px;
    align-items: center;
  }

  .logo {
    font-size: 20px;
  }

}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #ffd369;
  border-radius: 5px;
}
.navbar {
  align-items: center;
}

.hamburger {
  margin-left: auto;
}


/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 64px;
    right: 5%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    width: 200px;
    padding: 15px;
    border-radius: 12px;
    display: none;
  }

  nav a {
    margin: 10px 0;
    font-size: 16px;
  }

  nav.active {
    display: flex;
  }
}

/* ===== MOBILE NAVBAR ===== */
@media (max-width: 768px) {

  .navbar {
    padding: 12px 5%;
  }

  @media (max-width: 768px) {
  nav {
    display: none;
  }
}
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#0b0b14;
color:white;
}

.navbar{
position:fixed;
width:100%;
top:0;
display:flex;
justify-content:space-between;
padding:15px 8%;
background:rgba(0,0,0,.7);
backdrop-filter:blur(10px);
z-index:999;
}

.logo{
font-size:24px;
font-weight:700;
}
.logo span{color:#ffd369;}

nav a{
color:white;
margin-left:20px;
text-decoration:none;
}

nav a:hover{color:#7c7cff;}

.hero{
height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
background:linear-gradient(120deg,#6a5acd,#0b0b14);
text-align:center;
}
.hero .logo {
    font-size: 4rem;
    font-weight: 700;
    display: inline-block;
    transform: scale(1.2);
    transform-origin: center;
}
.hero h1{
font-size:48px;
}

.hero span{color:#ffd369;}

.btn{
margin-top:20px;
padding:12px 30px;
background:#ffd369;
color:black;
border-radius:30px;
text-decoration:none;
}

section{
padding:80px 8%;
text-align:center;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-top:40px;
}

.card,.project{
background:#151528;
padding:30px;
border-radius:15px;
transition:.3s;
}

.card:hover,.project:hover{
transform:translateY(-10px);
background:#1f1f3a;
}

.testimonial{
background:#1a1a2e;
padding:30px;
border-radius:15px;
margin-top:30px;
}

form{
max-width:450px;
margin:auto;
display:flex;
flex-direction:column;
}

form input,textarea{
margin:10px 0;
padding:12px;
border:none;
border-radius:10px;
}

.whatsapp{
position:fixed;
bottom:25px;
right:25px;
background:#25d366;
padding:15px;
border-radius:50%;
font-size:22px;
color:white;
text-decoration:none;
}

footer{
padding:20px;
background:black;
text-align:center;
}

@media(max-width:768px){
.hero h1{font-size:32px;}
}

.cursor {
  display: inline-block;
  margin-left: 4px;
  animation: blink 1s infinite;
  color: #ffd369;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
/* CONTACT SECTION */
.contact-section {
  padding: 80px 8%;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #151528;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* LEFT SIDE */
.contact-left {
  padding: 40px;
  text-align: left;
}

.contact-left h2 {
  margin-bottom: 20px;
}

/* RIGHT SIDE */
.contact-right {
  background: #1f1f3a;
  padding: 40px;
  text-align: left;
}

.contact-right h3 {
  margin-bottom: 20px;
}

.contact-person {
  margin-bottom: 15px;
}

.contact-right a {
  color: #ffd369;
  text-decoration: none;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
}

.whatsapp-btn img {
  width: 22px;
  height: 22px;
}
/* SUCCESS POPUP */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #151528;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  animation: popupScale 0.3s ease;
}

.popup-content h3 {
  margin-bottom: 10px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

@keyframes popupScale {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
}
/* INTERNSHIP MODAL */
.internship-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.internship-content {
  background: #151528;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  animation: popupScale 0.3s ease;
}

.internship-content h2 {
  margin-bottom: 5px;
}

.internship-content p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #ccc;
}

.internship-content form input,
.internship-content form select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: none;
  outline: none;
}

.internship-content form button {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  background: #ffd369;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* NAV LINK STYLE */
.internship-link {
  color: #ffd369 !important;
  font-weight: 600;
}

/* ===== FINAL MOBILE FIX ===== */
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    padding: 12px 5%;
  }

  nav {
    display: none;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  /* Hero */
  .hero {
    height: auto;
    padding: 100px 5% 60px;
  }

  .hero .logo {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 26px;
  }

  /* Contact Section */
  .contact-card {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .contact-left,
  .contact-right {
    padding: 25px;
  }

  .contact-left h2 {
    font-size: 22px;
  }

  /* Forms */
  form input,
  form textarea,
  form button {
    font-size: 15px;
    width: 100%;
  }

}
