
/* Base Styles */
:root {
    --primary-color: #e74c3c;
    --background-color: #ffffff;
    --secondary-bg: #f8f9fa;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 15px;
    font-weight: 500;
}


/* Navigation Bar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 40px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.login-btn {
    color: var(--primary-color);
    margin-right: 15px;
    font-weight: 500;
}

.signup-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.signup-btn:hover {
    background-color: #c0392b;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* Responsive Navigation */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 576px) {
    .nav-wrapper {
        padding: 10px 0;
    }
    
    .logo img {
        height: 30px;
    }
}


a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #c0392b;
}

/* Header Section */
.header {
    text-align: center;
    padding: 60px 0 40px;
}

.tagline {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 400;
}

.upload-area {
    margin: 0 auto;
    max-width: 600px;
}

.drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background-color: #F3F3E0;
    transition: border-color 0.5s ease, background-color 0.3s ease;
}

.drop-zone:hover, .drop-zone.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(231, 76, 60, 0.05);
}



.drop-zone p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #666;
}

.drop-zone button {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  border: none;
  border-radius: 4px;
  background: #4a90e2;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  margin:10px;
}
.drop-zone button:hover {
  background: #3b78c2;
}


/* Progress Container */
.progress-container {
  margin: 1rem 0;
  width: 100%;
  background: #e1e5ea;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  height: 1.2rem;
}
.progress-bar {
  width: 0;
  height: 100%;
  background: #4a90e2;
  transition: width 0.2s;
}

#progress-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  line-height: 1.2rem;
  color: #fff;
}



/* Buttons */
.btn {
  display: inline-block;
  padding: 0.5rem .8rem;
  font-size: 0.95rem;
  border: none;
  border-radius: 4px;
  background: #4a90e2;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  margin:10px;
  margin-top: 0.75rem;
  text-decoration: none;
}
.btn:disabled {
  background: #aac4e5;
  cursor: not-allowed;
}

.btn:hover:not(:disabled) {
  background: #3b78c2;
}

/* Download Button Variant */
.btn-download {
  background: #28a745;
}
.btn-download:hover {
  background: #218838;
  color: white;
}


.choose-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.choose-btn:hover {
    background-color: #c0392b;
}

/* Upload Section Container */
#upload-section.upload-area {
  max-width: 480px;
  margin: 2rem auto;
  padding: 1.5rem;
  /*background: #f7f9fc;*/
  
  background: white;
  border: 2px dashed #d1e3f8;
  border-radius: 8px;
  text-align: center;
}

/* Section Heading */
#upload-section.upload-area h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #333;
  
}




.drag-text {
    margin-top: 15px;
    color: #777;
    font-size: 14px;
}

.conversion-icons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #555;
}

/* How-to Section */
.how-to {
    background-color: var(--secondary-bg);
    padding: 60px 0;
}

.how-to h2 {
    text-align: center;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.step-content p {
    color: #666;
    font-size: 14px;
}

/* Features Section */
.features {
    padding: 60px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature {
    background-color: var(--secondary-bg);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px var(--shadow-color);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature p {
    color: #666;
    font-size: 14px;
}

/* Product Family Section */
.product-family {
    padding: 60px 0;
    background-color: var(--secondary-bg);
}

.product-family h2 {
    text-align: center;
    margin-bottom: 40px;
}

.conversion-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.conversion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.conversion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.conversion-item i {
    font-size: 24px;
    margin-bottom: 10px;
}

.conversion-item span {
    font-size: 12px;
}

/* Progress Bar */
.progress-container {
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
    display: none;
}

.progress-bar-container {
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

#progress-text {
    font-size: 14px;
    color: #666;
}

/* Result Container */
.result-container {
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
    padding: 30px;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: none;
}

.result-container h3 {
    color: var(--success-color);
    margin-bottom: 20px;
}

.download-btn {
    background-color: var(--success-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.download-btn:hover {
    background-color: #219653;
}

.additional-options {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.option-btn {
    background-color: transparent;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.option-btn i {
    margin-right: 5px;
}

/* Footer */
.footer {
    background-color: #34495e;
    color: white;
    padding: 50px 0 20px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bdc3c7;
    font-size: 14px;
}

.footer-column a:hover {
    color: white;
}

.footer-phone {
    color: #bdc3c7;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pdf-converter h4 {
    margin: 0;
    color: white;
}

.language-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.language-selector span {
    margin-right: 5px;
    font-size: 14px;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #bdc3c7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .conversion-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .steps {
        flex-direction: column;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .conversion-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-columns {
        flex-wrap: wrap;
    }
    
    .footer-column {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .conversion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}