* {
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #3d4d61;
}

header {
    background: linear-gradient(135deg, #1a3a52 0%, #2d5a7e 100%);
    color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section h1 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
}

.tagline {
    margin: 5px 0 0 0;
    font-size: 0.9em;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

nav {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

nav li {
    display: inline;
    margin: 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

nav a:hover {
    border-bottom-color: #ffffff;
    background: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    color: #ffffff;
    padding: 0;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a3a52 0%, #2d5a7e 100%);
    flex-direction: column;
    padding: 15px 0;
    gap: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 99;
}

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

.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.article {
    background: #ffffff;
    padding: 35px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.article:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.article h2 {
    color: #1a3a52;
    margin-top: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    border-bottom: 3px solid #2d5a7e;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.article ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.article li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.7;
}

.article li:before {
    content: "▸";
    color: #2d5a7e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.article-list {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.article-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.7;
    color: #3d4d61;
}

.article-list li:before {
    content: "◆";
    color: #2d5a7e;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 0.8em;
}

form {
    max-width: 600px;
    margin: 30px auto;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2d5a7e;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #1a3a52;
    font-size: 0.95em;
    letter-spacing: 0.3px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
    font-size: 0.95em;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #2d5a7e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 90, 126, 0.1);
}

.button {
    display: inline-block;
    font-size: 1em;
    color: #ffffff;
    background: linear-gradient(135deg, #2d5a7e 0%, #1a3a52 100%);
    padding: 12px 30px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(29, 58, 82, 0.2);
    background: linear-gradient(135deg, #1a3a52 0%, #0d1f2d 100%);
}

footer {
    background: #1a3a52;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 3px solid #2d5a7e;
}

footer p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        justify-content: space-between;
        align-items: center;
    }

    .logo-section h1 {
        font-size: 1.5em;
    }

    .tagline {
        font-size: 0.8em;
    }

    .hamburger {
        display: flex;
    }

    nav {
        display: none !important;
    }

    .mobile-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 100;
    }

    .mobile-nav a {
        padding: 12px 15px;
        font-size: 1em;
    }
}

@media (min-width: 769px) {
    header {
        padding: 40px 0;
    }

    .header-content {
        width: 90%;
    }

    .logo-section h1 {
        font-size: 2.2em;
    }

    .hamburger {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

    nav {
        display: block !important;
    }

    .article {
        padding: 20px;
        margin: 20px 0;
    }

    .article h2 {
        font-size: 1.4em;
    }

    .article h3 {
        font-size: 1.1em;
    }

    form {
        padding: 20px;
        margin: 20px auto;
    }

    .container {
        width: 95%;
        padding: 20px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .team-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .welcome-section h2 {
        font-size: 1.8em;
    }

    .welcome-section .intro-text {
        font-size: 1em;
    }

    input, textarea, select {
        font-size: 16px;
    }
}

/* Paragraphs and Typography */
article p, section p {
    line-height: 1.8;
    color: #3d4d61;
    font-size: 0.95em;
}

/* Strong text styling */
strong {
    color: #1a3a52;
    font-weight: 700;
}

/* Link styling */
a {
    transition: color 0.3s ease;
}

/* Contact info styling */
#contact p {
    margin: 8px 0;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-category {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f3f7 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2d5a7e;
}

.service-category h3 {
    color: #1a3a52;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #2d5a7e;
    padding-bottom: 10px;
    font-weight: 700;
}

.service-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-item h4 {
    color: #2d5a7e;
    margin: 0 0 10px 0;
    font-size: 1.05em;
    font-weight: 700;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9em;
    color: #3d4d61;
    line-height: 1.6;
}

.service-list li:before {
    content: "•";
    color: #2d5a7e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.expert-card {
    background: linear-gradient(135deg, #f0f3f7 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #2d5a7e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(29, 58, 82, 0.15);
}

.expert-card h3 {
    color: #1a3a52;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.expert-card p {
    margin: 10px 0;
    font-size: 0.95em;
    color: #3d4d61;
}

.expert-card p strong {
    color: #2d5a7e;
}

/* Section Styling */
.section-subtitle {
    color: #2d5a7e;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-highlight {
    margin-top: 20px;
    color: #3d4d61;
    line-height: 1.8;
}

.experience-box {
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f0f3f7 0%, #f8f9fa 100%);
    border-left: 4px solid #2d5a7e;
    border-radius: 4px;
}

.experience-box p {
    margin: 0;
    color: #3d4d61;
    line-height: 1.7;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    border-left: 4px solid #2d5a7e;
}

.contact-info p {
    margin: 8px 0;
    color: #3d4d61;
}

.contact-info a {
    color: #2d5a7e;
    text-decoration: none;
    font-weight: 500;
}

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

/* Ordered Lists */
.article-list {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    counter-reset: item;
}

ol.article-list li {
    counter-increment: item;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.7;
    color: #3d4d61;
}

ol.article-list li:before {
    content: counter(item) ".";
    color: #2d5a7e;
    font-weight: bold;
    position: absolute;
    left: 0;
    width: 25px;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.required {
    color: #b00020;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 12px;
    margin-bottom: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95em;
    background-color: #ffffff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

select:focus {
    border-color: #2d5a7e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 90, 126, 0.1);
}

.team-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.team-member {
    padding: 30px;
    background-color: #ffffff;
    border-left: 4px solid #2d5a7e;
    border-radius: 4px;
}

.team-member h3 {
    color: #1a3a52;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.team-member p {
    line-height: 1.8;
    color: #333333;
    margin-bottom: 15px;
}

.team-member p:last-child {
    margin-bottom: 0;
}

/* Homepage specific styles */

.welcome-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.welcome-section .intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-preview {
    margin: 60px 0;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.services-preview .service-category {
    padding: 30px;
    background-color: #ffffff;
    border-left: 4px solid #2d5a7e;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.services-preview .service-category h3 {
    font-size: 1.3em;
    color: #1a3a52;
    margin-bottom: 15px;
}

.services-preview .service-category p {
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.7;
}

.link-button {
    display: inline-block;
    color: #2d5a7e;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.link-button:hover {
    color: #1a3a52;
}

.button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2d5a7e;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    transition: background-color 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.button:hover {
    background-color: #1a3a52;
}

.team-intro,
.method-preview {
    text-align: center;
    margin: 60px 0;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.team-intro h2,
.method-preview h2 {
    margin-bottom: 20px;
}

.team-intro p,
.method-preview p {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 25px;
}

.team-intro .button,
.method-preview .button {
    font-size: 0.95em;
}

.cafe-section {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(45, 90, 126, 0.1) 0%, rgba(45, 90, 126, 0.05) 100%);
    border-left: 4px solid #2d5a7e;
    border-radius: 4px;
}

.cafe-section h2 {
    color: #1a3a52;
    margin-bottom: 20px;
}

.cafe-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.cafe-section .link-button {
    font-size: 1.05em;
}

footer a {
    color: #2d5a7e;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #1a3a52;
    text-decoration: underline;
}
}

.form-status {
    margin-top: 12px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-status.show {
    display: block;
}

.form-status.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.form-status.error {
    background: #ffebee;
    color: #b00020;
    border-left: 4px solid #b00020;
}

.intro-text {
    font-size: 1.05em;
    color: #3d4d61;
    line-height: 1.8;
}