/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5490;
    --secondary-color: #2e7cd6;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gradient-primary: linear-gradient(135deg, #1a5490 0%, #2e7cd6 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.tagline {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

.phone-number:hover {
    color: var(--secondary-color);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-main {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 2rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.btn-white:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    margin: 0;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.feature-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.feature-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.service-badge {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-badge.new {
    background: var(--gradient-primary);
}

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

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

.service-features li i {
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--success);
}

/* Process Timeline */
.process {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.process-step {
    background-color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    margin: 0 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-md);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-rating {
    color: var(--warning);
}

/* Company Info */
.company-info {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-contact {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.cta-phone:hover {
    color: var(--white);
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-address,
.footer-contact {
    color: #adb5bd;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #495057;
    color: #adb5bd;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

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

/* Service Detail Pages */
.service-detail {
    padding: 3rem 0 5rem;
}

.breadcrumb {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--gray);
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.company-table {
    margin-bottom: 4rem;
}

.company-table h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.info-table {
    width: 100%;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.info-table th,
.info-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.info-table th {
    background-color: var(--light-bg);
    font-weight: 600;
    width: 30%;
    white-space: nowrap;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Mission Section */
.mission-section {
    margin-bottom: 4rem;
}

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

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-item {
    text-align: center;
    padding: 2rem;
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mission-item h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Business Section */
.business-section {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.business-section h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.business-list {
    display: grid;
    gap: 1.5rem;
}

.business-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.business-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.business-item i {
    margin-right: 0.5rem;
}

/* Strengths Section */
.strengths-section {
    margin-bottom: 4rem;
}

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

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

.strength-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    position: relative;
    padding-top: 3rem;
    transition: all 0.3s ease;
}

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

.strength-number {
    position: absolute;
    top: -20px;
    left: 20px;
    background: var(--gradient-accent);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.strength-card h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Message Section */
.message-section {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.message-section h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.message-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
}

.photo-placeholder {
    width: 200px;
    height: 200px;
    background-color: var(--gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder i {
    font-size: 4rem;
    color: var(--white);
}

.message-text h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.message-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Access Section */
.access-section {
    margin-bottom: 4rem;
}

.access-section h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.access-info h4 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.access-table {
    width: 100%;
}

.access-table th,
.access-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.access-table th {
    font-weight: 600;
    width: 30%;
    vertical-align: top;
}

.access-map iframe {
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .info-table th {
        width: 40%;
    }
    
    .message-content {
        grid-template-columns: 1fr;
    }
    
    .photo-placeholder {
        margin: 0 auto;
    }
    
    .access-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Content Pages */
.legal-content {
    padding: 5rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
}

.legal-intro p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.update-date {
    text-align: right;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    color: var(--dark-gray);
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.legal-section li {
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.legal-table {
    width: 100%;
    margin: 2rem 0;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.legal-table th,
.legal-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.legal-table th {
    background-color: var(--light-bg);
    font-weight: 600;
    width: 35%;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
    border-bottom: none;
}

.contact-box {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-table {
    width: 100%;
}

.contact-table th,
.contact-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.contact-table th {
    font-weight: 600;
    width: 30%;
}

.contact-table tr:last-child th,
.contact-table tr:last-child td {
    border-bottom: none;
}

.legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: right;
    color: var(--gray);
}

.legal-footer p {
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-content {
    padding: 5rem 0;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-methods {
    margin-bottom: 5rem;
}

.contact-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-method-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon i {
    font-size: 2rem;
    color: var(--white);
}

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

.phone-large, .email-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.business-hours {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form-section {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.contact-form-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.form-intro {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 3rem;
}

.form-section h3 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

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

.required {
    color: var(--danger);
    font-weight: 600;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 0.5rem;
    width: auto;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    width: auto;
    min-width: 20px;
}

.privacy-agreement {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.privacy-agreement p {
    margin-bottom: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* Access Info */
.access-info {
    margin-bottom: 4rem;
}

.access-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.access-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.access-text h3 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.access-table {
    width: 100%;
}

.access-table th,
.access-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.access-table th {
    font-weight: 600;
    white-space: nowrap;
    width: 40%;
}

.access-table th i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.access-table tr:last-child th,
.access-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .access-details {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
    }

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

    .nav-menu li {
        margin: 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #eee;
    }

    .contact-info {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

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

    .hero-stats {
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .process-timeline {
        flex-direction: column;
    }

    .process-line {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        height: auto;
    }

    .process-step {
        margin: 1rem 0;
    }

    .feature-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-contact {
        flex-direction: column;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }