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

body {
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #F9FAFB;
}

.container {
  margin: 0 auto;
  padding: 0px 20px;
}

/* ========== Header ========== */
header {
  background: #fff;
  padding: 5px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 60px;
  margin-right: 30px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.btn-primary {
  background: #40c5ff;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  margin-left: auto;
}

.close-btn,
.hamburger,
.nav-links .btn-primary {
  display: none;
}

.hamburger {
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  margin-left: auto;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  max-width: 1000px;
  margin: 100px auto;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row input{
  flex: 1;
  padding: 15px 18px;
  border: 1px solid #e6f0ff;
  border-radius: 8px;
  font-size: 14px;
}

.form-row select {
  flex: 1;
  padding: 15px 18px;
  border: 1px solid #e6f0ff;
  border-radius: 8px;
  font-size: 14px;
  color: #888;
}

.form-row select option {
  color: #010101ff;   /* lighter gray for placeholder */
}


.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
  text-align: left;
}

input[type="checkbox"] {
  appearance: none;      
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #e6f0ff; 
  border-radius: 4px;    
  cursor: pointer;
  position: relative;
}

/* checked state */
input[type="checkbox"]:checked {
  background-color: #e6f0ff;
}

/* custom tick */
input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: -1px;
  left: 2px;
  font-size: 14px;
  color: #333;  
}

.contact-form button {
  align-self: flex-end;
  background: #33c9ff;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #00b3ff;
}

.packages {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;

}

.package {
  background: #e6faff;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  min-width: 200px;
  flex: 1;
  background: linear-gradient(180deg, rgba(0, 184, 217, 0.2) 0%, rgba(128, 220, 236, 0.2) 50%);

}

.package h3 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.skills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.skills span {
  background: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ========== Footer ========== */
/* Footer */
footer {
  background-color: #1A1F36;
  color: #fff;
  margin-top: 80px;
}

/* Main Layout */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 20px;
}

/* Left Section */
.footer-left {
  flex: 1;
  min-width: 280px;
  margin-left: 100px;
}

.footer-left p {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Right Section - Newsletter */
.footer-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;   
  align-items: flex-end;    
}

.footer-bottom .links {
    display: flex;
    gap: 100px;
}

.footer-bottom .links a {
  color: #fff;      
  text-decoration: none; 
  transition: color 0.3s;
}

.footer-bottom .links a:hover {
  color: #ffc53d; 
}
.newsletter-box {
    background: #ffc53d;
    padding: 30px;
    border-radius: 2px;
    color: #000;
    max-width: 450px;
    width: 100%;
    margin-right: 100px;
    height: 100%;
}

.newsletter-box h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-box p {
  font-size: 14px;
  margin-bottom: 15px;
}

/* General form (contact form) */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ✅ Newsletter form (footer) */
.newsletter-form {
  display: flex !important;          /* force flex row */
  flex-direction: row !important;    /* override column */
  align-items: stretch;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  margin: 0;
}

.newsletter-form button {
  background: #1a1f36;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0;
}

.newsletter-form button:hover {
  background: #333;
}

/* Contact icons */
.contact-info {
    display: flex;
    align-items: flex-start;
    text-align: left;
    flex-direction: column; 
    gap: 40px; 
}
.callMail {
    display: flex;       
    align-items: center; 
    gap: 20px;          
}

.callMail img {
    width: 40px;  
    height: 40px;  
    object-fit: contain; 
}

.callMail p {
  margin: 0;            
  line-height: 1.2;     
  font-weight: 600;   
}

.callMail span {
  display: block;   
  margin-top: 2px;      
  font-size: 14px;      
}

.footer-bottom {
  display: flex;
  justify-content: space-between; 
  align-items: center;        
  flex-wrap: wrap;            
  padding: 20px 40px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .social {
  display: flex;
  gap: 15px;
}

.footer-bottom .social a img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.footer-bottom .social a img:hover {
  transform: scale(1.1);
}

.footer-right .logo {
  margin-top: 15px; 
}

.footer-right .logo img {
  max-width: 180px;
  height: 50px;
  display: block;
  margin-right: 100px;
  border-radius: 2px;
}

.callMail img {
    width: 40px;  
    height: 40px;  
    object-fit: contain; 
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .contact-form button {
    align-self: center;
    width: 100%;
    max-width: 200px;
    margin-top:30px;
  }

  .packages {
    flex-direction: column;
    align-items: center;
  }

  .package {
    width: 100%;
    max-width: 300px;
  }

   footer {
        background-color: #1A1F36;
        color: #fff;
        width: 100%;     
    }

  .footer-main.container, 
    .footer-bottom.container {
        max-width: 1200px; 
        margin: 0 auto;     
        padding: 40px 20px;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
    .footer-left {
        flex: 1;
        min-width: 280px;
        margin-left: 0px;
    }
    
    .footer-left p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .footer-right { order: 1; }   
    .footer-left { order: 2; }
    
    .footer-right {
        width: 100%;             
        flex-direction: column;    
        align-items: flex-start;  
    }

    .newsletter-box {
        width: 100%;             
        max-width: 400px;        
        margin: 0 -10px;   
        margin-bottom: 30px;    
    }

    .footer-right .logo {
        margin: 0;  
        margin-bottom: 30px;     
    } 
    .contact-info {
        display: flex;
        align-items: left;
        text-align: left;
        flex-direction: column; 
        gap: 30px; 
    }
    .callMail {
        display: flex;       
        align-items: center; 
        gap: 10px;          
    }

    .callMail img {
        width: 40px;  
        height: 40px;  
        object-fit: contain; 
    }

    .callMail p {
        margin: 0;            
        line-height: 1.2;     
        font-weight: 600;   
    }
    
    .callMail span {
        display: block;   
        margin-top: 2px;      
        font-size: 14px;      
    }

    .footer-bottom {
        display: flex;
        flex-direction: column; 
        align-items: flex-start;
        gap: 10px;
    }

    .footer-bottom p {
        order: 1;
    }

    .footer-bottom .links {
        order: 2;
        display: flex;
        flex-direction: column; 
        gap: 5px;
    }

    .footer-bottom .social {
        order: 3;
        display: flex;
        flex-direction: row; 
        justify-content: flex-start;
        gap: 10px;
    }
    .callMail div {
        display: flex;        
        flex-direction: column; 
    }
    .footer-bottom .links {
        flex-direction: column;
        gap: 1px; 
    }
}

/* ========== Responsive ========== */
@media(max-width: 768px) {
  body {
    padding-top: 10px;
  }

  .btn-primary {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 2000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    display: block;
    margin: 10px 0;
    font-weight: 600;
    color: #333;
  }

  .nav-links .btn-primary {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
  }

  .close-btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
  }

  .nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1500;
      display: none;
  }
    
  .nav-overlay.active {
      display: block;
  }


  .hamburger {
    display: block;
    margin-left: auto;
    font-size: 28px;
    cursor: pointer;
  }

  .logo img {
    height: 50px;
  }

  .contact-info {
    flex-direction: column;
    gap: 20px;
  }

  .footer-top h2 {
    font-size: 22px;
  }

  .footer-top p {
    font-size: 14px;
  }

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

  /* Contact Section */
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    text-align: left;
    align-items: flex-start;
  }

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

  .contact-item i,
  .contact-item img {
    font-size: 22px;
    width: 30px;
    height: 30px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    text-align: left;
    align-items: flex-start;
  }

  .footer-bottom .links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom a {
    margin: 5px 0;
    display: block;
  }

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

  .social span {
    font-size: 14px;
    font-weight: 500;
  }

  .social a img {
    width: 22px;
    height: 22px;

  }
}