* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Segoe UI", sans-serif; background: #0f172a; color: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }


header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0f172a;
    border-bottom: 1px solid #535353;
    padding-top: 15px;
    padding-bottom: 15px;
}
header div{
    width: 100%;
    max-width: 1200px;
}
header div a{
    display: flex;
    text-decoration: none;
    padding: 0;
    margin: 0;
}
header div a:hover{
    opacity: 0.8;
}
header div a img{
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-right: 10px;
}
header div a span{
    font-weight: bold;
    text-align: center;
    font-size: 25px;
    display: flex;
    align-items: center;
    margin-left: 0px;
    color: #2478c6;
}

@media (max-width: 1200px) {
    header div {
        padding-left: 4%;
        padding-right: 4%;
    }
}

@media (max-width: 600px) {
    header div a img{
        width: 40px;
        height: 40px;
    }
    header div a span{
        font-size: 20px;
    }
}

/* ===== CONTENT SECTION ===== */
.content-section {
  margin: 80px auto;
}

.content-box {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  background: #1e293b;
  border-radius: 20px;
  padding: 40px;
  transition: 0.3s;
}
.content-box:hover {
  transform: translateY(-5px);
}

.content-image img {
  max-width: 350px;
  width: 100%;
  border-radius: 15px;
  display: block;
}

.content-text {
  flex: 1;
  color: #cbd5e1;
}
.content-text h2 {
  font-size: 2rem;
  color: #38bdf8;
  margin-bottom: 20px;
}
.content-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .content-box {
    flex-direction: column;
    text-align: center;
  }
  .content-image img {
    margin-bottom: 20px;
  }
  .content-text h2 {
    font-size: 1.6rem;
  }
}



.container { width: 90%; max-width: 1200px; margin: auto; }

.converter-box {
  margin: 60px auto;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  text-align: center;
  backdrop-filter: blur(10px);
}
.converter-box h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; color: #38bdf8; }
.converter-box .subtitle { font-size: 1.2rem; margin-bottom: 30px; color: #dbeafe; }
.converter-box h2 { font-size: 1.8rem; margin-bottom: 20px; color: #38bdf8; }
.textarea-box { display: flex; flex-direction: column; gap: 20px; }
textarea {
  width: 100%; min-height: 180px; padding: 16px;
  font-size: 16px; border-radius: 12px; border: none;
  outline: none; resize: vertical; color: #fff;
  background: rgba(255,255,255,0.08); transition: 0.3s;
}
textarea:focus { background: rgba(255,255,255,0.12); }
.btn-row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 15px; margin-top: 20px;
}
.tool-btn {
  background: #2478c6; color: #fff; padding: 12px 24px;
  border-radius: 30px; font-weight: bold; transition: 0.3s;
  cursor: pointer; border: none; font-size: 16px;
}
.tool-btn:hover { background: #1e5fa0; }

/* ===== FEATURES ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 20px; margin: 80px 0; }
.feature { background: #1e293b; padding: 30px; border-radius: 20px; text-align: center; transition: 0.3s; }
.feature:hover { transform: translateY(-5px); }
.feature h3 { color: #38bdf8; margin-bottom: 10px; }

/* ===== HOW TO USE ===== */
.how-to-use { margin: 100px auto; text-align: center; max-width: 900px; }
.how-to-use h2 { font-size: 2rem; margin-bottom: 40px; color: #38bdf8; }
.how-to-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.how-card {
  background: #1e293b; padding: 20px; border-radius: 15px;
  color: #cbd5e1; text-align: left; transition: 0.3s;
}
.how-card:hover { transform: translateY(-5px); }

/* ===== FAQ ===== */
.faq { margin: 100px auto; max-width: 900px; }
.faq h2 { font-size: 2rem; margin-bottom: 40px; text-align: center; color: #38bdf8; }
.faq-item { background: #1e293b; margin: 15px 0; padding: 20px 25px; border-radius: 15px; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: bold; }
.faq-answer { margin-top: 10px; color: #cbd5e1; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-toggle { color: #38bdf8; font-size: 1.5rem; }

footer {
	width: 100%;
	background-color: 0f172a;
	/* White background */
	color: #333;
	/* Dark text for contrast */
	padding: 10px 0;
	/* Reduced height for a compact footer */
	text-align: center;
	border-top: 1px solid #7a7a7a;
	margin-top: 30px;
	padding-top: 30px;
}

footer .container {
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

footer .footer-left {
	display: flex;
	align-items: center;
}

footer .footer-left a {
	display: flex;
	align-items: center;
}

footer .footer-left img {
	width: 40px;
	height: auto;
	border-radius: 5px;
	margin-right: 10px;
}

footer .footer-left h3 {
	font-size: 20px;
	color: #2c3e50;
	margin: 0;
}

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

footer .footer-links a {
	text-decoration: none;
	color: #e0e0e0;
	/* Dark color for better contrast */
	font-size: 16px;
	font-weight: bold;
	/* Making the text bolder */
	transition: color 0.3s ease;
}

footer .footer-links a:hover {
	color: #2478c6;
	/* Bright blue color on hover */
}

footer .footer-social {
	display: flex;
	gap: 15px;
	margin-top: 10px;
}

footer .footer-social img {
	width: 25px;
	height: 25px;
	transition: transform 0.3s ease;
}

footer .footer-social img:hover {
	transform: scale(1.2);
}

footer .copy-text {
	font-size: 14px;
	color: #a0a0a0;
	/* Darker gray for better readability */
	text-align: center;
	margin-top: 10px;
}

@media (max-width: 768px) {
	footer .container {
		flex-direction: column;
		align-items: center;
	}

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

	footer .footer-links {
		align-items: center;
		gap: 10px;
	}

	footer .footer-social {
		align-items: center;
		gap: 10px;
		margin-top: 20px;
	}
}

@media (max-width: 360px) {
	footer .footer-links {
		flex-direction: column;
	}
}

footer a {
	text-decoration: none;
	color: #2478c6;
	font-weight: bold;
	letter-spacing: 0.5px;
}

footer a:hover {
	color: #3c9af1;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .converter-box { padding: 25px; }
  .converter-box h1 { font-size: 2rem; }
  .converter-box .subtitle {font-size: 1rem;}
  textarea { min-height: 140px; }
}

