/* Reset and base styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --light-background: #f3f4f6;
    --border-color: #e5e7eb;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
}

/* Header and Navigation */
.header {
    background: var(--background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav__logo span {
    color: var(--primary-color);
    font-family: 'Roboto', Helvetica, sans-serif;
    font-weight: 700;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__menu a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

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

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

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

.btn--text {
    color: var(--primary-color);
    padding: 0;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    padding-top: 80px;
}

.hero__background {
    width: 100%;
    height: 100%;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero .btn--primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero .btn--primary:hover {
    background: transparent;
    color: white;
}

.hero .btn--secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 400px;
        max-height: 600px;
        padding-top: 60px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero .btn--primary,
    .hero .btn--secondary {
        width: 100%;
        text-align: center;
    }
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: var(--background);
}

.features__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    background: var(--light-background);
}

.feature__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.feature__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature p {
    color: var(--light-text);
}

/* Services Preview Section */
.services-preview {
    padding: 4rem 2rem;
    background: var(--light-background);
}

.services-preview__container {
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.service-card {
    background: var(--background);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1rem;
    margin: 0;
}

.service-card p {
    padding: 0 1rem;
    color: var(--light-text);
}

.service-card .btn {
    padding: 1rem;
    display: block;
    text-align: center;
}

/* CTA Section */
.cta {
    padding: 4rem 2rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

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

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta .btn--primary:hover {
    background: var(--light-background);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer__section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* About Page */
.about-main {
    padding: 8rem 0 4rem;
    width: 100%;
}

.about-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-title {
    font-family: 'Roboto', Helvetica, sans-serif;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-text li {
    margin-bottom: 0.75rem;
    position: relative;
}

.about-text li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.team-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.team-title {
    font-family: 'Roboto', Helvetica, sans-serif;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.team-member {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 2rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #f8f9fa;
}

.team-member h3 {
    font-family: 'Roboto', Helvetica, sans-serif;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.team-member p {
    color: #666;
    font-size: 1rem;
}

/* News Section */
.news {
    padding: 8rem 2rem 4rem;
}

.news__container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.news-card {
    background: var(--background);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card__content {
    padding: 1.5rem;
}

.news-card__date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

/* Newsletter Section */
.newsletter {
    padding: 4rem 2rem;
    background: var(--light-background);
}

.newsletter__container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

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

.newsletter__form {
    display: flex;
    gap: 1rem;
}

.newsletter__form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 8rem 2rem 4rem;
}

.contact__container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

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

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

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

.contact__form {
    background: var(--light-background);
    padding: 2rem;
    border-radius: 0.5rem;
}

.contact__form h2 {
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

/* Map Section */
.map {
    padding: 0 2rem 4rem;
}

.map__container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Services Page */
.services-main {
    padding: 8rem 0 4rem;
    width: 100%;
}

.services-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.services-title {
    font-family: 'Roboto', Helvetica, sans-serif;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.75rem;
}

.services-content {
    width: 100%;
}

.table-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.table-controls-left,
.table-controls-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-controls label {
    font-family: 'Roboto', Helvetica, sans-serif;
    color: #333333;
}

.table-controls select {
    width: 62px;
    height: 31px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0 0.5rem;
}

.table-controls input {
    height: 31px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0 0.5rem;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.services-table th,
.services-table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    font-family: 'Roboto', Helvetica, sans-serif;
    color: #212529;
}

.services-table th {
    background-color: #343a40;
    color: white;
    font-weight: 500;
    text-align: left;
}

.services-table .col-stt {
    width: 75px;
    text-align: center;
}

.services-table .col-price {
    width: 103px;
    text-align: center;
}

.services-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

.services-table tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.pagination-info p {
    font-family: 'Roboto', Helvetica, sans-serif;
    color: #333333;
    padding: 0.75rem 0;
}

.pagination-nav {
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-list a,
.pagination-list span {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    color: #007bff;
    text-decoration: none;
    font-family: 'Roboto', Helvetica, sans-serif;
}

.pagination-list a:hover {
    background-color: #e9ecef;
}

.pagination-active {
    background-color: #007bff;
    color: white !important;
    border-color: #007bff !important;
}

.pagination-prev {
    border-radius: 4px 0 0 4px;
    color: #6c757d !important;
}

.pagination-next {
    border-radius: 0 4px 4px 0;
}

.pagination-ellipsis {
    color: #6c757d !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav__menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .features__container,
    .services-preview__grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

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

    .newsletter__form {
        flex-direction: column;
    }

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

.theme-primary {
    color: var(--primary-color) !important;
}
.theme-secondary {
    color: var(--secondary-color) !important;
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: block;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: white;
    border-color: white;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Hide the text labels */
.carousel-control-prev .visually-hidden,
.carousel-control-next .visually-hidden {
    display: none !important;
}

/* Image resizing utilities */
.img-cover {
    object-fit: cover;
}

.img-contain {
    object-fit: contain;
}

.img-circle {
    border-radius: 50%;
}

.img-rounded {
    border-radius: 8px;
} 