/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

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

h1, h2, h3 {
    color: #003366;
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-text {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.btn-text:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Header Section */
.header {
    background: linear-gradient(to right, #001a33, #003366);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 100;
}

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

.logo a {
    font-size: 1.8em;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.logo p {
    margin: 0;
    font-size: 0.9em;
    color: #ccc;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.navbar ul li a {
    color: #ffcc00;
    font-size: 1em;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    background-color: #ffffff10;
    color: #fff;
    text-decoration: underline;
}

/* Value Proposition Section */
.value-prop-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.value-item {
    flex: 1;
    max-width: 300px;
}

.value-item i {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 15px;
}

/* AI Intro Section */
.ai-intro-section {
    padding: 80px 20px;
    background-color: #e9ecef;
    text-align: center;
}

.ai-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.ai-content img {
    max-width: 150px;
}

/* Services Section */
.services-overview-section {
    padding: 80px 20px;
    text-align: center;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 15px;
}

/* Lawyer Profile Section */
.lawyer-profile-section {
    background-color: #f1f1f1;
    padding: 80px 20px;
}

.lawyer-profile-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.lawyer-profile-section img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #007bff;
}

/* Contact CTA Section */
.contact-cta-section {
    text-align: center;
    padding: 80px 20px;
    background: #003366;
    color: #fff;
}

.contact-cta-section h2 {
    color: #fff;
}

.contact-cta-section .btn {
    margin: 10px;
}

/* Footer Section */
.footer {
    background: linear-gradient(to right, #001a33, #003366);
    color: #fff;
    padding: 60px 20px 30px;
    font-size: 1em;
    font-family: 'Sarabun', sans-serif;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 200px;
}

.footer-col h3 {
    color: #ffcc00;
    margin-bottom: 15px;
    font-size: 1.25em;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col p,
.footer-col li {
    color: #e0e0e0;
    margin: 8px 0;
    line-height: 1.6;
}

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

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.footer-col i {
    margin-right: 8px;
    color: #ffcc00;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.4em;
    color: #fff;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: #ffcc00;
    transform: scale(1.2);
}

.footer-col img {
    margin-top: 10px;
    border-radius: 10px;
    border: 2px solid #ccc;
    max-width: 120px;
    transition: transform 0.3s;
}

.footer-col img:hover {
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer-bottom a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 8px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer .container,
    .header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col, .header .logo, .header .navbar {
        margin-bottom: 30px;
    }
    .footer-col img {
        max-width: 100px;
    }
}