body {
  background: linear-gradient(135deg, #e0f7fa, #e1bee7);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1, h3 {
  font-weight: 700;
  color: #3f51b5;
}

/* Template কে A4 সাইজে সীমাবদ্ধ রাখা */
#cv-template {
  display: none; /* প্রথমে লুকানো থাকবে */
  width: 1300px;
  /* width: 720px; */
  max-width: 100%;
  margin: auto;
  font-size: 14px;
  line-height: 1.4;
  background: #fff;
  padding: 25px 30px;
  box-sizing: border-box;
  overflow: hidden;
}
#cv-template * {
  page-break-inside: avoid;
}

/* CV Template Heading */
#cv-template h3 {
  font-weight: 500;
  color: #fff;
  padding-left: 10px;
}

/* Social links */
#cv-template a {
  color: white !important;
  text-decoration: none;
}
#cv-template a:hover {
  color: #ddd;
  text-decoration: underline;
}

/* Social Links wrap fix */
#fbT, #instaT, #linkedT {
  word-wrap: break-word;      /* পুরোনো ব্রাউজার */
  overflow-wrap: break-word;  /* নতুন ব্রাউজার */
  white-space: normal;        /* এক লাইনে আটকে থাকবে না */
}
.myimg {
  width: 250px;              /* default size */
  aspect-ratio: 1 / 1;       /* সবসময় height = width */
  border-radius: 50%;        /* গোল করার জন্য */
  border: 5px solid #3f51b5;
  object-fit: cover;         /* প্রোপোরশন ঠিক রাখবে */
  object-position: center;   /* সবসময় মাঝখান থেকে crop হবে */
  display: block;
  margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .myimg {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .myimg {
    width: 200px;
  }
}
/* Cards */
.card {
  border-radius: 15px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  border: none;
}
.background {
  background: #3f51b5;
  color: white;
  border-radius: 8px;
}
.label {
  display: flex;
  align-items: center; 
  height: 55px; 
} 

/* Input Fields */
.form-control, textarea {
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.08);
}

/* Buttons */
.btn-primary {
  background: #3f51b5;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
}
.btn-primary:hover {
  background: #283593;
}

/* Print Mode */
/* শুধু Print Mode এ form + buttons hide হবে */
@media print {
  #cv-form { display: none; }
  .no-pdf { display: none !important; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .proInfo { margin-top: 30px; }
  #imageField { margin-top: 6px; }

  .label{
    height: 40px;
  }
  .background h3{
    font-size: 20px;
  }
}
