@charset "utf-8";
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}
/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex-wrap: wrap;
  z-index: 1000;
}

.navbar .logo img {
  height: 60px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar ul li a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  padding: 6px 0;
  transition: all 0.3s ease;
}

.navbar ul li a.active,
.navbar ul li a:hover {
  color: #27ae60;
  border-bottom: 2px solid #27ae60;
}

/* Language selector */
.lang-wrapper select,
.lang-selector select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-weight: 500;
  cursor: pointer;
  background: #f0f2f5;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.lang-wrapper select:hover,
.lang-wrapper select:focus,
.lang-selector select:hover,
.lang-selector select:focus {
  background: #e6f2ea;
  border-color: #27ae60;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #2c3e50;
  margin: 4px 0;
  border-radius: 2px;
}

@media(max-width: 768px) {
    .navbar {
        padding: 12px 20px;
        position: relative;
    }
    
    .navbar ul {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        flex-direction: column;
        width: 100%;
        display: none;
        padding: 15px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 1000;
        margin: 0;
    }
    
    .navbar ul.show {
        display: flex;
    }
    
    .navbar ul li {
        width: 100%;
        text-align: center;
    }
    
    .navbar ul li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar ul li a.active,
    .navbar ul li a:hover {
        border-bottom: 2px solid #27ae60;
        background: #f8f9fa;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
    }
    
    .menu-toggle span {
        height: 3px;
        width: 25px;
        background: #2c3e50;
        margin: 3px 0;
        border-radius: 2px;
        transition: 0.3s;
    }
    
    /* Optional: Add animation for menu toggle */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .lang-wrapper {
        order: 3;
        width: 100%;
        margin-top: 10px;
        display: none;
    }
    
    .navbar ul.show + .lang-wrapper {
        display: flex;
        justify-content: center;
        padding: 10px 0;
        border-top: 1px solid #f0f0f0;
    }
    
    .lang-wrapper select {
        width: 90%;
        max-width: 200px;
    }
}

/* Ensure logo doesn't get too small on mobile */
@media(max-width: 480px) {
    .navbar .logo img {
        height: 50px;
    }
    
    .navbar {
        padding: 10px 15px;
    }
}

/* HERO */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 50px 20px;
  background: linear-gradient(135deg,#27ae60,#2ecc71);
  color: #fff;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero-img img {
  max-width: 320px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn.primary { background: #fff; color: #27ae60; margin-right: 10px; }
.btn.secondary { background: #1e272e; color: #fff; }
.btn:hover { transform: translateY(-3px); opacity: 0.9; }

/* TOOLS SECTION */
.tools {
  padding: 70px 20px;
  text-align: center;
  background: #f9f9f9;
}

.tools h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.subtitle {
  color: #777;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
}

.tool-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.tool-card:hover { transform: translateY(-5px); }
.tool-card i { color: #27ae60; font-size: 3rem; margin-bottom: 15px; }
.tool-card h3 { margin-bottom: 8px; font-size: 1.2rem; color: #2c3e50; }
.tool-card p { color: #555; font-size: 0.95rem; margin-bottom: 15px; }

.btn-tool {
  display: inline-block;
  padding: 10px 20px;
  background: #27ae60;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-tool:hover { background: #2ecc71; }

/* CTA SECTION */
.cta {
  background: linear-gradient(135deg,#2ecc71,#27ae60);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 { font-size: 2rem; margin-bottom: 15px; }
.cta p { font-size: 1.1rem; margin-bottom: 20px; }


/* --- Navbar Styling --- */
.navbarmain {
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  font-family: Arial, sans-serif;
}
.navbarmain .container2 {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 50px;
}
.navmain-links a {
  margin: 0 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.navmain-links a:hover,
.navmain-links a.active {
  color: #27ae60;
  border-bottom: 2px solid #27ae60;
}

/* --- Language Selector --- */
.lang-selector select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

/* --- Footer Styling --- */
.footer {
  background: #f8f9fa;
  border-top: 1px solid #ddd;
  padding: 30px 0;
  font-family: Arial, sans-serif;
  color: #333;
}
.footer-container {
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-section {
  flex: 1 1 200px;
  margin: 10px;
}
.footer-section h3 {
  margin-bottom: 10px;
  color: #27ae60;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 6px;
}
.footer-section ul li a {
  text-decoration: none;
  color: #333;
}
.footer-section ul li a:hover {
  color: #27ae60;
}
.footer-section p {
  margin-bottom: 6px;
}
.ads-footer {
  margin-top: 20px;
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .navbarmain .container2,
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .navmain-links a {
    display: block;
    margin: 5px 0;
  }
  .footer-section {
    flex: 1 1 100%;
    margin: 10px 0;
  }
}
/* SEO Content */
.seo-content {
  max-width: 1000px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  line-height: 1.8;
  color: #2c3e50;
}

.seo-content h2 { font-size: 1.8rem; margin-bottom: 15px; color: #27ae60; }
.seo-content p, .seo-content li { font-size: 1rem; margin-bottom: 12px; color: #555; }
.seo-content strong { color: #27ae60; }
.seo-content ul { margin: 20px 0 20px 20px; padding: 0; list-style: disc; }

/* Why Choose PDFongo */
.why-choose {
  background: #f9f9f9;
  padding: 60px 20px;
}

.why-choose h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #27ae60;
}

.why-choose .intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.feature-item:hover { transform: translateY(-5px); }

.icon-circle {
  width: 60px;
  height: 60px;
  background: #27ae60;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text h3 { margin-bottom: 8px; color: #2c3e50; font-size: 1.2rem; }
.feature-text p { color: #555; font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}



.navbarmain {

  background: #f8f9fa;

  border-bottom: 1px solid #ddd;

  padding: 10px 0;

  font-family: Arial, sans-serif;

}

.navbarmain .container2 {

  width: 90%;

  margin: auto;

  display: flex;

  justify-content: space-between;

  align-items: center;

}

.logo {

  font-size: 20px;

  font-weight: bold;

  text-decoration: none;

  color: #333;

}

.navmain-links a {

  margin: 0 12px;

  text-decoration: none;

  color: #333;

  font-weight: 500;

}

.navmain-links a:hover {

  color: #27ae60;

  border-bottom: 2px solid #27ae60;

}

.lang-selector select {

  padding: 5px;

  border: 1px solid #ccc;

  border-radius: 6px;

  font-size: 14px;

  

  

}


.promo-strip {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin-top: 20px;

    padding: 15px 20px;

    background: #f8fafb;

    border: 1px solid #e5e7eb;

    border-radius: 8px;

    text-align: center;

}

.promo-text {

    color: #34495e;

    font-size: 1rem;

    font-weight: 600;

}

.btn-secondary {

    display: inline-block;

    background: #FF9900;

    color: #fff;

    text-decoration: none;

    padding: 10px 18px;

    border-radius: 6px;

    font-size: 14px;

    transition: background 0.2s ease;

}

.btn-secondary:hover {

    background: #FF3300;

}


.landing-info {

  max-width: 1000px;

  margin: 40px auto;

  background: #fff;

  padding: 25px 30px;

  border-radius: 12px;

  box-shadow: 0 6px 24px rgba(0,0,0,0.1);

  text-align: center;

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}



.landing-info h1 {

  color: #27ae60;

  font-size: 2rem;

  font-weight: 700;

  margin-bottom: 15px;

}



.landing-description {

  color: #555;

  font-size: 1rem;

  line-height: 1.6;

  margin-bottom: 20px;

}


.feature-list {

  text-align: left;

  display: inline-block;

  padding-left: 20px;

  color: #34495e;

 list-style:none;
}



.feature-list li {

  margin-bottom: 10px;

  font-size: 1rem;

  line-height: 1.5;

  position: relative;

  padding-left: 20px;

}



.feature-list li::before {

  content: "✔";

  color: #27ae60;

  position: absolute;

  left: 0;

  top: 0;

}

@media(max-width: 600px){

  .landing-info {

    margin: 20px 15px;

    padding: 20px 15px;

  }

  .landing-info h1 {

    font-size: 1.6rem;

  }

  .feature-list li {

    font-size: 0.95rem;

  }

}



/* Form container */

.pdf-upload-form {

  max-width: 500px;

  margin: 20px auto;

 

  background: #ffffff;

  border-radius: 12px;

 

  text-align: center;

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}



/* Form heading */

.pdf-upload-form h2 {

  color: #27ae60;

  font-weight: 700;

  margin-bottom: 10px;

  font-size: 1.8rem;

}



/* Form description */

.pdf-upload-form .form-description {

  color: #555;

  font-size: 1rem;

  margin-bottom: 25px;

  line-height: 1.5;

}



/* File input styling */

.pdf-upload-form .file-input-wrapper {

  margin-bottom: 20px;

  position: relative;

}



.pdf-upload-form input[type="file"] {

  width: 100%;

  padding: 12px;

  border-radius: 6px;

  border: 1px solid #ccc;

  cursor: pointer;

  font-size: 16px;

  transition: border-color 0.3s;

}



.pdf-upload-form input[type="file"]:hover {

  border-color: #27ae60;

}



/* Submit button */

.pdf-upload-form button {

  background-color: #27ae60;

  color: white;

  font-weight: 600;

  padding: 12px 25px;

  font-size: 16px;

  border: none;

  border-radius: 8px;

  cursor: pointer;

  transition: background-color 0.3s, transform 0.2s;

}



.pdf-upload-form button:hover {

  background-color: #2ecc71;

  transform: translateY(-2px);

}



/* Responsive adjustments */

@media (max-width: 600px) {

  .pdf-upload-form {

    margin: 20px;

    padding: 25px 15px;

  }



  .pdf-upload-form h2 {

    font-size: 1.5rem;

  }



  .pdf-upload-form input[type="file"],

  .pdf-upload-form button {

    font-size: 15px;

    padding: 10px;

  }

}



.thumbnail-wrapper button.delete-page {

    margin-top: 5px;

    background: #e74c3c;

    color: white;

    border: none;

    border-radius: 4px;

    padding: 3px 6px;

    cursor: pointer;

    font-size: 0.8rem;

    transition: background 0.2s;

}



.thumbnail-wrapper button.delete-page:hover {

    background: #c0392b;

}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 30px auto 0;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  resize: vertical;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #27ae60;
  background: #f0fef5;
}

.contact-form button {
  padding: 12px 20px;
  background: #27ae60;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #2ecc71;
}

 .pdf-upload-form-div {

  max-width: 620px;

  margin: 40px auto;

  padding: 20px 25px;

  background: #ffffff; /* White background */

  border-radius: 12px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.1);

  font-family: Arial, sans-serif;

}



 .captcha-img {

  display: flex;

  align-items: center;

  gap: 12px;              /* space between image & input */

  flex-wrap: wrap;        /* allows stacking on small screens */

}



.captcha-img img {

  height: 48px;           /* keep a consistent height */

  width: auto;            /* maintain aspect ratio */

  flex: 0 0 auto;         /* don't stretch the image */

  border-radius: 6px;

}



.captcha-img input {

  flex: 1 1 50px;        /* grow to fill, min ~220px */

  min-width: 0;           /* prevent overflow in flex */

  padding: 10px 12px;

  border: 1px solid #ccc;

  border-radius: 6px;

  outline: none;

}



.captcha-img input:focus {

  border-color: #7aa7ff;

  box-shadow: 0 0 0 3px rgba(122,167,255,.2);

}



/* Optional: force stacking below a threshold */

@media (max-width: 420px) {

  .captcha-img {

    flex-direction: column;

    align-items: stretch;

  }

  .captcha-img img {

    height: 44px;

  }

}


#organizer {display:flex; gap:20px;}

#thumbnails {width:20%; max-height:580px; overflow-y:auto; border:1px solid #ccc; border-radius:8px; padding:10px; background:#fafafa;}

.thumbnail-wrapper {margin-bottom:10px; text-align:center;}

#thumbnails img {width:80%; cursor:pointer; border:2px solid transparent; border-radius:4px;}

#thumbnails img.selected {border-color:#27ae60;}

.page-number {font-size:0.85rem; color:#555; margin-top:3px;}



#preview-container {flex:1; border:1px solid #ccc; border-radius:8px; display:flex; flex-direction:column; align-items:center; background:#fafafa; height:600px;}

#preview {flex:1; display:flex; justify-content:center; align-items:flex-start; width:100%; overflow:auto;}

#preview img {max-width:100%; transition: transform 0.2s ease; margin:10px 0; display:block;}



#controls {margin-top:10px;}

#controls button {margin:0 5px;}



#zoom-controls {margin-top:10px;}

#zoom-controls button {margin-right:5px;}



@media(max-width:700px){

    #organizer{flex-direction:column;}

    #thumbnails{width:100%; max-height:250px;}

    #preview{height:300px;}

}





.thumbnail-controls {

    margin-top: 5px;

}

.thumbnail-controls button {

   margin-top: 5px;

    background: #27ae60;

    color: white;

    border: none;

    border-radius: 4px;

    padding: 3px 6px;

    cursor: pointer;

    font-size: 0.8rem;

    transition: background 0.2s;

}

.thumbnail-controls button:hover {

    background: #2ecc71;

}


body {font-family:'Segoe UI',sans-serif; background:#f0f2f5; margin:0; padding:0; color:#2c3e50;}

.container {max-width:1024px; margin:50px auto; background:#fff; padding:30px; border-radius:12px; box-shadow:0 6px 24px rgba(0,0,0,0.1);}

h1 {color:#27ae60; margin-bottom:10px;}

.landing-description {color:#555; font-size:1rem; line-height:1.5; margin-bottom:20px;}

form {margin-bottom:30px;}

input[type="file"] {padding:10px 10px; box-sizing:border-box; border-radius:6px; border:1px solid #ccc;font-size:16px;}



p.description {color:#555; font-size:1rem; line-height:1.5; margin-bottom:25px;}

button {padding:8px 15px; margin:5px; font-size:14px; cursor:pointer; border-radius:5px; border:none; background:#27ae60; color:#fff;}

button:hover{background:#2ecc71;}


.card-success {
                    background: #fff;
                    padding: 30px;
                    border-radius: 12px;
                    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
                    display: inline-block;
                    max-width: 500px;
                }
				
				 .icon-success {
                    font-size: 50px;
                    color: #2d6a4f;
                }
				
				
				.btn-success {
                    display: inline-block;
                    margin-top: 20px;
                    padding: 12px 25px;
                    font-size: 16px;
                    font-weight: bold;
                    text-decoration: none;
                    background: #2d6a4f;
                    color: #fff;
                    border-radius: 8px;
                    transition: 0.3s;
                }
                .btn-success:hover {
                    background: #1b4332;
                }
                
				
				 .preview-box {
      width: 100%; 
      height: 50px; 
      border: 2px dashed #ccc; 
      border-radius: 8px; 
      margin-top: 10px; 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      font-size: 18px; 
      font-weight: bold;
      color: #555;
      background: #f0f0f0;
    }
	
	.label-new {
   
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    text-align: left;
    color: #34495e;
	padding-top:10px;
	
	
}

.input-txt {
    width: 95%;
    height: 40px;
    margin-top: 10px;
    display: flex
;
    align-items: left;
    justify-content: center;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}


.landing-info h4 {

  color: #27ae60;

  font-size: 1.8rem;

  font-weight: 700;

  margin-bottom: 15px;

}
.seo-content h4 {

  color: #27ae60;

  font-size: 1.8rem;

  font-weight: 700;

  margin-bottom: 15px;

}
