/* Legal Condominios - Main Stylesheet */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: opacity 0.3s;
}

.brand-link:hover {
    opacity: 0.9;
}

.brand-link i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 1;
    border-bottom-color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url('../images/image.png') center/cover no-repeat;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--primary-color);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Help Choose Section */
.help-choose-section {
    padding: 30px 20px;
    background-color: var(--bg-color);
    text-align: center;
}

.help-choose-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.help-choose-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, var(--secondary-color));
}

.help-choose-btn i {
    font-size: 1.3rem;
}

.help-choose-btn span {
    letter-spacing: 0.5px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Fast Track Section */
.fast-track-section {
    padding: 60px 20px;
    background-color: var(--white);
}

.fast-track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.fast-track-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--border-color);
    min-height: 280px;
}

.fast-track-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.fast-track-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.fast-track-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.fast-track-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
}

.fast-track-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.fast-track-card:hover .fast-track-link {
    gap: 12px;
}

.fast-track-link i {
    font-size: 0.9rem;
}

/* Abogado Jefe Section */
.abogado-jefe-section {
    padding: 60px 20px;
    background-color: var(--white);
}

.abogado-jefe-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.abogado-jefe-image {
    flex-shrink: 0;
}

.abogado-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.abogado-jefe-text {
    flex: 1;
    text-align: center;
}

.abogado-jefe-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.abogado-jefe-text h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.abogado-jefe-text .abogado-title {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.abogado-jefe-text p {
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
    text-align: center;
}

/* Responsive design for abogado section */
@media (max-width: 768px) {
    .abogado-jefe-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .abogado-photo {
        width: 150px;
        height: 150px;
    }
    
    .abogado-jefe-text h2 {
        font-size: 1.5rem;
    }
    
    .abogado-jefe-text h3 {
        font-size: 1.3rem;
    }
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Services Detail */
.services-detail {
    padding: 60px 20px;
}

.service-item {
    background: var(--white);
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-content p {
    text-align: justify;
}

.service-content li {
    text-align: justify;
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-item h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    color: var(--text-light);
}

.service-list li {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

/* Template Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin: 20px 0;
    padding: 20px 0;
}

.template-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.template-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.template-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: opacity 0.3s;
}

.template-title {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.4;
}

.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 10px;
}

.template-item:hover .template-overlay {
    opacity: 1;
}

.template-item:hover i,
.template-item:hover .template-title {
    opacity: 0.3;
}

.overlay-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ticket Badge */
.ticket-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 6px 12px;
    background-color: var(--success-color);
    color: var(--white);
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    vertical-align: middle;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ticket-badge i {
    font-size: 1rem;
    margin-right: 4px;
}

/* Product Detail Page */
.product-detail {
    padding: 60px 20px;
}

.product-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.product-icon-large {
    font-size: 4rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.product-header-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-category {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

.product-description h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.product-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.product-features li {
    padding: 12px 0;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li i {
    color: var(--success-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Service Contract Section */
.service-contract-section {
    padding: 60px 20px;
}

.service-contract-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 30px;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-info-card h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.service-contract-form {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.service-contract-form .form-group {
    margin-bottom: 30px;
}

.service-contract-form .form-group:last-of-type {
    margin-bottom: 0;
}

.service-contract-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.service-contract-form #activities-group label {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.service-contract-form label i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.service-contract-form .required {
    color: var(--accent-color);
    margin-left: 4px;
}

.service-contract-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--text-color);
}

.service-contract-form .form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
    background-color: #fafafa;
}

.service-contract-form .form-control:hover {
    border-color: #bdc3c7;
}

.service-contract-form .readonly-field {
    background-color: var(--bg-color);
    cursor: not-allowed;
    color: var(--text-color);
    font-weight: 500;
}

.service-contract-form select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.service-contract-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.form-actions .btn {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.service-contract-form .form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
}

.service-contract-form .form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.service-contract-form .form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Checkbox Group Styles */
#activities-group {
    display: none;
}

#activities-group.visible {
    display: block;
}

.checkbox-table-container {
    margin-top: 15px;
    max-height: 500px;
    overflow-y: auto;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: #fafafa;
    width: 100%;
}

.checkbox-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

.checkbox-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.checkbox-table tbody tr:last-child {
    border-bottom: none;
}

.checkbox-table tbody tr:hover {
    background-color: #f0f7ff;
}

.checkbox-table tbody tr.checked-row {
    background-color: #e8f4f8;
}

.checkbox-table tbody tr.checked-row:hover {
    background-color: #d4e8f0;
}

.checkbox-table td {
    padding: 14px 18px;
    vertical-align: top;
}

.checkbox-table td:first-child {
    width: 50px;
    text-align: center;
    padding-right: 10px;
}

.checkbox-table td:last-child {
    padding-left: 10px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    background-color: var(--white);
    position: relative;
    transition: all 0.2s ease;
    margin: 0;
}

.form-checkbox:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-checkbox:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    cursor: pointer;
    font-weight: normal;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    user-select: none;
    font-size: 0.95rem;
    display: block;
    padding: 2px 0;
}

.checkbox-table tbody tr:hover .checkbox-label {
    color: var(--primary-color);
}

.checkbox-table tbody tr.checked-row .checkbox-label {
    color: var(--primary-color);
    font-weight: 500;
}

/* Scrollbar styling for checkbox table container */
.checkbox-table-container::-webkit-scrollbar {
    width: 10px;
}

.checkbox-table-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
    margin: 5px 0;
}

.checkbox-table-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
    border: 2px solid #f0f0f0;
}

.checkbox-table-container::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Firefox scrollbar */
.checkbox-table-container {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #f0f0f0;
}

/* Accordion Styles */
.accordion-item {
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 15px 20px;
    background-color: var(--bg-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    user-select: none;
}

.accordion-header:hover {
    background-color: #e9ecef;
}

.accordion-header.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-icon {
    transition: transform 0.3s;
    font-size: 0.9rem;
    margin-left: 10px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 20px;
}

.accordion-content.active {
    max-height: 500px;
    padding: 15px 20px;
}

.accordion-content p {
    margin: 10px 0;
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 60px 20px;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.team-section {
    margin: 60px 0;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.team-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--secondary-color);
}

.team-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team-card .role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* MVV Section */
.mvv-section {
    padding: 60px 20px;
}

.mvv-card {
    background: var(--white);
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mvv-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.mvv-card h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.mvv-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.value-item {
    padding: 20px;
    background: var(--bg-color);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-item h3 i {
    color: var(--secondary-color);
}

.value-item p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;
}

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

.contact-info h2,
.contact-form-container h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-section i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* About Preview */
.about-preview {
    background: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.about-preview h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-preview p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px;
}

.values-preview {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background: var(--bg-color);
    border-radius: 10px;
}

.values-preview h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.values-preview p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .template-item i {
        font-size: 2.5rem;
    }

    .template-title {
        font-size: 0.85rem;
    }

    .product-content {
        padding: 20px;
    }

    .product-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .product-icon-large {
        font-size: 3rem;
    }

    .product-header-text h2 {
        font-size: 1.8rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .service-contract-content {
        padding: 0 10px;
    }

    .service-info-card {
        padding: 30px 20px;
    }

    .service-icon-large {
        font-size: 3rem;
    }

    .service-info-card h2 {
        font-size: 1.5rem;
    }

    .service-contract-form {
        padding: 30px 20px;
    }

    .checkbox-table-container {
        max-height: 400px;
    }

    .checkbox-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .checkbox-table td:first-child {
        width: 40px;
        padding-right: 8px;
    }

    .checkbox-table td:last-child {
        padding-left: 8px;
    }

    .form-checkbox {
        width: 16px;
        height: 16px;
    }

    .form-checkbox:checked::after {
        left: 4px;
        top: 1px;
        width: 4px;
        height: 8px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.lightbox-content {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10002;
}

.lightbox-close:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.lightbox-body {
    padding: 50px 40px 40px;
    text-align: center;
}

.promo-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.lightbox-body h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.lightbox-body p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.lightbox-body .btn {
    margin-top: 10px;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        max-width: 95%;
    }
    
    .lightbox-body {
        padding: 40px 30px 30px;
    }
    
    .promo-icon {
        font-size: 3rem;
    }
    
    .lightbox-body h2 {
        font-size: 1.5rem;
    }
    
    .lightbox-body p {
        font-size: 1rem;
    }
}

