/* Content pages styles */

/* Main content area */
.main-content {
    padding-top: 120px;
    min-height: calc(100vh - 200px);
}

/* Page with header adjustment */
.main-content.with-page-header {
    padding-top: 70px;
}

/* Page header section */
.page-header {
    background: var(--gradient);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content sections */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: var(--bg-light);
}

.content-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-section p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.content-section ul, 
.content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Two column layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Card layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Contact page styles */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    height: fit-content;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s;
}

.contact-method:hover {
    transform: translateX(5px);
}

.contact-icon {
    min-width: 50px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

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

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.office-hours {
    background: rgba(37, 99, 235, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.office-hours h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    color: var(--text-light);
}

/* Contact form styles */
.contact-form {
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: #ef4444;
}

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

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

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Response message */
.response-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.response-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.response-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Table styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin: 2rem 0;
}

.data-table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:nth-child(even) {
    background: var(--bg-light);
}

/* Call-to-action section */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
    content: '>';
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Services page styles */
.service-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-timeline {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.service-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Testimonial styles */
.testimonial {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.testimonial-author {
    opacity: 0.9;
    font-weight: 500;
}

/* SHIFT Method page styles */
.shift-table {
    margin: 3rem 0;
    overflow-x: auto;
}

.shift-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.shift-step {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.shift-step h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.shift-step + h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-content {
        padding-top: 90px;
    }
    
    .main-content.with-page-header {
        padding-top: 70px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .contact-form {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    /* Contact page responsive */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 2rem;
    }
}